/* ===================================================================
   U-VISION — MODERN MOBILE-FIRST AI VISION & NAVIGATION UI
   Clean, High-Contrast, Thumb-Friendly Layout for Real-World Testing
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg-app: #090d16;
  --bg-panel: #111827;
  --bg-card: #172033;
  --bg-card-elevated: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.82);

  --accent-cyan: #06b6d4;
  --accent-sky: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-violet: #8b5cf6;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(56, 189, 248, 0.35);

  --font-sans: 'IBM Plex Sans Thai', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  height: 100dvh;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
  user-select: none;
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: env(safe-area-inset-top, 8px) 12px env(safe-area-inset-bottom, 10px);
  gap: 10px;
}

/* ===================================================================
   1. TOP NAVIGATION BAR
   =================================================================== */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

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

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  flex-shrink: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.status-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-btn:hover, .top-btn:active {
  background: var(--bg-card-elevated);
  border-color: var(--border-strong);
  color: #ffffff;
}

.top-btn-demo {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
}

/* ===================================================================
   2. MAIN STAGE & CAMERA VIEWPORT
   =================================================================== */

.main-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.viewport-container {
  position: relative;
  flex: 1;
  min-height: 190px;
  background: #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.viewport-container.walking-active {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35), 0 8px 30px rgba(16, 185, 129, 0.22);
}

.viewport-container.hazard-detected {
  border-color: var(--accent-rose) !important;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.55), 0 0 32px rgba(244, 63, 94, 0.75) !important;
  animation: hazard-pulse 0.35s infinite alternate ease-in-out;
}

@keyframes hazard-pulse {
  from { border-color: rgba(244, 63, 94, 0.5); }
  to { border-color: #f43f5e; }
}

#cameraFeed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#customImageView {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050811;
  display: none;
}

#offscreenCanvas {
  display: none;
}

#detectionOverlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.shutter-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease-out;
  z-index: 15;
}

.shutter-flash.active {
  opacity: 1;
}

/* Camera Overlay Pills & Tools */
.camera-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.cam-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.cam-badge-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cam-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.cam-pill-interactive {
  pointer-events: auto;
  cursor: pointer;
  color: var(--accent-sky);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Subtle Center Focus Corners */
.focus-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 100px;
  opacity: 0.45;
  pointer-events: none;
}

.fc-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #ffffff;
  border-style: solid;
}

.fc-tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.fc-tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.fc-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.fc-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }

/* Floating Camera Utility Buttons (Bottom-Left of Camera) */
.cam-floating-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  align-self: flex-start;
}

.cam-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cam-tool-btn:hover, .cam-tool-btn:active {
  background: rgba(30, 41, 59, 0.92);
  border-color: var(--accent-sky);
}

/* Captured Snapshot Mini Badge (Bottom-Right of Camera) */
.snapshot-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(9, 13, 22, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  display: none;
  align-items: center;
  gap: 8px;
}

.snapshot-badge.active {
  display: flex;
}

.snapshot-thumb {
  width: 36px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}

.snapshot-info {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-sky);
  line-height: 1.25;
}

/* ===================================================================
   3. AI RESPONSE & CONVERSATION CARD
   =================================================================== */

.response-card {
  flex-shrink: 0;
}

.response-card-inner {
  background: var(--bg-panel);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* AI Status Orb */
.ai-avatar-wrap,
.ubot-orb-wrapper {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-avatar-core {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #38bdf8 0%, #1d4ed8 70%, #0f172a 100%);
  border: 2px solid rgba(56, 189, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.ai-avatar-eye {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.ai-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-sky);
  opacity: 0.5;
}

.ubot-orb-wrapper.listening .ai-avatar-core {
  border-color: var(--accent-amber);
  background: radial-gradient(circle at 30% 30%, #fbbf24 0%, #d97706 75%);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
}
.ubot-orb-wrapper.listening .ai-avatar-ring {
  border-top-color: var(--accent-amber);
  animation: spin 1s linear infinite;
  opacity: 1;
}

.ubot-orb-wrapper.thinking .ai-avatar-core {
  border-color: var(--accent-violet);
  background: radial-gradient(circle at 30% 30%, #a78bfa 0%, #6d28d9 75%);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.6);
}
.ubot-orb-wrapper.thinking .ai-avatar-ring {
  border-top-color: var(--accent-violet);
  border-bottom-color: var(--accent-sky);
  animation: spin 0.75s linear infinite;
  opacity: 1;
}

.ubot-orb-wrapper.speaking .ai-avatar-core {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.65);
  animation: pulse-orb 0.9s infinite alternate;
}
.ubot-orb-wrapper.speaking .ai-avatar-ring {
  animation: spin 1.8s linear infinite;
  opacity: 1;
}

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

@keyframes pulse-orb {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.response-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-question-echo {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.1);
  border-left: 3px solid var(--accent-sky);
  padding: 3px 8px;
  border-radius: 4px;
  display: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-question-echo.visible {
  display: block;
}

.ubot-response-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
  max-height: 4.5em;
  overflow-y: auto;
  word-break: break-word;
}

.ubot-response-text strong {
  color: var(--accent-sky);
  font-weight: 700;
}

/* Equalizer Waveform */
.soundwave-bar {
  display: none;
  align-items: center;
  gap: 4px;
  height: 14px;
  margin-top: 2px;
}

.soundwave-bar.active {
  display: flex;
}

.soundwave-bar span {
  width: 3px;
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 3px;
  animation: wave 0.7s ease-in-out infinite alternate;
}
.soundwave-bar span:nth-child(2) { animation-delay: 0.15s; }
.soundwave-bar span:nth-child(3) { animation-delay: 0.3s; }
.soundwave-bar span:nth-child(4) { animation-delay: 0.45s; }
.soundwave-bar span:nth-child(5) { animation-delay: 0.6s; }

@keyframes wave {
  0% { height: 25%; opacity: 0.45; }
  100% { height: 100%; opacity: 1; }
}

/* ===================================================================
   4. BOTTOM CONTROL DOCK (QUICK CHIPS + BIG THUMB BUTTONS)
   =================================================================== */

.control-dock {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Horizontal Quick Action Chips (2x2 Grid on mobile for easy tapping) */
.quick-chips-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.chip-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-btn:hover, .chip-btn:active {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--accent-sky);
  color: #ffffff;
}

/* Primary 3-Button Action Bar */
.primary-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 8px 12px;
}

.action-card-btn {
  height: 58px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 6px 8px;
}

.action-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.action-label {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Walk Mode Button Styling */
.btn-walk-mode {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.btn-walk-mode:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: var(--accent-emerald);
}

.btn-walk-mode.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #6ee7b7;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.55);
  animation: walk-btn-pulse 1.8s infinite ease-in-out;
}

@keyframes walk-btn-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(16, 185, 129, 0.45); }
  50% { box-shadow: 0 0 24px rgba(16, 185, 129, 0.85); }
}

/* Stop Speaking Button Styling */
.btn-stop-voice {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.28);
  color: #fda4af;
}

.btn-stop-voice:hover, .btn-stop-voice:active {
  background: rgba(244, 63, 94, 0.24);
  border-color: var(--accent-rose);
  color: #ffffff;
}

/* Big Center Mic PTT Button */
.btn-ptt {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  border: 3px solid rgba(255, 255, 255, 0.35);
  color: #040914;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 24px rgba(6, 182, 212, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: -14px;
  margin-bottom: -6px;
}

.btn-ptt svg {
  width: 26px;
  height: 26px;
  color: #030712;
}

.ptt-caption {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  color: #030712;
  letter-spacing: -0.2px;
}

.btn-ptt:active,
.btn-ptt.recording {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.8);
  transform: scale(0.95);
}

.btn-ptt.recording svg,
.btn-ptt.recording .ptt-caption {
  color: #ffffff;
}

.ptt-aura-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.btn-ptt.recording .ptt-aura-ring {
  border-color: rgba(239, 68, 68, 0.75);
  animation: ptt-ripple 1s infinite ease-out;
}

@keyframes ptt-ripple {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.28); opacity: 0; }
}

.ptt-helper-text {
  font-size: 0.73rem;
  color: var(--text-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================================================================
   5. DRAWER & SETTINGS MODAL
   =================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.78);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.fail-safe-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 90vw);
  background: var(--bg-panel);
  border-left: 1px solid var(--border-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.drawer-backdrop.open .fail-safe-drawer {
  transform: translateX(0);
}

.drawer-header, .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fbbf24;
}

.drawer-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.scenario-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}

.scenario-card-item:hover {
  border-color: var(--accent-sky);
  background: var(--bg-card-elevated);
}

.scenario-card-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

.badge-red { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-cyan { background: rgba(6, 182, 212, 0.2); color: #22d3ee; }
.badge-amber { background: rgba(234, 179, 8, 0.2); color: #facc15; }

.scenario-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.scenario-q-preview {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.btn-secondary-full {
  width: 100%;
  padding: 11px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}

/* Settings Modal */
.modal-dialog {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.82);
  backdrop-filter: blur(8px);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog.open {
  display: flex;
}

.modal-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.modal-header h2 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-divider {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-sky);
}

.btn-test-voice {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-sky);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.modal-actions {
  margin-top: 4px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  color: #030712;
  border: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

/* ===================================================================
   6. RESPONSIVE TWEAKS
   =================================================================== */

@media (min-width: 640px) {
  .quick-chips-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .hide-mobile {
    display: none !important;
  }
  .btn-text-hide-xs {
    display: none;
  }
  .status-pill {
    max-width: 145px;
    font-size: 0.74rem;
  }
}
