/* Tyre sizes (app/javascript/tools/tyres.js): what the shared tl- styles
   don't have, like the app's tyre_size_screen.dart. */
.ty-size__field { font-weight: 500; }
.ty-size__field::placeholder { color: var(--field); }
.ty-arrow { display: flex; justify-content: center; padding: 2px 0; color: var(--subtle); font-size: 20px; line-height: 1; }

/* _CompareTable: NOW · NEW · CHANGE */
.ty-compare { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; }
.ty-compare thead th { font-weight: 400; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); text-align: right; padding: 0 0 6px 8px; border-bottom: 1px solid var(--divider); white-space: nowrap; }
.ty-compare tbody th { font-family: var(--sans); font-weight: 400; font-size: 14px; text-align: left; color: var(--ink); }
.ty-compare tbody th, .ty-compare td { height: 44px; border-bottom: 1px solid var(--divider); }
.ty-compare tbody tr:last-child th, .ty-compare tbody tr:last-child td { border-bottom: 0; }
.ty-compare td { text-align: right; padding-left: 8px; white-space: nowrap; color: var(--ink); width: 62px; }
.ty-compare td:last-child { width: 74px; }
.ty-compare .ty-sub { color: var(--subtle); }
.ty-compare .ty-new { font-weight: 500; }
.ty-compare .ty-warn { color: var(--red); }

/* _PartRow: the code in mono, its name and meaning */
.ty-parts { margin: 0; }
.ty-part { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--divider); }
.ty-part:last-child { border-bottom: 0; }
.ty-part__code { width: 64px; flex-shrink: 0; font-family: var(--mono); font-size: 18px; font-weight: 500; color: var(--ink); }
.ty-part dd { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.ty-part dd b { font-size: 16px; font-weight: 600; color: var(--ink); }
.ty-part dd span { font-size: 14px; line-height: 1.35; color: var(--subtle); }

/* The ring of the app's trip_origin icon, for the row to Tyre age */
.ty-ring { width: 16px; height: 16px; border: 3px solid var(--ink); border-radius: 50%; }
.tl-row__go { font-size: 22px; line-height: 1; }
