/* The movers network (docs/movers-network.md): the network site and the request link, on top of the platform's
   marketing sheet. Tokens only: colours, spacing, radii and shadows come from office-tokens.css and marketing.css. */

.mv-brand { gap: var(--mh-space-2); }
.mv-brand__tag {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--mh-tracking-caps);
  text-transform: uppercase;
  color: var(--mk-teal);
  background: var(--mk-teal-soft);
  border-radius: var(--mh-radius-pill);
}

.mv-nav { align-items: center; }
.mv-nav a, .mv-signout button { white-space: nowrap; }
/* On a phone the account's own section tabs do the job of the top link. */
@media (max-width: 640px) { .mv-nav__account { display: none; } }
/* On a phone the brand and the links are wider than the screen: the logo gets smaller, How it works steps aside (the
   join page shows how it works itself) and on the narrowest phones the Movers tag goes. */
@media (max-width: 480px) { .mv-nav__how { display: none; } .mv-brand .mk-logo { width: 140px; } }
@media (max-width: 360px) { .mv-brand__tag { display: none; } }
.mv-signout { display: inline; margin: 0; }
.mv-signout button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.mv-signout button:hover { text-decoration: underline; }

/* The join page's intro is long, so it scrolls with the page rather than sticking under the top bar. */
.mv-join .mk-signup__intro { position: static; }

/* A field people never see (sign-up): anything typed in it is a robot. */
.mv-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The sign-up's fields sit in one fieldset, greyed out while the website's forms are closed. */
.mk-form .mv-signup__fields { margin: 0; }
.mk-form .mv-signup__fields:disabled, .mv-signup--closed fieldset:disabled { background: none; }
.mv-closed { margin: 0 0 20px; padding: 12px 14px; color: var(--mh-ink); background: var(--mh-subtle); border: 1px solid var(--mh-line); border-radius: var(--mh-radius); }
.mv-closed a { font-weight: 700; }
.mv-closed a[href^="tel:"] { white-space: nowrap; }
.mv-age { margin: 0 0 12px; font-weight: 700; color: var(--mh-ink-body); }
.mv-signup--closed .mk-check span, .mv-signup--closed legend, .mv-signup--closed .mk-field > span { color: var(--mh-ink-muted); }
.mk-form.mv-signup--closed input:not([type="checkbox"]):not([type="hidden"]), .mk-form.mv-signup--closed select { background: var(--mh-subtle); cursor: not-allowed; }

.mv-how {
  display: grid;
  gap: var(--mh-space-3);
  margin: var(--mh-space-6) 0;
  padding: 0;
  list-style: none;
  counter-reset: mv-how;
}
.mv-how li {
  position: relative;
  padding-left: 40px;
  color: var(--mh-ink-body);
  counter-increment: mv-how;
}
.mv-how li::before {
  content: counter(mv-how);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  color: var(--mh-on-accent);
  background: var(--mk-teal);
  border-radius: var(--mh-radius-round);
}
.mv-how b { color: var(--mh-ink); }

/* Pills: a checkbox or radio drawn as a raised wafer; the input stays focusable for keyboards. */
.mv-choices { display: flex; flex-wrap: wrap; gap: var(--mh-space-2); }
.mv-pill { position: relative; display: inline-flex; cursor: pointer; }
.mv-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mv-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 var(--mh-space-4);
  font-size: 14px;
  font-weight: 700;
  color: var(--mh-ink-body);
  background: var(--mh-paper) var(--mh-sheen-light);
  border: 1px solid var(--mh-line-strong);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-bevel), var(--mh-shadow-xs);
  transition: box-shadow var(--mh-fast), border-color var(--mh-fast), background-color var(--mh-fast);
}
.mv-choices--days .mv-pill span { min-width: 52px; justify-content: center; padding: 0 var(--mh-space-2); }
.mv-pill input:checked + span {
  color: var(--mh-success-deep);
  background: var(--mh-success-soft);
  border-color: var(--mh-success-line);
  box-shadow: var(--mh-shadow-pit);
}
.mv-pill input:focus-visible + span { box-shadow: var(--mh-focus); }

.mk-form select.mv-select,
.mv-select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 34px 0 12px;
  font: 400 15px/1.2 var(--mh-font);
  color: var(--mh-ink);
  background: var(--mh-paper) var(--mh-chevron) no-repeat right 12px center;
  border: 1px solid var(--mh-line-strong);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-field);
  appearance: none;
}
.mv-select:focus { outline: none; border-color: var(--mh-blue); box-shadow: var(--mh-shadow-field), 0 0 0 3px var(--mh-blue-line); }

/* The account */
.mv-account { display: grid; gap: var(--mh-space-6); max-width: 920px; }
.mv-account__head h1 { margin: 0 0 var(--mh-space-2); }
.mv-account__head .mk-callout { margin: var(--mh-space-4) 0 0; }
/* (.mk-page here outweighs the marketing sheet's .mk-page section > h2 margin.) */
.mk-page .mv-section > h2 { display: flex; align-items: center; gap: var(--mh-space-3); margin: 0 0 var(--mh-space-2); font-size: 20px; }
.mv-section > .mk-muted { margin: 0 0 var(--mh-space-4); }
.mv-subhead { margin: var(--mh-space-6) 0 var(--mh-space-2); padding-top: var(--mh-space-5); font-size: 16px; border-top: 1px solid var(--mh-line); }
.mv-count {
  padding: 2px 10px;
  font-size: 13px;
  color: var(--mh-warning-ink);
  background: var(--mh-warning-soft);
  border: 1px solid var(--mh-warning-line);
  border-radius: var(--mh-radius-pill);
}
.mv-empty { margin: 0; padding: var(--mh-space-5) 0; color: var(--mh-ink-muted); }
.mv-saved { margin: 0 0 var(--mh-space-3); font-size: 14px; font-weight: 700; color: var(--mh-success-deep); }
.mv-saved::before { content: "✓ "; }
.mv-actions { display: flex; justify-content: flex-end; gap: var(--mh-space-3); margin-top: var(--mh-space-2); }

/* Requests: a date block, the company and its jobs, the state and the way to answer. Cells on hairlines. */
.mv-requests { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mh-line); }
.mv-request {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: var(--mh-space-4);
  align-items: start;
  padding: var(--mh-space-4) 0;
  border-bottom: 1px solid var(--mh-line);
}
.mv-request__main { display: grid; gap: 2px; min-width: 0; }
.mv-request__main strong { color: var(--mh-ink); }
.mv-request__when { font-size: 14px; color: var(--mh-ink-body); }
.mv-job { font-size: 13px; color: var(--mh-ink-muted); }
.mv-request__side { display: grid; justify-items: end; gap: var(--mh-space-2); }
.mv-request--withdrawn, .mv-request--released, .mv-request--expired, .mv-request--declined { opacity: .72; }
.mv-past { margin-top: var(--mh-space-4); }
.mv-past summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--mh-ink-muted); }
.mv-past .mv-requests { margin-top: var(--mh-space-3); }

.mv-date {
  display: grid;
  justify-items: center;
  padding: var(--mh-space-2) 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--mh-ink);
  background: var(--mh-subtle);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-pit);
}
.mv-date b { font-size: 11px; letter-spacing: var(--mh-tracking-caps); text-transform: uppercase; color: var(--mk-teal); }
.mv-date--large { width: 84px; padding: var(--mh-space-3) 0; font-size: 18px; }

.mv-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--mh-ink-muted);
  background: var(--mh-subtle);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius-pill);
}
.mv-tag--requested { color: var(--mh-warning-ink); background: var(--mh-warning-soft); border-color: var(--mh-warning-line); }
.mv-tag--accepted { color: var(--mh-success-deep); background: var(--mh-success-soft); border-color: var(--mh-success-line); }
.mv-tag--declined { color: var(--mh-signal-deep); background: var(--mh-signal-soft); border-color: var(--mh-signal-line); }

/* Where you work */
.mv-regions { width: 100%; margin: 0 0 var(--mh-space-3); border-collapse: collapse; }
.mv-regions th {
  padding: 0 var(--mh-space-2) var(--mh-space-2) 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--mh-tracking-caps);
  text-align: left;
  text-transform: uppercase;
  color: var(--mh-ink-muted);
  border-bottom: 1px solid var(--mh-line);
}
.mv-regions td { padding: var(--mh-space-2) var(--mh-space-2) var(--mh-space-2) 0; border-bottom: 1px solid var(--mh-line-soft); vertical-align: middle; }
.mv-regions td:first-child { width: 120px; }
.mv-regions td:nth-child(3) { width: 180px; }
.mv-regions__town { font-size: 14px; color: var(--mh-ink-body); }
.mv-regions__add td { border-bottom: 0; }
.mv-remove { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mh-ink-muted); cursor: pointer; }
.mv-remove input { width: 16px; height: 16px; accent-color: var(--mh-signal); }

/* When you can work: eight weeks, a day per cell, ticked days raised in green. */
.mv-weekdays .mk-field { margin-bottom: var(--mh-space-2); }
.mv-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mv-days__head { padding-bottom: 2px; font-size: 12px; font-weight: 700; text-align: center; letter-spacing: var(--mh-tracking-caps); text-transform: uppercase; color: var(--mh-ink-muted); }
.mv-day { position: relative; display: block; cursor: pointer; }
.mv-day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mv-day__face {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 56px;
  padding: 4px 2px;
  line-height: 1.15;
  color: var(--mh-ink-soft);
  background: var(--mh-subtle);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  box-shadow: var(--mh-shadow-pit);
  transition: box-shadow var(--mh-fast), background-color var(--mh-fast), border-color var(--mh-fast);
}
.mv-day__face b { font-size: 16px; }
.mv-day__face small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--mh-tracking-caps); }
.mv-day__face i { font-size: 10px; font-style: normal; font-weight: 700; text-transform: uppercase; color: var(--mh-warning-ink); }
.mv-day input:checked + .mv-day__face { color: var(--mh-success-deep); background: var(--mh-success-soft); border-color: var(--mh-success-line); box-shadow: var(--mh-bevel), var(--mh-shadow-xs); }
.mv-day input:focus-visible + .mv-day__face { box-shadow: var(--mh-focus); }
.mv-day.is-today .mv-day__face { border-color: var(--mh-ink-soft); }
.mv-day.is-changed .mv-day__face { border-style: dashed; }
.mv-day.is-accepted .mv-day__face i { color: var(--mh-success-deep); }

/* The request link */
.mv-request-page { display: grid; gap: var(--mh-space-4); max-width: 720px; }
.mv-ask__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--mh-space-5); align-items: center; margin-bottom: var(--mh-space-4); }
.mv-ask__head h1 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 30px); }
.mv-ask__head .mk-kicker, .mv-ask__head .mk-muted { margin: 0; }
.mv-ask__outcome { display: grid; gap: var(--mh-space-3); margin-bottom: var(--mh-space-4); }
.mv-ask__outcome p { margin: 0; }
.mv-ask .mk-callout { margin: var(--mh-space-4) 0; }
.mv-jobs { margin: 0 0 var(--mh-space-4); padding: 0; list-style: none; border-top: 1px solid var(--mh-line); }
.mv-jobs li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--mh-space-4); padding: var(--mh-space-3) 0; border-bottom: 1px solid var(--mh-line); }
.mv-jobs__n { font-size: 13px; font-weight: 700; color: var(--mh-ink-muted); }
.mv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--mh-space-2) var(--mh-space-4); margin: 0; }
.mv-facts dt { font-size: 12px; font-weight: 700; letter-spacing: var(--mh-tracking-caps); text-transform: uppercase; color: var(--mh-ink-muted); }
.mv-facts dd { margin: 0; color: var(--mh-ink); }
.mv-answer { display: flex; flex-wrap: wrap; gap: var(--mh-space-3); margin-top: var(--mh-space-4); }

@media (max-width: 640px) {
  .mv-request { grid-template-columns: 56px minmax(0, 1fr); }
  .mv-request__side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; }
  .mv-ask__head { grid-template-columns: auto minmax(0, 1fr); }
  .mv-ask__head .mv-tag { grid-column: 2; justify-self: start; }
  .mv-jobs li { grid-template-columns: 1fr; gap: var(--mh-space-1); }
  .mv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-days { gap: 4px; }
  .mv-day__face { min-height: 46px; }
  .mv-regions td:first-child { width: 84px; }
  .mv-regions td:nth-child(3) { width: auto; }
  .mv-regions__town { font-size: 12px; }
  .mv-answer .mk-btn { flex: 1 1 100%; }
}

/* A rate typed in dollars an hour */
.mv-money { display: flex; align-items: stretch; max-width: 280px; }
.mv-money b {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 400;
  white-space: nowrap;
  color: var(--mh-ink-muted);
  background: var(--mh-subtle);
  border: 1px solid var(--mh-line-strong);
}
.mv-money b:first-child { border-right: 0; border-radius: var(--mh-radius) 0 0 var(--mh-radius); }
.mv-money b:last-child { border-left: 0; border-radius: 0 var(--mh-radius) var(--mh-radius) 0; }
.mk-form .mv-money input:not([type="checkbox"]) { border-radius: 0; }
.mv-rate { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--mh-ink-body); }

/* The account's sections: a menu beside the open one; on a phone the menu is a row that scrolls. */
.mv-account__body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--mh-space-6); align-items: start; }
.mv-account__main { display: grid; gap: var(--mh-space-6); min-width: 0; }
.mv-subnav { position: sticky; top: 96px; display: grid; gap: 2px; }
.mv-subnav a { display: flex; align-items: center; justify-content: space-between; gap: var(--mh-space-2); padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--mh-ink-body); text-decoration: none; border-radius: var(--mh-radius); }
.mv-subnav a:hover { background: var(--mh-tint); text-decoration: none; }
.mv-subnav a[aria-current="page"] { color: var(--mh-ink); background: var(--mh-paper); box-shadow: var(--mh-bevel), var(--mh-shadow-xs); }
.mv-badge { min-width: 20px; padding: 0 6px; font-size: 12px; line-height: 20px; text-align: center; color: var(--mh-warning-ink); background: var(--mh-warning-soft); border: 1px solid var(--mh-warning-line); border-radius: var(--mh-radius-pill); }
.mv-badge--todo { color: var(--mh-signal-deep); background: var(--mh-signal-soft); border-color: var(--mh-signal-line); }
.mv-todo { margin: 0; }
.mv-account__head .mk-kicker a { color: inherit; }
.mv-back { margin: 0; font-size: 14px; }
.mv-lines { margin: var(--mh-space-3) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--mh-line); }
.mv-lines li { padding: var(--mh-space-2) 0; font-size: 14px; border-bottom: 1px solid var(--mh-line-soft); }
.mv-actions--start { justify-content: flex-start; }
.mv-link { padding: 0; font: inherit; font-size: 13px; color: var(--mh-signal-deep); background: none; border: 0; cursor: pointer; }
.mv-link:hover { text-decoration: underline; }
.mk-form .mv-textarea { width: 100%; min-height: 96px; padding: 10px 12px; font: 400 15px/1.45 var(--mh-font); color: var(--mh-ink); background: var(--mh-paper); border: 1px solid var(--mh-line-strong); border-radius: var(--mh-radius); box-shadow: var(--mh-shadow-field); resize: vertical; }
.mk-form .mv-textarea:focus { outline: none; border-color: var(--mh-blue); box-shadow: var(--mh-shadow-field), 0 0 0 3px var(--mh-blue-line); }
.mk-form input[type="file"] { height: auto; padding: 8px; }
.mv-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Photo */
.mv-photo-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--mh-space-5); align-items: start; }
.mv-avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; overflow: hidden; font-weight: 700; color: var(--mh-ink-muted); background: var(--mh-subtle); border: 1px solid var(--mh-line); border-radius: var(--mh-radius-round); }
.mv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mv-avatar--large { width: 112px; height: 112px; font-size: 28px; }

/* The profile as companies see it (Profile): the card beside what would make it stronger. */
.mv-preview__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--mh-space-5); align-items: start; }
.mv-card { display: grid; gap: var(--mh-space-4); padding: var(--mh-space-5); background: var(--mh-paper); border: 1px solid var(--mh-line); border-radius: var(--mh-radius-xl); box-shadow: var(--mh-shadow-sm); }
.mv-card p { margin: 0; }
.mv-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--mh-space-4); align-items: center; }
.mv-avatar--card { width: 72px; height: 72px; font-size: 22px; }
.mv-card__name { font-size: 20px; font-weight: 800; color: var(--mh-ink); }
.mv-card__name span { font-weight: 600; color: var(--mh-ink-muted); }
.mv-card__headline { margin-top: 2px; color: var(--mh-ink-body); }
.mv-card__empty { color: var(--mh-ink-soft); font-style: italic; }
.mv-card__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--mh-space-3); margin: 0; padding: var(--mh-space-3) 0; border-top: 1px solid var(--mh-line-soft); border-bottom: 1px solid var(--mh-line-soft); }
.mv-card__facts dt { font-size: 11px; font-weight: 700; letter-spacing: var(--mh-tracking-caps); text-transform: uppercase; color: var(--mh-ink-soft); }
.mv-card__facts dd { margin: 2px 0 0; font-weight: 700; color: var(--mh-ink); }
.mv-tokens { display: flex; flex-wrap: wrap; gap: var(--mh-space-2); margin: 0; padding: 0; list-style: none; }
.mv-tokens li { padding: 3px 10px; font-size: 13px; font-weight: 600; color: var(--mk-teal); background: var(--mk-teal-soft); border-radius: var(--mh-radius-pill); }
.mv-card__bio { white-space: pre-line; line-height: 1.55; color: var(--mh-ink-body); }
.mv-card__blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--mh-space-4); }
.mv-card__block h3 { margin: 0 0 var(--mh-space-1); font-size: 11px; font-weight: 700; letter-spacing: var(--mh-tracking-caps); text-transform: uppercase; color: var(--mh-ink-soft); }
.mv-card__block ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.mv-card__waiting { margin-top: var(--mh-space-2) !important; font-size: 13px; color: var(--mh-warning-ink); }
.mv-card__foot { font-size: 14px; color: var(--mh-ink-muted); }
.mv-ok { color: var(--mh-success-deep); }
.mv-warn { color: var(--mh-signal-deep); }
.mv-steps { padding: var(--mh-space-4); background: var(--mh-subtle); border: 1px solid var(--mh-line); border-radius: var(--mh-radius-lg); }
.mv-steps h3 { margin: 0 0 var(--mh-space-3); font-size: 16px; }
.mv-steps__bar { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: var(--mh-radius-pill); overflow: hidden; background: var(--mh-line); }
.mv-steps__bar::-webkit-progress-bar { background: var(--mh-line); border-radius: var(--mh-radius-pill); }
.mv-steps__bar::-webkit-progress-value { background: var(--mk-teal); border-radius: var(--mh-radius-pill); }
.mv-steps__bar::-moz-progress-bar { background: var(--mk-teal); border-radius: var(--mh-radius-pill); }
.mv-steps__count { margin: var(--mh-space-1) 0 var(--mh-space-3); font-size: 13px; color: var(--mh-ink-muted); }
.mv-steps ol { display: grid; gap: var(--mh-space-2); margin: 0 0 var(--mh-space-3); padding: 0; list-style: none; font-size: 14px; }
.mv-steps li { position: relative; padding-left: 24px; }
.mv-steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border: 2px solid var(--mh-line-strong); border-radius: var(--mh-radius-round); }
.mv-steps li.is-done { color: var(--mh-ink-muted); }
.mv-steps li.is-done::before { border-color: var(--mk-teal); background: var(--mk-teal); box-shadow: inset 0 0 0 2px var(--mh-subtle); }
@media (max-width: 860px) { .mv-preview__body { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mv-card { padding: var(--mh-space-4); } .mv-card__facts { grid-template-columns: 1fr 1fr; } }

/* Equipment */
.mv-equipment td:first-child { width: 240px; }
.mv-equipment td:nth-child(2) { width: 90px; }
.mv-equipment td:nth-child(3) { width: 130px; }
.mv-equipment td:nth-child(3) input { min-width: 0; }
.mv-equipment td:nth-child(4) { width: 120px; }
/* On a phone each item stacks: what and how many, then its size or note, papers and Remove (each input has its label). */
@media (max-width: 640px) {
  .mv-equipment thead { display: none; }
  .mv-equipment, .mv-equipment tbody { display: block; }
  .mv-equipment tr { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: var(--mh-space-2); padding: var(--mh-space-3) 0; border-bottom: 1px solid var(--mh-line-soft); }
  .mv-equipment .mv-regions__add { border-bottom: 0; }
  .mv-equipment td:nth-child(n) { display: block; width: auto; padding: 0; border-bottom: 0; }
  .mv-equipment td:nth-child(n+3) { grid-column: 1 / -1; }
  .mv-equipment td:empty { display: none; }
}

/* Companies */
.mv-companies { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mh-line); }
.mv-company { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--mh-space-4); align-items: start; padding: var(--mh-space-4) 0; border-bottom: 1px solid var(--mh-line); }
.mv-company__main { display: grid; gap: 2px; }
.mv-company__side { display: grid; justify-items: end; gap: var(--mh-space-2); text-align: right; }
.mv-agree { display: grid; justify-items: end; gap: var(--mh-space-2); }
.mv-agree .mk-check { margin: 0; text-align: left; font-size: 13px; }
.mv-stars { font-size: 13px; font-weight: 700; color: var(--mh-warning-ink); }
.mv-stars small { font-weight: 400; color: var(--mh-ink-muted); }
.mv-stars--none { font-weight: 400; color: var(--mh-ink-soft); }

/* Facts, quotes and history */
.mv-facts--wide { margin: var(--mh-space-3) 0; padding: var(--mh-space-3) 0; border-top: 1px solid var(--mh-line); border-bottom: 1px solid var(--mh-line); }
/* A job's agreed figures: four in a row, two by two on a phone. */
.mv-facts--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .mv-facts--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv-quote { display: inline; font-style: italic; color: var(--mh-ink-body); }
.mv-quote::before { content: "“"; }
.mv-quote::after { content: "”"; }
p.mv-quote { display: block; margin: 0 0 var(--mh-space-3); }
.mv-history { margin: 0; padding-left: 20px; font-size: 14px; }
.mv-history li { margin: 0 0 var(--mh-space-2); }
.mv-report { margin-top: var(--mh-space-3); font-size: 13px; }
.mv-report summary { cursor: pointer; color: var(--mh-ink-muted); }

/* Stars to pick: five radios drawn as stars, highest first so the hovered one and those after it light. */
.mv-starpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; margin: 0 0 var(--mh-space-3); padding: 0; border: 0; }
.mv-starpick legend { width: 100%; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--mh-ink); }
.mv-starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mv-starpick label { font-size: 30px; line-height: 1; color: var(--mh-line-strong); cursor: pointer; }
.mv-starpick input:checked ~ label, .mv-starpick label:hover, .mv-starpick label:hover ~ label { color: var(--mh-warning); }
.mv-starpick input:focus-visible + label { outline: 2px solid var(--mh-blue); outline-offset: 2px; border-radius: var(--mh-radius-sm); }

/* The terms */
.mv-terms-page { max-width: 820px; }
.mv-sample { margin: 0 0 var(--mh-space-5); padding: var(--mh-space-3) var(--mh-space-4); font-weight: 700; color: var(--mh-warning-ink); background: var(--mh-warning-soft) var(--mh-texture-hatch); border: 1px solid var(--mh-warning-line); border-radius: var(--mh-radius); }
.mv-terms h1 { margin: 0 0 4px; }
.mv-terms__body { margin: var(--mh-space-5) 0; color: var(--mh-ink-body); }
.mv-terms__body h2 { margin: var(--mh-space-5) 0 var(--mh-space-2); font-size: 16px; color: var(--mh-ink); }
.mv-terms__body p { margin: 0 0 var(--mh-space-3); }
.mv-terms__body--scroll { max-height: 420px; overflow: auto; padding: var(--mh-space-3) var(--mh-space-4); background: var(--mh-subtle); border: 1px solid var(--mh-line); border-radius: var(--mh-radius); }
.mv-clickwrap { padding: var(--mh-space-3); background: var(--mh-subtle); border: 1px solid var(--mh-line); border-radius: var(--mh-radius); }

@media (max-width: 800px) {
  .mv-account__body { grid-template-columns: 1fr; }
  .mv-subnav { position: static; display: flex; overflow-x: auto; gap: var(--mh-space-1); padding-bottom: 4px; }
  .mv-subnav a { white-space: nowrap; }
  .mv-company { grid-template-columns: 1fr; }
  .mv-company__side, .mv-agree { justify-items: start; text-align: left; }
  .mv-row-3 { grid-template-columns: 1fr; }
  .mv-equipment td:first-child, .mv-equipment td:nth-child(4) { width: auto; }
}
