* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #fafaf7;
  color: #1a1a1a;
}
main {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px;
}
h1 {
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.subtitle {
  font-size: 14px;
  color: #71717a;
  margin: 0 0 32px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.card {
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.provider-name {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.model-name {
  font-size: 12px;
  color: #71717a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c2410c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
button:hover { background: #9a3412; }
button:disabled { background: #a1a1aa; cursor: not-allowed; }
.result {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}
.result.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.meta { color: #71717a; font-size: 11px; margin-top: 4px; }
.dashboard-link {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
}
.dashboard-link a {
  color: #c2410c;
  text-decoration: none;
  font-weight: 500;
}
.dashboard-link a:hover { text-decoration: underline; }
