/* A model's own page (/models/<id>/): prices as four tiles, a worked cost, what it can do, the code to call it, and the
   rest of the line. */
.mp { padding-bottom: 96px; }
.mp-price { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mp-price .tile { padding: 20px 22px; border-radius: 12px; font-family: var(--mono); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; color: var(--ink); }
.mp-price small { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--mute); }
.mp-note { margin-top: 14px; font-size: 14px; color: var(--mute); }
.mp-sec { margin-top: 64px; }
.mp-sec h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin-bottom: 14px; }
.mp-sec > p { color: #b3bcc6; line-height: 1.7; }
.mp-sec > p b { color: var(--ink); font-weight: 500; }
.mp-sec > p a, .mp-all a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.mp-sec .tile.code { margin-top: 22px; }
.mp-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--edge); margin-bottom: 22px; }
.mp-spec > div { padding: 16px 4px; border-bottom: 1px solid var(--edge); }
.mp-spec dt { font-size: 13px; color: var(--mute); }
.mp-spec dd { margin: 6px 0 0; display: flex; align-items: center; gap: 8px; color: var(--ink); min-width: 0; }
.mp-spec dd img { width: 18px; height: 18px; }
.mp-spec dd code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mp-spec dd .copy { flex: none; }
.mp .models { margin-top: 8px; }
/* on a phone the tab names stay on one line and the row scrolls */
.mp .tile.code .tabs { overflow-x: auto; scrollbar-width: none; }
.mp .tile.code .tabs button { white-space: nowrap; flex: none; }
.mrow .who a { color: inherit; }
.mrow .who a:hover b, .card h3 a:hover { color: #ffb070; }
.card h3 a { color: inherit; }
.mp-all { margin-top: 22px; }
@media (max-width: 860px) {
  .mp-price { grid-template-columns: 1fr 1fr; }
  .mp-spec { grid-template-columns: 1fr 1fr; }
  .mp-sec { margin-top: 48px; }
}
