/* ============================================================
   iServ — Claude API Token Calculator (supplemental styles)
   Reuses cost-calculator.css for the shell (.calc, .calc-card,
   .calc-results, .field, .seg, .kpi, .bars, chips, etc.).
   Only model-selector + comparison extras live here.
   ============================================================ */

/* model selector grid */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
@media (max-width: 520px) { .model-grid { grid-template-columns: 1fr; } }

.model-card {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 15px;
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease), transform .12s var(--ease);
  min-width: 0;
}
.model-card:hover { border-color: var(--gold-dim); transform: translateY(-1px); }
.model-card[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(209,174,109,.10), rgba(209,174,109,.03));
}
.model-card .mc-name { font-family: var(--font-serif); font-size: 16px; color: var(--cream); font-weight: 500; line-height: 1.15; }
.model-card .mc-tag { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.model-card .mc-price { margin-top: 10px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.model-card .mc-price b { color: var(--gold-light); font-weight: 600; }
.model-card[aria-pressed="true"] .mc-check { color: var(--gold); }
.model-card .mc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.model-card .mc-check { width: 18px; height: 18px; flex: 0 0 auto; color: transparent; transition: color .16s var(--ease); }

/* comparison rows: model label + bar + monthly cost */
.cmp { display: grid; gap: 14px; margin-top: 6px; }
.cmp-row .cmp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 7px; }
.cmp-row .cmp-name { font-size: 13.5px; color: var(--muted); }
.cmp-row .cmp-name b { color: var(--cream); font-weight: 500; }
.cmp-row .cmp-amt { font-size: 13.5px; color: var(--cream); font-variant-numeric: tabular-nums; font-weight: 500; }
.cmp-row.is-sel .cmp-name b { color: var(--gold-light); }

/* token-unit segmented hint */
.tok-hint { font-size: 12px; color: var(--muted-2); margin-top: 7px; }
.tok-hint b { color: var(--muted); font-weight: 500; }
