.input-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #0D0F12;
}

.input-switch button {
  min-width: 0;
  min-height: 40px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--dim);
  font: 600 12px/1 var(--sans);
  cursor: pointer;
}

.input-switch button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--text);
}

.source-field[hidden] {
  display: none;
}

.model-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.model-guide article {
  min-width: 0;
  padding: 22px 18px;
}

.model-guide article + article {
  border-left: 1px solid var(--border);
}

.model-guide strong,
.model-guide span {
  display: block;
}

.model-guide strong {
  color: var(--text);
  font: 600 15px/1.3 var(--sans);
}

.model-guide span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.model-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 9px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--warm);
  font: 500 10px/1 var(--mono);
  text-transform: uppercase;
}

.privacy-note {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 12px;
}

@media (max-width: 820px) {
  .model-guide {
    grid-template-columns: 1fr 1fr;
  }

  .model-guide article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .model-guide article:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .model-guide {
    grid-template-columns: 1fr;
  }

  .model-guide article + article,
  .model-guide article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}
