.debug-menu {
  position: fixed;
  top: var(--nav-height, 60px);
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 2px solid #e94560;
  padding: 0.5rem 1rem;
}

.layout--debug .layout__main {
  padding-top: calc(var(--nav-height) + 40px);
}

.debug-menu__container {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.debug-menu__label {
  color: #e94560;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.debug-menu__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.debug-menu__btn {
  background: transparent;
  border: 1px solid #e94560;
  color: #e94560;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.debug-menu__btn:hover {
  background: #e94560;
  color: #fff;
}

/* Raw Prompts Debug View */
.raw-prompts {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.raw-prompts__header {
  margin-bottom: 2rem;
}

.raw-prompts__title {
  font-size: 1.75rem;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
}

.raw-prompts__subtitle {
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
}

.raw-prompts__back-link {
  color: var(--color-primary);
  text-decoration: none;
}

.raw-prompts__back-link:hover {
  text-decoration: underline;
}

.raw-prompts__notice {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.raw-prompts__notice--chained {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.raw-prompts__notice--chained strong {
  color: #4caf50;
}

.raw-prompts__notice--fresh {
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.3);
}

.raw-prompts__notice--fresh strong {
  color: #e94560;
}

.raw-prompts__notice p {
  margin: 0.5rem 0 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

.raw-prompts__section {
  margin-bottom: 2rem;
}

.raw-prompts__section-title {
  font-size: 1.125rem;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.raw-prompts__token-count {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.raw-prompts__content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-primary);
}

.raw-prompts__group-title {
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.raw-prompts__empty {
  color: var(--color-text-secondary);
  font-style: italic;
}

.raw-prompts__section--summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
}

.raw-prompts__total {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}
