/* Detailed model prices use the site's existing theme tokens. */
.model-prices .price-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 20px; }
.model-prices .price-control { display: grid; gap: 7px; }
.model-prices .price-control label { color: var(--muted); font-size: 0.8rem; }
.model-prices .price-search { flex: 1 1 280px; }
.model-prices .price-family-select { flex: 0 1 220px; }
.model-prices .price-control input,
.model-prices .price-control select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--bg-2);
  color: var(--text);
  font: inherit;
}
.model-prices .price-control input:focus-visible,
.model-prices .price-control select:focus-visible,
.model-prices .table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.model-prices .price-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 26px; color: var(--muted-2); font-size: 0.8rem; }
.model-prices .price-family { padding: 0; border: 0; margin-top: 34px; }
.model-prices .price-family:first-child { margin-top: 0; }
.model-prices .price-family-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.model-prices .price-family-heading h2 { font-size: 1.35rem; }
.model-prices .price-family-count { color: var(--muted-2); font-size: 0.8rem; }
.model-prices .price-table { min-width: 900px; table-layout: fixed; }
/* The model column only holds a name plus its id, so it stays narrow and the
   four price columns split the rest; 34% left a wide blank band between the
   name and the first number. */
.model-prices .price-table th:first-child { width: 26%; }
.model-prices .price-table thead th:not(:first-child),
.model-prices .price-table td { text-align: right; }
/* The outer columns carry the table's edge, so they get a wider inset than the
   interior ones; the unit caption follows the first column to keep the block
   left edge flush. */
.model-prices .price-table thead th:first-child { padding-left: 26px; }
.model-prices .price-table thead th:last-child { padding-right: 26px; }
.model-prices .price-table tbody th {
  padding: 13px 16px 13px 26px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-weight: 500;
}
.model-prices .price-table tbody td:last-child { padding-right: 26px; }
.model-prices .price-table tbody tr:last-child th { border-bottom: 0; }
.model-prices .price-table tbody tr:hover { background: var(--bg-3); }
.model-prices .price-model-name { display: block; color: var(--text); font-size: 0.88rem; }
.model-prices .price-model-id { display: block; margin-top: 3px; color: var(--muted-2); font-size: 0.7rem; overflow-wrap: anywhere; }
.model-prices .price-value { display: block; color: var(--text); font-family: var(--font-mono); font-size: 0.84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.model-prices .price-value + .price-value { margin-top: 8px; }
.model-prices .price-tier { display: block; color: var(--muted-2); font-family: var(--font-sans); font-size: 0.7rem; white-space: normal; }
.model-prices .price-family .table-wrap + .table-wrap { margin-top: 16px; }
.model-prices .price-table-unit { padding: 10px 16px 10px 26px; background: var(--bg-2); color: var(--muted-2); text-align: left; font-size: 0.75rem; }
.model-prices .price-table-request { min-width: 520px; }
.model-prices .price-table-request th:first-child { width: 50%; }
.model-prices .price-table-request thead th:nth-child(2),
.model-prices .price-table-request .price-mode { text-align: left; }
.model-prices .price-state { padding: 32px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--muted); text-align: center; }
.model-prices .price-state .btn { margin-top: 16px; }
@media (max-width: 760px) {
  .model-prices .price-search,
  .model-prices .price-family-select { flex: 1 1 100%; }
}
