/* AI Search Chat - Glassmorphic Cyber-Luxury Theme */

/* === Typography & Base Setup === */
:root {
  /* Color System */
  --bg-deep: #0a0a0f;
  --bg-base: #12121a;
  --bg-elevated: #1a1a24;
  --bg-card: #22222d;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);

  --text-primary: #f0f0f5;
  --text-secondary: #a8a8b8;
  --text-muted: #6a6a7a;
  --text-ghost: #4a4a5a;

  /* Accent System */
  --accent-primary: #00d4aa;
  --accent-secondary: #00b4d8;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #00b4d8 100%);
  --accent-glow: 0 0 20px rgba(0, 212, 170, 0.3), 0 0 40px rgba(0, 180, 216, 0.15);

  --danger: #ff4757;
  --danger-glow: 0 0 15px rgba(255, 71, 87, 0.3);

  /* Spacing System */
  --sidebar-width: 280px;
  --content-max-width: 800px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Animation */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-smooth);
  --transition-slow: 0.5s var(--ease-smooth);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* === Atmospheric Background === */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 212, 170, 0.04) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  top: -100px;
  right: 10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: 20%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 10px) scale(0.95); }
}

/* === Layout === */
.app-container {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* === Glass Panels === */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  position: relative;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--glass-highlight) 0%, transparent 50%, transparent 100%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* === Sidebar === */
.sidebar {
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100;
  border-right: 1px solid var(--glass-border);
  transition: transform var(--transition-normal);
}

.sidebar-header {
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--glass-border);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  position: relative;
}

.brand-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--accent-gradient);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(8px);
  z-index: -1;
}

.brand-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-text .accent {
  color: var(--accent-primary);
}

/* Glass Buttons */
.glass-btn {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
  position: relative;
}

.glass-btn:hover {
  background: var(--glass-highlight);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.glass-btn:hover svg {
  color: var(--accent-primary);
}

.glass-btn:active {
  transform: translateY(0) scale(0.98);
}

.glass-btn-sm {
  padding: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.glass-btn-sm:hover {
  background: var(--glass-highlight);
  color: var(--text-primary);
  border-color: var(--glass-highlight);
}

/* Sidebar Section */
.sidebar-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 12px 12px;
}

/* Session List */
.session-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding-right: 8px;
}

.session-list::-webkit-scrollbar {
  width: 4px;
}

.session-list::-webkit-scrollbar-track {
  background: transparent;
}

.session-list::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 2px;
}

.session-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.session-list li {
  padding: 14px 16px;
  cursor: pointer;
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  transition: all var(--transition-fast);
  position: relative;
  border: 1px solid transparent;
}

.session-list li:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.session-list li.active {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 180, 216, 0.08) 100%);
  border-color: var(--accent-primary);
}

.session-list li.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--accent-gradient);
  border-radius: 0 2px 2px 0;
}

.session-list li .session-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

.session-list li .session-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

.session-list li.empty {
  text-align: center;
  color: var(--text-ghost);
  padding: 32px 16px;
  cursor: default;
  font-size: 13px;
}

.session-list li.empty:hover {
  background: transparent;
  border-color: transparent;
}

/* Streaming Indicator */
.session-list li.streaming::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    box-shadow: var(--accent-glow);
  }
  50% {
    opacity: 0.4;
    box-shadow: none;
  }
}

/* === Main Chat Area === */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
  min-width: 0;
  position: relative;
}

/* Chat Header */
.chat-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 50;
}

.chat-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  opacity: 0.3;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.header-status {
  display: none;
  padding: 4px 10px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 600;
  color: var(--bg-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-action.btn-danger:hover {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger);
  border-color: var(--danger);
}

/* === Message List === */
.message-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  position: relative;
}

.message-list::-webkit-scrollbar {
  width: 6px;
}

.message-list::-webkit-scrollbar-track {
  background: transparent;
}

.message-list::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}

.message-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.message-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 24px 32px;
}

.message {
  margin-bottom: 20px;
  animation: messageReveal var(--transition-normal) var(--ease-smooth) forwards;
  opacity: 0;
}

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

.message.user {
  /* User messages have subtle styling */
}

.message.assistant {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-left: -32px;
  margin-right: -32px;
  padding-left: 32px;
  padding-right: 32px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.message.assistant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .message.assistant {
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .message-wrapper {
    padding: 20px 24px;
  }
}

@media (max-width: 600px) {
  .message.assistant {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: var(--radius-md);
  }

  .message-wrapper {
    padding: 16px;
  }
}

/* Message Label */
.message-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-label .icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--accent-gradient);
  color: var(--bg-deep);
  font-weight: 700;
}

.message.user .message-label .icon {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

/* Message Content */
.message-bubble {
  line-height: 1.7;
  color: var(--text-primary);
  font-size: 15px;
}

.message-time {
  font-size: 11px;
  color: var(--text-ghost);
  margin-top: 12px;
  font-weight: 400;
}

/* === Streaming Content === */
.streaming-content {
  min-height: 24px;
}

.streaming-content::after {
  content: '▊';
  animation: cursorBlink 1s step-end infinite;
  color: var(--accent-primary);
  margin-left: 2px;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* === Search Results === */
.search-results {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.search-results-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 500;
}

.search-cards {
  display: grid;
  gap: 10px;
}

.search-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid var(--glass-border);
  position: relative;
}

.search-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.search-card:hover {
  background: var(--bg-card);
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.search-card:hover::before {
  opacity: 1;
}

.search-card a {
  color: var(--accent-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.search-card a:hover {
  text-decoration: underline;
}

.search-card .url {
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* === Input Area === */
.chat-footer {
  padding: 20px 24px 24px;
  background: transparent;
  position: relative;
}

.input-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.input-wrapper.glass-input {
  display: flex;
  gap: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
  position: relative;
}

.input-wrapper.glass-input::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--accent-gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.input-wrapper.glass-input:focus-within {
  background: var(--bg-elevated);
  border-color: var(--accent-primary);
}

.input-wrapper.glass-input:focus-within::before {
  opacity: 0.5;
}

#inputBox {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 400;
  resize: none;
  line-height: 1.6;
  min-height: 24px;
  max-height: 160px;
  letter-spacing: -0.01em;
}

#inputBox::placeholder {
  color: var(--text-muted);
}

#inputBox:focus {
  outline: none;
}

.send-btn {
  padding: 10px 14px;
  background: var(--accent-gradient);
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.send-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  opacity: 0;
  filter: blur(8px);
  z-index: -1;
  transition: opacity var(--transition-fast);
}

.send-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.send-btn:hover:not(:disabled)::before {
  opacity: 0.4;
}

.send-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--text-muted);
}

.input-hint {
  text-align: center;
  font-size: 11px;
  color: var(--text-ghost);
  margin-top: 8px;
  font-weight: 400;
}

/* === Empty State === */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 48px 32px;
  text-align: center;
  animation: fadeIn var(--transition-slow) var(--ease-smooth);
}

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

.empty-state h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.empty-state .subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.empty-state .examples {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 600px;
}

.empty-state .example-btn {
  padding: 14px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.empty-state .example-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.empty-state .example-btn:hover {
  background: var(--bg-card);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.empty-state .example-btn:hover::before {
  opacity: 1;
}

/* === Error Message === */
.message-bubble.error {
  color: var(--danger);
  background: rgba(255, 71, 87, 0.08);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 71, 87, 0.2);
}

/* === Markdown Styles === */
.message-bubble h2,
.message-bubble h3,
.message-bubble h4 {
  margin: 20px 0 12px 0;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.message-bubble h2 { font-size: 20px; }
.message-bubble h3 { font-size: 17px; }
.message-bubble h4 { font-size: 15px; }

.message-bubble p {
  margin: 10px 0;
}

.message-bubble strong {
  font-weight: 600;
  color: var(--text-primary);
}

.message-bubble a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.message-bubble a:hover {
  border-bottom-color: var(--accent-primary);
}

.message-bubble ul,
.message-bubble ol {
  margin: 12px 0;
  padding-left: 24px;
}

.message-bubble li {
  margin: 6px 0;
  line-height: 1.6;
}

.message-bubble code.inline-code {
  background: var(--bg-elevated);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--glass-border);
}

.message-bubble pre.code-block {
  background: var(--bg-deep);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--glass-border);
  position: relative;
}

.message-bubble pre.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.3;
}

.message-bubble pre.code-block code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* === Typing Indicator === */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  padding: 12px 0;
}

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

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: dotWave 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotWave {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width);
    transform: translateX(-100%);
    z-index: 200;
    background: var(--bg-base);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    overflow: hidden;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(4px);
    z-index: 150;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .hamburger-btn {
    display: flex;
  }

  .chat-header {
    padding: 12px 16px;
  }

  .header-title {
    font-size: 16px;
  }

  .chat-footer {
    padding: 16px;
  }

  .input-wrapper.glass-input {
    padding: 10px 12px;
    border-radius: var(--radius-md);
  }

  #inputBox {
    font-size: 14px;
  }

  .input-hint {
    display: none;
  }

  .empty-state {
    padding: 32px 20px;
  }

  .empty-state h3 {
    font-size: 24px;
  }

  .empty-state .subtitle {
    font-size: 14px;
  }

  .empty-state .examples {
    flex-direction: column;
  }

  .empty-state .example-btn {
    width: 100%;
    text-align: left;
  }
}

/* === Selection === */
::selection {
  background: var(--accent-primary);
  color: var(--bg-deep);
}

/* === Focus Visible === */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

button:focus-visible {
  outline-offset: 1px;
}