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

:root {
  --primary: #fbbf24;
  --primary-dark: #d97706;
  --bg: #ffffff;
  --bg-card: #fffbeb;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --danger: #ef4444;
  --success: #10b981;
  --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827;
    --bg-card: #1f2937;
    --text: #f9fafb;
    --text-secondary: #9ca3af;
    --border: #374151;
  }
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.screen {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

/* Setup Screen */
.setup-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.setup-container h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.setup-container p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

#setup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.input-group label {
  font-weight: 500;
  font-size: 0.875rem;
}

.input-group input {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.input-group small {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.btn-primary {
  padding: 14px 24px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover, .btn-primary:active {
  background: var(--primary-dark);
}

.btn-secondary {
  padding: 12px 20px;
  background: var(--bg-card);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--border);
}

.btn-danger {
  padding: 12px 20px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-small {
  padding: 6px 12px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-small:disabled {
  background: var(--border);
  color: var(--text-secondary);
  cursor: default;
}

.btn-small-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-group {
  display: flex;
  gap: 6px;
}

/* Main Screen Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  padding-top: calc(16px + var(--safe-area-top));
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s;
}

.icon-btn:hover, .icon-btn:active {
  background: var(--border);
}

.icon-btn.has-quest {
  color: var(--primary-dark);
}

.icon-btn.has-reminder {
  color: var(--primary-dark);
}

.icon-btn.quest-completed {
  color: var(--success);
}

/* Notes Grid */
#notes-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: calc(100px + var(--safe-area-bottom));
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  align-content: start;
}

.note-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 100px;
  max-height: 200px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.note-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.note-card:active {
  transform: scale(0.98);
}

.note-card {
  transition: opacity 0.15s ease-out;
}

.note-card .note-preview {
  font-size: 0.875rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.note-card.short-note .note-preview {
  font-size: 1.125rem;
  font-weight: 600;
}

.note-card .note-date {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.note-quest-mark {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #f0a020;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.note-quest-mark.completed {
  color: #4caf50;
}

.note-card.syncing::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

.note-card.decrypt-failed {
  background: #fef2f2;
  border: 2px solid var(--danger);
}

.note-card.decrypt-failed .note-preview {
  color: var(--danger);
  font-style: italic;
}

@media (prefers-color-scheme: dark) {
  .note-card.decrypt-failed {
    background: #450a0a;
  }
}

/* Drag and drop states */

.note-card.drag-source {
  opacity: 0.4;
  border: 2px dashed var(--primary);
  background: var(--bg);
}

.note-card.drag-source .note-preview,
.note-card.drag-source .note-date {
  opacity: 0;
}

.note-card.floating-drag {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  opacity: 0.95;
}

.note-card[draggable="true"] {
  cursor: grab;
}

.note-card[draggable="true"]:active {
  cursor: grabbing;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* FAB */
.fab {
  position: fixed;
  bottom: calc(24px + var(--safe-area-bottom));
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  z-index: 100;
  transition: transform 0.2s, background 0.2s;
}

.fab:hover, .fab:active {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* Connection Status */
.status-indicator {
  position: fixed;
  bottom: calc(24px + var(--safe-area-bottom));
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  z-index: 100;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-secondary);
}

.status-indicator.connected .status-dot {
  background: var(--success);
}

.status-indicator.disconnected .status-dot {
  background: var(--danger);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: none;
}

.modal-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: pan-y;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  padding-top: calc(12px + var(--safe-area-top));
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.modal-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.delete-btn {
  color: var(--danger);
}

#note-content {
  flex: 1;
  min-height: 0;
  padding: 20px;
  padding-bottom: calc(20px + var(--safe-area-bottom));
  border: none;
  resize: none;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* When keyboard is open, add padding for the floating toolbar */
.keyboard-open #note-content {
  padding-bottom: 80px;
}

.keyboard-open .modal-header {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: none;
  padding-top: 12px;
}

#note-content:focus {
  outline: none;
}

/* Settings Modal */
.settings-content {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.settings-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  text-align: center;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.note-card.fade-in {
  animation: fadeIn 0.2s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

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

/* iOS fixes */
@supports (-webkit-touch-callout: none) {
  .modal {
    height: -webkit-fill-available;
  }
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  padding: 0 16px;
}

/* Full-width button */
.btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* QR Code Modal */
.qr-content {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.qr-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#qr-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#qr-canvas {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

#qr-scanner {
  width: 100%;
  max-width: 400px;
}

#qr-reader {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

#qr-reader video {
  border-radius: var(--radius);
}

.qr-hint {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  max-width: 280px;
}

/* html5-qrcode overrides */
#qr-reader__scan_region {
  background: var(--bg-card) !important;
}

#qr-reader__dashboard {
  padding: 16px !important;
}

#qr-reader__dashboard_section_swaplink {
  color: var(--primary) !important;
  text-decoration: none !important;
}

#html5-qrcode-button-camera-permission,
#html5-qrcode-button-camera-start,
#html5-qrcode-button-camera-stop {
  background: var(--primary) !important;
  color: #000 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* Note Reminder Badge */
.note-reminder-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  background: var(--primary);
  color: #000;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
}

/* Editor Reminder Button */
#editor-reminder.has-reminder {
  color: var(--primary-dark);
}

/* Quick Templates */
.quick-templates {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.template-btn {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.template-btn:hover {
  background: var(--border);
  border-color: var(--primary);
}

.template-btn:active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
}

/* Reminder Modal */
.reminder-content {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.reminder-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reminder-body .input-group input {
  font-size: 1.125rem;
}

.reminder-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Datetime input styling */
input[type="datetime-local"] {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

input[type="datetime-local"]:focus {
  outline: none;
  border-color: var(--primary);
}

/* iOS datetime input fix */
@supports (-webkit-touch-callout: none) {
  input[type="datetime-local"] {
    -webkit-appearance: none;
    min-height: 50px;
  }
}

/* Mobile compact layout */
@media (max-width: 768px) {
  header {
    padding: 10px 16px;
    padding-top: calc(10px + var(--safe-area-top));
  }

  header h1 {
    font-size: 1.25rem;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .modal-header {
    padding: 10px 16px;
    padding-top: calc(10px + var(--safe-area-top));
    gap: 4px;
  }

  .modal-header h2 {
    font-size: 1rem;
  }

  .modal-actions {
    gap: 4px;
  }

  /* Mobile tab navigation adjustments */
  .tab-nav {
    padding: 0 16px;
  }

  .tab-btn {
    padding: 8px 6px;
  }

  /* Increase gap between tab nav and content on mobile */
  .tab-content {
    padding-top: 20px;
  }

  /* Notes container mobile spacing */
  #notes-container {
    padding: 20px 16px;
    padding-bottom: calc(100px + var(--safe-area-bottom));
  }

  /* Quest section mobile spacing */
  .quests-section {
    padding: 20px 16px 0;
  }

  .quests-section:first-child {
    padding-top: 24px;
  }

  /* Calendar mobile spacing */
  .calendar-placeholder {
    padding: 40px 16px;
  }
}

/* Tab Navigation */
.tab-nav {
  display: flex;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  z-index: 9;
}

.tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(var(--primary), 0.1);
}

.tab-btn.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.tab-btn span {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Tab Content */
.tab-content-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  flex-direction: column;
  background: var(--bg);
  z-index: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-content.active {
  display: flex;
}

/* Notes Tab Styles */
#notes-tab {
  display: flex;
  flex-direction: column;
}

/* Quest Tab Styles */
#quests-tab {
  padding-bottom: calc(100px + var(--safe-area-bottom));
}

.quests-section {
  padding: 16px 20px 0;
}

.quests-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quests-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.quest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.quest-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.quest-item:active {
  transform: scale(0.98);
}

.quest-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
}

.quest-checkbox.completed {
  background: var(--primary);
  border-color: var(--primary);
}

.quest-checkbox.completed svg {
  color: #000;
}

.quest-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quest-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.quest-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  gap: 12px;
  align-items: center;
}

.quest-deadline {
  color: var(--danger);
  font-weight: 500;
}

.quest-date-badge {
  background: var(--primary);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
}

/* Calendar placeholder */
.calendar-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.calendar-placeholder h3 {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calendar-placeholder p {
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Quest Modal */
.quest-content {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.quest-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quest-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Date input styling */
input[type="date"] {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
}

input[type="date"]:focus {
  outline: none;
  border-color: var(--primary);
}

/* Mobile swipe support */
.tab-content-container.swiping {
  overflow: visible;
}

.tab-content.swiping {
  transition: transform 0.3s ease-out;
}

/* Empty state for quests */
.quest-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.quest-empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-bottom: 16px;
}

.quest-empty-state h4 {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.quest-empty-state p {
  color: var(--text-secondary);
  opacity: 0.8;
  font-size: 0.875rem;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: calc(80px + var(--safe-area-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100% - 40px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-error {
  background: var(--danger);
  color: white;
}

.toast-success {
  background: var(--success);
  color: white;
}

/* Quest drag and drop */
.quest-item.quest-drag-source {
  opacity: 0.4;
  border: 2px dashed var(--primary);
  background: var(--bg);
}

.quest-item.quest-drag-source .quest-title,
.quest-item.quest-drag-source .quest-meta,
.quest-item.quest-drag-source .quest-checkbox {
  opacity: 0;
}

.floating-quest {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  transform: rotate(2deg) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0.95;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.quest-item.quest-completed {
  opacity: 0.6;
}

.quest-item.quest-completed .quest-title {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.quest-title-placeholder {
  color: var(--text-secondary);
  font-style: italic;
}

.build-id {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.5;
  padding: 20px;
  margin-top: 20px;
}

/* Debug Log Modal */
.debug-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.debug-content .modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.debug-content .modal-header h2 {
  flex: 1;
}

.debug-body {
  flex: 1;
  overflow: auto;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 16px;
}

#debug-log-content {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  color: var(--text);
}
