﻿:root {
  --bg: #07100d;
  --panel: #0d1914;
  --panel-2: #12221b;
  --line: #22382d;
  --text: #f5fff7;
  --muted: #94a99c;
  --dim: #5f7568;
  --green: #46c936;
  --green-2: #86dd6b;
  --blue: #12a9e6;
  --danger: #ff435c;
  --warning: #f0a000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(6, 16, 14, 0.68), rgba(10, 32, 22, 0.78)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover fixed,
    #06100e;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1360px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(70, 201, 54, 0.22);
  background: rgba(6, 16, 14, 0.84);
  backdrop-filter: blur(18px);
}

.site-logo,
.site-nav a,
.as-link {
  color: var(--text);
  text-decoration: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 26px rgba(70, 201, 54, 0.22);
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-nav nav a {
  color: var(--muted);
  font-weight: 850;
}

.site-nav nav a.active {
  color: var(--green-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-phone {
  padding: 10px 12px;
  border: 1px solid rgba(70, 201, 54, 0.36);
  border-radius: 8px;
  color: var(--green) !important;
  font-weight: 950;
}

.nav-owner,
.nav-partner {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  font-weight: 950;
  white-space: nowrap;
}

.nav-owner {
  border: 1px solid rgba(70, 201, 54, 0.62);
  color: #06100e !important;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.nav-partner {
  border: 1px solid rgba(18, 169, 230, 0.46);
  color: var(--text) !important;
  background: rgba(18, 169, 230, 0.14);
}

.landing {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: 34px 0 10px;
}

.hero-site,
.site-section,
.feature-strip article,
.product-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 26, 23, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-site {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  min-height: 620px;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(120deg, rgba(6, 16, 14, 0.96), rgba(9, 28, 21, 0.78)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.hero-copy {
  align-self: center;
  display: grid;
  gap: 22px;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
}

.hero-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.as-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span,
.product-tag {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(70, 201, 54, 0.26);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green-2);
  background: rgba(70, 201, 54, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.hero-device {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(70, 201, 54, 0.32);
  border-radius: 22px;
}

.hero-device img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.hero-status {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 22px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(245, 255, 247, 0.2);
  border-radius: 18px;
  padding: 18px;
  background: rgba(245, 255, 247, 0.18);
  backdrop-filter: blur(18px);
}

.hero-status strong {
  font-size: 24px;
}

.hero-status span {
  color: rgba(245, 255, 247, 0.86);
  font-weight: 800;
}

.feature-strip,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-strip article,
.product-card,
.note-card,
.site-section {
  padding: 20px;
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-strip span,
.product-card p,
.site-section p,
.note-card p {
  color: var(--muted);
  line-height: 1.5;
}

.site-section {
  display: grid;
  gap: 18px;
}

.section-head {
  max-width: 820px;
}

.section-head h2,
.site-section h2 {
  font-size: clamp(28px, 3vw, 44px);
}

.product-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-card h3 {
  font-size: 24px;
}

.compare-section {
  background:
    linear-gradient(135deg, rgba(6, 16, 14, 0.96), rgba(14, 39, 27, 0.82)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.compare-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compare-card,
.partner-grid article {
  display: grid;
  gap: 10px;
  min-height: 190px;
  border: 1px solid rgba(245, 255, 247, 0.14);
  border-radius: 16px;
  padding: 18px;
  background: rgba(7, 18, 15, 0.76);
  backdrop-filter: blur(16px);
}

.compare-card h3,
.partner-grid strong {
  font-size: 22px;
}

.compare-card p,
.partner-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.compare-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #06100e;
  background: var(--green);
  font-size: 24px;
  font-weight: 950;
}

.muted-card .compare-icon {
  color: var(--text);
  background: var(--warning);
}

.strong-card {
  border-color: rgba(70, 201, 54, 0.42);
  box-shadow: 0 24px 70px rgba(70, 201, 54, 0.14);
}

.split-section {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.note-card {
  max-width: 440px;
  background: rgba(18, 34, 27, 0.78);
}

.lead-section {
  background:
    linear-gradient(135deg, rgba(13, 26, 23, 0.92), rgba(9, 26, 20, 0.76)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.partner-section {
  background:
    linear-gradient(135deg, rgba(8, 20, 17, 0.95), rgba(9, 34, 25, 0.82)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-grid article {
  min-height: 150px;
}

.partner-cta {
  width: fit-content;
}

.page-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: 34px 0 56px;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(130deg, rgba(6, 16, 14, 0.96), rgba(9, 28, 21, 0.7)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.page-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-card,
.seo-card {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(13, 26, 23, 0.78);
  backdrop-filter: blur(16px);
}

.page-card h2,
.page-card h3,
.seo-card h2,
.seo-card h3 {
  font-size: 24px;
}

.page-card p,
.seo-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.55;
}

.page-card ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(70, 201, 54, 0.18);
  padding: 22px 0 34px;
  color: var(--muted);
}

.site-footer a {
  color: var(--green-2);
  text-decoration: none;
  font-weight: 850;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lead-form .wide {
  grid-column: 1 / -1;
}

.lead-form .partner-only.hidden {
  display: none;
}

textarea {
  min-height: 108px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  color: var(--text);
  background: var(--panel-2);
  resize: vertical;
  font: inherit;
}

textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 201, 54, 0.16);
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid rgba(70, 201, 54, 0.34);
  border-radius: 14px;
  padding: 14px;
  background: rgba(7, 18, 15, 0.96);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: min(1360px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}

.cabinet-closed {
  display: none;
}

.cabinet-route .landing {
  display: none;
}

.cabinet-route .shell {
  display: grid;
}

.brand-panel,
.app-panel,
.status-card,
.service-card,
.history-card,
.control-card,
.notice,
.claim-card,
.empty-device {
  border: 1px solid var(--line);
  background: rgba(13, 26, 23, 0.78);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(10, 24, 19, 0.72), rgba(7, 16, 13, 0.96)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.brand-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, transparent 0 48%, rgba(18, 169, 230, 0.12) 49%, transparent 58%);
}

.brand-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.brand-mark {
  width: 74px;
  height: 74px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark rect {
  fill: #0b1511;
  stroke: #244633;
  stroke-width: 2;
}

.drop {
  fill: var(--blue);
}

.leaf {
  fill: var(--green);
}

.leaf-line {
  fill: none;
  stroke: #07100d;
  stroke-width: 6;
  stroke-linecap: round;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
}

h3 {
  margin-bottom: 0;
}

.septic-visual {
  position: relative;
  z-index: 1;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(70, 201, 54, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(3, 14, 11, 0.02), rgba(3, 14, 11, 0.22)),
    url("/static/assets/hero_lawn_septic_premium.png") center / cover;
}

.visual-sky,
.visual-ground,
.visual-house,
.tank-plate,
.float-line {
  display: none;
}

.visual-sky,
.visual-ground,
.visual-house,
.tank-plate,
.float-line,
.signal {
  position: absolute;
}

.visual-sky {
  inset: 0 0 42%;
  background:
    linear-gradient(160deg, rgba(18, 169, 230, 0.22), transparent 52%),
    linear-gradient(180deg, #071527, #0b2c2d);
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
}

.star-a {
  top: 22%;
  left: 22%;
}

.star-b {
  top: 14%;
  right: 28%;
}

.star-c {
  top: 32%;
  right: 18%;
}

.visual-ground {
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 58%;
  border-radius: 55% 55% 0 0;
  background:
    linear-gradient(170deg, rgba(134, 221, 107, 0.95), rgba(31, 118, 55, 0.95) 45%, rgba(10, 55, 34, 1));
}

.visual-house {
  left: 14%;
  bottom: 36%;
  width: 118px;
  height: 96px;
}

.visual-house .roof {
  position: absolute;
  left: 5px;
  top: 0;
  width: 108px;
  height: 58px;
  background: #596d50;
  clip-path: polygon(50% 0, 100% 72%, 0 72%);
}

.visual-house .wall {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 78px;
  height: 64px;
  background: #eadcb6;
}

.visual-house .door {
  position: absolute;
  left: 46px;
  bottom: 0;
  width: 24px;
  height: 42px;
  background: #5b3f32;
}

.visual-house .window {
  position: absolute;
  right: 25px;
  bottom: 27px;
  width: 24px;
  height: 25px;
  background: #74b8d6;
}

.tank-plate {
  left: 32%;
  bottom: 20%;
  width: 250px;
  height: 154px;
}

.tank-shadow {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
}

.tank-body,
.tank-lid,
.tank-glow {
  position: absolute;
  border-radius: 50%;
}

.tank-body {
  left: 31px;
  right: 31px;
  bottom: 36px;
  height: 94px;
  background: linear-gradient(180deg, #83df6a, #319a4e);
  border: 3px solid rgba(134, 221, 107, 0.55);
}

.tank-lid {
  left: 58px;
  right: 58px;
  bottom: 78px;
  height: 44px;
  background: linear-gradient(180deg, #9bef74, #55c952);
  border: 2px solid rgba(5, 30, 16, 0.28);
}

.tank-glow {
  left: 78px;
  right: 78px;
  bottom: 88px;
  height: 18px;
  background: rgba(245, 255, 247, 0.24);
}

.float-line {
  right: 16%;
  bottom: 22%;
  width: 98px;
  height: 128px;
  border-right: 9px solid var(--blue);
  border-top: 9px solid var(--blue);
  border-radius: 0 50px 0 0;
  transform: rotate(-16deg);
}

.float-line::before,
.float-line::after,
.float-line span {
  position: absolute;
  content: "";
  border-radius: 99px;
  background: var(--blue);
}

.float-line::before {
  right: -18px;
  top: -16px;
  width: 28px;
  height: 28px;
}

.float-line::after {
  left: 5px;
  bottom: -12px;
  width: 32px;
  height: 32px;
}

.float-line span {
  left: 24px;
  bottom: 28px;
  width: 10px;
  height: 10px;
}

.signal {
  right: 30px;
  top: 34px;
  display: flex;
  gap: 7px;
  align-items: end;
}

.signal span {
  width: 7px;
  border-radius: 5px;
  background: var(--green);
}

.signal span:nth-child(1) {
  height: 18px;
}

.signal span:nth-child(2) {
  height: 30px;
}

.signal span:nth-child(3) {
  height: 44px;
}

.app-panel {
  padding: 18px;
  min-height: 0;
  min-width: 0;
  background: rgba(7, 18, 15, 0.96);
}

.view {
  display: grid;
  gap: 16px;
}

.hidden {
  display: none !important;
}

.panel-head,
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  background: #08120f;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.segmented button {
  border: 0;
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.segmented button.active {
  color: #06150d;
  background: var(--green);
}

.form,
.claim-grid,
.service-grid,
.controls-grid {
  display: grid;
  gap: 12px;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text);
  background: var(--panel-2);
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--panel-2) inset;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(70, 201, 54, 0.16);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.check input {
  width: 18px;
  min-height: 18px;
}

.primary,
.secondary,
.icon-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.primary {
  color: #06150d;
  background: var(--green);
}

.secondary,
.icon-button {
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.small {
  min-height: 38px;
}

.link-button {
  border: 0;
  padding: 0;
  color: var(--green);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.fine-print,
.muted,
.card-note {
  color: var(--muted);
  line-height: 1.45;
}

.claim-grid,
.service-grid,
.controls-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.controls-grid {
  grid-template-columns: 1fr auto auto;
}

.danger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.danger {
  border-color: rgba(255, 67, 92, 0.5);
  color: #ffd7de;
  background: rgba(255, 67, 92, 0.12);
}

.status-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}

.status-card,
.service-card,
.history-card,
.control-card,
.notice,
.claim-card,
.empty-device {
  padding: 16px;
  min-width: 0;
}

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: rgba(240, 160, 0, 0.55);
  background: rgba(42, 31, 11, 0.72);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.device-switcher {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: thin;
}

.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 172px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  color: var(--text);
  background: rgba(11, 28, 22, 0.82);
  cursor: pointer;
  text-align: left;
}

.device-chip.active {
  border-color: rgba(70, 201, 54, 0.82);
  box-shadow: 0 0 0 3px rgba(70, 201, 54, 0.14);
}

.device-chip strong,
.device-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.device-chip-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--dim);
}

.device-chip-dot.normal {
  background: var(--green);
}

.device-chip-dot.alarm {
  background: var(--danger);
}

.device-chip-dot.offline {
  background: var(--warning);
}

.status-card:first-child {
  grid-row: span 2;
}

.status-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-badge {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--green);
}

.status-badge.alarm {
  background: var(--danger);
}

.status-badge.unknown {
  background: var(--warning);
}

.card-label {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.status-card h3 {
  font-size: 23px;
}

.compact h3 {
  font-size: 18px;
}

.due-pill {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #06150d;
  background: var(--green-2);
  font-size: 13px;
  font-weight: 900;
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.history-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--green);
}

.history-dot.alarm {
  background: var(--danger);
}

.history-time {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .claim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .claim-grid .primary {
    grid-column: span 2;
  }
}

dialog {
  width: min(760px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

pre {
  max-height: 60vh;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #101f19;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.3);
}

@media (max-width: 920px) {
  .site-nav {
    position: static;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-owner,
  .nav-partner,
  .nav-phone {
    flex: 1 1 220px;
  }

  .hero-site,
  .feature-strip,
  .product-grid,
  .compare-grid,
  .partner-grid,
  .page-grid,
  .seo-grid,
  .split-section,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-site {
    min-height: auto;
    padding: 20px;
  }

  .hero-device,
  .hero-device img {
    min-height: 340px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .shell {
    grid-template-columns: 1fr;
    padding: 16px 0;
  }

  .brand-panel {
    min-height: auto;
    padding: 22px;
  }

  .brand-head {
    grid-template-columns: auto 1fr;
  }

  .septic-visual {
    min-height: 260px;
  }

  .visual-house {
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .tank-plate {
    left: 24%;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .float-line {
    right: 10%;
    transform: rotate(-16deg) scale(0.78);
    transform-origin: right bottom;
  }

  .app-panel {
    min-height: auto;
  }

  .claim-grid,
  .service-grid,
  .controls-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-card:first-child {
    grid-row: auto;
  }

  .notice {
    align-items: stretch;
    flex-direction: column;
  }
}
