* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0A1929 0%, #1a2332 100%);
  color: #E5E4E2;
  overflow: hidden;
}

/* Subtle Particles Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.2;
}

/* Welcome Screen */
.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A1929 0%, #0f1f35 50%, #1a2332 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.8s ease-in;
}

.welcome-content {
  text-align: center;
  max-width: 900px;
  padding: 40px;
  position: relative;
  z-index: 2;
}

/* Boss Hero Image - Transparent Background */
.welcome-screen::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: url('boss-hero.png') no-repeat center center;
  background-size: contain;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

/* Boss Hero Image - Main Display */
.boss-hero-image {
  width: 280px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(255, 215, 0, 0.4));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.executive-seal {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 40px;
}

.seal-ring {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.outer-ring {
  width: 180px;
  height: 180px;
  border-color: #FFD700;
  animation: rotateClockwise 20s linear infinite;
}

.middle-ring {
  width: 130px;
  height: 130px;
  border-color: #E5E4E2;
  animation: rotateCounter 15s linear infinite;
}

.inner-ring {
  width: 80px;
  height: 80px;
  border-color: #4B0082;
  animation: rotateClockwise 10s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCounter {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

.seal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #FFD700, rgba(255, 215, 0, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sealPulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes sealPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
  50% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 50px rgba(255, 215, 0, 0.8); }
}

.seal-icon {
  font-size: 56px;
}

.boss-title {
  font-size: 64px;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: 8px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.edition {
  font-size: 18px;
  color: #E5E4E2;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.alpha-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  animation: alphaPulse 2s ease-in-out infinite;
}

@keyframes alphaPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6); }
}

.alpha-badge-small {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 1px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 1px 4px rgba(255, 215, 0, 0.3);
}

.mission {
  font-size: 16px;
  color: #B8B8B8;
  letter-spacing: 2px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.prop-card {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.prop-card:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.prop-icon {
  font-size: 32px;
}

.prop-text {
  font-size: 13px;
  font-weight: 600;
  color: #E5E4E2;
  letter-spacing: 1px;
}

.executive-cta {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #0A1929;
  border: none;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transition: all 0.3s;
  margin-bottom: 25px;
}

.executive-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.alpha-notice {
  font-size: 14px;
  color: #FFD700;
  margin-bottom: 8px;
  font-weight: 600;
}

.web-notice {
  font-size: 12px;
  color: #888;
}

.attribution {
  font-size: 11px;
  color: rgba(255, 215, 0, 0.5);
  margin-top: 15px;
  font-weight: 300;
  letter-spacing: 1px;
}

.attribution-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.attribution-link:hover {
  color: #FFF;
  border-bottom: 1px solid #FFD700;
}

/* Main UI */
.main-ui {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.executive-header {
  background: linear-gradient(135deg, #0f1f35 0%, #1a2a42 100%);
  border-bottom: 2px solid #FFD700;
  padding: 12px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 15px rgba(255, 215, 0, 0.2);
}

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

.boss-logo {
  font-size: 36px;
  filter: drop-shadow(0 0 8px #FFD700);
}

.brand-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 1.8px;
  margin: 0;
}

.tagline {
  font-size: 9px;
  color: #E5E4E2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.ai-panel {
  display: flex;
  gap: 12px;
}

.ai-analyst {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.ai-analyst:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
  transform: translateY(-2px);
}

.lead-analyst {
  background: rgba(255, 215, 0, 0.08);
  border: 1.5px solid #FFD700;
  animation: leadGlow 3s ease-in-out infinite;
}

@keyframes leadGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.analyst-icon {
  font-size: 20px;
}

.analyst-label {
  font-size: 8px;
  font-weight: 600;
  color: #E5E4E2;
  letter-spacing: 0.8px;
}

/* Model Status Indicators */
.status-indicator {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 25, 41, 0.9);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.status-indicator.online {
  background: #00FF00;
  animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.offline {
  background: #FF4444;
}

@keyframes statusPulse {
  0%, 100% { 
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
  }
  50% { 
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.8);
  }
}

.executive-controls {
  display: flex;
  gap: 10px;
}

.exec-btn {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 10px 16px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
}

.exec-btn:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.lang-selector {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
  margin-right: 15px;
  outline: none;
}

.lang-selector:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #FFF;
}

.lang-selector option {
  background: #0A1929;
  color: #FFD700;
  padding: 8px;
}

.content-area {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
}

.url-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

#url-input {
  flex: 1;
  background: rgba(10, 25, 41, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #E5E4E2;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 6px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.nav-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  color: #0A1929;
  padding: 14px 35px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.demo-content {
  background: rgba(20, 30, 45, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 40px;
  border-radius: 12px;
}

.demo-content h1 {
  color: #FFD700;
  font-size: 36px;
  margin-bottom: 15px;
}

.intro {
  color: #B8B8B8;
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.feature-box {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 25px;
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-box:hover {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.15);
}

.feature-box h3 {
  color: #FFD700;
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-box p {
  color: #B8B8B8;
  font-size: 14px;
  line-height: 1.6;
}

kbd {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #FFD700;
}

.cta-section {
  background: rgba(75, 0, 130, 0.1);
  border: 1px solid rgba(75, 0, 130, 0.3);
  padding: 35px;
  border-radius: 10px;
  text-align: center;
}

.cta-section h2 {
  color: #FFD700;
  margin-bottom: 15px;
}

.cta-section p {
  color: #B8B8B8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.cta-section ul {
  text-align: left;
  max-width: 600px;
  margin: 20px auto 30px;
  color: #E5E4E2;
  line-height: 1.8;
}

.secondary-cta {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}

.secondary-cta:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
}

.status-bar {
  background: #0f1f35;
  border-top: 1px solid #FFD700;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.status-left, .status-right {
  display: flex;
  gap: 20px;
}

.status-item {
  color: #B8B8B8;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  animation: fadeIn 0.3s;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a2a42 0%, #2a3a52 100%);
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 40px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
}

.executive-modal {
  width: 700px;
}

.executive-modal h2 {
  color: #FFD700;
  font-size: 32px;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

#command-input {
  width: 100%;
  background: rgba(10, 25, 41, 0.8);
  border: 1px solid #FFD700;
  color: #E5E4E2;
  padding: 15px;
  font-size: 16px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.command-card {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.command-card:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.command-card:hover .cmd-icon,
.command-card:hover .cmd-label {
  color: #0A1929;
}

.cmd-icon {
  font-size: 32px;
}

.cmd-label {
  font-size: 13px;
  font-weight: 600;
  color: #E5E4E2;
  letter-spacing: 1px;
}

.close-btn, .close-icon {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
  width: 100%;
}

.close-btn:hover {
  background: #FFD700;
  color: #0A1929;
}

.close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: auto;
  padding: 5px 15px;
  font-size: 28px;
  border: none;
  background: transparent;
}

/* Strategy Modal */
.strategy-modal {
  width: 95%;
  max-width: 1200px;
}

.strategy-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 20px;
}

.strategy-header h2 {
  color: #FFD700;
  font-size: 36px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.subtitle {
  color: #B8B8B8;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.briefing-input {
  margin-bottom: 30px;
}

#strategy-input {
  width: 100%;
  background: rgba(10, 25, 41, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #E5E4E2;
  padding: 20px;
  font-size: 16px;
  border-radius: 6px;
  min-height: 100px;
  resize: vertical;
  margin-bottom: 15px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.engage-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.engage-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.intel-card {
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

.intel-card:hover {
  border-color: #FFD700;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.lead-card {
  grid-column: span 2;
  border: 2px solid #FFD700;
  background: rgba(255, 215, 0, 0.05);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.card-icon {
  font-size: 24px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 2px;
}

.card-content {
  color: #E5E4E2;
  font-size: 14px;
  line-height: 1.6;
}

.strategy-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.strategy-actions button {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
  padding: 12px 25px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  font-weight: 600;
}

.strategy-actions button:hover {
  background: #FFD700;
  color: #0A1929;
  transform: translateY(-2px);
}

/* Learning Centre Modal */
.learning-modal {
  width: 95%;
  max-width: 1000px;
}

.learning-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 20px;
}

.learning-header h2 {
  color: #FFD700;
  font-size: 32px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.privacy-guarantee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.guarantee-badge {
  background: rgba(0, 255, 0, 0.05);
  border: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.badge-icon {
  font-size: 32px;
}

.badge-text strong {
  color: #00FF00;
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 1px;
}

.badge-text p {
  color: #B8B8B8;
  font-size: 12px;
  line-height: 1.5;
}

.learning-stats {
  margin-bottom: 30px;
}

.learning-stats h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.stat-card {
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  border-color: #FFD700;
  transform: translateY(-3px);
}

.stat-value {
  display: block;
  color: #FFD700;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  color: #B8B8B8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.learned-patterns {
  margin-bottom: 30px;
}

.learned-patterns h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 18px;
}

.patterns-container {
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  padding: 20px;
  min-height: 120px;
}

.no-data {
  color: #B8B8B8;
  font-style: italic;
  text-align: center;
  padding: 30px;
}

.pattern-item {
  background: rgba(255, 215, 0, 0.05);
  border-left: 3px solid #FFD700;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #E5E4E2;
  font-size: 13px;
}

.learning-controls {
  margin-bottom: 25px;
}

.learning-controls h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 18px;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.control-btn {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
  padding: 15px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.control-btn span:first-child {
  font-size: 24px;
}

.control-btn:hover {
  background: #FFD700;
  color: #0A1929;
  transform: translateY(-2px);
}

.control-btn.danger {
  border-color: rgba(255, 0, 0, 0.5);
  color: #FF6B6B;
}

.control-btn.danger:hover {
  background: #FF6B6B;
  color: white;
}

.technical-details {
  background: rgba(10, 25, 41, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  padding: 15px;
}

.technical-details summary {
  color: #FFD700;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  user-select: none;
}

.tech-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.tech-content p {
  color: #B8B8B8;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.tech-content strong {
  color: #FFD700;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 50px;
  right: 30px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 20000;
}

.toast.show {
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* ─── MOBILE SCROLL FIX ─────────────────────────────────────────── */
  body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-ui {
    height: auto;
    min-height: 100vh;
  }

  .content-area {
    overflow-y: visible;
    padding: 16px;
  }

  /* Welcome screen — allow scroll when content overflows on small phones */
  .welcome-screen {
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 0 40px;
  }

  .welcome-content {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
  }

  .boss-hero-image {
    width: 160px;
    margin-bottom: 16px;
  }

  /* Welcome Screen */
  .boss-title {
    font-size: 36px;
  }

  .mission {
    font-size: 12px;
  }

  .value-props {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .prop-card {
    padding: 15px 10px;
  }

  .prop-icon {
    font-size: 24px;
  }

  .prop-text {
    font-size: 12px;
  }

  .executive-cta {
    padding: 15px 40px;
    font-size: 16px;
    letter-spacing: 2px;
  }

  /* Executive Header */
  .executive-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .tagline {
    font-size: 10px;
  }

  .ai-panel {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .ai-analyst {
    min-width: 48px;
    min-height: 48px;
  }

  .analyst-icon {
    font-size: 16px;
  }

  .analyst-label {
    font-size: 8px;
  }

  .executive-controls {
    width: 100%;
    justify-content: center;
  }

  .exec-btn {
    min-width: 48px;
    min-height: 48px;
  }

  /* Content Area */
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .lead-card {
    grid-column: span 1;
  }

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

  .url-bar {
    flex-direction: row;
    padding: 10px;
  }

  .url-bar input {
    font-size: 14px;
  }

  /* Modals */
  .modal-content.executive-modal,
  .modal-content.strategy-modal,
  .modal-content.learning-modal {
    width: 95%;
    max-width: 95%;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .strategy-header h2 {
    font-size: 20px;
  }

  .close-btn,
  .close-icon {
    font-size: 24px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  #command-input {
    font-size: 14px;
    padding: 12px 15px;
  }

  .command-card {
    padding: 15px;
    min-height: 80px;
  }

  .cmd-label {
    font-size: 12px;
  }

  #strategy-input {
    min-height: 100px;
    font-size: 14px;
  }

  .strategy-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .engage-btn {
    padding: 14px 30px;
    font-size: 14px;
    min-height: 44px;
  }

  /* Learning Centre */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-label {
    font-size: 11px;
  }

  .privacy-controls {
    grid-template-columns: 1fr;
  }

  .privacy-btn {
    padding: 12px 20px;
    font-size: 12px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-ui {
    height: auto;
    min-height: 100vh;
  }

  .content-area {
    overflow-y: visible;
    padding: 12px;
  }

  /* Welcome Screen */
  .boss-title {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .edition {
    font-size: 11px;
  }

  .mission {
    font-size: 10px;
    padding: 0 10px;
  }

  .value-props {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prop-card {
    padding: 12px;
  }

  .executive-cta {
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .attribution {
    font-size: 10px;
  }

  /* Executive Header */
  .boss-logo {
    font-size: 32px;
  }

  .brand-text h1 {
    font-size: 16px;
  }

  .ai-panel {
    gap: 6px;
  }

  .ai-analyst {
    min-width: 48px;
    min-height: 48px;
  }

  .analyst-icon {
    font-size: 14px;
  }

  .executive-controls {
    gap: 8px;
  }

  .exec-btn {
    min-width: 48px;
    min-height: 48px;
  }

  /* Content */
  .command-grid {
    grid-template-columns: 1fr;
  }

  .strategy-actions {
    flex-direction: column;
  }

  .strategy-btn {
    width: 100%;
  }

  /* Modals */
  .modal-content.executive-modal,
  .modal-content.strategy-modal,
  .modal-content.learning-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    padding: 15px;
  }

  .modal-content h2,
  .strategy-header h2 {
    font-size: 18px;
  }

  .command-card {
    padding: 14px;
    min-height: 90px;
  }

  .cmd-icon {
    font-size: 20px;
  }

  .cmd-label {
    font-size: 11px;
  }

  #command-input,
  #strategy-input {
    font-size: 14px;
  }

  .engage-btn {
    padding: 14px 25px;
    font-size: 13px;
    min-height: 48px;
  }

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

  .privacy-controls {
    gap: 8px;
  }

  /* Toast */
  .toast {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ========================================
   LUCIDE ICON STYLING
   ======================================== */

/* Gold color for all Lucide icons */
.lucide, [data-lucide] {
  color: #FFD700;
  stroke: #FFD700;
  fill: none;
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

/* Ensure proper gold coloring */
svg.lucide {
  stroke: #FFD700 !important;
  fill: none !important;
}

/* Welcome screen seal icon */
.seal-icon, .seal-icon svg, .seal-icon .lucide {
  width: 60px !important;
  height: 60px !important;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

/* Feature card icons on welcome screen */
.prop-icon, .prop-icon svg, .prop-icon .lucide {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.prop-card:hover .prop-icon,
.prop-card:hover .prop-icon svg,
.prop-card:hover .prop-icon .lucide {
  transform: scale(1.15);
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
}

/* Header icons */
.boss-logo svg, .boss-logo .lucide {
  width: 32px !important;
  height: 32px !important;
}

.analyst-icon, .analyst-icon svg, .analyst-icon .lucide {
  width: 24px !important;
  height: 24px !important;
}

.ai-analyst:hover .analyst-icon,
.ai-analyst:hover .analyst-icon svg,
.ai-analyst:hover .analyst-icon .lucide {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* Executive control button icons */
.exec-btn svg, .exec-btn .lucide {
  width: 20px !important;
  height: 20px !important;
}

.exec-btn:hover svg, .exec-btn:hover .lucide {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* Command Center icons */
.cmd-icon, .cmd-icon svg, .cmd-icon .lucide {
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 10px;
}

.command-card:hover .cmd-icon,
.command-card:hover .cmd-icon svg,
.command-card:hover .cmd-icon .lucide {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

/* Modal header icons */
.modal-icon, .modal-icon svg, .modal-icon .lucide {
  width: 28px !important;
  height: 28px !important;
  vertical-align: middle;
  margin-right: 10px;
}

/* Feature box icons */
.feature-icon, .feature-icon svg, .feature-icon .lucide {
  width: 24px !important;
  height: 24px !important;
  vertical-align: middle;
  margin-right: 8px;
}

.feature-box:hover .feature-icon,
.feature-box:hover .feature-icon svg,
.feature-box:hover .feature-icon .lucide {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

/* Intelligence card icons */
.card-icon, .card-icon svg, .card-icon .lucide {
  width: 24px !important;
  height: 24px !important;
}

/* Badge icons in Learning Centre */
.badge-icon, .badge-icon svg, .badge-icon .lucide {
  width: 40px !important;
  height: 40px !important;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Control button icons */
.control-btn svg, .control-btn .lucide {
  width: 24px !important;
  height: 24px !important;
}

.control-btn:hover svg, .control-btn:hover .lucide {
  transform: scale(1.1);
}

/* Status bar icons */
.status-item svg, .status-item .lucide {
  width: 14px !important;
  height: 14px !important;
  vertical-align: middle;
  margin-right: 5px;
}

/* Strategy action button icons */
.strategy-actions button svg, .strategy-actions button .lucide {
  width: 16px !important;
  height: 16px !important;
  vertical-align: middle;
  margin-right: 6px;
}

/* Lead analyst special glow - targets both container and SVG */
.lead-analyst .analyst-icon,
.lead-analyst .analyst-icon svg,
.lead-analyst .analyst-icon .lucide,
.lead-card .card-icon,
.lead-card .card-icon svg,
.lead-card .card-icon .lucide {
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9)) !important;
  animation: pulse-glow 2s ease-in-out infinite !important;
}

/* Ensure lead analyst icon is brighter */
.lead-analyst .analyst-icon.lucide,
.lead-analyst .analyst-icon svg.lucide,
.lead-card .card-icon.lucide,
.lead-card .card-icon svg.lucide {
  stroke: #FFD700 !important;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1)) brightness(1.3) !important;
  animation: pulse-glow-bright 2s ease-in-out infinite !important;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1));
  }
}

@keyframes pulse-glow-bright {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)) brightness(1.3);
  }
  50% {
    filter: drop-shadow(0 0 35px rgba(255, 215, 0, 1)) brightness(1.5);
  }
}

/* Close button icons */
.close-icon svg, .close-icon .lucide {
  width: 24px !important;
  height: 24px !important;
}

/* Navigation button arrow */
.nav-btn svg, .nav-btn .lucide {
  width: 20px !important;
  height: 20px !important;
}

/* ============================================
   HELP MODAL & HOW IT WORKS
   ============================================ */
.help-modal {
  max-width: 900px !important;
  max-height: 85vh;
  overflow-y: auto;
}

.help-header {
  background: linear-gradient(135deg, #0A1929, #1a2332);
  padding: 30px;
  border-bottom: 2px solid #FFD700;
  position: sticky;
  top: 0;
  z-index: 10;
  margin: -30px -30px 30px -30px;
}

.help-header h2 {
  color: #FFD700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
}

.help-content {
  padding: 20px 0;
}

.help-section {
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.help-section:last-child {
  border-bottom: none;
}

.help-section h3 {
  color: #FFD700;
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-section h3 svg {
  width: 24px !important;
  height: 24px !important;
}

.help-section p {
  color: #E5E4E2;
  line-height: 1.7;
  margin-bottom: 15px;
}

.help-section ol, .help-section ul {
  color: #E5E4E2;
  line-height: 1.8;
  margin-left: 20px;
}

.help-section ol li, .help-section ul li {
  margin-bottom: 10px;
}

.help-section strong {
  color: #FFD700;
}

.tip {
  background: rgba(255, 215, 0, 0.1);
  border-left: 4px solid #FFD700;
  padding: 15px;
  margin-top: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tip svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Analysts Guide */
.analysts-guide {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.analyst-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 215, 0, 0.05);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.guide-icon {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0;
  stroke: #FFD700 !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.guide-icon.lead {
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
  animation: pulse-glow-bright 2s ease-in-out infinite;
}

.analyst-guide-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.analyst-guide-item p {
  margin: 0;
  font-size: 14px;
  color: #C0C0C0;
}

/* Privacy Highlights */
.privacy-highlights {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.privacy-highlights span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFD700;
  font-weight: 500;
}

.privacy-highlights svg {
  width: 18px !important;
  height: 18px !important;
}

/* Shortcuts Grid */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.shortcut-item {
  background: rgba(255, 215, 0, 0.05);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15);
  text-align: center;
}

.shortcut-item kbd {
  background: #0A1929;
  color: #FFD700;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #FFD700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 2px;
}

.shortcut-item span {
  display: block;
  margin-top: 10px;
  color: #E5E4E2;
  font-size: 14px;
}

/* ============================================
   VERACITY CHECK MODAL
   ============================================ */
.veracity-modal {
  max-width: 800px !important;
  max-height: 85vh;
}

.veracity-header {
  background: linear-gradient(135deg, #0A1929, #1a2332);
  padding: 25px 30px;
  border-bottom: 2px solid #FFD700;
  margin: -30px -30px 30px -30px;
}

.veracity-header h2 {
  color: #FFD700;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
}

.veracity-header .subtitle {
  color: #C0C0C0;
  font-size: 14px;
  margin-left: 36px;
}

.veracity-input {
  margin-bottom: 25px;
}

.veracity-input textarea {
  width: 100%;
  min-height: 100px;
  background: #0A1929;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  color: #E5E4E2;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  margin-bottom: 15px;
}

.veracity-input textarea:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.verify-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.verify-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.veracity-results {
  min-height: 200px;
}

.placeholder-text {
  text-align: center;
  color: #808080;
  padding: 40px 20px;
  font-style: italic;
}

.veracity-loading {
  text-align: center;
  color: #FFD700;
  padding: 40px 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Veracity Summary */
.veracity-summary {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.veracity-summary.verified {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

.veracity-summary.false {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.veracity-summary.partial {
  border-color: #ffc107;
  background: rgba(255, 193, 7, 0.1);
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  color: #FFD700;
  margin-bottom: 20px;
}

.verdict-badge svg {
  width: 24px !important;
  height: 24px !important;
}

.confidence-bar {
  margin-top: 15px;
}

.confidence-label {
  color: #C0C0C0;
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bar-container {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  height: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  transition: width 1s ease-out;
  position: relative;
}

.bar-value {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #0A1929;
  font-weight: bold;
  font-size: 14px;
}

/* Claim Display */
.claim-display {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  margin-bottom: 25px;
}

.claim-display h4 {
  color: #FFD700;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.claim-display h4 svg {
  width: 18px !important;
  height: 18px !important;
}

.claim-display p {
  color: #E5E4E2;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}

/* Veracity Sources */
.veracity-sources {
  margin-bottom: 25px;
}

.veracity-sources h4 {
  color: #FFD700;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.veracity-sources h4 svg {
  width: 20px !important;
  height: 20px !important;
}

.source-card {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
}

.source-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.source-header strong {
  color: #FFD700;
  font-size: 14px;
}

.source-verdict {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.source-verdict.verified {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.source-verdict.needs-context {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.source-verdict.partially-true {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.source-verdict.false {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid #dc3545;
}

.source-card p {
  color: #C0C0C0;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Veracity Actions */
.veracity-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.action-btn {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.action-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.action-btn.secondary {
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 2px solid #FFD700;
}

.action-btn.secondary:hover {
  background: rgba(255, 215, 0, 0.2);
}

/* ============================================
   ONBOARDING TOUR OVERLAY
   ============================================ */
.onboarding-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 41, 0.97);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.onboarding-content {
  max-width: 600px;
  width: 90%;
}

.onboarding-step {
  background: linear-gradient(135deg, #0A1929, #1a2332);
  border: 2px solid #FFD700;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.step-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.onboarding-image {
  width: 200px;
  height: auto;
  margin: 0 auto 25px;
  filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.4));
}

.onboarding-icon {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 25px;
  display: block;
  stroke: #FFD700 !important;
  filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.4));
}

.onboarding-step h2 {
  color: #FFD700;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.onboarding-step p {
  color: #E5E4E2;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.onboarding-step .highlight {
  color: #FFD700;
  font-weight: 600;
}

.onboarding-step kbd {
  background: #0A1929;
  color: #FFD700;
  padding: 5px 12px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 16px;
  border: 1px solid #FFD700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 4px;
}

.onboarding-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin: 20px 10px 10px 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.onboarding-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.onboarding-btn.primary {
  padding: 18px 50px;
  font-size: 18px;
}

.skip-btn {
  background: transparent;
  color: #808080;
  border: 1px solid #808080;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin: 10px;
  transition: all 0.3s ease;
}

.skip-btn:hover {
  color: #FFD700;
  border-color: #FFD700;
}

/* Help button special styling */
.help-btn {
  position: relative;
}

.help-btn::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #FFD700;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}


/* ============================================
   QUICK CHAT PANEL
   ============================================ */
.quick-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 420px;
  max-height: 85vh;
  height: 600px;
  background: linear-gradient(135deg, #0A1929, #1a2332);
  border: 2px solid #FFD700;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 9998;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.quick-chat-panel.open {
  transform: translateY(0);
}

.chat-header {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  padding: 15px 20px;
  border-radius: 14px 14px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0A1929;
  font-weight: bold;
  font-size: 16px;
}

.chat-title svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #0A1929 !important;
}

.chat-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-model-select {
  background: rgba(10, 25, 41, 0.9);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

.chat-model-select:focus {
  outline: none;
  border-color: #FFD700;
}

.chat-control-btn {
  background: rgba(10, 25, 41, 0.9);
  border: 1.5px solid #FFD700;
  color: #FFD700;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-control-btn:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: #FF6B6B;
  color: white;
  transform: scale(1.15);
}

.chat-control-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.5;
}

.mode-toggle-btn {
  background: rgba(10, 25, 41, 0.9);
  border: 1.5px solid #FFD700;
  color: #FFD700;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mode-toggle-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: #FFD700;
  transform: translateY(-1px);
}

.mode-toggle-btn.active {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-color: #FFD700;
  color: #0A1929;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.mode-toggle-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.5;
}

.mode-label {
  font-size: 12px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-welcome {
  text-align: center;
  padding: 40px 20px;
  color: #C0C0C0;
}

.welcome-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 20px;
  display: block;
  stroke: #FFD700 !important;
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.4));
}

.chat-welcome h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 20px;
}

.chat-welcome p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.chat-tip {
  background: rgba(255, 215, 0, 0.1);
  border-left: 3px solid #FFD700;
  padding: 12px;
  margin-top: 15px;
  text-align: left;
  font-size: 14px;
}

.chat-message {
  display: flex;
  margin-bottom: 12px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border-radius: 12px 12px 2px 12px;
}

.chat-message.assistant .message-content {
  background: rgba(255, 215, 0, 0.1);
  color: #E5E4E2;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px 12px 12px 2px;
}

.chat-message.system .message-content {
  background: rgba(220, 53, 69, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.message-content {
  padding: 12px 16px;
  max-width: 85%;
  word-wrap: break-word;
}

.message-content.thinking {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFD700;
  font-style: italic;
}

.model-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 6px;
}

.message-text {
  line-height: 1.6;
  font-size: 14px;
}

.chat-input-container {
  padding: 15px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(10, 25, 41, 0.8);
}

#chat-input {
  flex: 1;
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #E5E4E2;
  font-family: inherit;
  font-size: 14px;
  resize: none;
  max-height: 120px;
  min-height: 40px;
  pointer-events: auto;
  z-index: 1;
  position: relative;
}

#chat-input:focus {
  outline: none;
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
}

#chat-send-btn {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border: none;
  border-radius: 8px;
  color: #0A1929;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  align-self: flex-end;
  position: relative;
  z-index: 1;
}

#chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

#chat-send-btn svg {
  width: 18px !important;
  height: 18px !important;
}

.chat-footer {
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 0 0 14px 14px;
}

.usage-indicator {
  color: #C0C0C0;
  font-size: 12px;
  text-align: center;
  display: block;
}

.chat-btn {
  position: relative;
}

.chat-btn::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #28a745;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   SUBSCRIPTION MODAL
   ============================================ */
.subscription-modal {
  max-width: 1100px !important;
  max-height: 90vh;
  overflow-y: auto;
}

.subscription-header {
  background: linear-gradient(135deg, #0A1929, #1a2332);
  padding: 25px 30px;
  border-bottom: 2px solid #FFD700;
  margin: -30px -30px 30px -30px;
}

.subscription-header h2 {
  color: #FFD700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
}

.subscription-content {
  padding: 20px 0;
}

.current-plan {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.current-plan h3 {
  color: #FFD700;
  margin-bottom: 8px;
  font-size: 20px;
}

.current-plan p {
  color: #C0C0C0;
  margin: 0;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.tier-card {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.tier-card:hover {
  transform: translateY(-5px);
  border-color: #FFD700;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.tier-card.featured {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.tier-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.tier-price {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
}

.tier-price span {
  font-size: 18px;
  color: #C0C0C0;
  font-weight: normal;
}

.tier-features {
  list-style: none;
  margin: 0 0 25px 0;
  padding: 0;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #E5E4E2;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.tier-features i[data-lucide="check"] {
  stroke: #28a745 !important;
}

.tier-features i[data-lucide="x"] {
  stroke: #808080 !important;
}

.tier-btn {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 215, 0, 0.1);
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: scale(1.02);
}

.tier-btn.primary {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
}

.tier-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.usage-stats {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.usage-stats h3 {
  color: #FFD700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.usage-stats h3 svg {
  width: 22px !important;
  height: 22px !important;
}

.stats-display {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 215, 0, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  color: #C0C0C0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.usage-progress {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #C0C0C0;
  font-size: 14px;
}

#usage-percentage {
  color: #FFD700;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.progress-fill.warning {
  background: linear-gradient(90deg, #FFA500 0%, #FF6B00 100%);
}

.progress-fill.danger {
  background: linear-gradient(90deg, #FF6B00 0%, #FF0000 100%);
}

.usage-note {
  margin-top: 10px;
  color: #90EE90;
  font-size: 13px;
  text-align: center;
}

.usage-note.warning {
  color: #FFA500;
}

.usage-note.danger {
  color: #FF6B6B;
}

.model-breakdown {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.model-breakdown h4 {
  color: #FFD700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.model-breakdown h4 svg {
  width: 18px !important;
  height: 18px !important;
}

.model-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.model-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 215, 0, 0.05);
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.model-name {
  color: #C0C0C0;
  font-size: 14px;
}

.model-count {
  color: #FFD700;
  font-weight: 600;
  font-size: 16px;
}


/* ============================================
   PROFESSIONAL FOOTER
   ============================================ */

.professional-footer {
  background: linear-gradient(135deg, #0f1420 0%, #1a1f3a 100%);
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  padding: 40px 20px 20px;
  margin-top: 60px;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4af37;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo i {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.footer-tagline {
  color: rgba(244, 229, 194, 0.7);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
}

.footer-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 100%);
  color: #1a1f3a;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.footer-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border-color: #d4af37;
}

.footer-link-btn i {
  width: 18px;
  height: 18px;
}

.footer-link-btn .external-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.footer-credit {
  text-align: right;
}

.footer-credit p {
  margin: 4px 0;
  color: rgba(244, 229, 194, 0.6);
  font-size: 13px;
}

.justawhiff-link {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.justawhiff-link:hover {
  color: #f4e5c2;
  text-decoration: underline;
}

.copyright {
  font-size: 12px !important;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-brand,
  .footer-credit {
    text-align: center;
  }
}

/* ============================================
   CHAT MODE SELECTOR
   ============================================ */

.chat-mode-selector {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 41, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.chat-mode-selector.active {
  display: flex;
}

.mode-selector-content {
  background: linear-gradient(135deg, #1a1f3a 0%, #2a3555 100%);
  border: 2px solid #FFD700;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mode-selector-content h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFD700;
  margin: 0 0 8px 0;
  font-size: 28px;
}

.mode-selector-content h2 svg {
  width: 32px;
  height: 32px;
}

.mode-subtitle {
  color: rgba(244, 229, 194, 0.7);
  margin: 0 0 30px 0;
  font-size: 16px;
}

.mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.mode-card {
  background: linear-gradient(135deg, #0f1420 0%, #1a2332 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.mode-card:hover {
  border-color: #FFD700;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.mode-card.featured {
  border-color: #FFD700;
  background: linear-gradient(135deg, #1a2332 0%, #0f1420 100%);
}

.mode-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mode-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mode-icon svg {
  width: 32px !important;
  height: 32px !important;
  stroke: #FFD700;
  stroke-width: 2;
}

.mode-card h3 {
  color: #FFD700;
  margin: 0 0 8px 0;
  font-size: 22px;
}

.mode-card > p {
  color: rgba(244, 229, 194, 0.7);
  margin: 0 0 20px 0;
  font-size: 14px;
}

.mode-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.mode-features li {
  color: rgba(244, 229, 194, 0.6);
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-features li::before {
  content: "✓";
  color: #FFD700;
  font-weight: bold;
}

.mode-btn {
  width: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 100%);
  color: #1a1f3a;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mode-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.mode-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.remember-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 229, 194, 0.7);
  cursor: pointer;
  font-size: 14px;
}

.remember-choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mode-options {
    grid-template-columns: 1fr;
  }
  
  .mode-selector-content {
    padding: 24px;
  }
}

/* ============================================
   THREADED CHAT INTERFACE
   ============================================ */

/* Layout adjustments for threaded mode */
.quick-chat-panel[data-mode="threaded"] {
  width: 650px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.quick-chat-panel[data-mode="threaded"] .chat-header {
  grid-column: 1;
}

.quick-chat-panel[data-mode="threaded"] .thread-sidebar {
  display: block !important;
  grid-column: 1;
}

.quick-chat-panel[data-mode="threaded"] .chat-content-wrapper {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

/* Show/hide elements based on mode */
.quick-chat-panel[data-mode="simple"] .simple-only {
  display: flex !important;
}

.quick-chat-panel[data-mode="simple"] .threaded-only {
  display: none !important;
}

.quick-chat-panel[data-mode="threaded"] .simple-only {
  display: none !important;
}

.quick-chat-panel[data-mode="threaded"] .threaded-only {
  display: flex !important;
}

/* Thread Sidebar */
.thread-sidebar {
  background: linear-gradient(135deg, #0f1420 0%, #1a2332 100%);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding: 12px;
  max-height: 180px;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sidebar-header h3 {
  margin: 0;
  font-size: 13px;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.thread-count {
  background: rgba(212, 175, 55, 0.2);
  color: #FFD700;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.thread-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(10, 25, 41, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thread-item:hover {
  background: rgba(10, 25, 41, 0.7);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateX(2px);
}

.thread-item.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #FFD700;
  border-width: 2px;
}

.thread-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.thread-item-content {
  flex: 1;
  min-width: 0;
}

.thread-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFD700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-item-model {
  font-size: 11px;
  color: rgba(244, 229, 194, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

.thread-item-count {
  font-size: 11px;
  color: rgba(244, 229, 194, 0.5);
  background: rgba(212, 175, 55, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Thread Input Header */
.thread-input-header {
  background: rgba(10, 25, 41, 0.5);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 8px;
  flex-basis: 100%;
  width: 100%;
  order: -1;
}

.active-thread-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.active-thread-name {
  font-size: 13px;
  font-weight: 600;
  color: #FFD700;
}

.active-thread-model {
  font-size: 11px;
  color: rgba(244, 229, 194, 0.6);
  background: rgba(212, 175, 55, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Chat content wrapper for threaded mode */
.chat-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Threaded mode specific styles */
.quick-chat-panel[data-mode="threaded"] .chat-messages {
  flex: 1;
}

.quick-chat-panel[data-mode="threaded"] .chat-input-container {
  flex-shrink: 0;
}

/* Scrollbar styling for thread sidebar */
.thread-sidebar::-webkit-scrollbar {
  width: 6px;
}

.thread-sidebar::-webkit-scrollbar-track {
  background: rgba(10, 25, 41, 0.3);
  border-radius: 3px;
}

.thread-sidebar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 3px;
}

.thread-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quick-chat-panel[data-mode="threaded"] {
    width: 95vw;
  }
  
  .thread-sidebar {
    max-height: 120px;
  }
}

/* ============================================
   ONBOARDING & WAITLIST MODALS
   ============================================ */

.onboarding-content {
  max-width: 900px !important;
  padding: 50px;
}

.onboarding-header {
  text-align: center;
  margin-bottom: 50px;
}

.onboarding-header h2 {
  color: #F4E5C2;
  font-size: 36px;
  margin: 15px 0 10px;
  font-weight: 700;
}

.onboarding-subtitle {
  color: rgba(244, 229, 194, 0.7);
  font-size: 18px;
  margin: 0;
}

.onboarding-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.onboarding-feature {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.onboarding-feature:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.onboarding-feature h3 {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

.onboarding-feature p {
  color: rgba(244, 229, 194, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.onboarding-feature kbd {
  background: rgba(212, 175, 55, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #FFD700;
}

.onboarding-cta {
  text-align: center;
}

.onboarding-note {
  color: rgba(244, 229, 194, 0.6);
  font-size: 14px;
  margin-top: 15px;
}

/* Waitlist Modal Styles */

.waitlist-content {
  max-width: 700px !important;
  padding: 50px;
}

.waitlist-header {
  text-align: center;
  margin-bottom: 40px;
}

.waitlist-header h2 {
  color: #F4E5C2;
  font-size: 32px;
  margin: 15px 0 10px;
  font-weight: 700;
}

.waitlist-subtitle {
  color: #FFD700;
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.waitlist-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.command-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
}

.command-feature:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.4);
}

.command-icon {
  width: 32px !important;
  height: 32px !important;
  color: #FFD700;
  flex-shrink: 0;
}

.command-feature h4 {
  color: #FFD700;
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}

.command-feature p {
  color: rgba(244, 229, 194, 0.8);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.waitlist-form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 30px;
}

.form-intro {
  color: #F4E5C2;
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

#command-waitlist-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #F4E5C2;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

#command-waitlist-form input:focus {
  outline: none;
  border-color: #FFD700;
  background: rgba(0, 0, 0, 0.4);
}

#command-waitlist-form input::placeholder {
  color: rgba(244, 229, 194, 0.4);
}

.waitlist-disclaimer {
  color: rgba(244, 229, 194, 0.5);
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
}

/* Footer waitlist button */

.waitlist-btn {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(212, 175, 55, 0.1)) !important;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  cursor: pointer;
}

.waitlist-btn:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(212, 175, 55, 0.2)) !important;
  border-color: rgba(255, 215, 0, 0.5) !important;
}

/* ============================================
   MINI-VAULT MODAL
   ============================================ */

.vault-modal {
  width: 90%;
  max-width: 700px;
}

.vault-header {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 20px;
}

.vault-header h2 {
  color: #FFD700;
  font-size: 28px;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.vault-info {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 25px;
}

.vault-info p {
  color: #E5E4E2;
  font-size: 13px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vault-sessions {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 25px;
}

.vault-session-item {
  background: rgba(10, 25, 41, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.vault-session-item:hover {
  border-color: #FFD700;
  background: rgba(255, 215, 0, 0.05);
  transform: translateX(5px);
}

.session-info {
  flex: 1;
}

.session-info strong {
  color: #FFD700;
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
}

.session-meta {
  color: #B8B8B8;
  font-size: 12px;
  display: block;
}

.session-actions {
  display: flex;
  gap: 10px;
}

.vault-action-btn {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.vault-action-btn:hover {
  background: #FFD700;
  color: #0A1929;
  transform: translateY(-2px);
}

.vault-action-btn.delete {
  background: rgba(255, 68, 68, 0.1);
  border-color: rgba(255, 68, 68, 0.3);
  color: #FF4444;
}

.vault-action-btn.delete:hover {
  background: #FF4444;
  color: white;
}

.vault-footer {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 20px;
}

.vault-save-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vault-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive */

@media (max-width: 768px) {
  .onboarding-content, .waitlist-content {
    padding: 30px 20px;
  }
  
  .onboarding-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .onboarding-header h2 {
    font-size: 28px;
  }
  
  .waitlist-header h2 {
    font-size: 26px;
  }
}

/* ============================================
   HEADER ACCENT BUTTONS
   ============================================ */

.idea-btn {
  color: #FFD700 !important;
  border-color: rgba(255, 215, 0, 0.4) !important;
}

.idea-btn:hover {
  background: rgba(255, 215, 0, 0.15) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4) !important;
}

.guidance-btn {
  color: #7EB8FF !important;
  border-color: rgba(126, 184, 255, 0.4) !important;
}

.guidance-btn:hover {
  background: rgba(126, 184, 255, 0.15) !important;
  box-shadow: 0 0 12px rgba(126, 184, 255, 0.4) !important;
}

/* ============================================
   IDEA BOSS MODAL
   ============================================ */

.idea-boss-modal {
  width: 92%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
}

.idea-boss-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.ib-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.idea-icon {
  font-size: 28px;
  color: #FFD700;
}

.idea-boss-header h2 {
  color: #FFD700;
  font-size: 26px;
  letter-spacing: 3px;
  margin: 0 0 4px;
}

.ib-context-input label {
  display: block;
  color: #B8B8B8;
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.ib-context-input textarea {
  width: 100%;
  min-height: 100px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 8px;
  color: #F4E5C2;
  padding: 14px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.ib-context-input textarea:focus {
  outline: none;
  border-color: #FFD700;
}

.ib-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.ideate-now-btn {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0A1929;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  white-space: nowrap;
}

.ideate-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.5);
}

.ib-hint {
  color: rgba(255,215,0,0.5);
  font-size: 12px;
}

.ib-scoring-table {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 8px;
  padding: 16px;
  margin: 18px 0;
}

.ib-scoring-table h4 {
  color: #FFD700;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.score-table th {
  text-align: left;
  color: rgba(255,215,0,0.7);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.score-table td {
  padding: 8px 10px;
  color: #E5E4E2;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ib-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px;
  color: rgba(255,215,0,0.7);
  font-size: 13px;
}

.ib-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,215,0,0.2);
  border-top-color: #FFD700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ib-ideas-output {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.idea-card {
  background: rgba(10,25,41,0.8);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 12px;
  padding: 22px;
  transition: border-color 0.3s;
}

.idea-card:hover {
  border-color: rgba(255,215,0,0.5);
}

.idea-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.idea-rank {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.idea-card-title {
  flex: 1;
}

.idea-card-title h3 {
  color: #FFD700;
  font-size: 18px;
  margin: 0 0 4px;
  font-weight: 700;
}

.idea-tagline {
  color: #B8B8B8;
  font-size: 13px;
  margin: 0;
}

.idea-score-badge {
  border: 2px solid;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  flex-shrink: 0;
  min-width: 64px;
}

.score-label {
  font-size: 11px;
  opacity: 0.7;
}

.idea-scores {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.score-bar-label {
  width: 120px;
  color: #B8B8B8;
  flex-shrink: 0;
}

.score-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.score-bar-val {
  width: 36px;
  text-align: right;
  color: #FFD700;
  font-weight: 600;
  flex-shrink: 0;
}

.idea-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.idea-detail-block strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,215,0,0.8);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.idea-detail-block p {
  color: #E5E4E2;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.idea-expander {
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 6px;
  padding: 10px 14px;
}

.idea-expander summary {
  cursor: pointer;
  color: rgba(255,215,0,0.7);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.idea-mvp {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.idea-mvp p {
  color: #E5E4E2;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.idea-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ib-action-btn {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: #FFD700;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}

.ib-action-btn:hover {
  background: #FFD700;
  color: #0A1929;
  transform: translateY(-2px);
}

.ib-action-btn.secondary {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #B8B8B8;
}

.ib-action-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #E5E4E2;
}

.ib-to-guidance {
  display: flex;
  justify-content: center;
  padding: 20px 0 5px;
  border-top: 1px solid rgba(255,215,0,0.15);
  margin-top: 10px;
}

.send-guidance-btn {
  background: linear-gradient(135deg, rgba(126,184,255,0.15), rgba(99,102,241,0.15));
  border: 1px solid rgba(126,184,255,0.4);
  color: #7EB8FF;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.send-guidance-btn:hover {
  background: rgba(126,184,255,0.25);
  transform: translateY(-2px);
}

.ib-error {
  background: rgba(255,68,68,0.08);
  border: 1px solid rgba(255,68,68,0.3);
  border-radius: 8px;
  padding: 18px;
  color: #FF8888;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   BOSS GUIDANCE MODAL
   ============================================ */

.boss-guidance-modal {
  width: 94%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
}

.bg-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #7EB8FF;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.bg-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guidance-icon {
  color: #7EB8FF;
  font-size: 28px;
}

.bg-header h2 {
  color: #7EB8FF;
  font-size: 26px;
  letter-spacing: 3px;
  margin: 0 0 4px;
}

.council-roles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.role-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid;
}

.role-badge .role-model {
  font-weight: 400;
  opacity: 0.7;
  font-size: 11px;
}

.role-badge.architect {
  background: rgba(255,107,107,0.1);
  border-color: rgba(255,107,107,0.4);
  color: #FF9898;
}

.role-badge.validator {
  background: rgba(0,200,81,0.1);
  border-color: rgba(0,200,81,0.35);
  color: #66DD99;
}

.role-badge.mentor {
  background: rgba(126,184,255,0.1);
  border-color: rgba(126,184,255,0.35);
  color: #7EB8FF;
}

.role-badge.judge {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.35);
  color: #FFD700;
}

.bg-decision-input label {
  display: block;
  color: #B8B8B8;
  font-size: 13px;
  margin-bottom: 8px;
}

.bg-decision-input textarea {
  width: 100%;
  min-height: 90px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(126,184,255,0.25);
  border-radius: 8px;
  color: #F4E5C2;
  padding: 14px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.bg-decision-input textarea:focus {
  outline: none;
  border-color: #7EB8FF;
}

.convene-btn {
  background: linear-gradient(135deg, #7EB8FF, #6366F1);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  transition: all 0.3s;
}

.convene-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126,184,255,0.4);
}

.bg-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px;
  color: rgba(126,184,255,0.7);
  font-size: 13px;
}

.bg-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(126,184,255,0.2);
  border-top-color: #7EB8FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.bg-council-output {
  margin-top: 20px;
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 680px) {
  .council-grid {
    grid-template-columns: 1fr;
  }
}

.council-card {
  background: rgba(10,25,41,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.council-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.council-card-header .model-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
}

.council-card-body {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #E5E4E2;
  max-height: 200px;
  overflow-y: auto;
}

.architect-card .council-card-header { background: rgba(255,107,107,0.12); color: #FF9898; border-bottom: 1px solid rgba(255,107,107,0.2); }
.validator-card .council-card-header { background: rgba(0,200,81,0.1); color: #66DD99; border-bottom: 1px solid rgba(0,200,81,0.2); }
.mentor-card   .council-card-header { background: rgba(126,184,255,0.1); color: #7EB8FF; border-bottom: 1px solid rgba(126,184,255,0.2); }

.judge-synthesis {
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(255,165,0,0.04));
  border: 1.5px solid rgba(255,215,0,0.4);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.judge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,215,0,0.1);
  color: #FFD700;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.judge-header .model-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}

.judge-body {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #F4E5C2;
}

.bg-session-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.save-guidance-btn, .whatif-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.25s;
  letter-spacing: 0.5px;
}

.save-guidance-btn {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: #FFD700;
}

.save-guidance-btn:hover { background: #FFD700; color: #0A1929; }

.whatif-btn {
  background: rgba(126,184,255,0.08);
  border: 1px solid rgba(126,184,255,0.25);
  color: #7EB8FF;
}

.whatif-btn:hover { background: rgba(126,184,255,0.18); }

.bg-replay-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.replay-header {
  margin-bottom: 16px;
}

.replay-header h4 {
  color: #B8B8B8;
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
}

.replay-subtitle {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

.bg-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 280px;
  overflow-y: auto;
}

.timeline-entry {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  background: #7EB8FF;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 6px rgba(126,184,255,0.5);
}

.timeline-content {
  flex: 1;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.timeline-date {
  color: rgba(255,255,255,0.35);
  font-size: 11px;
}

.timeline-badge {
  background: rgba(126,184,255,0.1);
  border: 1px solid rgba(126,184,255,0.2);
  color: #7EB8FF;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.timeline-decision {
  color: #E5E4E2;
  font-size: 13px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.timeline-whatif {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(255,215,0,0.05);
  border-left: 2px solid rgba(255,215,0,0.4);
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 8px;
  color: rgba(255,215,0,0.75);
  font-size: 12px;
}

.timeline-actions {
  display: flex;
  gap: 8px;
}

.timeline-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s;
  background: rgba(126,184,255,0.08);
  border: 1px solid rgba(126,184,255,0.2);
  color: #7EB8FF;
}

.timeline-btn:hover { background: rgba(126,184,255,0.2); }

.timeline-btn.delete {
  background: rgba(255,68,68,0.08);
  border-color: rgba(255,68,68,0.2);
  color: #FF6666;
}

.timeline-btn.delete:hover { background: rgba(255,68,68,0.2); }

/* ============================================
   WEB READER
   ============================================ */

.web-reader-btn {
  border-color: #4A90D9 !important;
  color: #7EB8FF !important;
}
.web-reader-btn:hover {
  background: rgba(74, 144, 217, 0.2) !important;
  border-color: #7EB8FF !important;
}

.web-reader-modal {
  width: 760px;
  max-height: 88vh;
  overflow-y: auto;
}

.web-reader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(74,144,217,0.4);
}

.wr-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wr-icon { color: #7EB8FF !important; }

.web-reader-header h2 {
  color: #7EB8FF;
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 700;
}

.wr-subtitle {
  color: #8899AA;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.wr-input-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.wr-url-row {
  display: flex;
  gap: 10px;
}

.wr-url-input {
  flex: 1;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(74,144,217,0.4);
  color: #E5E4E2;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.wr-url-input:focus {
  border-color: #7EB8FF;
}

.wr-fetch-btn {
  background: rgba(74,144,217,0.15);
  border: 1px solid #7EB8FF;
  color: #7EB8FF;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.wr-fetch-btn:hover {
  background: #7EB8FF;
  color: #0A1929;
}

.wr-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  color: #8899AA;
  font-size: 14px;
}

.wr-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(126,184,255,0.2);
  border-top-color: #7EB8FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.wr-page-meta {
  background: rgba(74,144,217,0.08);
  border: 1px solid rgba(74,144,217,0.25);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.wr-meta-title {
  font-size: 15px;
  font-weight: 600;
  color: #7EB8FF;
  margin-bottom: 6px;
}

.wr-meta-details {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #8899AA;
  flex-wrap: wrap;
}

.wr-meta-desc {
  font-size: 12px;
  color: #8899AA;
  margin-top: 6px;
  font-style: italic;
}

.wr-analysis-content {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(74,144,217,0.2);
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #E5E4E2;
  white-space: pre-wrap;
  margin-bottom: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.wr-actions {
  display: flex;
  gap: 10px;
}

.wr-action-btn {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,215,0,0.3);
  color: #E5E4E2;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.wr-action-btn:hover {
  background: rgba(255,215,0,0.15);
  border-color: #FFD700;
  color: #FFD700;
}

.wr-error {
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.3);
  color: #FF6666;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
}

/* ── Coordinator-Verifier Council ──────────────────────────────────────── */

/* Role badges for new flow */
.role-badge.coordinator  { background: rgba(255,140,0,0.15);  border: 1px solid rgba(255,140,0,0.4);  color: #FF8C00; }
.role-badge.analyst-role { background: rgba(126,184,255,0.12); border: 1px solid rgba(126,184,255,0.3); color: #7EB8FF; }
.role-badge.verifier-role{ background: rgba(16,163,127,0.12); border: 1px solid rgba(16,163,127,0.3); color: #10A37F; }

/* Phase progress track */
.phase-track {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.phase-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(126,184,255,0.15);
  color: rgba(226,232,240,0.3);
  transition: all 0.5s ease;
}
.phase-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(126,184,255,0.1);
  font-size: 11px;
}
.phase-step.active {
  color: #7EB8FF;
  border-color: rgba(126,184,255,0.5);
  background: rgba(126,184,255,0.08);
  box-shadow: 0 0 12px rgba(126,184,255,0.2);
}
.phase-step.active span { background: rgba(126,184,255,0.3); }
.phase-step.done {
  color: #4ade80;
  border-color: rgba(74,222,128,0.4);
  background: rgba(74,222,128,0.06);
}
.phase-step.done span { background: rgba(74,222,128,0.2); }

/* Coordinator panel */
.coordinator-panel {
  background: rgba(255,140,0,0.06);
  border: 1px solid rgba(255,140,0,0.25);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}
.coordinator-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,140,0,0.1);
  border-bottom: 1px solid rgba(255,140,0,0.2);
  color: #FF8C00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.coord-crux {
  padding: 12px 16px;
  color: #e2e8f0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,140,0,0.12);
}
.coord-crux strong { color: #FF8C00; }
.coord-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,140,0,0.08);
}
@media (max-width: 600px) { .coord-dimensions { grid-template-columns: 1fr; } }
.coord-dim {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #0f172a;
}
.coord-dim i { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; }
.coord-dim p { margin: 4px 0 0; font-size: 12px; color: #94a3b8; line-height: 1.4; }

/* Stance tag on analyst cards */
.stance-tag {
  padding: 5px 12px;
  margin: 0 16px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  display: inline-block;
  margin-top: 10px;
}

/* Consensus dashboard */
.consensus-dashboard {
  background: rgba(16,163,127,0.05);
  border: 1px solid rgba(16,163,127,0.25);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}
.consensus-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(16,163,127,0.1);
  border-bottom: 1px solid rgba(16,163,127,0.2);
  color: #10A37F;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.confidence-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(74,222,128,0.3);
  background: rgba(74,222,128,0.08);
}
.confidence-badge span:first-child {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.confidence-label {
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.consensus-bars {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consensus-bar-row { display: flex; flex-direction: column; gap: 5px; }
.consensus-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.consensus-score { font-weight: 800; }
.consensus-bar-track {
  height: 8px;
  background: rgba(226,232,240,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.consensus-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.consensus-notes {
  padding: 12px 16px;
  border-top: 1px solid rgba(16,163,127,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.verifier-summary {
  width: 100%;
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.5;
}
.note-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.note-tag.agree   { background: rgba(74,222,128,0.1);  color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.note-tag.conflict{ background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }

.timeline-confidence {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ── Recommendation badges ───────────────────────────────────────────────── */
.rec-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}
.rec-proceed { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.rec-pause   { background: rgba(251,191,36,0.15);  color: #FBbf24; border: 1px solid rgba(251,191,36,0.3); }
.rec-pivot   { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }

/* ── Delta badges ───────────────────────────────────────────────────────── */
.delta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.delta-up      { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.delta-down    { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.delta-neutral { background: rgba(255,215,0,0.1); color: #FFD700; border: 1px solid rgba(255,215,0,0.25); }

/* ── Timeline branch entries ─────────────────────────────────────────────── */
.timeline-branches {
  margin: 6px 0 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.branch-entry {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 10px;
  background: rgba(167,139,250,0.06);
  border-left: 2px solid rgba(167,139,250,0.3);
  border-radius: 0 5px 5px 0;
}
.branch-stem {
  color: rgba(167,139,250,0.6);
  flex-shrink: 0;
  margin-top: 1px;
}
.branch-stem svg { width: 12px; height: 12px; }
.branch-content { flex: 1; min-width: 0; }
.branch-assumption {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 4px;
  word-break: break-word;
}
.branch-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.branch-conf {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.timeline-btn.whatif-branch-btn {
  color: #A78BFA;
  border-color: rgba(167,139,250,0.3);
  background: rgba(167,139,250,0.06);
}
.timeline-btn.whatif-branch-btn:hover {
  background: rgba(167,139,250,0.15);
  border-color: rgba(167,139,250,0.5);
}

/* ── What If? Branch Modal ───────────────────────────────────────────────── */
.whatif-modal-content {
  max-width: 700px;
  width: 94%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
}
.whatif-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.whatif-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatif-title-group h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #A78BFA;
}
.whatif-original-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.whatif-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.whatif-original-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  margin-bottom: 8px;
}
.whatif-baseline {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.whatif-input-area {
  margin-bottom: 18px;
}
.whatif-input-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
#whatif-assumption {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 8px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.25s;
  margin-bottom: 12px;
}
#whatif-assumption:focus {
  outline: none;
  border-color: rgba(167,139,250,0.65);
}
#whatif-assumption::placeholder { color: rgba(255,255,255,0.25); }
.branch-run-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  justify-content: center;
  padding: 13px;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.4);
  border-radius: 8px;
  color: #A78BFA;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s;
}
.branch-run-btn:hover:not(:disabled) {
  background: rgba(167,139,250,0.22);
  border-color: rgba(167,139,250,0.7);
}
.branch-run-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.whatif-loading {
  text-align: center;
  padding: 18px 0;
}
.whatif-loading p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 10px 0 14px;
}

/* ── Branch Comparison ──────────────────────────────────────────────────── */
.whatif-comparison {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-top: 4px;
}
.comparison-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}
.comparison-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
}
.comparison-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 14px;
}
.original-card { border-color: rgba(255,255,255,0.1); }
.branch-card   { border-color: rgba(167,139,250,0.25); background: rgba(167,139,250,0.04); }
.comp-card-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.comp-assumption-tag {
  font-size: 11px;
  font-style: italic;
  color: rgba(167,139,250,0.8);
  margin-bottom: 8px;
  word-break: break-word;
  line-height: 1.4;
}
.comp-recommendation {
  margin-bottom: 5px;
}
.comp-confidence {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.comp-verdict-snippet {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  word-break: break-word;
}
.save-branch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 7px;
  color: #FFD700;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
}
.save-branch-btn:hover {
  background: rgba(255,215,0,0.16);
  border-color: rgba(255,215,0,0.5);
}
@media (max-width: 560px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-arrow { display: none; }
}
