:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f5f7f6;
  --surface: #ffffff;
  --surface-soft: #f0f6f2;
  --text: #17211b;
  --muted: #65716a;
  --line: #dde5df;
  --green: #058858;
  --green-dark: #046641;
  --blue: #1769aa;
  --red: #d43831;
  --orange: #d77916;
  --shadow: 0 14px 36px rgba(21, 35, 28, 0.12);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(232, 246, 239, 0.72) 0%, rgba(245, 247, 246, 0) 34%),
    linear-gradient(180deg, #fbfcfb 0%, var(--bg) 100%);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  border-radius: 8px;
  min-height: 38px;
  padding: 0 13px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), opacity 180ms var(--ease);
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(5, 136, 88, 0.18);
}

button.secondary {
  background: #eaf0ec;
  color: #26362e;
}

button.text-action {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
}

button.text-action.danger {
  color: #e15a78;
}

button.is-active,
.preset-row button.is-active {
  background: rgba(5, 136, 88, 0.12);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(5, 136, 88, 0.24);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.1;
}

h2 {
  font-size: 19px;
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 7.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  position: sticky;
  top: 0;
  z-index: 20;
  animation: topbarIn 420ms var(--ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 136, 88, 0.24);
  animation: brandPulse 2600ms ease-in-out infinite;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  background: transparent;
  color: #2e3a34;
  border-radius: 8px;
  font-weight: 800;
}

.nav-link.is-active {
  background: #e5f4ec;
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px rgba(5, 136, 88, 0.18);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.map-view.is-active {
  height: calc(100vh - 72px);
  display: block;
  position: relative;
  overflow: hidden;
}

.map-sidebar,
.ranking-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 252, 249, 0.74));
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  overflow: auto;
  z-index: 30;
  border: 1px solid rgba(221, 229, 223, 0.7);
  box-shadow: 0 20px 55px rgba(23, 33, 27, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.map-sidebar {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 18px;
  width: 365px;
  padding: 16px;
  border-radius: 14px;
  animation: panelInLeft 520ms var(--ease) both;
}

.ranking-panel {
  position: absolute;
  top: 16px;
  right: 18px;
  bottom: 16px;
  width: min(410px, calc(100vw - 420px));
  padding: 16px;
  border-radius: 14px;
  animation: panelInRight 560ms var(--ease) both;
}

.map-stage {
  position: absolute;
  inset: 0;
  min-width: 0;
  z-index: 0;
}

#map {
  position: absolute;
  inset: 0;
  background: #e4efe5;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  margin-bottom: 8px;
}

.data-attribution {
  margin: 0 2px 12px;
  color: #52615a;
  font-size: 12px;
  line-height: 1.35;
}

.data-attribution a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.data-attribution a:hover {
  text-decoration: underline;
}

input,
select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

input:focus,
select:focus {
  outline: none;
  border-color: rgba(5, 136, 88, 0.55);
  box-shadow: 0 0 0 4px rgba(5, 136, 88, 0.1);
  background: #fff;
  transform: translateY(-1px);
}

.input-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 40px;
  margin-top: 6px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}

.input-unit input {
  min-height: 38px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.input-unit b {
  padding: 0 10px 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: auto;
  accent-color: var(--green);
}

.side-card,
.content-card {
  border: 1px solid rgba(221, 229, 223, 0.86);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 253, 251, 0.72));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(21, 35, 28, 0.04), inset 0 1px 0 rgba(255,255,255,.75);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
  animation: cardLiftIn 520ms var(--ease) both;
}

.side-card:hover,
.content-card:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 136, 88, 0.22);
  box-shadow: 0 16px 34px rgba(21, 35, 28, 0.12);
}

.side-card {
  padding: 13px;
  margin-bottom: 12px;
}

.section-heading,
.switch-row,
.range-row,
.ranking-header,
.result-top,
.profile-row,
.tariff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-heading {
  margin-bottom: 10px;
  color: #56625c;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.meta,
.price-detail,
.rank-reason {
  color: var(--muted);
  font-size: 13px;
}

.compact-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.soc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

label {
  color: #344139;
  font-size: 13px;
  font-weight: 800;
}

label input,
label select {
  margin-top: 6px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.segmented label,
.cards-list label {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #cbd8d0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.segmented label:hover,
.cards-list label:hover {
  transform: translateY(-1px);
  border-color: rgba(5, 136, 88, 0.35);
}

.range-label {
  display: block;
  margin-top: 10px;
}

.range-row {
  color: var(--muted);
  font-size: 12px;
}

.range-row strong {
  color: var(--text);
}

.cards-list,
.results,
.garage-list,
.profile-cards-list {
  display: grid;
  gap: 8px;
}

.empty-diagnostics {
  display: grid;
  gap: 12px;
}

.diag-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 13px;
}

.diag-grid strong {
  color: var(--text);
}

.provider-dot,
.live-dot,
.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
}

.live-dot,
.online-dot {
  background: #12a45f;
  box-shadow: 0 0 0 4px rgba(18, 164, 95, 0.12);
  animation: livePulse 1800ms ease-out infinite;
}

.status-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f4ed;
  color: var(--green-dark);
  font-size: 12px;
}

.ranking-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ranking-header p {
  margin-top: 4px;
}

.result-card {
  border: 1px solid rgba(221, 229, 223, 0.86);
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 249, 0.84));
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
  animation: resultIn 420ms var(--ease) both;
}

.result-card:hover {
  transform: translateY(-3px) scale(1.005);
  box-shadow: 0 16px 34px rgba(21, 35, 28, 0.12);
}

.result-card.is-best {
  border-color: rgba(5, 136, 88, 0.45);
  background: linear-gradient(180deg, #f4fbf7, #eff9f4);
  box-shadow: 0 12px 30px rgba(5, 136, 88, 0.1);
}

.result-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.result-price {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 950;
  white-space: nowrap;
}

.score-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.score-row span {
  padding: 8px;
  border-radius: 8px;
  background: rgba(237, 242, 239, 0.88);
  color: #344139;
  font-size: 12px;
  font-weight: 800;
}

.rank-reason {
  margin-top: 8px;
}

.score-breakdown {
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.82);
}

.score-stack {
  height: 10px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7e2;
}

.score-segment {
  display: block;
  height: 100%;
}

.score-price {
  background: #067a4f;
}

.score-distance {
  background: #2f80ed;
}

.score-time {
  background: #f2994a;
}

.score-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  color: #526058;
  font-size: 11px;
  font-weight: 800;
}

.score-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.score-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.score-total {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.page-view {
  padding: 28px;
}

.page-head,
.page-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.page-head {
  margin-bottom: 18px;
}

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

.page-head p {
  margin-top: 6px;
  color: var(--muted);
}

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

.content-card {
  padding: 22px;
}

.profile-card {
  min-height: 210px;
}

.preference-card {
  position: relative;
  overflow: hidden;
}

.preference-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 12%, rgba(5, 136, 88, 0.12), transparent 34%);
  pointer-events: none;
}

.preference-card > * {
  position: relative;
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 16px;
}

.preset-row button {
  min-height: 42px;
  background: rgba(239, 245, 241, 0.9);
  color: #26362e;
  box-shadow: inset 0 0 0 1px rgba(221, 229, 223, 0.9);
}

.preset-row button:hover {
  background: rgba(226, 242, 233, 0.96);
}

.preference-slider {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(221, 229, 223, 0.86);
}

.preference-slider small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.preference-slider b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(5, 136, 88, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  white-space: nowrap;
}

.preference-slider input {
  grid-column: 1 / -1;
}

.preference-hint {
  margin-top: 2px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(240, 246, 242, 0.86);
  color: #45534b;
  font-size: 13px;
  line-height: 1.45;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #dcefe5;
  color: var(--green-dark);
  font-weight: 950;
}

.garage-item,
.profile-card-item,
.tariff-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.garage-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.garage-item.is-main {
  border-color: rgba(5, 136, 88, 0.42);
  background: #f4fbf7;
}

.garage-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.garage-title span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.car-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e6f3ec;
}

.empty-state {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
}

.empty-state span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #e4f4ec;
  color: var(--green);
  font-size: 36px;
}

.tariff-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recommendation-grid {
  max-width: 1180px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recommendation-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.recommendation-table {
  display: grid;
  gap: 8px;
}

.recommendation-table button {
  min-height: 46px;
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
  color: var(--text);
  text-align: left;
}

.recommendation-table button:hover {
  background: #eef8f3;
}

.recommendation-table button:disabled {
  opacity: 1;
  color: var(--muted);
}

.recommendation-table span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.recommendation-table strong {
  white-space: nowrap;
}

.recommendation-table em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
}

.empty-cards-card {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.tariff-card h2 {
  font-size: 18px;
}

.price-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.price-table div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18, 25, 21, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 180ms ease both;
}

.modal-backdrop[hidden],
.wizard-step[hidden] {
  display: none;
}

.wizard-modal {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(18, 25, 21, 0.22);
  animation: modalIn 240ms var(--ease) both;
}

.auth-form,
.empty-profile-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.empty-profile-list {
  padding: 18px;
  border: 1px dashed rgba(5, 136, 88, 0.28);
  border-radius: 10px;
  background: rgba(238, 248, 243, 0.62);
}

.station-marker {
  transition: opacity 180ms ease, transform 180ms ease;
}

.station-marker-best {
  filter: drop-shadow(0 4px 8px rgba(5, 136, 88, 0.28));
}

@keyframes topbarIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelInLeft {
  from { opacity: 0; transform: translateX(-18px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes panelInRight {
  from { opacity: 0; transform: translateX(18px) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes cardLiftIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes resultIn {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 164, 95, 0.24); }
  70% { box-shadow: 0 0 0 8px rgba(18, 164, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 164, 95, 0); }
}

@keyframes brandPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 24px rgba(5, 136, 88, 0.22); }
  50% { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(5, 136, 88, 0.3); }
}

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

.icon-button {
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  background: #edf2ef;
  color: #2d3832;
  font-size: 22px;
  line-height: 1;
}

.wizard-step,
.choice-list {
  display: grid;
  gap: 10px;
}

.operator-choice,
.tariff-choice,
.selected-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.operator-choice {
  justify-content: flex-start;
}

.tariff-choice {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
}

.tariff-choice span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.choice-price-table {
  width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.choice-price-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.choice-price-table strong {
  color: var(--text);
}

.tariff-choice.is-selected {
  border-color: var(--green);
  background: #e8f6ef;
}

.selected-pill {
  margin-bottom: 12px;
  background: #f4f7f5;
  font-weight: 900;
}

.car-brand-mark {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #e6f3ec;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  flex: 0 0 auto;
}

.wizard-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.is-current {
  color: var(--green);
  font-weight: 900;
}

.leaflet-popup-content {
  font-family: inherit;
}

@media (max-width: 1120px) {
  .map-sidebar {
    width: 330px;
  }

  .ranking-panel {
    width: 360px;
  }

  .results {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .topbar {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav-link {
    white-space: nowrap;
  }

  .map-view.is-active {
    height: auto;
    min-height: calc(100vh - 116px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 52vh auto;
    overflow: visible;
  }

  .map-sidebar,
  .ranking-panel {
    position: static;
    width: auto;
    margin: 12px;
    border: 1px solid rgba(221, 229, 223, 0.7);
    box-shadow: none;
  }

  .map-stage {
    position: relative;
    min-height: 52vh;
  }

  .results,
  .page-grid,
  .recommendation-grid,
  .tariff-grid,
  .form-grid,
  .soc-grid {
    grid-template-columns: 1fr;
  }

  .page-view {
    padding: 16px;
  }
}

@media (max-width: 440px) {
  .compact-grid,
  .segmented,
  .score-row {
    grid-template-columns: 1fr;
  }
}
