html.land-azs-toplivo {
  --az5-bg: #f3f7ff;
  --az5-bg-2: #eaf2ff;
  --az5-surface: #ffffff;
  --az5-surface-soft: #f7faff;
  --az5-line: #d6e3ff;
  --az5-text: #1d2840;
  --az5-muted: #5f6f90;
  --az5-primary: #6d5efc;
  --az5-primary-2: #3d9df2;
  --az5-accent: #15b9a8;
  --az5-good: #00a870;
  --az5-warn: #f2a33d;
  --az5-bad: #e65367;
}

html.land-azs-toplivo,
html.land-azs-toplivo body {
  margin: 0;
  min-height: 100%;
  color: var(--az5-text);
  font-family: Inter, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(109, 94, 252, 0.14), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(21, 185, 168, 0.16), transparent 35%),
    linear-gradient(180deg, var(--az5-bg), var(--az5-bg-2));
}

html.land-azs-toplivo * {
  box-sizing: border-box;
}

html.land-azs-toplivo .az5-root {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
}

html.land-azs-toplivo .az5-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

html.land-azs-toplivo .az5-brandline {
  display: flex;
  align-items: center;
  gap: 11px;
}

html.land-azs-toplivo .az5-brandline img {
  border-radius: 14px;
  border: 1px solid var(--az5-line);
  background: #fff;
  padding: 5px;
  box-shadow: 0 8px 20px rgba(61, 157, 242, 0.12);
}

html.land-azs-toplivo .az5-brandtext h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

html.land-azs-toplivo .az5-brandtext p {
  margin: 3px 0 0;
  color: var(--az5-muted);
  font-size: 13px;
}

html.land-azs-toplivo .az5-status {
  border-radius: 999px;
  border: 1px solid #b8f1e8;
  background: #e8fbf7;
  color: #0d8f82;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
}

html.land-azs-toplivo .az5-layout {
  display: grid;
  grid-template-columns: minmax(330px, 440px) minmax(0, 1fr);
  gap: 16px;
}

html.land-azs-toplivo .az5-root.az5-result-mode .az5-layout {
  grid-template-columns: 1fr;
}

html.land-azs-toplivo .az5-root.az5-result-mode .az5-left {
  display: none;
}

html.land-azs-toplivo .az5-root.az5-result-mode .az5-right {
  max-width: 900px;
  margin: 0 auto;
}

html.land-azs-toplivo .az5-left,
html.land-azs-toplivo .az5-right {
  border: 1px solid var(--az5-line);
  border-radius: 22px;
  background: var(--az5-surface);
  box-shadow:
    0 24px 44px rgba(33, 63, 115, 0.09),
    0 2px 6px rgba(109, 94, 252, 0.05);
}

html.land-azs-toplivo .az5-left,
html.land-azs-toplivo .az5-right {
  padding: 15px;
}

html.land-azs-toplivo .az5-block {
  border: 1px solid #d9e8ff;
  border-radius: 14px;
  background: var(--az5-surface-soft);
  padding: 12px;
  margin-bottom: 10px;
}

html.land-azs-toplivo .az5-block h2 {
  margin: 0 0 9px;
  font-size: 15px;
  color: #2a3b5f;
}

html.land-azs-toplivo .az5-fuel-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

html.land-azs-toplivo .az5-fuel-row button {
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid #d0ddff;
  background: #fff;
  color: #304262;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

html.land-azs-toplivo .az5-fuel-row button:hover {
  transform: translateY(-1px);
  border-color: #97b3ff;
  box-shadow: 0 8px 18px rgba(61, 157, 242, 0.16);
}

html.land-azs-toplivo .az5-fuel-row button.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--az5-primary), var(--az5-primary-2));
  box-shadow: 0 12px 24px rgba(109, 94, 252, 0.34);
}

html.land-azs-toplivo .az5-selectbox select {
  width: 100%;
  min-height: 50px;
  border-radius: 11px;
  border: 1px solid #d0ddff;
  background: #fff;
  color: var(--az5-text);
  padding: 0 12px;
}

html.land-azs-toplivo .az5-selectbox select {
  min-height: 53px;
  font-size: 15px;
  font-weight: 600;
}

html.land-azs-toplivo .az5-secondary {
  width: 100%;
  margin-top: 8px;
  min-height: 40px;
  border-radius: 11px;
  border: 1px dashed #8ea7f5;
  background: #f0f5ff;
  color: #4a5ec9;
  cursor: pointer;
}

html.land-azs-toplivo .az5-secondary.is-active {
  background: #e3ebff;
  border-style: solid;
}

html.land-azs-toplivo .az5-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #34496e;
}

html.land-azs-toplivo .az5-check:last-child {
  margin-bottom: 0;
}

html.land-azs-toplivo .az5-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid #a9b9dd;
  background: #fff;
  position: relative;
}

html.land-azs-toplivo .az5-check input:checked {
  border-color: #4f84f6;
  background: linear-gradient(135deg, #6d5efc, #3d9df2);
}

html.land-azs-toplivo .az5-check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

html.land-azs-toplivo .az5-main-btn {
  width: 100%;
  min-height: 49px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--az5-primary), var(--az5-primary-2));
  box-shadow: 0 14px 26px rgba(109, 94, 252, 0.32);
  transition: filter 0.15s, transform 0.15s;
}

html.land-azs-toplivo .az5-main-btn:hover:not(:disabled) {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

html.land-azs-toplivo .az5-main-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

html.land-azs-toplivo .az5-screen {
  display: none;
}

html.land-azs-toplivo .az5-screen.is-active {
  display: block;
}

html.land-azs-toplivo .az5-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

html.land-azs-toplivo .az5-metrics > div {
  border: 1px solid #d9e8ff;
  border-radius: 13px;
  background: #f7faff;
  padding: 10px;
}

html.land-azs-toplivo .az5-metrics small {
  display: block;
  margin-bottom: 5px;
  color: var(--az5-muted);
  font-size: 12px;
}

html.land-azs-toplivo .az5-metrics strong {
  font-size: 30px;
  color: #4a5ec9;
}

html.land-azs-toplivo .az5-mapgrid {
  position: relative;
  height: 258px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d9e8ff;
  background:
    radial-gradient(circle at 22% 16%, rgba(109, 94, 252, 0.16), transparent 36%),
    radial-gradient(circle at 86% 22%, rgba(21, 185, 168, 0.19), transparent 36%),
    linear-gradient(180deg, #eef4ff, #dfeafd 70%),
    repeating-linear-gradient(0deg, rgba(106, 130, 184, 0.15), rgba(106, 130, 184, 0.15) 1px, transparent 1px, transparent 35px),
    repeating-linear-gradient(90deg, rgba(106, 130, 184, 0.15), rgba(106, 130, 184, 0.15) 1px, transparent 1px, transparent 35px);
}

html.land-azs-toplivo .az5-mapgrid i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(41, 67, 109, 0.15);
}

html.land-azs-toplivo .az5-mapgrid i.ok { background: var(--az5-good); }
html.land-azs-toplivo .az5-mapgrid i.warn { background: var(--az5-warn); }
html.land-azs-toplivo .az5-mapgrid i.bad { background: var(--az5-bad); }

html.land-azs-toplivo .az5-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--az5-muted);
}

html.land-azs-toplivo .az5-result-head {
  border: 1px solid #d9e8ff;
  border-radius: 15px;
  background: linear-gradient(180deg, #f9fbff, #f1f6ff);
  padding: 12px;
  margin-bottom: 10px;
}

html.land-azs-toplivo .az5-result-head small {
  color: var(--az5-muted);
  text-transform: uppercase;
  font-size: 11px;
}

html.land-azs-toplivo .az5-result-head h3 {
  margin: 6px 0 4px;
  font-size: 36px;
  color: #4a5ec9;
}

html.land-azs-toplivo .az5-result-head p {
  margin: 0 0 8px;
  color: #4a5c80;
}

html.land-azs-toplivo .az5-result-head mark {
  border-radius: 999px;
  border: 1px solid #b9d7ff;
  background: #e9f4ff;
  color: #246fb8;
  padding: 6px 9px;
}

html.land-azs-toplivo .az5-result-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 7px;
}

html.land-azs-toplivo .az5-result-list li {
  border: 1px solid #d9e8ff;
  border-radius: 11px;
  background: #f7faff;
  padding: 10px;
}

html.land-azs-toplivo .view {
  display: none;
}

html.land-azs-toplivo .view.active {
  display: block;
}

html.land-azs-toplivo .hidden {
  display: none !important;
}

@media (max-width: 980px) {
  html.land-azs-toplivo .az5-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html.land-azs-toplivo .az5-root {
    padding: 10px;
  }

  html.land-azs-toplivo .az5-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  html.land-azs-toplivo .az5-brandtext h1 {
    font-size: 23px;
  }
}
