/* ==================== FRONTEND/CSS/STUDIO.CSS ==================== */

/* ==================== RIGHT SIDEBAR: NOTES STUDIO ==================== */

.btn-notes-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-notes-toggle.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px var(--primary-glow);
}

.notes-count-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  font-size: 8.5px;
  font-weight: 700;
  background: linear-gradient(135deg, #F43F5E, #E11D48);
  color: #fff;
  min-width: 15px;
  height: 15px;
  line-height: 15px;
  padding: 0 3px;
  border-radius: var(--radius-full);
  text-align: center;
  border: 1.5px solid var(--bg-nav);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.notes-sidebar {
  width: 360px;
  min-width: 320px;
  max-width: 420px;
  background-color: var(--bg-sidebar);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 10;
  user-select: none;
  animation: slideInRight 0.2s ease-out;
}

@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.notes-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.notes-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-main);
}

.notes-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notes-gdrive-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(34, 197, 94, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.25);
  width: fit-content;
}

.btn-notes-sync-drive:hover {
  color: var(--accent-green) !important;
  background: rgba(34, 197, 94, 0.12) !important;
}

.notes-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==================== STUDIO SEGMENTED TABS ==================== */
.studio-tab-row {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-bottom: 1px solid var(--border-color);
  gap: 4px;
}

.studio-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.studio-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

.studio-tab.active {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.studio-tab.active i {
  color: var(--primary);
}

.studio-tab#tabStudioPodcast.active i {
  color: var(--accent-cyan, #38bdf8);
}

.tab-badge {
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 1px 5px;
  border-radius: var(--radius-full);
}

.studio-tab.active .tab-badge {
  background: var(--primary);
  color: #fff;
}

.studio-tab#tabStudioPodcast.active .tab-badge {
  background: #0284c7;
  color: #fff;
}

.studio-tab-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.studio-tab-content.hidden {
  display: none !important;
}

/* ==================== PODCAST HERO & CARDS ==================== */
.podcast-studio-hero {
  margin: 12px 14px 4px 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.podcast-hero-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.podcast-hero-avatar-pair {
  display: flex;
  align-items: center;
}

.p-avatar-chip {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 2px solid var(--bg-sidebar);
}

.p-avatar-chip.alex {
  background: #0284c7;
  color: #fff;
  z-index: 2;
}

.p-avatar-chip.maya {
  background: #ec4899;
  color: #fff;
  margin-left: -8px;
  z-index: 1;
}

.podcast-hero-info h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.podcast-hero-info p {
  font-size: 10.5px;
  color: var(--text-dim);
  margin: 0;
}

.btn-generate-podcast-hero {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  border: none;
}

.btn-generate-podcast-hero:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* PODCAST CARD STYLING */
.podcast-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-top: 1px solid var(--border-glass-specular);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.podcast-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.15);
  transform: translateY(-1px);
}

.podcast-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.podcast-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  word-break: break-word;
}

.podcast-card-badge {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.podcast-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-dim);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.btn-podcast-play-card {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan, #38bdf8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-podcast-play-card:hover {
  background: #0284c7;
  color: #fff;
}


.notes-search-box {
  padding: 10px 14px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.notes-search-box input {
  flex: 1;
  background-color: var(--bg-input);
  border: 1px solid var(--border-input);
  border-top: 1px solid var(--border-glass-specular);
  border-radius: var(--radius-sm);
  padding: 6px 10px 6px 30px;
  font-size: 12px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.notes-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.btn-notes-search-mode {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-notes-search-mode:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
}

.btn-notes-search-mode.active {
  color: var(--accent-cyan) !important;
  border-color: var(--accent-cyan) !important;
  background: rgba(56, 189, 248, 0.18) !important;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
}

.btn-today-note {
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: var(--accent-green) !important;
}

.btn-today-note:hover {
  background: rgba(34, 197, 94, 0.12) !important;
}

.btn-ai-rollup {
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: var(--accent-cyan) !important;
}

.btn-ai-rollup:hover {
  background: rgba(56, 189, 248, 0.12) !important;
}

.btn-web-clipper {
  border-color: rgba(56, 189, 248, 0.3) !important;
  color: var(--accent-cyan) !important;
}

.btn-web-clipper:hover {
  background: rgba(56, 189, 248, 0.12) !important;
}

.btn-quick-scratchpad {
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: var(--accent-amber) !important;
}

.btn-quick-scratchpad:hover {
  background: rgba(245, 158, 11, 0.12) !important;
}

.btn-todo-dashboard {
  border-color: rgba(168, 85, 247, 0.3) !important;
  color: #c084fc !important;
}

.btn-todo-dashboard:hover {
  background: rgba(168, 85, 247, 0.12) !important;
}

.todo-dashboard-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.todo-dashboard-item.is-completed {
  opacity: 0.65;
}

.search-notes-icon {
  position: absolute;
  left: 23px;
  top: 19px;
  font-size: 11px;
  color: var(--text-dim);
}

.notes-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-notes {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-dim);
}

.empty-notes-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text-dim);
  opacity: 0.5;
}

.empty-notes p {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.empty-notes span {
  font-size: 11px;
  line-height: 1.5;
  display: block;
}

/* NOTE CARD STYLING */
.note-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.note-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.note-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.note-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  word-break: break-word;
}

.note-card-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.note-card-badge.manual {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.note-card-content {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.note-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.note-card-date {
  font-size: 10px;
  color: var(--text-dim);
}

.note-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-note-action {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11.5px;
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-note-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-note-action.btn-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red, #ef4444);
}

.btn-bubble-save-note {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-bubble-save-note:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}



/* ==================== AUDIO PODCAST PLAYER ==================== */

.modal-podcast-card {
  width: 520px;
  max-width: 95vw;
  background: #121422;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(139, 92, 246, 0.2);
}

.hosts-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.host-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.6;
}

.host-card.active-host {
  opacity: 1;
  transform: scale(1.08);
}

.host-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.host-alex {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  border: 2px solid rgba(59, 130, 246, 0.5);
}

.host-card.active-host .host-alex {
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.7);
  border-color: #60a5fa;
}

.host-maya {
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: #fff;
  border: 2px solid rgba(236, 72, 153, 0.5);
}

.host-card.active-host .host-maya {
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.7);
  border-color: #f472b6;
}

.host-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main);
}

.host-role {
  font-size: 10px;
  color: var(--text-muted);
}

.podcast-vs {
  font-size: 20px;
  color: var(--text-dim);
}

.host-wave {
  display: none;
  gap: 3px;
  margin-top: 6px;
  height: 10px;
  align-items: center;
}

.host-card.active-host .host-wave {
  display: flex;
}

.host-wave span {
  width: 3px;
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 2px;
  animation: waveBar 0.8s infinite ease-in-out alternate;
}

.host-wave span:nth-child(2) { animation-delay: 0.2s; }
.host-wave span:nth-child(3) { animation-delay: 0.4s; }

@keyframes waveBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

.podcast-dialogue-box {
  background: rgba(11, 13, 20, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 16px;
}

.active-speaker-tag {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.active-speaker-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
}

.podcast-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-podcast-main {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #fff;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all 0.2s ease;
}

.btn-podcast-main:hover {
  transform: scale(1.08);
}

/* STUDIO GENERATORS BAR */
.studio-generators-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
}

.btn-studio-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-studio-pill:hover {
  color: #fff;
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.15);
}



/* ==================== PODCAST STUDIO STEPPER & AUDIO PLAYER ==================== */

.podcast-generating-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 0.2s ease-out;
}

.podcast-pulse-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: 0 0 30px var(--primary-glow);
}

.podcast-step-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
  margin: 6px 0 20px;
}

.podcast-stepper-bars {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  justify-content: space-between;
  margin-top: 10px;
}

.p-step-item {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: all 0.25s ease;
}

.p-step-item.active {
  opacity: 1;
}

.p-step-item.completed {
  opacity: 0.9;
  color: var(--accent-green);
}

.p-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.p-step-item.active .p-step-dot {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.p-step-item.completed .p-step-dot {
  background: var(--accent-green);
}

.p-step-label {
  font-size: 11px;
  font-weight: 600;
}

/* CUSTOM AUDIO CONTROLS & SEEKBAR */
.podcast-audio-custom-player {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.podcast-player-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.podcast-seek-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.podcast-seek-range {
  width: 100%;
  height: 5px;
  accent-color: var(--primary);
  cursor: pointer;
}

.podcast-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.podcast-speed-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px;
  border-radius: var(--radius-sm);
}

.btn-speed-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-speed-pill.active {
  background: var(--primary);
  color: #fff;
}

/* INTERACTIVE TRANSCRIPT LIST */
.podcast-transcript-container {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
}

.p-transcript-turn {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 12px;
  line-height: 1.5;
}

.p-transcript-turn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.p-transcript-turn.active-turn {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

.p-turn-speaker {
  font-weight: 700;
  font-size: 11px;
  margin-right: 6px;
}

.p-turn-speaker.alex { color: var(--accent-cyan); }
.p-turn-speaker.maya { color: var(--accent-purple, #c084fc); }

.podcast-export-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* PODCAST CHAT IN-MESSAGE BANNER & QUICK BUTTON */
.podcast-chat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 12px;
  animation: fadeIn 0.2s ease-out;
}

.podcast-banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.podcast-banner-info i {
  color: var(--primary);
  font-size: 15px;
}

.btn-banner-play-podcast {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 0 12px var(--primary-glow);
}

.btn-banner-play-podcast:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-bubble-podcast {
  color: var(--primary) !important;
}


/* ==================== TURN 3: NOTES SCOPE, SINGLE SEARCH & 3 POWER TOOLS ==================== */

.notes-scope-wrapper {
  padding: 8px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notes-scope-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notes-scope-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.notes-scope-select-wrap {
  position: relative;
  width: 100%;
}

.notes-scope-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(18, 22, 34, 0.95);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2394A3B8%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  padding: 7px 28px 7px 10px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notes-scope-select:hover {
  border-color: rgba(99, 102, 241, 0.45);
}

.notes-search-fallback {
  padding: 0 14px 6px;
}

.btn-search-fallback {
  width: 100%;
  padding: 6px 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-search-fallback:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent-cyan);
}

.studio-generators-clean {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  overflow-x: hidden !important;
  padding: 6px 14px 8px !important;
}

.studio-generators-clean .btn-studio-pill {
  padding: 6px 4px !important;
  font-size: 11px !important;
  justify-content: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.note-context-pill {
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.note-context-pill.project {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.note-context-pill.project:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: #818cf8;
}

.note-context-pill.general {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-linked-chats {
  font-size: 10px !important;
  color: #a78bfa !important;
  background: rgba(139, 92, 246, 0.1) !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-linked-chats:hover {
  background: rgba(139, 92, 246, 0.22) !important;
  color: #fff !important;
}

