/* Isolated start-flow picture only. Reuse approved shared fonts, wordmark,
   icons, ChargingScene and navigation. No existing app selector is restyled. */
/* R7 legend text only; existing map marker artwork/status rings are retained. */
.ev-map-proposal .map-power-title { width: 100%; text-align: center; }
.ev-map-proposal .map-power-items { justify-content: center; }
.ev-map-proposal .map-top { align-items: start; }
.ev-map-proposal #map-wallet { display: grid; gap: 6px; justify-items: end; }
.ev-map-proposal #map-wallet .ev-bonus-pill { width: 130px; min-height: 34px; font-size: 10.5px; padding: 5px 7px; gap: 4px; }
@media(max-width:350px){.ev-map-proposal #map-wallet .ev-bonus-pill{width:126px}}
/* Isolated auth-photo replacement: HTML logo/back controls stay separate from
   the wide vehicle artwork. No phone/call/SMS form selector is restyled. */
.phone-hero.ev-auth-photo-hero,
.welcome-hero.ev-auth-photo-hero {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  padding: 18px 0 8px;
  overflow: hidden;
  background: #030e0e;
}
.ev-auth-photo-hero > .evcar-logo {
  position: relative;
  display: block;
  z-index: 1;
  top: auto;
  left: auto;
  width: 180px;
  max-width: 58%;
  margin: 0 auto 16px;
}
.ev-auth-photo-hero .phone-back { top: 12px; left: max(3%, 12px); }
.ev-auth-photo-hero .ev-auth-photo-scene {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 934 / 340;
  overflow: hidden;
}
.ev-auth-photo-hero .ev-auth-photo-art {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  clip-path: none;
}
.ev-auth-photo-hero::after { height: 16px; }
.charging-screen:has(.ev-start-screen) #screen { padding: 0 0 var(--nav, 74px); }
/* Standalone high-detail scene is registered to the original animation coordinates. */
.ev-login .ev-scene-art { top: -5.277778%; left: -.535332%; height: auto; mask-image: linear-gradient(#000 85%, transparent 100%); }
.ev-start-support-icon img { filter: brightness(0) invert(1); width: 20px; height: 20px; }
.ev-start-support-arrow { display: grid; place-items: center; width: 16px; flex: 0 0 16px; transform: rotate(180deg); }
.ev-start-support-arrow .icon { width: 16px; height: 16px; }
.ev-start-screen {
  --ev-start-ink: #f4f8ee;
  --ev-start-muted: #c6d2c6;
  --ev-start-line: #456153;
  --ev-start-lime: #dcff57;
  --ev-start-panel: #102b1b;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  min-height: calc(100dvh - var(--nav, 74px));
  margin: 0 auto;
  padding: 14px 15px 18px;
  color: var(--ev-start-ink);
  background: radial-gradient(ellipse at 48% 24%, #103d2380, transparent 63%), #03180f;
  font-family: Manrope, system-ui, -apple-system, sans-serif;
}
.ev-start-screen *, .ev-start-screen *::before, .ev-start-screen *::after { box-sizing: border-box; }
.ev-start-screen .ev-start-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 9px;
}
.ev-start-screen .ev-start-heading { display: grid; justify-items: center; gap: 1px; min-width: 0; }
.ev-start-screen .ev-start-heading .evcar-logo { width: 118px; margin: 0; }
.ev-start-screen .ev-start-heading h1 {
  margin: 0;
  color: var(--ev-start-ink);
  font-size: 11px;
  line-height: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.ev-start-screen .ev-start-icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #718976;
  border-radius: 14px;
  color: var(--ev-start-ink);
  background: var(--ev-start-panel);
}
.ev-start-screen .ev-start-icon-button .icon { width: 23px; height: 23px; }
.ev-start-screen .ev-start-station {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-block: 1px solid var(--ev-start-line);
}
.ev-start-screen .ev-start-station-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid #5a7a43;
  border-radius: 50%;
  color: var(--ev-start-lime);
  background: #1b3820;
}
.ev-start-screen .ev-start-station-icon .icon { width: 25px; height: 25px; }
.ev-start-screen .ev-start-station h2 {
  margin: 0;
  color: var(--ev-start-ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.ev-start-screen .ev-start-station p {
  margin: 4px 0 0;
  color: var(--ev-start-muted);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ev-start-screen .ev-start-connector {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid #a8d654;
  border-radius: 14px;
  color: var(--ev-start-lime);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.ev-start-screen .ev-start-connector .icon { width: 13px; height: 13px; }
.ev-start-screen .ev-start-scene {
  width: calc(100% + 30px);
  margin-inline: -15px;
  aspect-ratio: 934 / 326;
  flex: 0 0 auto;
}
.ev-start-screen .ev-start-scene .ev-charge-art { width: 100%; margin: 0; }
.ev-start-screen .ev-start-scene > img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Request animation is not a claim of energy delivery. Existing cable/water
   animations may resume only when the prototype enters actual active state. */
.ev-start-screen:not([data-state="active"]) .ev-start-scene .ev-charge-cable { display: none; }
.ev-start-screen .ev-start-status {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 94px;
  padding: 6px 2px;
}
.ev-start-screen .ev-start-indicator {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #183721;
  color: var(--ev-start-lime);
}
.ev-start-screen .ev-start-indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #3c5f39;
  border-top-color: var(--ev-start-lime);
  border-right-color: #b9f25b80;
  border-radius: 50%;
  animation: ev-start-spinner 1.2s linear infinite;
}
.ev-start-screen .ev-start-indicator .icon { width: 23px; height: 23px; }
.ev-start-screen .ev-start-status h2 {
  margin: 0;
  color: var(--ev-start-ink);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.55px;
  overflow-wrap: anywhere;
}
.ev-start-screen .ev-start-status p {
  margin: 7px 0 0;
  color: var(--ev-start-muted);
  font-size: 12px;
  line-height: 1.5;
}
.ev-start-screen[data-state="waiting"] .ev-start-indicator::before { animation-duration: 1.8s; }
.ev-start-screen[data-state="active"] .ev-start-indicator::before {
  animation: none;
  border-color: var(--ev-start-lime);
}
.ev-start-screen[data-state="active"] .ev-start-status h2 { color: var(--ev-start-lime); }
.ev-start-screen[data-state="error"] .ev-start-indicator { background: #43271e; color: #ffc5ad; }
.ev-start-screen[data-state="error"] .ev-start-indicator::before { animation: none; border-color: #e7a087; }
.ev-start-screen[data-state="error"] .ev-start-status h2 { color: #ffd7c5; }
.ev-start-screen .ev-start-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 13px 0;
  border-block: 1px solid var(--ev-start-line);
  list-style: none;
}
.ev-start-screen .ev-start-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9cb19d;
  font-size: 12px;
  line-height: 1.4;
}
.ev-start-screen .ev-start-step::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid #6c896d;
  border-radius: 50%;
}
.ev-start-screen .ev-start-step[data-status="current"] { color: var(--ev-start-ink); font-weight: 700; }
.ev-start-screen .ev-start-step[data-status="current"]::before {
  border-color: var(--ev-start-lime);
  background: var(--ev-start-lime);
  box-shadow: 0 0 0 4px #b9ed5a18;
}
.ev-start-screen .ev-start-step[data-status="complete"] { color: #d5e8c3; }
.ev-start-screen .ev-start-step[data-status="complete"]::before { border-color: #8ebd7e; background: #8ebd7e; }
.ev-start-screen .ev-start-help {
  margin-top: auto;
  padding-top: 8px;
  color: #c6d2c6;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
.ev-start-screen .ev-start-help h2 {
  margin: 0;
  color: var(--ev-start-ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.2px;
}
.ev-start-screen .ev-start-help p { margin: 3px 0 9px; color: inherit; }
.ev-start-screen .ev-start-support-options { display: grid; gap: 6px; }
.ev-start-screen .ev-start-support-options > :is(a, button) {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 46px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #547b57;
  border-radius: 12px;
  background: #0a3022;
  color: var(--ev-start-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}
.ev-start-screen .ev-start-support-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #173e28;
  color: var(--ev-start-lime);
}
.ev-start-screen .ev-start-support-icon :is(svg, .icon) { width: 20px; height: 20px; }
.ev-start-screen .ev-start-support-icon.whatsapp-logo,
.ev-start-screen .ev-start-support-icon.telegram-logo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 6px #0003;
}
.ev-start-screen .ev-start-support-icon.whatsapp-logo { background: #25d366; }
.ev-start-screen .ev-start-support-icon.telegram-logo { background: #229ed9; }
.ev-start-screen .ev-start-support-icon.whatsapp-logo img { width: 23px; height: 23px; }
.ev-start-screen .ev-start-support-icon.telegram-logo img { width: 20px; height: 20px; margin-right: 1px; }
.ev-start-screen .ev-start-support-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 1px;
  min-width: 0;
}
.ev-start-screen .ev-start-support-copy strong { font-size: 13px; line-height: 1.2; font-weight: 750; }
.ev-start-screen .ev-start-support-copy small { color: #c1d6bf; font-size: 12px; line-height: 1.2; font-weight: 500; }
.ev-start-screen .ev-start-support-options > :is(a, button) > .icon:last-child {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #d4e8b8;
}
.ev-start-screen .ev-start-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 11px 15px;
  border: 1px solid #78946c;
  border-radius: 15px;
  color: var(--ev-start-ink);
  background: #163a24;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.ev-start-screen :is(button, a):focus-visible { outline: 3px solid #e4ff94; outline-offset: 3px; }
.ev-start-screen.is-entering { animation: ev-start-enter 180ms ease-out both; }
@keyframes ev-start-spinner { to { transform: rotate(360deg); } }
@keyframes ev-start-enter { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 350px) {
  .ev-start-screen { gap: 11px; padding-inline: 12px; }
  .ev-start-screen .ev-start-heading .evcar-logo { width: 118px; }
  .ev-start-screen .ev-start-heading h1 { font-size: 11px; }
  .ev-start-screen .ev-start-station { grid-template-columns: 33px minmax(0, 1fr) auto; gap: 8px; }
  .ev-start-screen .ev-start-station-icon { width: 33px; height: 33px; }
  .ev-start-screen .ev-start-station h2 { font-size: 14px; }
  .ev-start-screen .ev-start-scene { width: calc(100% + 24px); margin-inline: -12px; }
  .ev-start-screen .ev-start-status { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; }
  .ev-start-screen .ev-start-indicator { width: 46px; height: 46px; }
  .ev-start-screen .ev-start-status h2 { font-size: 20px; }
  .ev-start-screen .ev-start-help { padding-top: 5px; }
  .ev-start-screen .ev-start-help h2 { font-size: 14px; }
  .ev-start-screen .ev-start-help p { margin-bottom: 7px; }
  .ev-start-screen .ev-start-support-options { gap: 5px; }
  .ev-start-screen .ev-start-support-options > :is(a, button) { height: 44px; padding-inline: 9px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-start-screen.is-entering, .ev-start-screen .ev-start-indicator::before { animation: none; }
  .ev-start-screen .ev-start-scene * { animation: none !important; transition: none !important; }
}

/* Isolated start control: the selected connector travels toward the car inlet.
   SwipeAction continues to own --swipe-x, fill width, capture and thresholds. */
.ev-start-swipe { width: 100%; margin: 0; }
.ev-start-swipe .ev-start-swipe-track {
  --ev-start-swipe-thumb: 56px;
  --ev-start-swipe-inset: 6px;
  --swipe-start-accent: #bcff65;
  --swipe-fill-width: 56px;
  height: 80px;
  margin: 0;
  border: 1px solid #81977d;
  border-radius: 23px;
  background: linear-gradient(135deg, #23382a, #0d291b);
  color: #f3f8ee;
  isolation: isolate;
}
.ev-start-swipe .ev-start-swipe-plug {
  position: absolute;
  z-index: 4;
  left: var(--ev-start-swipe-inset);
  top: calc((100% - var(--ev-start-swipe-thumb)) / 2);
  display: grid;
  place-items: center;
  width: var(--ev-start-swipe-thumb);
  height: var(--ev-start-swipe-thumb);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transform: translateX(var(--swipe-x, 0px));
  transition: transform 220ms ease-out;
  cursor: grab;
  touch-action: none;
}
.ev-start-swipe .ev-start-swipe-plug-art {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
}
.ev-start-swipe .ev-start-swipe-plug-art .connector-photo-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: none;
}
.ev-start-swipe .ev-start-swipe-plug-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  filter: drop-shadow(0 2px 2px #00140b80);
  transform: scaleX(-1);
}
.ev-start-swipe .ev-start-swipe-plug-art .connector-artwork {
  width: 84px;
  height: 70px;
  margin: 0;
  transform: scale(.66);
  transform-origin: center;
}
.ev-start-swipe .ev-start-car-inlet {
  position: absolute;
  z-index: 2;
  top: calc((100% - var(--ev-start-swipe-thumb)) / 2);
  right: var(--ev-start-swipe-inset);
  display: grid;
  place-items: center;
  width: var(--ev-start-swipe-thumb);
  height: var(--ev-start-swipe-thumb);
  pointer-events: none;
}
.ev-start-swipe .ev-start-car-inlet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #00140b80);
}
.ev-start-swipe .ev-start-swipe-copy {
  position: absolute;
  z-index: 2;
  inset: 5px 70px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #f3f8ee;
  text-align: center;
  opacity: var(--swipe-label-opacity, 1);
  pointer-events: none;
}
.ev-start-swipe .ev-start-swipe-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.25px;
}
.ev-start-swipe .ev-start-swipe-direction {
  margin: 0;
  max-width: 100%;
  color: #d0dfca;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
}
.ev-start-swipe .charge-swipe-guide,
.ev-start-swipe .charge-swipe-fill {
  left: var(--ev-start-swipe-inset);
  top: 6px;
  height: calc(100% - 12px);
  border-radius: 17px;
}
.ev-start-swipe .charge-swipe-guide {
  width: var(--ev-start-swipe-thumb);
  background:
    radial-gradient(ellipse at center, #c8ff986b 0%, #9eef5350 35%, #80db3620 55%, transparent 74%) -130px 50% / 130px 150% no-repeat,
    linear-gradient(90deg, #9ce74410, #9ce74418);
}
.ev-start-swipe .charge-swipe-fill { width: var(--swipe-fill-width); }
.ev-start-swipe .ev-start-swipe-motion {
  position: absolute;
  z-index: 2;
  left: 76px;
  right: 76px;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.ev-start-swipe .ev-start-swipe-motion i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d6ef97;
  opacity: .35;
}
.ev-start-swipe .ev-start-swipe-track:not(.disabled):not(.dragging):not(.returning):not(.submitting) .ev-start-swipe-plug {
  animation: evcar-start-nudge 3.6s ease-in-out infinite;
}
.ev-start-swipe .ev-start-swipe-track:not(.disabled):not(.dragging):not(.returning):not(.submitting) .charge-swipe-guide {
  animation: ev-start-swipe-guide-cue 3.6s ease-in-out infinite;
}
.ev-start-swipe .ev-start-swipe-track:not(.disabled):not(.dragging):not(.returning):not(.submitting) .ev-start-swipe-motion i {
  animation: ev-start-swipe-dot-cue 1.8s ease-in-out infinite;
}
.ev-start-swipe .ev-start-swipe-motion i:nth-child(2) { animation-delay: .18s !important; }
.ev-start-swipe .ev-start-swipe-motion i:nth-child(3) { animation-delay: .36s !important; }
.ev-start-swipe .ev-start-swipe-track:is(.disabled, .dragging, .returning, .submitting) :is(.ev-start-swipe-plug, .charge-swipe-guide, .ev-start-swipe-motion i) {
  animation: none;
}
.ev-start-swipe .ev-start-swipe-track:is(.disabled, .dragging, .returning, .submitting) .charge-swipe-guide { opacity: 0; }
.ev-start-swipe .ev-start-swipe-track.dragging .ev-start-swipe-plug { transition: none; cursor: grabbing; }
.ev-start-swipe .ev-start-swipe-track.dragging .ev-start-swipe-copy { opacity: var(--swipe-label-opacity, 1); }
.ev-start-swipe .ev-start-swipe-track:is(.dragging, .returning, .submitting) .ev-start-swipe-motion { opacity: 0; }
.ev-start-swipe .ev-start-swipe-track.submitting .ev-start-swipe-plug { opacity: 1; cursor: default; }
.ev-start-swipe .ev-start-swipe-track.disabled { opacity: .65; }
.ev-start-swipe .ev-start-swipe-track.disabled .ev-start-swipe-plug { opacity: 1; cursor: default; }
.ev-start-swipe .ev-start-swipe-plug:focus-visible { outline: 3px solid #e4ff94; outline-offset: 1px; }
.ev-start-swipe .ev-start-swipe-selected {
  margin: 6px 2px 0;
  color: #d2e7c5;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
  text-align: center;
  overflow-wrap: anywhere;
}
/* The visible direction already sits inside the track; keep its longer
   accessible description without a duplicate line below the selected port. */
.ev-start-swipe .ev-start-swipe-help {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes ev-start-swipe-guide-cue {
  0%, 8% { width: calc(100% - 12px); opacity: 0; background-position: -130px 50%, 0 0; }
  18% { opacity: .8; }
  70% { opacity: .75; }
  86%, 100% { width: calc(100% - 12px); opacity: 0; background-position: calc(100% + 130px) 50%, 0 0; }
}
@keyframes ev-start-swipe-dot-cue { 0%, 100% { opacity: .25; } 45% { opacity: .9; } }
@media (max-width: 350px) {
  .ev-start-swipe .ev-start-swipe-title { font-size: 14px; }
  .ev-start-swipe .ev-start-swipe-direction { font-size: 10.5px; }
  .ev-start-swipe .ev-start-swipe-selected { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-start-swipe :is(.ev-start-swipe-plug, .charge-swipe-guide, .charge-swipe-fill, .ev-start-swipe-motion i) {
    animation: none !important;
    transition: none !important;
  }
  .ev-start-swipe .charge-swipe-guide, .ev-start-swipe .ev-start-swipe-motion { display: none; }
}

/* R6 active balance: the existing whole button remains the balance link;
   only the amount has the approved compact green-pill treatment. */
.charging-screen .ev-charge .ev-charge-balance {
  grid-template-columns: 21px minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f8ee;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
.charging-screen .ev-charge .ev-charge-balance > svg { width: 21px; height: 21px; color: #d2dfca; }
.charging-screen .ev-charge .ev-charge-balance > span { color: #d5e1ce; font-weight: 500; }
.charging-screen .ev-charge .ev-charge-balance > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 130px;
  height: 38px;
  padding: 6px 12px;
  border-radius: 18px;
  background: linear-gradient(115deg, #bcff77, #a8f359);
  box-shadow: 0 3px 12px #00140c30;
  color: #071b0f;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}
.charging-screen .ev-charge .ev-charge-balance > strong small { font-size: .85em; }

/* R6 completion reuses the full-colour approved scene as an illustration.
   It never represents a measured 100% charge level and has no balance block. */
.flow-screen:has(.ev-completed-page) #screen { max-width: 480px; padding: 0 0 var(--nav, 74px); }
.ev-completed-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: calc(100dvh - var(--nav, 74px));
  padding: 14px 15px 18px;
  color: #f4f8ee;
  background: radial-gradient(ellipse at 48% 28%, #103d2380, transparent 64%), #03180f;
  font-family: Manrope, system-ui, -apple-system, sans-serif;
}
.ev-completed-page *, .ev-completed-page *::before, .ev-completed-page *::after { box-sizing: border-box; }
.ev-completed-page .ev-completed-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  justify-items: center;
  gap: 9px;
}
.ev-completed-page .ev-completed-header .evcar-logo { width: 130px; margin: 0; }
.ev-completed-page .ev-completed-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #718976;
  border-radius: 14px;
  background: #102b1b;
  color: #f4f8ee;
}
.ev-completed-page .ev-completed-back .icon { width: 23px; height: 23px; }
.ev-completed-page .ev-completed-hero { padding-top: 3px; text-align: center; }
.ev-completed-page .ev-completed-hero h1 {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.6px;
}
.ev-completed-page .ev-completed-hero p { margin: 6px 0 0; color: #c6d2c6; font-size: 12px; line-height: 1.4; }
.ev-completed-page .ev-completed-hero .ev-completed-state { margin: 0; color: #d5e5c2; font-size: 11px; font-weight: 650; }
.ev-completed-page[data-result="failed"] .ev-completed-hero h1 { color: #ffd7c5; }
.ev-completed-page .ev-completed-scene { width: calc(100% + 30px); margin-inline: -15px; aspect-ratio: 934 / 326; }
.ev-completed-page .ev-completed-scene .ev-charge-art { width: 100%; margin: 0; aspect-ratio: 934 / 326; }
.ev-completed-page .ev-completed-scene :is(.ev-charge-meter, .ev-charge-cable) { display: none; }
.ev-completed-page .ev-completed-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.ev-completed-page .ev-completed-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 70px;
  padding: 9px 8px;
  border: 1px solid #426c50;
  border-radius: 13px;
  background: linear-gradient(145deg, #16482f6b, #092e2370);
  box-shadow: inset 0 1px 0 #c7e7b90b;
  text-align: center;
}
.ev-completed-page .ev-completed-metric dt { margin: 0 0 5px; color: #bdcfba; font-size: 11px; line-height: 1.3; }
.ev-completed-page .ev-completed-metric dd { margin: 0; color: #f4f8ee; font-size: 19px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.ev-completed-page .ev-completed-text dd { font-size: 12px; line-height: 1.35; font-weight: 650; }
.ev-completed-page :is(.ev-completed-settlement, .ev-completed-covered) { margin: 0; color: #c6d2c6; font-size: 11px; line-height: 1.4; }
.ev-completed-page .ev-completed-settlement { text-align: center; }
.ev-completed-page .ev-completed-covered { color: #d8ebbd; }
.ev-completed-page .ev-completed-result { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin: 0; color: #cde2bf; font-size: 11px; line-height: 1.4; text-align: center; }
.ev-completed-page .ev-completed-result .icon { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; }
.ev-completed-page[data-result="failed"] .ev-completed-result { color: #f2d4bc; }
.ev-completed-page .ev-completed-actions { display: grid; gap: 10px; margin-top: auto; }
.ev-completed-page .ev-completed-map { min-height: 46px; border-radius: 16px; font-size: 14px; }
.ev-completed-page :is(button, a):focus-visible { outline: 3px solid #e4ff94; outline-offset: 3px; }
.ev-completed-page + .updated { display: none; }
@media (max-width: 350px) {
  .charging-screen .ev-charge .ev-charge-balance { gap: 6px; font-size: 11px; }
  .charging-screen .ev-charge .ev-charge-balance > strong { min-width: 126px; padding-inline: 11px; font-size: 17px; }
  .ev-completed-page { gap: 8px; padding-inline: 12px; }
  .ev-completed-page .ev-completed-header .evcar-logo { width: 120px; }
  .ev-completed-page .ev-completed-hero h1 { font-size: 23px; }
  .ev-completed-page .ev-completed-scene { width: calc(100% + 24px); margin-inline: -12px; }
  .ev-completed-page .ev-completed-summary { gap: 7px; }
  .ev-completed-page .ev-completed-metric { min-height: 64px; padding: 8px 7px; }
  .ev-completed-page .ev-completed-metric dd { font-size: 17px; }
  .ev-completed-page .ev-completed-text dd { font-size: 12px; }
}
@media (max-width: 350px) and (max-height: 760px) {
  .ev-completed-page { gap: 5px; padding-block: 10px; }
  .ev-completed-page .ev-completed-hero { padding-top: 0; }
  .ev-completed-page .ev-completed-hero h1 { margin-top: 4px; font-size: 22px; line-height: 1.15; }
  .ev-completed-page .ev-completed-hero p { margin-top: 4px; font-size: 11px; line-height: 1.3; }
  .ev-completed-page .ev-completed-hero .ev-completed-state { font-size: 10px; line-height: 1.2; }
  .ev-completed-page .ev-completed-summary { gap: 6px; }
  .ev-completed-page .ev-completed-metric { min-height: 58px; padding: 7px; border-radius: 11px; }
  .ev-completed-page .ev-completed-metric dt { margin-bottom: 3px; font-size: 10px; line-height: 1.2; }
  .ev-completed-page .ev-completed-text dd { font-size: 12px; line-height: 1.25; }
  .ev-completed-page .ev-completed-map { min-height: 44px; padding-block: 10px; }
}
