:root {
  /* Luxury Light Theme Palette */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: rgba(255, 255, 255, 0.9);
  --bg-subtle: #f1f5f9;
  --bg-active: #eef2ff;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-focus: #4f46e5;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Premium Gradients & Accents */
  --primary-indigo: #4f46e5;
  --primary-purple: #7c3aed;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --primary-gradient-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  
  --accent-emerald: #059669;
  --accent-blue: #0284c7;
  --accent-amber: #d97706;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Diffused Luxury Shadows */
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 16px 28px -4px rgba(79, 70, 229, 0.08), 0 6px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-primary: 0 8px 20px -4px rgba(79, 70, 229, 0.25);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.glow-indigo {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #e0e7ff 0%, rgba(224, 231, 255, 0) 70%);
  top: -200px;
  left: 10%;
}

.glow-violet {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #ede9fe 0%, rgba(237, 233, 254, 0) 70%);
  top: 15%;
  right: -100px;
}

/* Layout Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* Luxury Executive Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

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

.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.brand-info h1 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-info p {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* 3-Column Executive Summary Grid (No pricing clutter) */
.executive-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .executive-summary-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.kpi-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.kpi-blue { background: #e0f2fe; color: #0284c7; }
.kpi-purple { background: #ede9fe; color: #7c3aed; }
.kpi-emerald { background: #dcfce7; color: #15803d; }

.kpi-data {
  display: flex;
  flex-direction: column;
}

.kpi-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.kpi-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Strategic Brief */
.executive-brief {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.executive-brief::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-gradient);
}

.brief-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-indigo);
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.executive-brief h2 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.executive-brief p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.executive-brief code {
  font-family: var(--font-mono);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  color: #4338ca;
  font-weight: 600;
  font-size: 12.5px;
}

/* Main Split Layout */
.main-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1100px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Section: Catalog with Collapsible Groups */
.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.search-filter-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  font-size: 17px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 42px 12px 46px;
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.search-input-wrap input:focus {
  background: #ffffff;
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
}

.accordion-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  padding-top: 4px;
  border-top: 1px solid var(--border-subtle);
}

.accordion-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-text-action {
  background: transparent;
  border: none;
  color: var(--primary-indigo);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-text-action:hover {
  text-decoration: underline;
}

.sep {
  color: var(--border-light);
}

/* Collapsible Category Groups (Accordion Style) */
.category-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-group {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.2s ease;
}

.accordion-group:hover {
  border-color: #cbd5e1;
}

/* Color Coded Categories (Làm nổi bật từng phân hệ khi xổ ra) */
.accordion-group[data-cat-key="video"] {
  border-left: 5px solid #4f46e5;
}
.accordion-group[data-cat-key="video"].expanded .accordion-header {
  background: #f5f7ff;
  border-bottom: 1px solid #e0e7ff;
}
.accordion-group[data-cat-key="video"].expanded .accordion-label {
  color: #3730a3;
}
.accordion-group[data-cat-key="video"] .accordion-body {
  background: #f8faff;
}

.accordion-group[data-cat-key="image"] {
  border-left: 5px solid #0284c7;
}
.accordion-group[data-cat-key="image"].expanded .accordion-header {
  background: #f0f9ff;
  border-bottom: 1px solid #bae6fd;
}
.accordion-group[data-cat-key="image"].expanded .accordion-label {
  color: #075985;
}
.accordion-group[data-cat-key="image"] .accordion-body {
  background: #f8fcff;
}

.accordion-group[data-cat-key="edit"] {
  border-left: 5px solid #d97706;
}
.accordion-group[data-cat-key="edit"].expanded .accordion-header {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}
.accordion-group[data-cat-key="edit"].expanded .accordion-label {
  color: #92400e;
}
.accordion-group[data-cat-key="edit"] .accordion-body {
  background: #fffdf5;
}

.accordion-group[data-cat-key="avatar"] {
  border-left: 5px solid #7c3aed;
}
.accordion-group[data-cat-key="avatar"].expanded .accordion-header {
  background: #faf5ff;
  border-bottom: 1px solid #e9d5ff;
}
.accordion-group[data-cat-key="avatar"].expanded .accordion-label {
  color: #5b21b6;
}
.accordion-group[data-cat-key="avatar"] .accordion-body {
  background: #fcfaff;
}

.accordion-group[data-cat-key="music"] {
  border-left: 5px solid #db2777;
}
.accordion-group[data-cat-key="music"].expanded .accordion-header {
  background: #fdf2f8;
  border-bottom: 1px solid #fbcfe8;
}
.accordion-group[data-cat-key="music"].expanded .accordion-label {
  color: #9d174d;
}
.accordion-group[data-cat-key="music"] .accordion-body {
  background: #fff8fb;
}

.accordion-group[data-cat-key="tools"] {
  border-left: 5px solid #059669;
}
.accordion-group[data-cat-key="tools"].expanded .accordion-header {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
}
.accordion-group[data-cat-key="tools"].expanded .accordion-label {
  color: #065f46;
}
.accordion-group[data-cat-key="tools"] .accordion-body {
  background: #f7fdf9;
}

.accordion-header {
  padding: 16px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.accordion-header:hover {
  filter: brightness(0.98);
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.accordion-count-badge {
  font-size: 11.5px;
  font-weight: 700;
  background: #ffffff;
  color: var(--text-secondary);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.accordion-chevron {
  font-size: 14px;
  color: var(--text-dim);
  transition: transform 0.25s ease;
}

.accordion-group.expanded .accordion-chevron {
  transform: rotate(180deg);
  color: var(--text-main);
}

.accordion-body {
  display: none;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-group:not(.expanded) .accordion-body {
  display: none !important;
}

/* Sample Prompts Cards */
.sample-prompts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sample-prompt-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.sample-prompt-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card-hover);
}

.prompt-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prompt-use-case {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-indigo);
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.btn-copy-prompt {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-prompt:hover {
  background: var(--primary-indigo);
  color: #ffffff;
  border-color: var(--primary-indigo);
}

.prompt-box {
  background: #0f172a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #f1f5f9;
  line-height: 1.6;
  border: 1px solid #1e293b;
  position: relative;
  word-break: break-word;
}

.prompt-explanation-box {
  background: #f8fafc;
  border-left: 3px solid var(--primary-indigo);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.prompt-explanation-box strong {
  color: var(--text-main);
}

/* Compact Skill List Items inside Category Group */
.skill-item-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.skill-item-card:hover {
  border-color: #cbd5e1;
  background: #fcfdfe;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.skill-item-card.selected {
  border-color: var(--primary-indigo);
  background: #eef2ff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
}

.item-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skill-item-card.selected .item-title {
  color: var(--primary-indigo);
}

.item-desc {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-action-icon {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dim);
}

.skill-item-card.selected .item-action-icon {
  color: var(--primary-indigo);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.badge-video { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.badge-image { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.badge-edit { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.badge-avatar { background: #f3e8ff; color: #9333ea; border: 1px solid #e9d5ff; }
.badge-music { background: #fce7f3; color: #db2777; border: 1px solid #fbcfe8; }
.badge-tools { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.badge-verified { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; font-weight: 800; }

/* Right Section: Workspace Detail Panel */
.detail-drawer {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.empty-detail-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  color: var(--text-dim);
}

.empty-detail-state .icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.empty-detail-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-detail-state p {
  font-size: 13.5px;
  max-width: 320px;
  color: var(--text-muted);
}

/* Detail Active Content */
.detail-header-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.detail-top-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-title-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.detail-desc-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.endpoint-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.endpoint-banner span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.endpoint-banner code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--primary-indigo);
  font-weight: 600;
  margin: 0 8px;
  word-break: break-all;
}

.copy-mini-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.copy-mini-btn:hover {
  color: var(--primary-indigo);
}

/* Tab Navigation */
.workspace-tabs {
  display: flex;
  gap: 6px;
  margin: 16px 0 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
  overflow-x: auto;
  max-width: 100%;
  flex-wrap: wrap;
}

.tab-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.tab-nav-btn:hover {
  color: var(--text-main);
  background: #f1f5f9;
}

.tab-nav-btn.active {
  color: var(--primary-indigo);
  background: #eef2ff;
  border-bottom: 2px solid var(--primary-indigo);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInSoft 0.2s ease;
}

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

.panel-intro-bar {
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Specs Table (Real technical parameters) */
.specs-table-wrapper {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  background: #ffffff;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.specs-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background: #fcfdfe;
}

.spec-field-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-indigo);
}

.spec-type-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.spec-req-yes {
  color: #dc2626;
  font-weight: 700;
  background: #fee2e2;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
}

.spec-req-no {
  color: #64748b;
  font-weight: 600;
  font-size: 11px;
}

/* Code Snippets Panel */
.code-format-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
}

.format-btn {
  padding: 7px 14px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.format-btn.active {
  background: var(--primary-indigo);
  border-color: var(--primary-indigo);
  color: #ffffff;
}

.code-terminal-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: #94a3b8;
  font-weight: 600;
}

.code-terminal-box pre {
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #e2e8f0;
}

.btn-copy-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-copy-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Prompting Tips Panel */
.tips-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tips-wrapper h3 {
  font-size: 15px;
  color: var(--text-main);
  margin-top: 10px;
  font-weight: 800;
}

.tips-wrapper ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-wrapper strong {
  color: var(--primary-indigo);
}

/* Enterprise Integration Panel */
.enterprise-integration-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enterprise-step-card {
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enterprise-step-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.enterprise-step-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

.enterprise-step-card pre {
  background: #0f172a;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #38bdf8;
  overflow-x: auto;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Spinner Wheel */
.spinner-wheel {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--primary-indigo);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 14px;
}

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

.loading-container {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
