/* MOT and History (motandhistory.co.uk), loaded after /assets/style.css.
   Forest green and cream, amber for advisories, red for failures; Zilla Slab headings, Source Sans 3 body.
   Part 1 sets the main stylesheet's own tokens, so the shared pages (car page, prices, payment, report, contact…)
   take this site's colours; part 2 is this site's own pages (classes mh-); part 3 restyles the shared pages. */

:root {
  --mh-forest: #14532d;
  --mh-forest-2: #1b6b3a;
  --mh-deep: #0d3a1f;
  --mh-cream: #f8f4ea;
  --mh-cream-2: #efe7d3;
  --mh-paper: #fffdf8;
  --mh-line: #e2d8c3;
  --mh-text: #1c2b21;
  --mh-muted: #5a6659;
  --mh-pass: #1d7a3e;
  --mh-amber: #e9a825;
  --mh-amber-ink: #7a4b00;
  --mh-amber-bg: #fcf0d3;
  --mh-red: #b42318;
  --mh-red-bg: #fbe5e2;
  --mh-slab: "Zilla Slab", "Roboto Slab", Georgia, serif;

  /* The main stylesheet's tokens */
  --ink: #173322;
  --ink-2: #14532d;
  --plate: #f2c14e;
  --gb: #1b6b3a;
  --paper: #f8f4ea;
  --line: #e2d8c3;
  --muted: #5a6659;
  --good: #1d7a3e;
  --bad: #b42318;
  --warn: #9a6200;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Source Sans 3", ui-monospace, Consolas, monospace;
}

/* ---------- 2. This site's own pages ---------- */

body.mh { background: var(--mh-cream); color: var(--mh-text); font-size: 17px; line-height: 1.55; }
.mh h1, .mh h2, .mh h3, .mh .h1 { font-family: var(--mh-slab); letter-spacing: -.005em; }
.mh-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.mh-narrow { max-width: 47rem; }
.center { text-align: center; }

/* Header: cream, a forest rule on top, the logo, the links, My orders */
.mh-head { background: var(--mh-paper); border-top: 5px solid var(--mh-forest); border-bottom: 1px solid var(--mh-line); }
.mh-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; padding-top: .7rem; padding-bottom: .7rem; }
.mh-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.35rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.mh-logo .mark { display: block; width: auto; height: 2rem; }
.mh-logo i { font-style: normal; font-weight: 600; color: var(--mh-amber-ink); }
.mh-logo.light { color: #fff; }
.mh-logo.light i { color: var(--plate); }
.mh-logo.light .mark { border-radius: 7px; box-shadow: 0 0 0 1.5px rgba(248, 244, 234, .55); }
.mh-nav { display: flex; gap: 1.35rem; font-size: .95rem; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.mh-nav::-webkit-scrollbar { display: none; }
.mh-nav a { color: var(--mh-text); white-space: nowrap; padding: .3rem 0; border-bottom: 2px solid transparent; }
.mh-nav a:hover, .mh-nav a[aria-current] { color: var(--mh-forest); border-color: var(--mh-amber); }
.mh-orders { margin-left: auto; border: 1.5px solid var(--mh-forest); border-radius: 6px; padding: .35rem .8rem; color: var(--mh-forest); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.mh-orders:hover { background: var(--mh-forest); color: #fff; }
@media (max-width: 760px) {
  .mh-head-row { gap: .55rem .75rem; }
  .mh-logo { font-size: 1.18rem; }
  .mh-logo .mark { height: 1.75rem; }
  .mh-nav { order: 3; width: 100%; gap: 1.1rem; border-top: 1px solid var(--mh-line); padding-top: .45rem; font-size: .88rem; }
}

/* Footer */
.mh-foot { margin-top: 4rem; background: var(--mh-deep); color: rgba(248, 244, 234, .82); font-size: .95rem; }
.mh-foot-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 600px) { .mh-foot-grid { grid-template-columns: 1fr 1fr; } .mh-foot-brand { grid-column: 1 / -1; } }
@media (min-width: 980px) { .mh-foot-grid { grid-template-columns: 1.5fr 1fr 1fr .8fr; } .mh-foot-brand { grid-column: auto; } }
.mh-foot-brand > p:first-of-type { margin-top: .9rem; max-width: 24rem; }
.mh-foot-label { margin: 0 0 .7rem; color: #fff; font-family: var(--sans) !important; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mh-foot-brand .mh-foot-label { margin-top: 1.4rem; }
.mh-foot-links { display: grid; gap: .5rem; }
.mh-foot-links a:hover { color: #fff; text-decoration: underline; }
.mh-legal { border-top: 1px solid rgba(248, 244, 234, .14); padding-top: 1rem; padding-bottom: 1.25rem; font-size: .8rem; color: rgba(248, 244, 234, .6); }
.mh-legal p + p { margin-top: .25rem; }
main:has(> .mh-last:last-child) + .mh-foot { margin-top: 0; }

/* Registration box: a white front plate with a forest "UK" band */
.mh-plate { display: flex; align-items: stretch; min-width: 0; overflow: hidden; border: 2px solid var(--mh-text); border-radius: 8px; background: #fffef9; box-shadow: inset 0 0 0 2px #fff; }
.mh-plate-band { display: flex; align-items: flex-end; justify-content: center; flex: none; width: 2.6rem; padding-bottom: .45rem; background: var(--mh-forest); color: #fff; font-size: .85rem; font-weight: 800; letter-spacing: .04em; }
.mh-plate input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; padding: .7rem .5rem; color: #111; font-family: var(--sans); font-size: 2rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; outline: none; }
.mh-plate input::placeholder { color: rgba(28, 43, 33, .32); letter-spacing: .06em; }
.mh-plate:focus-within { border-color: var(--mh-forest); box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px rgba(233, 168, 37, .55); }
.mh-plate-sm .mh-plate-band { width: 1.7rem; padding-bottom: .25rem; font-size: .62rem; }
.mh-plate-sm input { padding: .4rem; font-size: 1.15rem; letter-spacing: .07em; }

.mh-form { display: grid; gap: .65rem; }
.mh-input { width: 100%; border: 1.5px solid #c9bea6; border-radius: 8px; background: #fff; padding: .85rem .9rem; color: var(--mh-text); font-size: 1.05rem; }
.mh-input:focus { border-color: var(--mh-forest); outline: 3px solid rgba(20, 83, 45, .15); }
.mh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 8px; padding: .9rem 1.4rem; font-family: var(--sans); font-size: 1.08rem; font-weight: 800; text-align: center; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.mh-btn-go { background: var(--mh-forest); color: #fff; box-shadow: 0 3px 0 var(--mh-deep); }
.mh-btn-go:hover { background: var(--mh-forest-2); }
.mh-btn-buy { background: var(--mh-amber); color: #2b1d00; box-shadow: 0 3px 0 #a87612; }
.mh-btn-buy:hover { background: #f2b73a; }
.mh-btn:active { transform: translateY(2px); box-shadow: none; }
.mh-form .mh-btn { width: 100%; }
.mh-error { border-radius: 8px; background: var(--mh-red-bg); padding: .55rem .75rem; color: var(--mh-red); font-size: .92rem; font-weight: 600; }
.mh-fine { font-size: .76rem; line-height: 1.45; color: var(--mh-muted); }
.mh-fine a { text-decoration: underline; }
.mh-quick { display: flex; gap: .5rem; max-width: 22rem; }
.mh-quick .mh-plate { flex: 1; }
.mh-quick .mh-btn { padding: .55rem 1rem; font-size: .95rem; }

/* Hero: cream with a faint test-sheet grid, text and form left, the example MOT record right */
.mh-hero { padding: 2.25rem 0 2.5rem; background:
    linear-gradient(rgba(20, 83, 45, .045) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(180deg, var(--mh-paper), var(--mh-cream)); border-bottom: 1px solid var(--mh-line); }
.mh-hero-grid { display: grid; gap: 2rem; }
@media (min-width: 980px) {
  .mh-hero { padding: 3.5rem 0 3.75rem; }
  .mh-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: start; }
}
.mh-eyebrow { display: inline-block; border-left: 4px solid var(--mh-amber); padding: .1rem 0 .1rem .6rem; color: var(--mh-forest); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mh-hero h1 { margin-top: .7rem; color: var(--mh-forest); font-size: 2.35rem; font-weight: 700; line-height: 1.08; }
@media (min-width: 640px) { .mh-hero h1 { font-size: 3.1rem; } }
.mh-hero-inner h1 { font-size: 2.15rem; }
@media (min-width: 640px) { .mh-hero-inner h1 { font-size: 2.65rem; } }
.mh-lead { max-width: 36rem; margin-top: .8rem; color: #3b4a3f; font-size: 1.12rem; }
.mh-card { border: 1px solid var(--mh-line); border-radius: 14px; background: #fff; }
.mh-form-card { max-width: 35rem; margin-top: 1.4rem; padding: 1.1rem; box-shadow: 0 1px 0 var(--mh-line), 0 22px 44px -26px rgba(13, 58, 31, .45); }
.mh-form-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .7rem; font-family: var(--mh-slab); color: var(--mh-forest); font-size: 1.15rem; font-weight: 700; }
.mh-form-title span { align-self: center; font-family: var(--sans); color: var(--mh-pass); font-size: .8rem; font-weight: 700; }
.mh-crumbs { margin-bottom: .4rem; font-size: .85rem; color: var(--mh-muted); }
.mh-crumbs a { color: var(--mh-forest); text-decoration: underline; }
.mh-hero-plain { padding-bottom: 2rem; }

/* The example MOT record, drawn as a timeline */
.mh-tl, .mh-status-art, .mh-compare { margin: 0; border: 1px solid var(--mh-line); border-radius: 16px; background: #fff; padding: 1.15rem 1.15rem 1rem; box-shadow: 0 1px 0 var(--mh-line), 0 26px 50px -30px rgba(13, 58, 31, .5); }
.mh-tl-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.2rem; font-weight: 700; }
.mh-tl-head em { border-radius: 999px; background: var(--mh-amber-bg); padding: .15rem .6rem; color: var(--mh-amber-ink); font-family: var(--sans); font-size: .68rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mh-tl-car { margin-top: .1rem; color: var(--mh-muted); font-size: .85rem; }
.mh-tl-due { display: flex; align-items: center; gap: .45rem; margin-top: .75rem; border-radius: 8px; background: #e8f2ea; padding: .5rem .7rem; color: var(--mh-forest); font-size: .92rem; }
.mh-tl-due .mh-ico { width: 1.1rem; height: 1.1rem; }
.mh-tl-list { position: relative; margin-top: 1rem; padding-left: 1.7rem; }
.mh-tl-list::before { content: ""; position: absolute; left: .55rem; top: .45rem; bottom: .6rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--mh-forest), #cdd8cc); }
.mh-tl-list > li { position: relative; padding-bottom: .8rem; }
.mh-tl-list > li:last-child { padding-bottom: 0; }
.mh-tl-list > li::before { content: ""; position: absolute; left: -1.62rem; top: .2rem; width: 1rem; height: 1rem; border: 3px solid var(--mh-pass); border-radius: 50%; background: #fff; }
.mh-tl-list > li.adv::before { border-color: var(--mh-amber); background: var(--mh-amber-bg); }
.mh-tl-list > li.fail::before { border-color: var(--mh-red); background: var(--mh-red); }
.mh-tl-row { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) auto; gap: .55rem; align-items: baseline; font-size: .95rem; }
.mh-tl-row time { color: var(--mh-muted); font-size: .82rem; font-weight: 600; }
.mh-tl-row b { color: var(--mh-pass); font-weight: 700; }
.adv .mh-tl-row b { color: var(--mh-amber-ink); }
.fail .mh-tl-row b { color: var(--mh-red); }
.mh-tl-miles { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--mh-text); font-size: .88rem; white-space: nowrap; }
.mh-tl-notes { margin-top: .35rem; border-radius: 8px; padding: .4rem .65rem; font-size: .8rem; line-height: 1.4; }
.adv .mh-tl-notes { background: var(--mh-amber-bg); color: var(--mh-amber-ink); }
.fail .mh-tl-notes { background: var(--mh-red-bg); color: var(--mh-red); }
.mh-tl-notes li { padding-left: .9rem; text-indent: -.9rem; }
.mh-tl-notes li::before { content: "!"; display: inline-block; width: .9rem; text-indent: 0; font-weight: 800; }
.mh-tl-key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; border-top: 1px dashed var(--mh-line); padding-top: .7rem; color: var(--mh-muted); font-size: .8rem; }
.mh-tl-key span::before { content: ""; display: inline-block; width: .65rem; height: .65rem; margin-right: .35rem; border-radius: 50%; vertical-align: -.02rem; background: var(--mh-pass); }
.mh-tl-key .adv::before { background: var(--mh-amber); }
.mh-tl-key .fail::before { background: var(--mh-red); }
@media (max-width: 420px) {
  .mh-tl-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mh-tl-row time { grid-column: 1 / -1; }
}

/* The inner pages' pictures: what the MOT shows next to what the report adds; tax and MOT status */
.mh-compare { display: grid; gap: .9rem; }
@media (min-width: 520px) { .mh-compare { grid-template-columns: 1fr 1fr; } }
.mh-compare-head { display: flex; justify-content: space-between; align-items: center; border-radius: 8px; padding: .45rem .7rem; font-family: var(--mh-slab); font-weight: 700; }
.mh-compare-head span { font-family: var(--sans); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.mh-compare-head.free { background: #e8f2ea; color: var(--mh-forest); }
.mh-compare-head.paid { background: var(--mh-forest); color: #fff; }
.mh-compare-head.paid span { color: var(--plate); }
.mh-compare ul { display: grid; gap: .45rem; margin-top: .7rem; font-size: .92rem; }
.mh-compare li { display: flex; gap: .45rem; }
.mh-compare li::before { content: "✓"; color: var(--mh-pass); font-weight: 800; }
.mh-compare-col + .mh-compare-col li::before { content: "+"; color: var(--mh-amber-ink); }
/* A search page's own picture in place of that card (its 'figure' field): the VIN page's diagram, 3 Dec 2026 */
.mh-figure { margin: 0; border: 1px solid var(--mh-line); border-radius: 16px; background: #fff; padding: 1.15rem 1.15rem 1rem; box-shadow: 0 1px 0 var(--mh-line), 0 26px 50px -30px rgba(13, 58, 31, .5); }
.mh-figure img { display: block; width: 100%; height: auto; }
.mh-figure figcaption { margin-top: .85rem; border-top: 1px dashed var(--mh-line); padding-top: .65rem; color: var(--mh-muted); font-size: .85rem; line-height: 1.45; }
@media (min-width: 980px) { .mh-figure { max-width: 31rem; margin-left: auto; } }
@media (max-width: 420px) { .mh-figure { padding: .8rem .8rem .75rem; } }
.mh-status-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .9rem; }
.mh-status-tiles div { border-radius: 10px; background: var(--mh-pass); padding: .8rem .9rem; color: #fff; }
.mh-status-tiles small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.mh-status-tiles b { display: block; margin-top: .15rem; font-family: var(--mh-slab); font-size: 1.5rem; line-height: 1.1; }
.mh-status-tiles span { font-size: .85rem; }
.mh-status-list { margin: .9rem 0 0; }
.mh-status-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--mh-line); padding: .45rem .1rem; font-size: .92rem; }
.mh-status-list div:last-child { border-bottom: 0; }
.mh-status-list dt { color: var(--mh-muted); }
.mh-status-list dd { font-weight: 700; }

/* The question answered first, the date */
.mh-answer-wrap { max-width: 47rem; padding-top: 2.25rem; }
.mh-answer { border-left: 5px solid var(--mh-amber); border-radius: 0 10px 10px 0; background: #fff; padding: .9rem 1.1rem; color: var(--mh-text); font-size: 1.08rem; line-height: 1.6; }
.mh-answer a { color: var(--mh-forest); text-decoration: underline; }
.mh-updated { margin-top: .6rem; color: var(--mh-muted); font-size: .88rem; }

/* Sections of the home page */
.mh-sec { padding: 3.25rem 0; }
@media (min-width: 768px) { .mh-sec { padding: 4.25rem 0; } }
.mh-sec h2 { margin-top: .3rem; color: var(--mh-forest); font-size: 1.85rem; line-height: 1.18; }
@media (min-width: 640px) { .mh-sec h2 { font-size: 2.2rem; } }
.mh-sec-cream { background: var(--mh-cream-2); border-top: 1px solid var(--mh-line); border-bottom: 1px solid var(--mh-line); }
.mh-kicker { color: var(--mh-amber-ink); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mh-kicker.light { color: var(--plate); }
.mh-sec-lead { max-width: 44rem; margin-top: .7rem; color: var(--mh-muted); font-size: 1.05rem; }
.mh-sec-lead.center { margin-left: auto; margin-right: auto; }
.mh-more { margin-top: 1.4rem; font-weight: 700; }
.mh-more a { color: var(--mh-forest); text-decoration: underline; text-underline-offset: 3px; }
.mh-note { margin-top: 1.2rem; color: var(--mh-muted); font-size: .92rem; }
.mh-ico { width: 1.5rem; height: 1.5rem; flex: none; }

.mh-grid3 { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 620px) { .mh-grid3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .mh-grid3 { grid-template-columns: repeat(3, 1fr); } }
.mh-tile { border: 1px solid var(--mh-line); border-top: 4px solid var(--mh-forest); border-radius: 10px; background: #fff; padding: 1.15rem 1.2rem; }
.mh-tile .mh-ico { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #e8f2ea; padding: .45rem; color: var(--mh-forest); }
.mh-tile h3 { margin-top: .6rem; color: var(--mh-text); font-size: 1.2rem; }
.mh-tile p { margin-top: .25rem; color: var(--mh-muted); font-size: .97rem; }

.mh-split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .mh-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }
.mh-split > div > p { margin-top: .8rem; color: #3b4a3f; }
.mh-ticks { display: grid; gap: .55rem; margin-top: 1rem; }
.mh-ticks li { position: relative; padding-left: 1.6rem; }
.mh-ticks li::before { content: ""; position: absolute; left: 0; top: .32rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--mh-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.mh-grades { display: grid; gap: .7rem; }
.mh-grades li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; border: 1px solid var(--mh-line); border-left: 6px solid var(--mh-pass); border-radius: 10px; background: #fff; padding: .85rem 1rem; }
.mh-grades li.fail { border-left-color: var(--mh-red); }
.mh-grades li.adv { border-left-color: var(--mh-amber); }
.mh-grades li.minor { border-left-color: #8fb69a; }
.mh-grades b { font-family: var(--mh-slab); font-size: 1.15rem; }
.mh-res { align-self: center; border-radius: 999px; padding: .1rem .6rem; background: #e8f2ea; color: var(--mh-pass); font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.fail .mh-res { background: var(--mh-red-bg); color: var(--mh-red); }
.mh-grades p { grid-column: 1 / -1; color: var(--mh-muted); font-size: .94rem; }

/* What the MOT record cannot show, with the Premium form */
.mh-sec-dark { background: var(--mh-forest); color: rgba(255, 255, 255, .86); scroll-margin-top: 1rem; }
.mh-sec-dark h2 { color: #fff; }
.mh-sec-dark .mh-sec-lead { color: rgba(255, 255, 255, .78); }
.mh-premium { display: grid; gap: 1.75rem; margin-top: 2rem; }
@media (min-width: 980px) { .mh-premium { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; } }
.mh-hidden { display: grid; gap: .9rem; }
@media (min-width: 620px) { .mh-hidden { grid-template-columns: 1fr 1fr; } }
.mh-hidden li { display: flex; gap: .85rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .06); padding: 1rem; }
.mh-hidden .mh-ico { width: 2.3rem; height: 2.3rem; border-radius: 8px; background: var(--plate); padding: .4rem; color: var(--mh-deep); }
.mh-hidden h3 { color: #fff; font-size: 1.12rem; }
.mh-hidden p { margin-top: .2rem; font-size: .93rem; }
.mh-buy-card { padding: 1.25rem; color: var(--mh-text); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.mh-buy-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.35rem; font-weight: 700; }
.mh-buy-title b { font-size: 1.9rem; color: var(--mh-text); }
.mh-buy-sub { margin: .25rem 0 .9rem; color: var(--mh-muted); font-size: .95rem; }
.mh-buy-sample { margin-top: .8rem; font-weight: 700; text-align: center; }
.mh-buy-sample a { color: var(--mh-forest); text-decoration: underline; }

/* Prices */
.mh-prices { display: grid; gap: 1.1rem; max-width: 62rem; margin: 2rem auto 0; }
@media (min-width: 820px) { .mh-prices { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.mh-price { position: relative; display: flex; flex-direction: column; gap: .7rem; border: 1px solid var(--mh-line); border-radius: 14px; background: #fff; padding: 1.4rem; }
.mh-price.best { border: 2px solid var(--mh-forest); box-shadow: 0 18px 40px -22px rgba(13, 58, 31, .45); }
.mh-badge { position: absolute; top: -.8rem; left: 1.4rem; border-radius: 999px; background: var(--mh-forest); padding: .2rem .7rem; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.mh-price h3 { color: var(--mh-forest); font-size: 1.3rem; }
.mh-amount { font-family: var(--mh-slab); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.mh-amount small { font-family: var(--sans); color: var(--mh-muted); font-size: .88rem; font-weight: 600; }
.mh-price ul { display: grid; gap: .4rem; font-size: .96rem; }
.mh-price li::before { content: "✓"; margin-right: .45rem; color: var(--mh-pass); font-weight: 800; }
.mh-price li.no { color: var(--mh-muted); }
.mh-price li.no::before { content: "–"; color: var(--mh-muted); }
.mh-price .mh-btn { width: 100%; margin-top: .3rem; }

/* How it works */
.mh-steps { display: grid; gap: 1rem; margin-top: 1.75rem; counter-reset: step; }
@media (min-width: 820px) { .mh-steps { grid-template-columns: repeat(3, 1fr); } }
.mh-steps li { position: relative; border-radius: 12px; background: #fff; padding: 1.2rem 1.2rem 1.2rem 4rem; counter-increment: step; }
.mh-steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--mh-forest); color: #fff; font-family: var(--mh-slab); font-size: 1.15rem; font-weight: 700; }
.mh-steps b { font-family: var(--mh-slab); font-size: 1.15rem; color: var(--mh-forest); }
.mh-steps p { margin-top: .2rem; color: var(--mh-muted); font-size: .95rem; }

/* Links to the other pages */
.mh-links { display: grid; gap: .8rem; margin-top: 1.5rem; }
@media (min-width: 620px) { .mh-links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .mh-links:not(.compact) { grid-template-columns: repeat(3, 1fr); } }
.mh-links a { display: block; height: 100%; border: 1px solid var(--mh-line); border-radius: 10px; background: #fff; padding: .95rem 1.1rem; transition: border-color .12s, transform .12s; }
.mh-links a:hover { border-color: var(--mh-forest); transform: translateY(-2px); }
.mh-links b { display: block; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.12rem; }
.mh-links b::after { content: " →"; color: var(--mh-amber-ink); }
.mh-links span { display: block; margin-top: .2rem; color: var(--mh-muted); font-size: .93rem; }
.mh-prose .mh-links { padding: 0; list-style: none; }

/* Questions */
.mh-faq { margin-top: 3rem; }
.mh-faq h2 { color: var(--mh-forest); font-size: 1.7rem; }
.mh-faq-list { margin-top: 1rem; border: 1px solid var(--mh-line); border-radius: 12px; background: #fff; }
.mh-faq-list details { border-bottom: 1px solid var(--mh-line); padding: 1rem 1.15rem; }
.mh-faq-list details:last-child { border-bottom: 0; }
.mh-faq-list summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--mh-text); }
.mh-faq-list summary::-webkit-details-marker { display: none; }
.mh-faq-list summary::after { content: "+"; flex: none; color: var(--mh-forest); font-size: 1.3rem; line-height: 1; }
.mh-faq-list details[open] summary::after { content: "–"; }
.mh-faq-list p { margin-top: .6rem; color: var(--mh-muted); }

/* The last call */
.mh-last { margin-top: 4rem; background: var(--mh-forest); padding: 3.25rem 0; color: #fff; text-align: center; }
.mh-last h2 { font-size: 1.9rem; }
.mh-last p { margin-top: .4rem; color: rgba(255, 255, 255, .8); }
.mh-last .mh-quick { max-width: 30rem; margin: 1.4rem auto 0; }
.mh-last .mh-plate-lg input { font-size: 1.6rem; padding: .55rem; }
.mh-last .mh-btn-go { background: var(--mh-amber); color: #2b1d00; box-shadow: 0 3px 0 #a87612; }
@media (max-width: 480px) { .mh-quick { flex-direction: column; } .mh-foot .mh-quick { flex-direction: row; } }

/* Inner pages' text */
.mh-prose { padding-top: 2.25rem; }
.mh-prose h2 { margin: 2.2rem 0 .55rem; color: var(--mh-forest); font-size: 1.55rem; line-height: 1.25; }
.mh-prose > p, .mh-prose > ul, .mh-prose > ol { margin-top: .75rem; color: #34433a; }
.mh-prose > ul:not(.mh-links) { list-style: none; padding: 0; display: grid; gap: .45rem; }
.mh-prose > ul:not(.mh-links) > li { position: relative; padding-left: 1.35rem; }
.mh-prose > ul:not(.mh-links) > li::before { content: ""; position: absolute; left: .2rem; top: .62rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mh-amber); }
.mh-prose > ol { list-style: none; padding: 0; display: grid; gap: .55rem; counter-reset: n; }
.mh-prose > ol > li { position: relative; padding-left: 2.2rem; counter-increment: n; }
.mh-prose > ol > li::before { content: counter(n); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--mh-forest); color: #fff; font-size: .85rem; font-weight: 800; }
.mh-prose > p a, .mh-prose > ul a, .mh-prose > ol a { color: var(--mh-forest); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mh-prose strong { color: var(--mh-text); }

/* ---------- 3. The shared pages, in this site's colours ---------- */

.mh .h1 { color: var(--mh-forest) !important; font-weight: 700; }
.mh .prose h2, .mh .card h2, .mh .email-form h2, .mh .packs-head h1, .mh .summary h1, .mh .exit-card h2, .mh .pay-title { font-family: var(--mh-slab); }
.mh .prose a, .mh .link, .mh .link.u { color: var(--mh-forest); }
.mh .narrow { padding-top: 3rem; }

/* Buttons and fields */
.mh .btn { border-radius: 8px; font-weight: 800; }
.mh .btn-good { background: var(--mh-forest); color: #fff; box-shadow: 0 3px 0 var(--mh-deep); }
.mh .btn-good:hover { filter: none; background: var(--mh-forest-2); }
.mh .btn-ink, .mh .btn-dark { background: var(--mh-text); color: #fff; }
.mh .btn-outline { border-color: var(--mh-forest); color: var(--mh-forest); }
.mh .btn-more { background: var(--mh-amber); color: #2b1d00; }
.mh .input { border: 1.5px solid #c9bea6; border-radius: 8px; }
.mh .input:focus { outline: 3px solid rgba(20, 83, 45, .18); border-color: var(--mh-forest); }

/* The shared registration box (404 page, sample report, "before you go" box): this site's plate, no flag */
.mh .plate-box { border: 2px solid var(--mh-text); border-radius: 8px; background: #fffef9; }
.mh .plate-box .gb { background: var(--mh-forest); color: #fff; font-weight: 800; }
.mh .plate-box .gb .flag { display: none; }
.mh .plate-box input { font-family: var(--sans); font-weight: 800; color: #111; }
.mh .plate-box input::placeholder { color: rgba(28, 43, 33, .32); }
.mh .tag-plate { background: #fffef9; border: 1px solid var(--mh-text); }

/* Cards, fields, badges */
.mh .card { border-color: var(--mh-line); border-radius: 12px; box-shadow: 0 1px 0 var(--mh-line); }
.mh .card-head { border-bottom-color: var(--mh-forest); }
.mh .card-head h2 { background: var(--mh-forest); border-radius: 8px 8px 0 0; font-family: var(--mh-slab); font-size: 1.05rem; font-weight: 700; }
.mh .field:nth-child(odd), .mh .regs li:nth-child(odd), .mh .mot-test .field:nth-child(even) { background: #f6f1e4; }
.mh .mot-test .field:nth-child(odd) { background: none; }
.mh .note, .mh .chart-box { background: #f6f1e4; }
.mh .stat { background: var(--mh-cream); }
.mh .badge.warn, .mh .notice.warn { background: var(--mh-amber-bg); color: var(--mh-amber-ink); }
.mh .badge.lock { background: #edf3ee; color: var(--mh-forest); }
.mh .dtype { background: #e9e3d3; }
.mh .dtype.adv { background: var(--mh-amber-bg); color: var(--mh-amber-ink); }
.mh .dtype.fail { background: var(--mh-red); color: #fff; }
.mh .rate span.warn { background: var(--mh-amber); color: #2b1d00; }
.mh .mot-test .bar { background: #3f5a47; border-radius: 6px 6px 0 0; }
.mh .bars i { background: rgba(20, 83, 45, .6); }
.mh .banner { background: var(--mh-amber-bg); color: var(--mh-amber-ink); border-bottom: 1px solid #ecd59c; }

/* The car's page and the report: the summary in forest green, the registration as this site's plate */
.mh .report { padding-top: 1.75rem; }
.mh .summary { background: var(--mh-forest); border-radius: 14px; box-shadow: 0 20px 40px -26px rgba(13, 58, 31, .7); }
.mh .summary .reg, .mh .packs-head .reg { border: 2px solid #111; border-radius: 6px; background: #fffef9; color: #111; font-family: var(--sans); font-weight: 800; letter-spacing: .08em; box-shadow: inset 6px 0 0 var(--mh-deep); padding-left: 1.2rem; }
.mh .summary .premium-tag { background: var(--plate); color: var(--mh-deep); }
.mh .status div { background: rgba(255, 255, 255, .1); }
.mh .status .v.alert { color: #ffb4a8; }
.mh .offer { background: var(--mh-amber-bg); border: 1px solid #ecd59c; color: var(--mh-text); }
.mh .offer-title { font-family: var(--mh-slab); font-size: 1.25rem; font-weight: 700; color: var(--mh-forest); }
.mh .offer .btn-good { background: var(--mh-amber); color: #2b1d00; box-shadow: 0 3px 0 #a87612; }
.mh .cta { border-color: var(--mh-amber); }
.mh .cta-dark { background: var(--mh-forest); }
.mh .bigstatus .good { background: var(--mh-pass); }
.mh .bigstatus .bad { background: var(--mh-red); }
.mh .bigstatus .neutral { background: #66736a; }
.mh .bigstatus b { font-family: var(--mh-slab); }
.mh .checks li.ok { background: #e8f2ea; }
.mh .checks li.no { background: var(--mh-red-bg); }
.mh .buyer-note { border-color: var(--mh-forest); }
.mh .anomalies { background: var(--mh-red-bg); }

/* Price page: cream, white plan cards, the popular one framed in forest */
.mh .packs-page { background: linear-gradient(180deg, var(--mh-paper), var(--mh-cream)); color: var(--mh-text); border-bottom: 1px solid var(--mh-line); }
.mh .packs-page .back { background: #fff; border: 1px solid var(--mh-line); color: var(--mh-forest); }
.mh .packs-head h1 { color: var(--mh-forest); font-size: 1.9rem; font-weight: 700; }
.mh .packs-head p, .mh .send-to { color: var(--mh-muted); }
.mh .send-to b { color: var(--mh-text); }
.mh .pack { border: 1px solid var(--mh-line); border-radius: 14px; box-shadow: 0 16px 36px -26px rgba(13, 58, 31, .55); }
.mh .pack.popular { border: 2px solid var(--mh-forest); }
.mh .pack .ribbon { background: var(--mh-forest); color: #fff; letter-spacing: .03em; }
.mh .pack h2 { font-family: var(--mh-slab); color: var(--mh-forest); }
.mh .pack .amount b { font-family: var(--mh-slab); }
.mh .pack .label { border-bottom-color: var(--mh-line); }
.mh .pack .label span { background: var(--mh-forest); border-radius: 4px 4px 0 0; }
.mh .pack .discount { background: var(--mh-cream-2); }
.mh .pack .discount.on { background: #cfe8d5; }
.mh .pack .btn-dark { background: var(--mh-forest); box-shadow: 0 3px 0 var(--mh-deep); }
.mh .feat li.yes::before { color: var(--mh-pass); }
.mh .assure { background: #fff; border: 1px solid var(--mh-line); color: var(--mh-muted); }
.mh .assure b { color: var(--mh-forest); }
.mh .packs-offer, .mh .pay-offer { background: var(--mh-amber-bg); color: var(--mh-amber-ink); }
.mh main:has(.packs-page) + .mh-foot { margin-top: 0; }

/* Email step, popup, payment page */
.mh .popup { border-radius: 14px; }
.mh .popup::backdrop { background: rgba(13, 58, 31, .65); }
.mh .email-form h2 { color: var(--mh-forest); font-weight: 700; }
.mh .email-form .chosen { background: var(--mh-amber-bg); color: var(--mh-amber-ink); }
.mh .email-form .input { border-color: var(--mh-text); }
.mh .method.by-card.on { border-color: var(--mh-forest); box-shadow: 0 0 0 3px rgba(20, 83, 45, .12); }
.mh .card-field.StripeElement--focus { border-color: var(--mh-forest); }
.mh .promise li::before, .mh .ticklist li::before { background: none; color: var(--mh-pass); }
.mh .promise li::before { background: var(--mh-pass); color: #fff; }
.mh .pay-summary .total b { font-family: var(--mh-slab); }
.mh .pay-safe svg { color: var(--mh-pass); }

/* "Before you go" box, sample banner, typo hint */
.mh .exit-offer { background: rgba(13, 58, 31, .55); }
.mh .exit-tag { background: var(--mh-amber); color: #2b1d00 !important; }
.mh .back-to-pay { background: var(--mh-forest); }
.mh .email-fix { background: var(--mh-amber-bg); color: var(--mh-text); }
.mh .notice.good { background: #e8f2ea; color: var(--mh-pass); }

/* Phones: nothing wider than the screen */
@media (max-width: 400px) {
  .mh-wrap { padding-left: .85rem; padding-right: .85rem; }
  .mh-hero h1 { font-size: 2.05rem; }
  .mh-hero-inner h1 { font-size: 1.9rem; }
  .mh-plate input { font-size: 1.65rem; }
  .mh-form-card { padding: .9rem; }
  .mh-tl, .mh-status-art, .mh-compare { padding: .95rem .85rem .85rem; }
}

@media print {
  body.mh { background: #fff; }
  .mh .summary { box-shadow: none; }
}

/* Phones: shorter header links, flatter tiles, tighter timeline rows */
@media (max-width: 760px) {
  .mh-wide { display: none; }
}
@media (max-width: 619px) {
  .mh-tile { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .85rem; border-top-width: 1px; border-left: 4px solid var(--mh-forest); }
  .mh-tile .mh-ico { grid-row: span 2; }
  .mh-tile h3 { margin-top: .1rem; font-size: 1.1rem; }
  .mh-tile p { font-size: .94rem; }
}
@media (max-width: 420px) {
  .mh-tl-row { row-gap: 0; }
}

/* The car's MOT tests as a timeline: a coloured edge per test (green pass, red fail, amber when advisories) */
#mot .mot-test { border-left: 5px solid var(--mh-pass); border-radius: 6px; }
#mot .mot-test:has(.dtype.adv) { border-left-color: var(--mh-amber); }
#mot .mot-test:has(.badge.bad), #mot .mot-test:has(.dtype.fail) { border-left-color: var(--mh-red); }
#mot .mot-test .bar { border-radius: 0 6px 0 0; }

/* ---------- 4. The guides (/blog and /blog/<slug>) ---------- */

/* A guide: a cream header like a test sheet, then the text column */
.mh-post-head { padding: 1.9rem 0 1.6rem; border-bottom: 1px solid var(--mh-line); background:
    linear-gradient(rgba(20, 83, 45, .045) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(180deg, var(--mh-paper), var(--mh-cream)); }
.mh-post-head .mh-kicker { margin-top: .6rem; }
.mh-post-head h1 { margin-top: .35rem; color: var(--mh-forest); font-size: 2rem; font-weight: 700; line-height: 1.12; }
@media (min-width: 640px) { .mh-post-head h1 { font-size: 2.55rem; } }
.mh-post-meta { margin-top: .7rem; color: var(--mh-muted); font-size: .9rem; }
.mh-post-meta a { color: var(--mh-forest); text-decoration: underline; }
.mh-post-body { padding-top: 1.75rem; }
.mh-post-body > .mh-answer { margin-top: 0; }
.mh-post-hero, .mh-post-fig { margin: 1.4rem 0 0; }
.mh-post-hero img, .mh-post-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--mh-line); border-radius: 12px; background: #fff; }
.mh-post-fig figcaption { margin-top: .5rem; color: var(--mh-muted); font-size: .88rem; line-height: 1.45; }
.mh-prose > h2 { scroll-margin-top: 1rem; }

/* Contents: a card with numbered links */
.mh-toc { margin-top: 1.6rem; border: 1px solid var(--mh-line); border-left: 5px solid var(--mh-forest); border-radius: 0 12px 12px 0; background: var(--mh-paper); padding: 1rem 1.15rem; }
.mh-toc > p { color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.12rem; font-weight: 700; }
.mh-toc ol { display: grid; gap: .3rem; margin-top: .5rem; padding-left: 1.3rem; font-size: .96rem; }
.mh-toc li::marker { color: var(--mh-amber-ink); font-weight: 700; }
.mh-toc a { color: var(--mh-text); text-decoration: underline; text-decoration-color: rgba(20, 83, 45, .35); text-underline-offset: 2px; }
.mh-toc a:hover { color: var(--mh-forest); text-decoration-color: currentColor; }

/* Tables and the one warning that matters */
.mh-table { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--mh-line); border-radius: 10px; background: #fff; }
.mh-table table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.mh-table th, .mh-table td { padding: .6rem .75rem; border-bottom: 1px solid var(--mh-line); text-align: left; vertical-align: top; }
.mh-table thead th { background: var(--mh-forest); color: #fff; font-weight: 700; }
.mh-table tbody th { color: var(--mh-text); font-weight: 700; }
.mh-table tbody tr:nth-child(even) { background: var(--mh-paper); }
.mh-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 560px) { .mh-table table { min-width: 34rem; } }
.mh-post-note { margin-top: 1rem; border-radius: 10px; background: var(--mh-amber-bg); border-left: 5px solid var(--mh-amber); padding: .8rem 1rem; color: #4a3200; }
.mh-post-note::before { content: "Watch out: "; font-weight: 800; }
.mh-post-note a { color: #4a3200; text-decoration: underline; }

/* The call to action inside a guide: green for the free check, forest with amber for the Premium report */
.mh-post-cta { margin: 2rem 0 .5rem; border: 1px solid var(--mh-line); border-top: 5px solid var(--mh-forest); border-radius: 14px; background: #fff; padding: 1.2rem; box-shadow: 0 22px 44px -30px rgba(13, 58, 31, .5); }
.mh-post-cta.paid { border-top-color: var(--mh-amber); background: linear-gradient(180deg, #fffaf0, #fff 40%); }
.mh-post-cta-kicker { color: var(--mh-pass); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mh-post-cta.paid .mh-post-cta-kicker { color: var(--mh-amber-ink); }
.mh-post-cta-title { margin-top: .2rem; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.mh-post-cta-line { margin: .3rem 0 .9rem; color: var(--mh-muted); font-size: .96rem; }
.mh-post-cta-alt { margin-top: .8rem; font-size: .9rem; font-weight: 700; }
.mh-post-cta-alt a { color: var(--mh-forest); text-decoration: underline; text-underline-offset: 2px; }
.mh-prose .mh-post-cta p { color: inherit; }
.mh-prose .mh-post-cta .mh-post-cta-line { color: var(--mh-muted); }

/* Sources, small print */
.mh-sources { display: grid; gap: .45rem; margin-top: .75rem; padding-left: 1.2rem; list-style: disc; font-size: .95rem; }
.mh-sources a { color: var(--mh-forest); text-decoration: underline; overflow-wrap: anywhere; }
.mh-post-small { margin-top: 1rem; color: var(--mh-muted); font-size: .85rem; }
.mh-prose > .mh-post-small { color: var(--mh-muted); }
.mh-post-body .mh-faq { margin-top: 2.5rem; }

/* The index: a card per guide, picture on top on phones, beside the text on wider screens */
.mh-guides { padding-top: 1.5rem; }
.mh-guide-group { margin-top: 2.25rem; }
.mh-guide-group h2 { color: var(--mh-forest); font-size: 1.6rem; }
.mh-guide-list { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 860px) { .mh-guide-list { grid-template-columns: 1fr 1fr; } }
.mh-guide-list a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--mh-line); border-radius: 14px; background: #fff; transition: border-color .12s, transform .12s; }
.mh-guide-list a:hover { border-color: var(--mh-forest); transform: translateY(-2px); }
.mh-guide-list img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--mh-line); }
.mh-guide-text { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.1rem; }
.mh-guide-text b { color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.22rem; line-height: 1.22; }
.mh-guide-text > span { color: var(--mh-muted); font-size: .95rem; }
.mh-guide-text small { margin-top: auto; padding-top: .3rem; color: var(--mh-amber-ink); font-size: .82rem; font-weight: 700; }

/* Guides listed on the home page and the check pages */
.mh-guide-links { display: grid; gap: .8rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .mh-guide-links { grid-template-columns: 1fr 1fr; } }
.mh-guide-links a { display: grid; grid-template-columns: 7.5rem 1fr; gap: .9rem; align-items: center; height: 100%; border: 1px solid var(--mh-line); border-radius: 12px; background: #fff; padding: .65rem; }
.mh-guide-links a:hover { border-color: var(--mh-forest); }
.mh-guide-links img { display: block; width: 100%; height: auto; border-radius: 8px; }
.mh-guide-links b { display: block; color: var(--mh-forest); font-family: var(--mh-slab); font-size: 1.05rem; line-height: 1.25; }
.mh-guide-links small { display: block; margin-top: .2rem; color: var(--mh-muted); font-size: .85rem; }
.mh-prose .mh-guide-links { padding: 0; list-style: none; }
.mh-prose > ul.mh-guide-links > li { padding-left: 0; }
.mh-prose > ul.mh-guide-links > li::before { display: none; }
.mh-prose > ul.mh-links a, .mh-prose > ul.mh-guide-links a { text-decoration: none; font-weight: inherit; }

/* ---------- 5. MOT failure rates by make and model (/mot-failures), 5 Dec 2026 ---------- */

/* The model's rate by age, drawn as an MOT record: one row per age band, coloured against all vehicles of that age */
.mh-mf-tl .mh-tl-row { grid-template-columns: 5.3rem minmax(0, 1fr) auto; }
.mh-mf-age { color: var(--mh-muted); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.mh-mf-tl .mh-tl-miles { color: var(--mh-muted); font-weight: 600; }
.mh-mf-tl .mh-tl-list > li.few::before { border-color: #b9c2b8; background: #eef1ec; }
.mh-mf-tl .few .mh-tl-row b { color: var(--mh-muted); font-weight: 600; }
.mh-mf-tl .mh-tl-key .few::before { background: #b9c2b8; }
.mh-mf-tl .mh-tl-due b { color: var(--mh-text); }
@media (max-width: 420px) { .mh-mf-tl .mh-tl-row { grid-template-columns: 4.6rem minmax(0, 1fr) auto; } }

/* The make's and the hub's summary card: the second tile in grey (all vehicles) */
.mh-mf-card .mh-status-tiles .mh-mf-plain { background: #5a6659; }
.mh-mf-card .mh-status-list dd { text-align: right; }
@media (min-width: 980px) { .mh-mf-card { max-width: 31rem; margin-left: auto; } }

/* The chart, a note, small tags */
.mh-mf-chart { margin: 1.2rem 0 0; border: 1px solid var(--mh-line); border-radius: 12px; background: #fff; padding: .9rem .9rem .75rem; }
.mh-mf-chart figcaption { margin-top: .6rem; border-top: 1px dashed var(--mh-line); padding-top: .55rem; color: var(--mh-muted); font-size: .88rem; line-height: 1.45; }
.mh-prose > .mh-mf-note { margin-top: 1rem; border-left: 5px solid var(--mh-forest); border-radius: 0 10px 10px 0; background: #e8f2ea; padding: .75rem 1rem; color: var(--mh-text); font-size: .96rem; }
.mh-mf-muted { color: var(--mh-muted); font-style: italic; }
.mh-mf-tag { display: inline-block; margin-left: .3rem; border-radius: 999px; background: var(--mh-amber-bg); padding: 0 .5rem; color: var(--mh-amber-ink); font-size: .72rem; font-weight: 700; white-space: nowrap; vertical-align: .1rem; }
.mh-mf .mh-table a { color: var(--mh-forest); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Every model, make by make */
.mh-mf-index { display: grid; gap: .55rem; margin-top: .9rem; }
.mh-mf-index p { border-bottom: 1px solid var(--mh-line); padding-bottom: .55rem; color: var(--mh-muted); font-size: .96rem; line-height: 1.7; }
.mh-mf-index a { color: var(--mh-forest); text-decoration: underline; text-decoration-color: rgba(20, 83, 45, .35); text-underline-offset: 2px; }
.mh-mf-index a:hover { text-decoration-color: currentColor; }
.mh-mf-index .mh-mf-make { margin-right: .35rem; font-family: var(--mh-slab); font-size: 1.08rem; font-weight: 700; text-decoration: none; }
.mh-prose .mh-mf-index + h2, .mh-prose > .mh-more + h2 { margin-top: 2.2rem; }

/* Phones: the short tables fit the screen (the wider ones scroll, their rates in the first columns); the make's other models in two columns */
@media (max-width: 560px) {
  .mh-mf .mh-table table { font-size: .9rem; }
  .mh-mf .mh-mf-fit table { min-width: 0; }
  .mh-mf .mh-mf-fit th, .mh-mf .mh-mf-fit td { padding: .55rem .5rem; }
}
@media (max-width: 619px) {
  .mh-mf-more { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .mh-mf-more a { padding: .6rem .7rem; }
  .mh-mf-more b { font-size: 1rem; line-height: 1.25; }
  .mh-mf-more span { font-size: .82rem; }
}
