/* QUARZEO — Home Engine & Network R4
   Scoped visual layer. Search IDs and functional contracts remain untouched. */

body.qhp-site {
  --qzr4-night: #02111f;
  --qzr4-navy: #052f4b;
  --qzr4-blue: #087ff2;
  --qzr4-cyan: #31dce7;
  --qzr4-violet: #775df6;
  --qzr4-ice: #edfaff;
  --qzr4-ink: #062a41;
}

/* Full-width editorial opening, followed by the functional duo. */
body.qhp-site .qzv12-hero {
  min-height: 1120px !important;
  padding: 70px 0 110px !important;
}

body.qhp-site .qzv12-hero-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "eyebrow eyebrow"
    "title title"
    "search map"
    "foot map" !important;
  grid-template-rows: auto auto minmax(620px, auto) 70px !important;
  column-gap: 24px !important;
  row-gap: 0 !important;
  align-items: stretch !important;
}

body.qhp-site .qzv12-hero-copy {
  display: contents !important;
}

body.qhp-site .qzv12-eyebrow {
  grid-area: eyebrow !important;
  margin: 0 0 16px !important;
}

body.qhp-site .qzv12-title-row {
  grid-area: title !important;
  width: 100%;
  margin: 0 0 34px !important;
}

body.qhp-site .qzv12-title-row h1 {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  font-size: clamp(62px, 5.75vw, 92px) !important;
  line-height: .91 !important;
}

body.qhp-site .qzv12-title-row h1 span,
body.qhp-site .qzv12-title-row h1 em {
  display: block;
  white-space: nowrap;
}

body.qhp-site .qzv12-title-row h1 em {
  margin-top: 10px !important;
}

body.qhp-site .qzv12-title-row > p {
  max-width: 880px !important;
  margin: 24px 0 0 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Search engine — more colour, more guidance, same two-step logic. */
body.qhp-site .qzv12-search {
  grid-area: search !important;
  isolation: isolate;
  width: 100% !important;
  display: flex !important;
  min-height: 620px !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 28px 25px !important;
  overflow: hidden;
  border: 1px solid rgba(116, 231, 244, .37) !important;
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 94% 7%, rgba(126, 90, 255, .31), transparent 29%),
    radial-gradient(circle at 11% 92%, rgba(24, 211, 226, .25), transparent 35%),
    linear-gradient(145deg, rgba(3, 25, 44, .98), rgba(5, 54, 81, .95) 58%, rgba(9, 42, 75, .96)) !important;
  box-shadow:
    0 40px 100px rgba(0, 7, 16, .54),
    inset 0 1px rgba(255, 255, 255, .11),
    0 0 0 1px rgba(26, 189, 222, .05) !important;
}

body.qhp-site .qzv12-search::before {
  z-index: 4;
  height: 4px !important;
  background: linear-gradient(90deg, #0785f5, #2de0e7 48%, #805df7 82%, transparent) !important;
  box-shadow: 0 0 28px rgba(61, 222, 237, .58);
}

body.qhp-site .qzv12-search::after {
  position: absolute;
  z-index: -1;
  right: -76px;
  bottom: -104px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(107, 228, 240, .10);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 218, 228, .14), transparent 60%),
    repeating-radial-gradient(circle, transparent 0 31px, rgba(115, 229, 241, .07) 32px 33px);
  content: "";
  pointer-events: none;
}

body.qhp-site .qzv12-search-top {
  min-height: 82px !important;
  margin: 0 -28px 28px !important;
  padding: 16px 28px !important;
  border-bottom: 1px solid rgba(143, 229, 241, .14) !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055), rgba(42, 209, 225, .045) 58%, rgba(122, 91, 246, .07)) !important;
}

body.qhp-site .searchDeckProgress span {
  min-height: 38px;
  padding: 0 11px 0 0;
  border-radius: 14px;
}

body.qhp-site .searchDeckProgress span.active {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(69, 223, 236, .24);
}

body.qhp-site .searchDeckProgress span.active b {
  background: linear-gradient(135deg, #087ff2, #2bd8e3 62%, #795df7) !important;
  box-shadow: 0 0 0 7px rgba(47, 216, 229, .08), 0 11px 28px rgba(0, 126, 226, .34) !important;
}

body.qhp-site .searchDeckHint {
  padding: 8px 10px;
  border: 1px solid rgba(139, 228, 241, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
}

body.qhp-site .qzv12-step-head {
  margin-bottom: 18px;
}

body.qhp-site .qzv12-step-head > span {
  width: 46px;
  height: 46px;
  border-radius: 16px !important;
  color: #eaffff !important;
  background: linear-gradient(145deg, rgba(8, 132, 225, .74), rgba(39, 211, 225, .38)) !important;
  box-shadow: 0 13px 30px rgba(0, 105, 190, .24), inset 0 1px rgba(255, 255, 255, .19) !important;
}

body.qhp-site .qzv12-step-head strong {
  font-size: 18px !important;
  letter-spacing: -.02em;
}

body.qhp-site .plateInputWrap {
  min-height: 62px;
  border: 1px solid rgba(129, 231, 243, .46) !important;
  border-radius: 19px !important;
  background: linear-gradient(90deg, #f9fdff, #fff 70%, #edf9ff) !important;
  box-shadow: 0 18px 44px rgba(0, 7, 16, .40), 0 0 0 6px rgba(43, 205, 226, .065) !important;
}

body.qhp-site .plateFlag {
  min-width: 58px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent),
    linear-gradient(145deg, #075ef1, #073f9e) !important;
}

body.qhp-site .plateInputWrap input {
  min-width: 0;
  font-size: 22px !important;
  letter-spacing: .13em !important;
}

body.qhp-site #plateResolveBtn,
body.qhp-site .searchLaunchV6,
body.qhp-site .manualContinueV6 {
  min-height: 48px;
  border-radius: 13px !important;
  background: linear-gradient(115deg, #087ff3, #0caedf 58%, #2fdbe3) !important;
  box-shadow: 0 12px 28px rgba(4, 125, 213, .28) !important;
}

body.qhp-site #plateResolveBtn:hover,
body.qhp-site .searchLaunchV6:hover,
body.qhp-site .manualContinueV6:hover {
  box-shadow: 0 17px 36px rgba(4, 145, 222, .38) !important;
  transform: translateY(-1px);
}

body.qhp-site .plateApiStatus {
  margin-top: 15px;
  border-color: rgba(109, 223, 240, .13) !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, .055), rgba(57, 216, 232, .045)) !important;
}

body.qhp-site .manualVehicleLink {
  margin-top: 17px;
}

body.qhp-site .qzr4-engine-guides {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(133, 226, 240, .13);
}

body.qhp-site .qzr4-engine-guides > span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid rgba(139, 230, 242, .12);
  border-radius: 15px;
  color: #e8faff;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

body.qhp-site .qzr4-engine-guides > span:nth-child(2) {
  background: linear-gradient(145deg, rgba(25, 191, 225, .14), rgba(255, 255, 255, .025));
}

body.qhp-site .qzr4-engine-guides > span:nth-child(3) {
  background: linear-gradient(145deg, rgba(121, 93, 247, .15), rgba(255, 255, 255, .025));
}

body.qhp-site .qzr4-engine-guides i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #062942;
  background: linear-gradient(145deg, #effeff, #64e1ea);
  box-shadow: 0 7px 18px rgba(16, 179, 207, .20);
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}

body.qhp-site .qzr4-engine-guides strong,
body.qhp-site .qzr4-engine-guides small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.qhp-site .qzr4-engine-guides strong {
  font-size: 11px;
}

body.qhp-site .qzr4-engine-guides small {
  margin-top: 3px;
  color: rgba(211, 239, 247, .54);
  font-size: 8px;
}

body.qhp-site .qzv12-search-foot {
  grid-area: foot !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}

body.qhp-site .qzv12-search-foot span {
  justify-content: center;
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid rgba(125, 223, 239, .11);
  border-radius: 11px;
  background: rgba(3, 29, 47, .58);
  text-align: center;
}

/* Non-interactive search example — four choices remain visible. */
body.qhp-site .qzr4-preview {
  grid-area: map !important;
  position: relative;
  width: 100% !important;
  min-width: 0;
  min-height: 680px !important;
  height: auto !important;
  align-self: stretch !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 224, 239, .34) !important;
  border-radius: 32px !important;
  color: var(--qzr4-ink);
  background:
    radial-gradient(circle at 94% 0, rgba(123, 92, 247, .16), transparent 28%),
    linear-gradient(160deg, rgba(248, 253, 255, .98), rgba(226, 244, 252, .98)) !important;
  box-shadow: 0 40px 100px rgba(0, 7, 16, .48), inset 0 1px #fff !important;
}

body.qhp-site .qzr4-preview::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #20d6e3 32%, #087ff2 66%, #7a5df7);
  box-shadow: 0 0 24px rgba(47, 216, 229, .35);
  content: "";
}

body.qhp-site .qzr4-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 17px;
}

body.qhp-site .qzr4-preview-head > div > strong,
body.qhp-site .qzr4-preview-head > div > small,
body.qhp-site .qzr4-preview-kicker {
  display: block;
}

body.qhp-site .qzr4-preview-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: #0875c8;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .13em;
}

body.qhp-site .qzr4-preview-kicker i,
body.qhp-site .qzr4-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31dbe5;
  box-shadow: 0 0 0 5px rgba(49, 219, 229, .11), 0 0 18px rgba(49, 219, 229, .55);
}

body.qhp-site .qzr4-preview-head > div > strong {
  color: #062b42;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

body.qhp-site .qzr4-preview-head strong em {
  color: #087ed8;
  font-style: normal;
}

body.qhp-site .qzr4-preview-head > div > small {
  margin-top: 7px;
  color: #6b8694;
  font-size: 10px;
}

body.qhp-site .qzr4-live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid rgba(12, 128, 173, .13);
  border-radius: 999px;
  color: #1c6078;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 22px rgba(8, 76, 103, .07);
  font-size: 8px;
  font-weight: 850;
}

body.qhp-site .qzr4-live-badge i {
  animation: qzr4-live 1.8s ease-in-out infinite;
}

body.qhp-site .qzr4-search-context {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr .7fr;
  gap: 7px;
  margin: 0 18px 12px;
  padding: 7px;
  border: 1px solid rgba(21, 121, 159, .11);
  border-radius: 16px;
  background: rgba(255, 255, 255, .67);
  box-shadow: 0 12px 30px rgba(8, 74, 101, .07);
}

body.qhp-site .qzr4-search-context > span {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(232, 248, 253, .88), rgba(248, 253, 255, .92));
}

body.qhp-site .qzr4-search-context small,
body.qhp-site .qzr4-search-context strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.qhp-site .qzr4-search-context small {
  margin-bottom: 3px;
  color: #6f92a0;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}

body.qhp-site .qzr4-search-context strong {
  color: #0b4058;
  font-size: 10px;
}

body.qhp-site .qzr4-map-stage {
  position: relative;
  height: 445px;
  margin: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(10, 115, 157, .13);
  border-radius: 23px;
  background: #dff3fb;
  box-shadow: inset 0 1px rgba(255, 255, 255, .88), 0 18px 42px rgba(6, 70, 96, .12);
}

body.qhp-site .qzr4-map-stage::before {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(22, 164, 202, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(27, 185, 213, .035), 0 0 0 92px rgba(27, 185, 213, .025);
  content: "";
  transform: translate(-50%, -50%);
  animation: qzr4-scan 4.4s ease-in-out infinite;
}

body.qhp-site .qzr4-map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.qhp-site .qzr4-map-water {
  fill: #b4dbea;
  opacity: .75;
}

body.qhp-site .qzr4-map-districts path {
  fill: rgba(255, 255, 255, .26);
  stroke: rgba(43, 135, 170, .08);
  stroke-width: 2;
}

body.qhp-site .qzr4-map-roads path {
  fill: none;
  stroke: rgba(255, 255, 255, .94);
  stroke-width: 9;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 1px rgba(10, 88, 124, .15));
}

body.qhp-site .qzr4-map-streets path {
  fill: none;
  stroke: rgba(57, 139, 172, .13);
  stroke-width: 2;
  stroke-dasharray: 5 8;
}

body.qhp-site .qzr4-demo-routes path {
  fill: none;
  stroke: rgba(21, 136, 177, .18);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
  transition: stroke .35s ease, stroke-width .35s ease, opacity .35s ease;
}

body.qhp-site .qzr4-demo-routes path.is-active {
  stroke: url(#qzr4-route-active);
  stroke-width: 5;
  stroke-dasharray: 12 10;
  opacity: 1;
  filter: url(#qzr4-route-glow);
  animation: qzr4-route 1.4s linear infinite;
}

body.qhp-site .qzr4-search-point {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
}

body.qhp-site .qzr4-search-point i {
  display: block;
  width: 24px;
  height: 24px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #087ff2, #2ad9e3);
  box-shadow: 0 9px 25px rgba(5, 103, 170, .35), 0 0 0 9px rgba(38, 207, 224, .15);
}

body.qhp-site .qzr4-search-point span {
  margin-top: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0a4760;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 9px 22px rgba(8, 76, 105, .13);
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
}

body.qhp-site .qzr4-choice {
  position: absolute;
  z-index: 10;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: min(224px, calc(50% - 26px));
  min-height: 88px;
  padding: 10px;
  border: 1px solid rgba(20, 115, 151, .13);
  border-radius: 17px;
  color: #0b3b52;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 15px 34px rgba(8, 70, 98, .12), inset 0 1px #fff;
  backdrop-filter: blur(14px) saturate(1.1);
  cursor: pointer;
  opacity: .76;
  transform: translateY(0) scale(.97);
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

body.qhp-site .qzr4-choice:hover,
body.qhp-site .qzr4-choice.is-active {
  z-index: 12;
  border-color: rgba(17, 164, 196, .34);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 50px rgba(5, 75, 110, .22), 0 0 0 4px rgba(49, 216, 228, .09), inset 0 1px #fff;
  opacity: 1;
  transform: translateY(-4px) scale(1);
}

body.qhp-site .qzr4-choice-near { top: 24px; left: 19px; }
body.qhp-site .qzr4-choice-rating { top: 24px; right: 19px; }
body.qhp-site .qzr4-choice-fast { bottom: 24px; left: 19px; }
body.qhp-site .qzr4-choice-advantage { right: 19px; bottom: 24px; }

body.qhp-site .qzr4-choice-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #0876c8;
  background: #e6f8fc;
  font-size: 8px;
  font-weight: 950;
}

body.qhp-site .qzr4-choice-rating .qzr4-choice-rank { color: #6a4bd2; background: #eee9ff; }
body.qhp-site .qzr4-choice-fast .qzr4-choice-rank { color: #078d83; background: #e0faf5; }
body.qhp-site .qzr4-choice-advantage .qzr4-choice-rank { color: #a66708; background: #fff2dc; }

body.qhp-site .qzr4-choice-copy,
body.qhp-site .qzr4-choice-copy small,
body.qhp-site .qzr4-choice-copy strong,
body.qhp-site .qzr4-choice-copy > span {
  display: block;
  min-width: 0;
}

body.qhp-site .qzr4-choice-copy small {
  margin-bottom: 3px;
  color: #528091;
  font-size: 6px;
  font-weight: 950;
  letter-spacing: .08em;
}

body.qhp-site .qzr4-choice-copy strong {
  overflow: hidden;
  color: #082f45;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.qhp-site .qzr4-choice-copy > span {
  margin-top: 3px;
  color: #78909b;
  font-size: 7px;
}

body.qhp-site .qzr4-choice > b {
  color: #087ccf;
  font-size: 18px;
  letter-spacing: -.04em;
}

body.qhp-site .qzr4-choice-rating > b { color: #7052d9; }
body.qhp-site .qzr4-choice-fast > b { color: #078f86; }
body.qhp-site .qzr4-choice-advantage > b { color: #b16a08; }
body.qhp-site .qzr4-choice > b small { margin-left: 1px; font-size: 8px; }

body.qhp-site .qzr4-preview-foot {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px 20px 14px;
}

body.qhp-site .qzr4-preview-foot > div:first-child span,
body.qhp-site .qzr4-preview-foot > div:first-child strong {
  display: block;
}

body.qhp-site .qzr4-preview-foot > div:first-child span {
  color: #708c98;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .09em;
}

body.qhp-site .qzr4-preview-foot > div:first-child strong {
  margin-top: 2px;
  color: #087acb;
  font-size: 12px;
}

body.qhp-site .qzr4-progress {
  display: flex;
  gap: 4px;
}

body.qhp-site .qzr4-progress i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b8ced7;
  transition: width .3s ease, border-radius .3s ease, background .3s ease;
}

body.qhp-site .qzr4-progress i.is-active {
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #087ff2, #2bd9e3);
}

body.qhp-site .qzr4-preview-foot > small {
  color: #768f9a;
  font-size: 8px;
  line-height: 1.4;
  text-align: right;
}

/* National network — one horizontal stage, equal-height columns. */
body.qhp-site .qzr4-network {
  padding: 120px 0 !important;
}

body.qhp-site .qzr4-network-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.qhp-site .qzr4-network-map {
  width: 100% !important;
  max-width: none !important;
  min-height: 720px !important;
  height: 720px;
  padding: 35px 38px 27px !important;
}

body.qhp-site .qzr4-network-map .qzr2-network-head h2 {
  max-width: 610px;
  font-size: clamp(39px, 3.5vw, 58px) !important;
}

body.qhp-site .qzr4-network-map .qzr2-france-stage {
  height: 490px;
  margin-top: 9px;
}

body.qhp-site .qzr4-network-side {
  display: flex !important;
  height: 720px;
  min-height: 720px;
  flex-direction: column;
  justify-content: flex-start !important;
  gap: 16px;
}

body.qhp-site .qzr4-network-copy {
  order: -1;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 13px 10px 14px !important;
}

body.qhp-site .qzr4-network-copy h2 {
  margin: 12px 0 14px !important;
  font-size: clamp(38px, 3.3vw, 53px) !important;
  line-height: .98 !important;
}

body.qhp-site .qzr4-network-copy p {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.qhp-site .qzr4-city-bands {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  flex: 1 1 auto;
  gap: 13px !important;
  min-height: 0;
}

body.qhp-site .qzr4-city-band {
  width: 100%;
  min-height: 0 !important;
  height: 100% !important;
  border-radius: 25px !important;
  box-shadow: 0 22px 48px rgba(5, 63, 88, .16) !important;
}

body.qhp-site .qzr4-city-band img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s ease;
}

body.qhp-site .qzr4-city-band:hover img {
  filter: saturate(1.12) contrast(1.03);
  transform: scale(1.045);
}

body.qhp-site .qzr4-city-band .qzv12-city-shade {
  background: linear-gradient(90deg, rgba(2, 20, 33, .93), rgba(2, 25, 41, .63) 58%, rgba(2, 23, 38, .17)) !important;
}

body.qhp-site .qzr4-city-band .qzv12-city-copy {
  top: 50%;
  right: 82px;
  bottom: auto;
  max-width: 76%;
  transform: translateY(-50%);
}

body.qhp-site .qzr4-city-band .qzv12-city-copy h3 {
  margin: 6px 0 7px !important;
  font-size: 24px !important;
}

body.qhp-site .qzr4-city-band .qzv12-city-copy p {
  max-width: 330px;
  margin: 0;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

body.qhp-site .qzr4-city-band > b {
  top: 50%;
  right: 23px;
  transform: translateY(-50%);
}

@keyframes qzr4-live {
  0%, 100% { opacity: .55; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.13); }
}

@keyframes qzr4-scan {
  0%, 100% { opacity: .42; transform: translate(-50%, -50%) scale(.72); }
  50% { opacity: .9; transform: translate(-50%, -50%) scale(1); }
}

@keyframes qzr4-route {
  to { stroke-dashoffset: -44; }
}

@media (max-width: 1180px) {
  body.qhp-site .qzv12-title-row h1 {
    font-size: clamp(57px, 6vw, 72px) !important;
  }

  body.qhp-site .qzr4-choice {
    width: calc(50% - 22px);
  }

  body.qhp-site .qzr4-network-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr) !important;
  }
}

@media (max-width: 1040px) {
  body.qhp-site .qzv12-hero {
    min-height: 0 !important;
  }

  body.qhp-site .qzv12-hero-shell {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "eyebrow"
      "title"
      "search"
      "foot"
      "map" !important;
    grid-template-rows: auto auto auto auto !important;
  }

  body.qhp-site .qzv12-title-row h1 span,
  body.qhp-site .qzv12-title-row h1 em {
    white-space: normal;
  }

  body.qhp-site .qzv12-search {
    grid-area: search !important;
    min-height: 0;
  }

  body.qhp-site .qzv12-search-foot {
    grid-area: foot !important;
  }

  body.qhp-site .qzr4-preview {
    grid-area: map !important;
    max-width: none !important;
    min-height: 680px !important;
    margin-top: 24px !important;
  }

  body.qhp-site .qzr4-network-grid {
    grid-template-columns: 1fr !important;
  }

  body.qhp-site .qzr4-network-map {
    max-width: none !important;
  }

  body.qhp-site .qzr4-network-side {
    height: auto;
    min-height: 0;
  }

  body.qhp-site .qzr4-city-bands {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 260px;
  }
}

@media (max-width: 720px) {
  body.qhp-site .qzv12-hero {
    padding: 54px 0 78px !important;
  }

  body.qhp-site .qzv12-title-row {
    margin-bottom: 25px;
  }

  body.qhp-site .qzv12-title-row h1 {
    font-size: clamp(43px, 12.2vw, 62px) !important;
  }

  body.qhp-site .qzv12-title-row > p {
    font-size: 14px !important;
  }

  body.qhp-site .qzv12-search {
    padding: 0 17px 19px !important;
    border-radius: 25px !important;
  }

  body.qhp-site .qzv12-search-top {
    margin-inline: -17px !important;
    padding-inline: 17px !important;
  }

  body.qhp-site .searchDeckHint {
    display: none;
  }

  body.qhp-site .qzr4-engine-guides {
    grid-template-columns: 1fr;
  }

  body.qhp-site .qzr4-engine-guides > span {
    padding: 9px 10px;
  }

  body.qhp-site .qzv12-search-foot {
    grid-template-columns: 1fr;
  }

  body.qhp-site .qzr4-preview {
    min-height: 690px !important;
    border-radius: 25px !important;
  }

  body.qhp-site .qzr4-preview-head {
    display: block;
    padding: 22px 17px 14px;
  }

  body.qhp-site .qzr4-live-badge {
    width: max-content;
    margin-top: 12px;
  }

  body.qhp-site .qzr4-search-context {
    grid-template-columns: 1fr 1fr;
    margin-inline: 10px;
  }

  body.qhp-site .qzr4-search-context > span:last-child {
    display: none;
  }

  body.qhp-site .qzr4-map-stage {
    height: 475px;
    margin-inline: 8px;
  }

  body.qhp-site .qzr4-choice {
    grid-template-columns: 25px minmax(0, 1fr);
    width: calc(50% - 14px);
    min-height: 102px;
    padding: 8px;
  }

  body.qhp-site .qzr4-choice-near { top: 14px; left: 8px; }
  body.qhp-site .qzr4-choice-rating { top: 14px; right: 8px; }
  body.qhp-site .qzr4-choice-fast { bottom: 14px; left: 8px; }
  body.qhp-site .qzr4-choice-advantage { right: 8px; bottom: 14px; }

  body.qhp-site .qzr4-choice-rank {
    width: 25px;
    height: 25px;
  }

  body.qhp-site .qzr4-choice > b {
    grid-column: 2;
    justify-self: start;
    font-size: 16px;
  }

  body.qhp-site .qzr4-choice-copy strong {
    white-space: normal;
  }

  body.qhp-site .qzr4-preview-foot {
    grid-template-columns: auto auto;
  }

  body.qhp-site .qzr4-preview-foot > small {
    grid-column: 1 / -1;
    text-align: left;
  }

  body.qhp-site .qzr4-network {
    padding: 80px 0 !important;
  }

  body.qhp-site .qzr4-network-map {
    height: auto;
    min-height: 680px !important;
    padding: 25px 21px !important;
  }

  body.qhp-site .qzr4-network-map .qzr2-france-stage {
    height: 430px;
    margin-inline: -14px;
  }

  body.qhp-site .qzr4-city-bands {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(2, 230px);
  }
}

@media (max-width: 430px) {
  body.qhp-site .qzv12-title-row h1 {
    font-size: 43px !important;
  }

  body.qhp-site .plateInputWrap input {
    font-size: 17px !important;
    letter-spacing: .08em !important;
  }

  body.qhp-site #plateResolveBtn {
    padding-inline: 11px !important;
  }

  body.qhp-site .qzr4-choice-copy > span {
    display: none;
  }

  body.qhp-site .qzr4-choice-copy strong {
    font-size: 8px;
  }

  body.qhp-site .qzr4-choice-copy small {
    font-size: 5.5px;
  }

  body.qhp-site .qzr4-network-map .qzr2-network-stats {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.qhp-site .qzr4-live-badge i,
  body.qhp-site .qzr4-map-stage::before,
  body.qhp-site .qzr4-demo-routes path.is-active {
    animation: none !important;
  }
}
