:root {
  color-scheme: light;
  --shell-bg: #f4f0ea;
  --ink: #17181c;
  --muted: #666d78;
  --muted-strong: #38404c;
  --card: rgba(252, 249, 244, 0.92);
  --card-strong: #ffffff;
  --card-deep: #0f6a61;
  --line: rgba(23, 24, 28, 0.08);
  --line-strong: rgba(23, 24, 28, 0.14);
  --accent: #ff7e64;
  --accent-soft: #ffe3db;
  --lime: #d8ff72;
  --shadow-lg: 0 28px 60px rgba(34, 31, 44, 0.14);
  --shadow-md: 0 20px 44px rgba(34, 31, 44, 0.1);
  --shadow-sm: 0 10px 22px rgba(34, 31, 44, 0.08);
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

.inline-flex {
  display: inline-flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.app-body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 126, 100, 0.18), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(15, 106, 97, 0.15), transparent 22%),
    linear-gradient(180deg, #f6f3ee 0%, var(--shell-bg) 100%);
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

a {
  color: inherit;
}

.app-background {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.background-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
}

.background-glow-a {
  top: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: rgba(255, 126, 100, 0.18);
}

.background-glow-b {
  right: -120px;
  top: 10%;
  width: 320px;
  height: 320px;
  background: rgba(15, 106, 97, 0.14);
}

.floating-phone {
  position: absolute;
  width: 200px;
  height: 420px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    linear-gradient(135deg, rgba(255, 126, 100, 0.14), rgba(15, 106, 97, 0.08));
  box-shadow: var(--shadow-lg);
  opacity: 0.42;
}

.floating-phone::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(23, 24, 28, 0.06);
}

.floating-phone-a {
  top: 80px;
  left: -52px;
  transform: rotate(-14deg);
}

.floating-phone-b {
  top: 160px;
  right: 2%;
  transform: rotate(16deg);
}

.floating-phone-c {
  bottom: -84px;
  left: 8%;
  transform: rotate(12deg);
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 24, 28, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 24, 28, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 82%);
}

.app-shell {
  position: relative;
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  object-fit: cover;
}

.brand-name {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.brand-subline {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-kicker,
.panel-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0;
  max-width: 13ch;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted-strong);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.app-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted-strong);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
}

.hero-preview {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 18px;
  justify-items: end;
  align-self: start;
  margin-top: 30px;
}

.phone-showcase {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.phone-showcase-accent {
  background:
    radial-gradient(circle at top right, rgba(216, 255, 114, 0.18), transparent 28%),
    linear-gradient(180deg, #0f6a61 0%, #114e47 100%);
  color: #f8fbfa;
  transform: translateX(-34px) rotate(-8deg);
}

.phone-showcase-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.98));
  transform: rotate(8deg);
}

.phone-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-topline-soft {
  background: rgba(23, 24, 28, 0.05);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(216, 255, 114, 0.18);
}

.status-pill {
  color: var(--muted-strong);
}

.phone-label {
  margin: 20px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: inherit;
  opacity: 0.78;
}

.phone-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.phone-price .unit {
  font-size: 15px;
  font-family: "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  letter-spacing: 0;
  opacity: 0.8;
}

.phone-meta {
  margin: 10px 0 0;
  font-size: 13px;
  color: inherit;
  opacity: 0.84;
}

.hero-stat-row,
.hero-snapshot-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.hero-stat-row {
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
}

.hero-stat,
.snapshot-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.phone-showcase-light .snapshot-item {
  background: rgba(23, 24, 28, 0.04);
}

.hero-stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero-stat strong,
.snapshot-item strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-snapshot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-wave {
  position: relative;
  height: 88px;
  margin-top: 18px;
}

.hero-wave span {
  position: absolute;
  inset: auto 0 0;
  border-radius: 999px;
  border: 2px solid rgba(216, 255, 114, 0.44);
}

.hero-wave span:nth-child(1) {
  height: 34px;
  width: 96%;
  left: 2%;
  bottom: 6px;
  border-color: rgba(216, 255, 114, 0.24);
}

.hero-wave span:nth-child(2) {
  height: 56px;
  width: 82%;
  left: 9%;
}

.hero-wave span:nth-child(3) {
  height: 78px;
  width: 60%;
  left: 20%;
  border-color: rgba(255, 255, 255, 0.2);
}

.sponsor-strip {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 680px);
  margin: 0;
  position: relative;
  justify-self: start;
  z-index: 1;
}

.sponsor-link {
  position: relative;
  display: block;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.94));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 22%);
  z-index: 1;
}

.sponsor-link:not(.sponsor-link-disabled):hover {
  transform: translateY(-2px);
}

.sponsor-link-disabled {
  cursor: default;
}

.sponsor-stage {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 680 / 360;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sponsor-stage img,
.sponsor-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #efe9df;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.phone-card {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.94));
  box-shadow: var(--shadow-md);
  padding: 24px;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 22%);
}

.phone-card-live {
  grid-column: span 7;
}

.phone-card-form {
  grid-column: span 5;
}

.phone-card-chart {
  grid-column: span 6;
}

.phone-card-results {
  grid-column: span 12;
}

.phone-card-chart .panel-head {
  flex-wrap: wrap;
}

.phone-card-chart .panel-head > div {
  flex: 1 1 26rem;
  min-width: 0;
}

.phone-card-chart .panel-head .chart-meta {
  flex: 0 1 18rem;
  min-width: 0;
  margin-left: auto;
  white-space: normal;
  text-align: right;
}

.phone-card-chart .panel-copy {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  max-width: none;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-head h2 {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.panel-copy {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.phone-card-form .panel-head {
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.phone-card-form .panel-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.panel-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
}

.panel-copy-row .panel-copy {
  margin: 0;
  max-width: 28ch;
}

.panel-head-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  align-self: center;
}

.phone-card-results .panel-head > div:first-child {
  flex: 0 0 calc(50% - 9px);
  min-width: 0;
  max-width: calc(50% - 9px);
}

.annual-summary-card {
  box-sizing: border-box;
  flex: 0 0 calc(50% - 9px);
  width: calc(50% - 9px);
  min-width: 0;
  max-width: calc(50% - 9px);
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 106, 97, 0.18);
  background: rgba(15, 106, 97, 0.08);
}

.annual-summary-kicker {
  margin: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.annual-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.annual-summary-item {
  position: relative;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(23, 24, 28, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.annual-summary-item-km {
  border-color: rgba(23, 24, 28, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.annual-summary-item-ev {
  border-color: rgba(15, 106, 97, 0.16);
  background: rgba(15, 106, 97, 0.1);
}

.annual-summary-item-gas {
  border-color: rgba(255, 126, 100, 0.18);
  background: rgba(255, 240, 235, 0.88);
}

.annual-summary-item-diesel {
  border-color: rgba(23, 24, 28, 0.12);
  background: rgba(23, 24, 28, 0.06);
}

.annual-summary-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(14, 85, 78, 0.72);
}

.annual-summary-item-km .annual-summary-label {
  color: rgba(86, 95, 108, 0.8);
}

.annual-summary-item-ev .annual-summary-label {
  color: rgba(14, 85, 78, 0.76);
}

.annual-summary-item-gas .annual-summary-label {
  color: rgba(171, 99, 78, 0.82);
}

.annual-summary-item-diesel .annual-summary-label {
  color: rgba(73, 81, 94, 0.78);
}

.annual-summary-value {
  display: block;
  margin-top: 6px;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0e554e;
}

.annual-summary-item-km .annual-summary-value {
  color: #4a5565;
}

.annual-summary-item-ev .annual-summary-value,
.annual-summary-item-ev.is-live .annual-summary-value {
  color: #0e554e;
}

.annual-summary-item-gas .annual-summary-value {
  color: #8b3e28;
}

.annual-summary-item-diesel .annual-summary-value {
  color: #2f3740;
}

.annual-summary-item.is-idle .annual-summary-value {
  color: var(--muted-strong);
}

.annual-summary-detail {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}

.annual-summary-item-ev.is-live {
  border-color: rgba(15, 106, 97, 0.2);
}

.annual-summary-item-gas.is-positive {
  border-color: rgba(255, 126, 100, 0.24);
  background: rgba(255, 237, 231, 0.92);
}

.annual-summary-item-gas.is-positive .annual-summary-value {
  color: #8b3e28;
}

.annual-summary-item-gas.is-negative {
  border-color: rgba(199, 88, 58, 0.26);
  background: rgba(255, 229, 220, 0.94);
}

.annual-summary-item-gas.is-negative .annual-summary-label {
  color: rgba(171, 77, 57, 0.84);
}

.annual-summary-item-gas.is-negative .annual-summary-value {
  color: #a54833;
}

.annual-summary-item-diesel.is-positive {
  border-color: rgba(23, 24, 28, 0.16);
  background: rgba(23, 24, 28, 0.08);
}

.annual-summary-item-diesel.is-positive .annual-summary-value {
  color: #2f3740;
}

.annual-summary-item-diesel.is-negative {
  border-color: rgba(89, 61, 57, 0.18);
  background: rgba(52, 40, 38, 0.07);
}

.annual-summary-item-diesel.is-negative .annual-summary-label {
  color: rgba(91, 63, 58, 0.78);
}

.annual-summary-item-diesel.is-negative .annual-summary-value {
  color: #4a3c39;
}

.annual-summary-meta {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(14, 85, 78, 0.82);
}

.panel-head-compact {
  margin-bottom: 18px;
}

.app-ghost-btn,
.app-primary-btn {
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}

.app-ghost-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.app-primary-btn:hover,
.app-ghost-btn:hover {
  transform: translateY(-1px);
}

.app-primary-btn {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #ff9874);
  box-shadow: 0 16px 28px rgba(255, 126, 100, 0.28);
  color: #fff8f6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.app-primary-btn:active {
  transform: translateY(0);
}

.app-primary-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-board-note {
  margin: 14px 2px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.price-block {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 106, 97, 0.98), rgba(17, 78, 71, 0.96));
  color: #f7faf8;
  box-shadow: var(--shadow-sm);
}

.price-block-soft {
  background: linear-gradient(180deg, rgba(255, 235, 229, 0.96), rgba(255, 255, 255, 0.96));
  color: var(--ink);
}

.price-card-head {
  margin-bottom: 18px;
}

.price-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-subtitle {
  margin: 6px 0 0;
  font-size: 12px;
  color: inherit;
  opacity: 0.78;
}

.price-hint {
  font-weight: 700;
}

.price-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.price-block-soft .price-entry {
  border-top-color: rgba(23, 24, 28, 0.08);
}

.price-entry:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.price-entry:last-of-type {
  padding-bottom: 0;
}

.price-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.price-caption {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.72;
}

.price-value-stack {
  text-align: right;
}

.price-spot {
  display: block;
  font-size: 12px;
  opacity: 0.72;
}

.price-total {
  display: block;
  margin-top: 4px;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.control-strip,
.app-form {
  display: grid;
  gap: 14px;
}

.app-form-grid {
  display: grid;
  gap: 14px;
}

.app-form-grid-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.control-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.app-field-wrap {
  display: block;
}

.app-field-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.app-field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.field-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 10px;
}

.field-inline-capacity,
.field-inline-consumption {
  grid-template-columns: minmax(0, 1fr) 128px;
}

.app-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.app-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.app-input:focus {
  border-color: rgba(255, 126, 100, 0.48);
  box-shadow:
    0 0 0 5px rgba(255, 126, 100, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.app-input-static {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: rgba(244, 240, 234, 0.92);
}

.app-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2317181c' d='M5.8 7.8 10 12l4.2-4.2 1.4 1.4L10 14.8 4.4 9.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.unit-select {
  min-width: 0;
}

.mode-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-inline-toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.mode-inline-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.mode-toggle-visual {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 32px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  transition: background 0.2s ease;
}

.mode-inline-info {
  position: relative;
  display: inline-flex;
  flex: 0 0 28px;
  width: 28px;
  align-items: center;
  justify-content: center;
}

.mode-inline-info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mode-inline-info-button:hover {
  transform: translateY(-1px);
}

.mode-inline-info-button:focus-visible {
  outline: none;
  border-color: rgba(255, 126, 100, 0.48);
  box-shadow:
    0 0 0 5px rgba(255, 126, 100, 0.12),
    var(--shadow-sm);
}

.mode-inline-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(360px, calc(100vw - 32px));
  max-height: min(60vh, 360px);
  overflow: auto;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(30, 34, 41, 0.98), rgba(23, 24, 28, 0.98));
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mode-inline-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(29, 33, 39, 0.98);
  transform: rotate(45deg);
}

.mode-inline-info:hover .mode-inline-tooltip,
.mode-inline-info:focus-within .mode-inline-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mode-inline-tooltip-title {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd3c7;
}

.mode-inline-tooltip-copy {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.mode-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease;
}

.mode-toggle-input:focus-visible + .mode-toggle-visual {
  box-shadow:
    0 0 0 5px rgba(255, 126, 100, 0.12),
    var(--shadow-sm);
}

.mode-toggle-input:checked + .mode-toggle-visual {
  background: linear-gradient(135deg, #0f6a61, #0d9488);
}

.mode-toggle-input:checked + .mode-toggle-visual .mode-toggle-thumb {
  transform: translateX(24px);
}

.charge-slider-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.charge-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.charge-slider-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.charge-slider-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: var(--muted);
}

.charge-slider-value {
  flex: 0 0 auto;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f6a61;
}

.charge-slider-input {
  --charge-slider-progress: 80%;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.charge-slider-input:focus {
  outline: none;
}

.charge-slider-input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #0f6a61 0%,
      #0d9488 var(--charge-slider-progress),
      rgba(148, 163, 184, 0.26) var(--charge-slider-progress),
      rgba(148, 163, 184, 0.26) 100%
    );
}

.charge-slider-input::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: linear-gradient(135deg, #0f6a61, #14958c);
  box-shadow: 0 8px 18px rgba(15, 106, 97, 0.26);
}

.charge-slider-input::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.26);
}

.charge-slider-input::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f6a61, #0d9488);
}

.charge-slider-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: linear-gradient(135deg, #0f6a61, #14958c);
  box-shadow: 0 8px 18px rgba(15, 106, 97, 0.26);
}

.charge-slider-input:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 5px rgba(255, 126, 100, 0.12),
    0 8px 18px rgba(15, 106, 97, 0.26);
}

.charge-slider-input:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 5px rgba(255, 126, 100, 0.12),
    0 8px 18px rgba(15, 106, 97, 0.26);
}

.charge-slider-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.mobile-panel-toggle > .mobile-panel-summary {
  display: none;
}

.mobile-panel-toggle > .mobile-panel-body {
  display: block;
}

.chart-stage,
.projection-shell {
  margin-top: 20px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.chart-stage-head,
.projection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.chart-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.chart-caption,
.chart-meta,
.chart-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.chart-meta {
  margin: 0;
  white-space: nowrap;
}

.panel-head-history {
  align-items: flex-start;
}

.price-history-head-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  margin-left: auto;
}

.price-history-window-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.price-history-window-option {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.price-history-window-toggle[data-window-active="30"] [data-window-option="30"],
.price-history-window-toggle[data-window-active="365"] [data-window-option="365"] {
  color: var(--muted-strong);
}

.price-history-window-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.price-history-window-track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.price-history-window-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 126, 100, 0.94), #ff9c78);
  box-shadow: 0 8px 16px rgba(255, 126, 100, 0.24);
  transition: transform 0.22s ease;
}

.price-history-window-switch:focus-visible {
  outline: none;
}

.price-history-window-switch:focus-visible .price-history-window-track {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 126, 100, 0.14),
    var(--shadow-sm);
}

.price-history-window-toggle[data-window-active="365"] .price-history-window-track {
  border-color: rgba(255, 126, 100, 0.18);
  background: rgba(255, 240, 235, 0.92);
}

.price-history-window-toggle[data-window-active="365"] .price-history-window-thumb {
  transform: translateX(24px);
}

.price-history-window-toggle[data-window-active="365"] [data-window-option="365"] {
  color: #a14f36;
}

.price-history-window-toggle[data-window-active="30"] [data-window-option="30"] {
  color: #0e554e;
}

.price-history-window-toggle[data-window-active="365"] [data-window-option="30"],
.price-history-window-toggle[data-window-active="30"] [data-window-option="365"] {
  color: var(--muted);
}

.chartWrapper,
.projection-chart {
  position: relative;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 238, 0.88));
  border: 1px solid rgba(23, 24, 28, 0.05);
  padding: 10px;
}

.projection-chart {
  height: 250px;
}

.chart-empty-state {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(23, 24, 28, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(249, 245, 238, 0.88));
  padding: 20px;
  z-index: 1;
}

.chart-empty-kicker {
  margin: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.chart-empty-copy {
  margin: 10px 0 0;
  max-width: 38ch;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-strong);
}

.chart-stage-history {
  margin-top: 16px;
}

.chartWrapper-history {
  height: 300px;
}

.chartWrapper canvas,
.projection-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.form-footnote,
.result-note,
.co2-note {
  margin-top: 16px;
  padding: 15px 16px;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.65;
}

.form-footnote {
  border: 1px solid rgba(15, 106, 97, 0.14);
  background: rgba(15, 106, 97, 0.08);
  color: #0e554e;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-height: 118px;
  padding: 16px 18px 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 20px;
  border: 1px solid rgba(23, 24, 28, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.metric-card-primary {
  background: rgba(15, 106, 97, 0.1);
  border-color: rgba(15, 106, 97, 0.16);
  color: #0e554e;
}

.metric-card-evsoft {
  background: rgba(15, 106, 97, 0.08);
  border-color: rgba(15, 106, 97, 0.14);
  color: #0e554e;
}

.metric-card-accent {
  background: rgba(255, 240, 235, 0.86);
  border-color: rgba(255, 126, 100, 0.18);
  color: #8b3e28;
}

.metric-card-fossil {
  background: rgba(23, 24, 28, 0.06);
  border-color: rgba(23, 24, 28, 0.12);
  color: #2f3740;
}

.metric-label {
  margin: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.8;
}

.metric-value {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.14em;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.metric-number,
.metric-unit {
  white-space: nowrap;
}

.metric-unit {
  font-size: 0.68em;
  letter-spacing: -0.02em;
  opacity: 0.82;
}

.metric-value-compact .metric-unit {
  font-size: 0.5em;
  letter-spacing: 0;
}

.metric-meta {
  margin: 6px 0 0;
  font-size: 10.5px;
  line-height: 1.35;
  color: inherit;
  opacity: 0.68;
}

.metric-meta-line {
  display: block;
}

.result-note {
  border: 1px solid rgba(255, 126, 100, 0.18);
  background: rgba(255, 240, 235, 0.86);
  color: #8b3e28;
}

.co2-note {
  border: 1px solid rgba(15, 106, 97, 0.14);
  background: rgba(15, 106, 97, 0.08);
  color: #0e554e;
}

.price-model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.price-model-note {
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 106, 97, 0.12);
  background: rgba(15, 106, 97, 0.08);
  color: #0e554e;
  font-size: 12px;
  line-height: 1.65;
}

.price-model-note-strong {
  border-color: rgba(255, 126, 100, 0.18);
  background: rgba(255, 240, 235, 0.86);
  color: #8b3e28;
}

.phone-card-company-prices {
  grid-column: span 12;
}

.company-price-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.company-price-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.company-price-panel-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0f6a61;
}

.company-price-panel-title {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--muted-strong);
}

.company-price-panel-copy {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.company-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.company-price-panel-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.company-price-panel-foot .chart-hint {
  flex: 1 1 34rem;
  margin: 0;
}

.company-price-toggle {
  margin-left: auto;
}

.company-price-card,
.company-price-empty {
  min-height: 176px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--brand-line, rgba(23, 24, 28, 0.08));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), var(--brand-shell, rgba(247, 243, 238, 0.9)));
}

.company-price-card {
  position: relative;
  overflow: hidden;
}

.company-price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.company-price-card[data-brand="ok"] {
  --brand-accent: #db001b;
  --brand-surface: rgba(219, 0, 27, 0.09);
  --brand-shell: rgba(255, 241, 243, 0.94);
  --brand-line: rgba(219, 0, 27, 0.14);
}

.company-price-card[data-brand="circle-k"] {
  --brand-accent: #d34141;
  --brand-surface: rgba(241, 120, 73, 0.12);
  --brand-shell: rgba(255, 245, 238, 0.95);
  --brand-line: rgba(211, 65, 65, 0.16);
}

.company-price-card[data-brand="q8"] {
  --brand-accent: #003da5;
  --brand-surface: rgba(0, 61, 165, 0.1);
  --brand-shell: rgba(243, 247, 255, 0.95);
  --brand-line: rgba(0, 61, 165, 0.14);
}

.company-price-card[data-brand="f24"] {
  --brand-accent: #003764;
  --brand-surface: rgba(114, 181, 43, 0.14);
  --brand-shell: rgba(240, 246, 251, 0.96);
  --brand-line: rgba(0, 55, 100, 0.16);
}

.company-price-card[data-brand="ingo"] {
  --brand-accent: #ff7000;
  --brand-surface: rgba(255, 112, 0, 0.12);
  --brand-shell: rgba(255, 244, 237, 0.97);
  --brand-line: rgba(255, 112, 0, 0.18);
}

.company-price-card[data-brand="shell"] {
  --brand-accent: #e31b23;
  --brand-surface: rgba(255, 210, 46, 0.22);
  --brand-shell: rgba(255, 247, 210, 0.97);
  --brand-line: rgba(227, 27, 35, 0.2);
}

.company-price-card[data-brand="uno-x"] {
  --brand-accent: #c28d00;
  --brand-surface: rgba(255, 205, 38, 0.18);
  --brand-shell: rgba(255, 250, 226, 0.96);
  --brand-line: rgba(194, 141, 0, 0.2);
}

.company-price-card[data-brand="goon"] {
  --brand-accent: #009d3c;
  --brand-surface: rgba(0, 157, 60, 0.12);
  --brand-shell: rgba(238, 250, 242, 0.97);
  --brand-line: rgba(0, 157, 60, 0.18);
}

.company-price-card[data-brand="clever"] {
  --brand-accent: #003732;
  --brand-surface: rgba(0, 55, 50, 0.11);
  --brand-shell: rgba(238, 247, 244, 0.97);
  --brand-line: rgba(0, 55, 50, 0.15);
}

.company-price-card[data-brand="ionity"] {
  --brand-accent: #6b3cf0;
  --brand-surface: rgba(107, 60, 240, 0.14);
  --brand-shell: rgba(246, 242, 255, 0.97);
  --brand-line: rgba(107, 60, 240, 0.16);
}

.company-price-card[data-brand="norlys"] {
  --brand-accent: #f7242e;
  --brand-surface: rgba(247, 36, 46, 0.1);
  --brand-shell: rgba(255, 244, 244, 0.97);
  --brand-line: rgba(247, 36, 46, 0.16);
}

.company-price-card[data-brand="tesla"] {
  --brand-accent: #e82127;
  --brand-surface: rgba(232, 33, 39, 0.08);
  --brand-shell: rgba(255, 245, 246, 0.97);
  --brand-line: rgba(232, 33, 39, 0.15);
}

.company-price-card[data-brand="ewii"] {
  --brand-accent: #232323;
  --brand-surface: rgba(10, 160, 170, 0.14);
  --brand-shell: rgba(244, 249, 248, 0.97);
  --brand-line: rgba(10, 160, 170, 0.18);
}

.company-price-card[data-brand="powergo"] {
  --brand-accent: #231c31;
  --brand-surface: rgba(91, 89, 131, 0.12);
  --brand-shell: rgba(247, 244, 250, 0.97);
  --brand-line: rgba(91, 89, 131, 0.18);
}

.company-price-card[data-brand="allego"] {
  --brand-accent: #12171d;
  --brand-surface: rgba(167, 201, 0, 0.18);
  --brand-shell: rgba(247, 250, 235, 0.97);
  --brand-line: rgba(18, 23, 29, 0.18);
}

.company-price-card[data-brand="eon-drive"] {
  --brand-accent: #ea1b0a;
  --brand-surface: rgba(234, 27, 10, 0.1);
  --brand-shell: rgba(255, 244, 243, 0.97);
  --brand-line: rgba(234, 27, 10, 0.16);
}

.company-price-card[data-brand="fastned"] {
  --brand-accent: #421700;
  --brand-surface: rgba(255, 217, 19, 0.22);
  --brand-shell: rgba(255, 250, 224, 0.97);
  --brand-line: rgba(66, 23, 0, 0.18);
}

.company-price-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.company-price-card-brand {
  min-width: 0;
}

.company-price-card-name {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 1.05rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--muted-strong);
}

.company-price-card-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent, var(--accent));
}

.company-price-logo-wrap {
  flex-shrink: 0;
  min-width: 84px;
  max-width: 116px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.company-price-logo {
  display: block;
  max-width: 100%;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.company-price-logo-link {
  display: contents;
}

.company-price-logo-link .company-price-logo {
  transition: opacity 120ms ease;
}

.company-price-logo-link:hover .company-price-logo,
.company-price-logo-link:focus-visible .company-price-logo {
  opacity: 0.7;
}

.company-price-logo-link:focus-visible .company-price-logo {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
}

.company-price-card[data-brand="powergo"] .company-price-logo-wrap,
.company-price-card[data-brand="allego"] .company-price-logo-wrap,
.company-price-card[data-brand="eon-drive"] .company-price-logo-wrap,
.company-price-card[data-brand="fastned"] .company-price-logo-wrap {
  justify-content: center;
  padding: 6px 10px;
  border-radius: 14px;
}

.company-price-card[data-brand="powergo"] .company-price-logo-wrap {
  background: transparent;
  padding-inline: 0;
}

.company-price-card[data-brand="allego"] .company-price-logo-wrap {
  background: transparent;
  padding-inline: 0;
}

.company-price-card[data-brand="allego"] .company-price-logo {
  max-height: 30px;
}

.company-price-card[data-brand="eon-drive"] .company-price-logo-wrap,
.company-price-card[data-brand="fastned"] .company-price-logo-wrap {
  background: transparent;
  padding-inline: 0;
}

.company-price-card[data-brand="eon-drive"] .company-price-logo {
  max-height: 34px;
}

.company-price-card[data-brand="fastned"] .company-price-logo {
  max-height: 26px;
}

.company-price-stats {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  gap: 8px;
}

.company-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 15px;
  background: var(--brand-surface, rgba(23, 24, 28, 0.05));
}

.company-price-row dt,
.company-price-row dd {
  margin: 0;
}

.company-price-row dt {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-price-row dd {
  text-align: right;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--muted-strong);
}

.company-price-row dd small {
  display: block;
  margin-top: 3px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

.company-price-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.error-message {
  border-color: rgba(220, 38, 38, 0.18) !important;
  background: rgba(254, 242, 242, 0.94) !important;
  color: #991b1b !important;
}

.share-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.98));
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.share-button:hover {
  transform: translateY(-2px);
  color: #0f6a61;
}

.share-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 5px rgba(15, 106, 97, 0.12),
    var(--shadow-sm);
}

.share-button-icon {
  width: 24px;
  height: 24px;
}

.share-button-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button-icon circle {
  fill: currentColor;
}

.share-feedback {
  margin: 0;
  min-height: 1.4em;
  font-size: 12px;
  color: var(--muted);
}

.share-feedback.is-success {
  color: #0e554e;
}

.share-feedback.is-error {
  color: #991b1b;
}

.app-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  color: var(--muted);
}

.app-footer a {
  font-weight: 700;
  color: var(--muted-strong);
  text-decoration: none;
}

.animate-fade-up {
  animation: fade-up 0.65s ease-out both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero-stage {
    grid-template-columns: 1fr;
  }

  .sponsor-strip,
  .hero-preview {
    grid-column: auto;
    grid-row: auto;
  }

  .sponsor-strip {
    width: 100%;
    justify-self: stretch;
  }

  .hero-preview {
    justify-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .phone-showcase {
    max-width: none;
    transform: none;
  }

  .phone-card-live,
  .phone-card-form,
  .phone-card-company-prices,
  .phone-card-results {
    grid-column: span 12;
  }

  .phone-card-chart {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-board {
    grid-template-columns: 1fr;
  }

  .price-model-grid {
    grid-template-columns: 1fr;
  }

  .company-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-card-chart {
    grid-column: span 12;
  }

  .company-price-panel-head,
  .company-price-panel-foot,
  .chart-stage-head,
  .projection-head,
  .panel-head,
  .app-footer {
    flex-direction: column;
  }

  .company-price-toggle {
    margin-left: 0;
  }

  .company-price-panel-foot .chart-hint {
    flex: 0 1 auto;
  }

  .price-history-head-side {
    justify-content: flex-start;
    margin-left: 0;
  }

  .phone-card-chart .panel-head .chart-meta {
    margin-left: 0;
    text-align: left;
  }

  .phone-card-chart .panel-head {
    justify-content: flex-start;
    gap: 10px;
  }

  .phone-card-chart .panel-head > div,
  .phone-card-chart .panel-head .chart-meta {
    flex: 0 0 auto;
  }

  .phone-card-results .panel-head > div:first-child,
  .annual-summary-card {
    flex: 0 0 auto;
  }

  .phone-card-results .panel-head > div:first-child {
    width: 100%;
    max-width: none;
  }

  .annual-summary-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .phone-card-form .panel-head {
    margin-bottom: 16px;
  }

  .phone-card-form .panel-head > div:first-child {
    flex: 0 0 auto;
  }

  .panel-copy-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .panel-copy-row .panel-copy {
    max-width: none;
  }

  .panel-head-action {
    justify-self: start;
    position: relative;
    width: 100%;
  }

  .phone-card-form {
    overflow: visible;
  }

  .mode-inline-info {
    position: static;
  }

  .mode-inline-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    z-index: 2000;
    width: min(300px, calc(100vw - 32px));
    max-height: min(60vh, 360px);
    transform: translate(-50%, -4px);
  }

  .mode-inline-tooltip::before {
    display: block;
    top: -6px;
    left: calc(50% - 6px);
    right: auto;
  }

  .mode-inline-info:hover .mode-inline-tooltip,
  .mode-inline-info:focus-within .mode-inline-tooltip {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 640px) {
  .hero-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
  }

  .app-shell {
    width: min(100% - 16px, 1180px);
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2rem, 12vw, 2.9rem);
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-tags,
  .phone-showcase-secondary {
    display: none;
  }

  .hero-preview,
  .control-strip,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    display: block;
    width: 100%;
    align-self: auto;
    justify-items: stretch;
  }

  .app-form-grid-dual {
    grid-template-columns: 1fr;
  }

  .annual-summary-grid {
    grid-template-columns: 1fr;
  }

  .company-price-grid {
    grid-template-columns: 1fr;
    margin-top: 14px;
    gap: 10px;
  }

  .metric-card {
    min-height: 106px;
    padding: 14px 16px;
  }

  .metric-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .metric-value {
    margin-top: 10px;
    font-size: 1.85rem;
  }

  .metric-meta {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.4;
  }

  .company-price-card {
    padding: 16px;
  }

  .company-price-card,
  .company-price-empty {
    min-height: 0;
  }

  .company-price-panel {
    margin-top: 0;
    padding-top: 0;
  }

  .company-price-panel-foot {
    gap: 10px;
    margin-top: 12px;
  }

  .company-price-card-head {
    align-items: flex-start;
  }

  .company-price-logo-wrap {
    min-width: 88px;
    max-width: 112px;
  }

  .dashboard-grid {
    gap: 18px;
  }

  .sponsor-link,
  .sponsor-stage {
    border-radius: 24px;
  }

  .phone-card-form {
    order: 1;
  }

  .phone-card-results {
    order: 2;
  }

  .phone-card-live {
    order: 3;
  }

  .phone-card-company-prices {
    order: 4;
  }

  .phone-card-chart {
    order: 5;
  }

  .phone-card,
  .phone-showcase {
    border-radius: 28px;
    padding: 20px;
  }

  .phone-card-form .panel-head {
    margin-bottom: 12px;
  }

  .phone-card-form .panel-head > div:first-child {
    flex: 0 0 auto;
  }

  .field-inline-capacity,
  .field-inline-consumption {
    grid-template-columns: minmax(0, 1fr) 120px;
  }

  .panel-copy-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .panel-copy-row .panel-copy {
    max-width: none;
  }

  .panel-head-action {
    justify-self: start;
    width: 100%;
  }

  .mode-inline-tooltip {
    width: min(300px, calc(100vw - 32px));
  }

  .charge-slider-card {
    padding: 15px 16px;
  }

  .charge-slider-head {
    gap: 12px;
  }

  .charge-slider-value {
    font-size: 1.05rem;
  }

  .mobile-panel-toggle {
    margin-top: 16px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.84);
    overflow: hidden;
  }

  .mobile-panel-toggle > .mobile-panel-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding: 16px 52px 16px 16px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--muted-strong);
  }

  .mobile-panel-toggle > .mobile-panel-summary::-webkit-details-marker {
    display: none;
  }

  .mobile-panel-toggle > .mobile-panel-summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: block;
    background:
      linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
      linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat,
      rgba(255, 126, 100, 0.12);
  }

  .mobile-panel-toggle[open] > .mobile-panel-summary {
    border-bottom: 1px solid var(--line);
  }

  .mobile-panel-toggle[open] > .mobile-panel-summary::after {
    background:
      linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat,
      rgba(255, 126, 100, 0.12);
  }

  .mobile-panel-summary-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--muted);
  }

  .mobile-panel-toggle:not([open]) > .mobile-panel-body {
    display: none;
  }

  .mobile-panel-toggle > .mobile-panel-body {
    padding: 14px 16px 16px;
  }

  .price-history-window-toggle {
    width: auto;
  }

  .mobile-settings-panel > .mobile-panel-body {
    padding-top: 16px;
  }

  .mobile-settings-panel .control-strip {
    margin-top: 0;
  }

  .mobile-chart-panel > .mobile-panel-body {
    padding-top: 12px;
  }

  .mobile-chart-panel .chartWrapper:first-child {
    margin-top: 0;
  }

  .chartWrapper {
    height: 236px;
  }

  .chartWrapper-history {
    height: 212px;
  }

  .projection-chart {
    height: 216px;
  }

  .floating-phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.share-page-body {
  display: block;
}

.share-page-shell {
  width: min(920px, calc(100% - 24px));
}

.share-page-card {
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.96));
  box-shadow: var(--shadow-lg);
}

.share-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.share-page-backlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.share-page-brand {
  margin-bottom: 0;
  flex: none;
}

.share-page-intro {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-bottom: 16px;
}

.share-page-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 106, 97, 0.14);
  background: rgba(15, 106, 97, 0.08);
  color: #0e554e;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.share-page-title {
  margin: 0;
  max-width: 13ch;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.share-page-lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-strong);
}

.share-page-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.share-page-metric {
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 106, 97, 0.12);
  background: rgba(15, 106, 97, 0.08);
  color: #0e554e;
}

.share-page-metric-accent {
  border-color: rgba(255, 126, 100, 0.18);
  background: rgba(255, 240, 235, 0.9);
  color: #8b3e28;
}

.share-page-empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at top right, rgba(255, 126, 100, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(15, 106, 97, 0.98), rgba(17, 78, 71, 0.96));
  color: #f8fbfa;
  box-shadow: var(--shadow-md);
}

.share-page-empty-copy h2 {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.share-page-empty-copy p:last-child {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

.share-page-feature-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 12px;
}

.share-page-feature-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
}

.share-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.share-page-panel {
  min-height: 220px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(23, 24, 28, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.share-page-panel h2 {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.share-page-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.share-page-list div {
  display: grid;
  gap: 6px;
}

.share-page-list dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.share-page-list dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted-strong);
}

.share-page-list-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.share-page-summary,
.share-page-co2 {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-strong);
}

.share-page-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.share-page-primary,
.share-page-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  min-height: 56px;
  padding: 0 22px;
  line-height: 1.1;
  text-decoration: none;
}

#sharePageFeedback {
  margin-top: 12px;
  padding-left: 2px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .share-page-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-page-grid {
    grid-template-columns: 1fr;
  }

  .share-page-empty-state {
    grid-template-columns: 1fr;
  }

  .share-page-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .share-page-feature-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .share-page-card {
    padding: 22px;
    border-radius: 28px;
  }

  .share-page-metrics {
    grid-template-columns: 1fr;
  }

  .share-page-badge {
    white-space: normal;
  }

  .share-page-feature-pills {
    grid-template-columns: 1fr;
  }

  .share-page-actions {
    flex-direction: column;
  }

  .share-page-primary,
  .share-page-secondary {
    width: 100%;
    min-width: 0;
  }
}
