:root {
  color: #182030;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html {
  overflow-y: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f7f8fb;
}

#app {
  min-height: 100vh;
}

.page-grid {
  display: grid;
  gap: 16px;
}

.surface-panel {
  border: 1px solid #e1e6ef;
  background: #ffffff;
}

.section-title {
  color: #121826;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.muted-text {
  color: #667085;
}

.meta-text {
  color: #667085;
  font-size: 0.8125rem;
}

.table-row-active {
  background: #fff7ed;
  box-shadow: inset 3px 0 0 #ff5a14;
}

.toolbar-field {
  max-width: 220px;
}

.safe-json {
  overflow: auto;
  max-height: 160px;
  border-radius: 8px;
  background: #f4f6f8;
  color: #344054;
  font-size: 0.8125rem;
  line-height: 1.45;
  padding: 12px;
  white-space: pre-wrap;
}

.chat-input {
  border: 1px solid #ff5a14;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 8px;
}

.chat-input input {
  border: 0;
  outline: 0;
  min-width: 0;
  color: #1f2937;
}

.chat-input input:disabled {
  color: #667085;
}

@media (max-width: 780px) {
  .page-grid {
    gap: 14px;
  }

  .chat-input {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}
