.app--wide {
  max-width: 820px;
}

.prompt-input {
  width: 100%;
  min-height: 180px;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 14px;
  font-family: 'Segoe UI', system-ui, sans-serif;
  resize: vertical;
  outline: none;
  line-height: 1.6;
  transition: border-color 0.2s;
}

.prompt-input:focus {
  border-color: var(--accent);
}

.prompt-input::placeholder {
  color: var(--text3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-weight: 600;
}

.stat-card-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.models-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.models-section-header {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.models-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-weight: 600;
}

.models-note {
  font-size: 11px;
  color: var(--text3);
}

.models-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.models-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.models-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: middle;
}

.models-table tbody tr:last-child td {
  border-bottom: none;
}

.models-table tbody tr:hover td {
  background: var(--bg3);
}

.model-name {
  color: var(--text);
  font-weight: 500;
}

.model-provider {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

.status-ok     { color: #4ade80; font-weight: 600; font-size: 12px; }
.status-warn   { color: #f59e0b; font-weight: 600; font-size: 12px; }
.status-exceed { color: #ef4444; font-weight: 600; font-size: 12px; }

.privacy-note {
  font-size: 13px;
  color: var(--text2);
  text-align: left;
}

.explainer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.explainer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explainer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.explainer-body {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
}

.explainer-body strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .models-table th:nth-child(2),
  .models-table td:nth-child(2) { display: none; }
}
