:root {
  --ink: #17201c;
  --ink-soft: #45524b;
  --paper: #f4f6f2;
  --surface: #ffffff;
  --line: #d7ded8;
  --line-strong: #b8c3bb;
  --green: #0b7459;
  --green-dark: #07533f;
  --green-pale: #e8f5ef;
  --lime: #b8df5b;
  --amber: #c66b12;
  --amber-pale: #fff5e7;
  --red: #b52f2f;
  --red-pale: #fff0ef;
  --shadow: 0 18px 50px rgba(23, 32, 28, 0.09);
  --radius: 8px;
  --container: 1180px;
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(215, 222, 216, 0.9);
  background: rgba(244, 246, 242, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.brand > span:last-child {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 3px;
  color: #6a766f;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 28px;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.status-option input:focus-visible + span {
  outline: 3px solid rgba(11, 116, 89, 0.22);
  outline-offset: 2px;
}

.button-small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  background: #2b3731;
}

.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.button-outline:hover {
  color: var(--green);
  background: var(--green-pale);
  border-color: var(--green);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 86px;
  border-bottom: 1px solid var(--line);
  background-color: #eef2eb;
  background-image:
    linear-gradient(rgba(23, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 28, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 44px 44px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 5px;
  content: "";
  background: var(--lime);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 76px;
}

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

.phase-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.phase-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(11, 116, 89, 0.12);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.audience-tags span {
  padding: 5px 10px;
  color: #354139;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  color: #536057;
  font-size: 12px;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.4;
}

.inspection-visual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inspection-visual::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 4px;
  content: "";
  background: var(--green);
}

.visual-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  color: #68736c;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.visual-topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.status-light {
  width: 7px;
  height: 7px;
  background: #38a169;
  border-radius: 50%;
}

.single-line-map {
  position: relative;
  height: 210px;
  margin: 14px 0 10px;
  overflow: hidden;
  color: #7d8a81;
  background-color: #f8faf7;
  background-image: radial-gradient(circle, rgba(23, 32, 28, 0.1) 1px, transparent 1px);
  background-size: 13px 13px;
  border: 1px solid #dce3dd;
  border-radius: 4px;
}

.map-label {
  position: absolute;
  top: 12px;
  left: 14px;
  color: #7b867f;
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.map-source {
  position: absolute;
  top: 59px;
  left: 22px;
  width: 32px;
  height: 1px;
  background: var(--green);
}

.map-source::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid var(--green);
  border-radius: 50%;
}

.map-bus {
  position: absolute;
  top: 59px;
  right: 22px;
  left: 54px;
  height: 2px;
  background: var(--green);
}

.map-node {
  position: absolute;
  top: 60px;
  display: grid;
  justify-items: center;
  color: #516058;
}

.map-node::before {
  width: 1px;
  height: 28px;
  content: "";
  background: var(--green);
}

.map-node small {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.node-one {
  left: 12%;
}

.node-two {
  left: 31%;
}

.node-three {
  left: 50%;
}

.node-four {
  left: 69%;
}

.node-five {
  left: 87%;
}

.node-symbol {
  position: relative;
  display: block;
  width: 36px;
  height: 32px;
  margin-top: -5px;
  background: #fff;
  border: 1px solid #94a198;
  border-radius: 3px;
}

.symbol-transformer::before,
.symbol-transformer::after {
  position: absolute;
  top: 8px;
  width: 11px;
  height: 14px;
  content: "";
  border: 1px solid var(--green);
  border-radius: 50%;
}

.symbol-transformer::before {
  left: 5px;
}

.symbol-transformer::after {
  right: 5px;
}

.symbol-cabinet::before {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 16px;
  height: 20px;
  content: "";
  border: 1px solid var(--green);
  border-radius: 2px;
}

.symbol-cabinet::after {
  position: absolute;
  top: 10px;
  left: 14px;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--green);
  box-shadow: 0 5px 0 var(--green), 0 10px 0 var(--green);
}

.symbol-capacitor::before {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 16px;
  height: 17px;
  content: "";
  border: 1px solid var(--green);
  border-radius: 50%;
}

.symbol-capacitor::after {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 6px;
  height: 1px;
  content: "";
  background: var(--green);
}

.symbol-dc::before {
  position: absolute;
  top: 6px;
  right: 5px;
  bottom: 6px;
  left: 5px;
  content: "";
  border: 1px solid var(--green);
}

.symbol-dc::after {
  position: absolute;
  top: 15px;
  left: 13px;
  width: 8px;
  height: 1px;
  content: "";
  background: var(--green);
}

.visual-device-list {
  display: grid;
  gap: 8px;
}

.visual-device {
  display: grid;
  align-items: center;
  padding: 11px 12px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.visual-check,
.visual-alert {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
}

.visual-check {
  color: var(--green);
  background: var(--green-pale);
}

.visual-check svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.visual-alert {
  color: var(--red);
  background: var(--red-pale);
  font-size: 13px;
  font-weight: 800;
}

.visual-device strong,
.visual-device small {
  display: block;
}

.visual-device strong {
  font-size: 11px;
}

.visual-device small {
  margin-top: 1px;
  color: #7a857e;
  font-size: 9px;
}

.visual-device-alert {
  background: #fff7f6;
  border-color: #e8bebc;
}

.device-state {
  padding: 2px 7px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.visual-device-alert .device-state {
  color: var(--red);
  background: var(--red-pale);
}

.visual-footer {
  display: grid;
  align-items: center;
  margin-top: 17px;
  color: #68736c;
  font-size: 9px;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  background: #e0e7e1;
  border-radius: 2px;
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--green);
}

.visual-footer strong {
  color: var(--ink);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.section {
  padding: 88px 0;
}

.section-features,
.pricing-section {
  background: var(--surface);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 40px;
}

.section-heading > p,
.workflow-intro > p:last-child,
.report-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.24;
}

.feature-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-item {
  position: relative;
  min-height: 285px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: #9aa59e;
  font-family: Consolas, monospace;
  font-size: 10px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 38px 0 22px;
  place-items: center;
  color: var(--green);
  background: var(--green-pale);
  border-radius: 5px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.section-workflow {
  color: #f3f6f2;
  background: #1b2721;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
  gap: 92px;
}

.workflow-intro {
  align-self: start;
  position: sticky;
  top: 110px;
}

.section-workflow .section-kicker {
  color: var(--lime);
}

.workflow-intro > p:last-child {
  margin-top: 20px;
  color: #aab6ae;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #39463f;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 20px;
}

.workflow-list li:first-child {
  border-top: 1px solid #39463f;
}

.workflow-index {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #1b2721;
  background: var(--lime);
  border-radius: 50%;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.workflow-list h3 {
  margin: 0;
  font-size: 16px;
}

.workflow-list p {
  margin: 4px 0 0;
  color: #aab6ae;
  font-size: 13px;
}

.workflow-list svg {
  width: 20px;
  height: 20px;
  color: #67746c;
}

.inspection-section {
  background: #eef2ed;
}

.inspection-heading {
  margin-bottom: 32px;
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 7px 10px;
  color: #5a665f;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
}

.phase-chip span {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

.inspection-form {
  padding: 0 38px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(23, 32, 28, 0.06);
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 38px 0 40px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section legend {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 26px;
  padding: 0;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
}

.form-section legend span {
  display: grid;
  width: 30px;
  height: 24px;
  place-items: center;
  color: var(--green);
  background: var(--green-pale);
  border-radius: 3px;
  font-family: Consolas, monospace;
  font-size: 10px;
}

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

.field {
  min-width: 0;
}

.field label,
.metric-field label {
  display: block;
  margin-bottom: 7px;
  color: #38443d;
  font-size: 12px;
  font-weight: 700;
}

.required-mark {
  color: var(--red);
}

.field input,
.field select,
.metric-field input,
.device-location,
.device-type,
.notes-field textarea,
.device-custom-type,
.optional-parameter-value,
.custom-parameter-field input {
  width: 100%;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.field input,
.field select,
.device-location,
.device-type,
.metric-field input,
.device-custom-type,
.optional-parameter-value,
.custom-parameter-field input {
  height: 44px;
  padding: 0 12px;
}

.notes-field textarea {
  min-height: 72px;
  padding: 10px 12px;
  line-height: 1.5;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.metric-field input:hover,
.device-location:hover,
.device-type:hover,
.notes-field textarea:hover,
.device-custom-type:hover,
.optional-parameter-value:hover,
.custom-parameter-field input:hover {
  border-color: #89978e;
}

.field input:focus,
.field select:focus,
.metric-field input:focus,
.device-location:focus,
.device-type:focus,
.notes-field textarea:focus,
.device-custom-type:focus,
.optional-parameter-value:focus,
.custom-parameter-field input:focus {
  background: #fff;
  border-color: var(--green);
  outline: 3px solid rgba(11, 116, 89, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #9aa49e;
}

.field.has-error input,
.metric-field.has-error input,
.field input.has-error,
.metric-field input.has-error,
.device-location.has-error,
.device-custom-type.has-error,
.optional-parameter-value.has-error,
.notes-field.has-error textarea,
.notes-field textarea.has-error {
  background: #fffafa;
  border-color: var(--red);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: var(--red);
  font-size: 11px;
}

.devices-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 24px;
}

.devices-toolbar p {
  margin: 0;
  color: #68736c;
  font-size: 12px;
}

.device-list {
  display: grid;
  gap: 14px;
}

.device-row {
  position: relative;
  padding: 20px;
  background: #fafbf9;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 5px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.device-row.is-abnormal {
  background: #fff8f7;
  border-color: #dfaaa7;
  border-left-color: var(--red);
  box-shadow: 0 0 0 2px rgba(181, 47, 47, 0.04);
}

.device-row.has-errors {
  border-color: #d97670;
}

.device-row-head {
  display: grid;
  align-items: end;
  margin-bottom: 16px;
  grid-template-columns: 40px minmax(150px, 0.8fr) minmax(180px, 1.2fr) auto 36px;
  gap: 12px;
}

.row-index {
  display: grid;
  width: 34px;
  height: 44px;
  place-items: center;
  color: #66736b;
  background: #edf1ed;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.device-row.is-abnormal .row-index {
  color: var(--red);
  background: var(--red-pale);
}

.row-control label,
.status-control > span {
  display: block;
  margin-bottom: 6px;
  color: #59665e;
  font-size: 10px;
  font-weight: 700;
}

.status-options {
  display: inline-flex;
  height: 44px;
  padding: 3px;
  background: #e9eee9;
  border: 1px solid #dae1da;
  border-radius: 5px;
}

.status-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.status-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.status-option span {
  display: grid;
  min-width: 56px;
  height: 36px;
  padding-inline: 11px;
  place-items: center;
  color: #657169;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.status-option input:checked + span {
  color: var(--green-dark);
  background: #fff;
  box-shadow: 0 1px 4px rgba(23, 32, 28, 0.12);
}

.status-option input[value="abnormal"]:checked + span {
  color: var(--red);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: #7b867f;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.icon-button:hover {
  color: var(--red);
  background: var(--red-pale);
  border-color: #ecc5c2;
}

.metrics-area {
  display: grid;
  align-items: start;
  margin-left: 52px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.6fr);
  gap: 12px;
}

.metric-field {
  min-width: 0;
}

.default-metrics {
  display: contents;
}

.custom-type-field {
  min-width: 0;
}

.custom-type-field[hidden] {
  display: none;
}

.custom-type-field label,
.parameter-field label,
.custom-parameter-field label {
  display: block;
  margin-bottom: 7px;
  color: #38443d;
  font-size: 12px;
  font-weight: 700;
}

.metric-input-wrap {
  position: relative;
}

.metric-input-wrap input {
  padding-right: 46px;
}

.metric-unit {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #7a867e;
  font-family: Consolas, monospace;
  font-size: 10px;
  pointer-events: none;
  transform: translateY(-50%);
}

.notes-field {
  min-width: 0;
}

.notes-hint {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: #7b867f;
  font-size: 10px;
}

.device-row.is-abnormal .notes-hint {
  color: var(--red);
}

.parameter-panel {
  margin: 16px 0 0 52px;
  padding-top: 15px;
  border-top: 1px solid #dfe5df;
}

.parameter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 16px;
}

.parameter-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.parameter-heading strong {
  font-size: 12px;
}

.parameter-count {
  padding: 2px 7px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 999px;
  font-family: Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.parameter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.parameter-select-control {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
}

.parameter-select-control svg {
  position: absolute;
  z-index: 1;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--green);
  pointer-events: none;
}

.optional-parameter-select {
  width: 178px;
  max-width: 100%;
  height: 38px;
  padding: 0 28px 0 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
}

.optional-parameter-select:hover,
.optional-parameter-select:focus {
  border-color: var(--green);
}

.button-parameter {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
}

.button-parameter svg {
  width: 15px;
  height: 15px;
}

.parameter-list {
  display: grid;
  gap: 8px;
}

.parameter-empty {
  margin: 0;
  padding: 10px 12px;
  color: #7b867f;
  background: rgba(255, 255, 255, 0.58);
  border: 1px dashed #d3dbd5;
  border-radius: 5px;
  font-size: 11px;
}

.parameter-item {
  display: grid;
  min-width: 0;
  align-items: start;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #dfe5df;
  border-radius: 5px;
  grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 1.25fr) minmax(64px, 0.45fr) 34px;
  gap: 9px;
}

.parameter-item > * {
  min-width: 0;
}

.parameter-name-cell,
.parameter-unit-cell {
  display: grid;
  padding-top: 17px;
  align-content: start;
  gap: 2px;
}

.parameter-kind {
  color: #7b867f;
  font-size: 9px;
  line-height: 1.2;
}

.parameter-name-cell strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.4;
}

.parameter-unit-value {
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-family: Consolas, "Microsoft YaHei UI", sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.parameter-item .field-error {
  margin-top: 2px;
}

.delete-parameter {
  width: 34px;
  height: 44px;
  margin-top: 19px;
}

.rows-empty {
  padding: 32px;
  color: var(--ink-soft);
  background: #fafbf9;
  border: 1px dashed var(--line-strong);
  border-radius: 5px;
  text-align: center;
}

.rows-error {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 12px;
}

.validation-summary {
  display: grid;
  margin-top: 28px;
  padding: 16px 18px;
  color: #7c2929;
  background: var(--red-pale);
  border: 1px solid #e4b8b5;
  border-radius: 5px;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
}

.validation-summary[hidden] {
  display: none;
}

.validation-summary > svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.validation-summary strong {
  font-size: 13px;
}

.validation-summary ul {
  margin: 5px 0 0;
  padding-left: 17px;
  font-size: 12px;
}

.validation-summary li + li {
  margin-top: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 30px;
  gap: 24px;
}

.form-actions p {
  margin: 0;
  color: #727d76;
  font-size: 11px;
}

.button-generate {
  min-width: 156px;
}

.report-section {
  background: var(--surface);
}

.report-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.report-intro > p:last-child {
  max-width: 760px;
  margin-top: 18px;
}

.report-placeholder {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  padding: 42px;
  align-content: center;
  justify-items: center;
  text-align: center;
  background-color: #f7f9f6;
  background-image:
    linear-gradient(rgba(23, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 28, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.report-placeholder::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--line-strong);
}

.report-placeholder.is-ready::before {
  background: var(--green);
}

.report-placeholder.is-updated::before {
  background: var(--amber);
}

.report-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  color: #89958d;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.report-placeholder.is-ready .report-icon {
  color: var(--green);
  background: var(--green-pale);
  border-color: #bfd8ce;
}

.report-placeholder.is-updated .report-icon {
  color: var(--amber);
  background: var(--amber-pale);
  border-color: #ecd2b2;
}

.report-icon svg {
  width: 25px;
  height: 25px;
}

.report-state {
  color: #8a958e;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.report-placeholder.is-ready .report-state {
  color: var(--green);
}

.report-placeholder.is-updated .report-state {
  color: var(--amber);
}

.report-placeholder h3 {
  margin: 8px 0 9px;
  font-size: 20px;
}

.report-placeholder p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.report-watermark {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(23, 32, 28, 0.09);
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.report-preview {
  min-width: 0;
}

.report-preview[hidden] {
  display: none;
}

.report-document {
  position: relative;
  overflow: hidden;
  padding: 46px 52px 52px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 32, 28, 0.06);
}

.report-document::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--green);
}

.report-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  gap: 24px;
}

.report-document-head h3 {
  margin: 0 0 7px;
  font-size: 30px;
  line-height: 1.25;
}

.report-document-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.report-number {
  flex: 0 0 auto;
  color: #5a675f;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 11px;
  text-align: right;
}

.report-number strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
}

.report-block {
  margin-top: 28px;
}

.report-block h4 {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  font-size: 16px;
  gap: 9px;
}

.report-block h4::before {
  width: 4px;
  height: 18px;
  content: "";
  background: var(--green);
  border-radius: 2px;
}

.report-info-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-info-item {
  display: grid;
  min-width: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.report-info-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.report-info-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.report-info-item dt {
  color: #6c776f;
  font-size: 12px;
}

.report-info-item dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.report-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 12px;
}

.report-table th,
.report-table td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.report-table th {
  color: #354139;
  background: #edf2ee;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.report-table tbody tr:nth-child(even) td {
  background: #fbfcfb;
}

.report-table tbody tr.is-abnormal td {
  background: #fff8f7;
}

.report-table-index {
  width: 42px;
  color: #7a857e;
  font-family: Consolas, monospace;
  text-align: center !important;
}

.report-table-type {
  min-width: 110px;
  font-weight: 700;
}

.report-table-location {
  min-width: 120px;
  overflow-wrap: anywhere;
}

.report-table-parameters {
  min-width: 260px;
}

.report-table-notes {
  min-width: 150px;
  overflow-wrap: anywhere;
}

.report-status {
  display: inline-flex;
  min-width: 46px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  color: var(--green-dark);
  background: var(--green-pale);
  border: 1px solid #c7ddd4;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.report-status.is-abnormal {
  color: var(--red);
  background: var(--red-pale);
  border-color: #e6bbb8;
}

.report-parameter-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.report-parameter-list li {
  display: grid;
  align-items: baseline;
  grid-template-columns: minmax(74px, 0.9fr) minmax(60px, 1fr) auto;
  gap: 5px;
}

.report-parameter-name {
  color: #48564e;
  overflow-wrap: anywhere;
}

.report-parameter-value {
  color: var(--ink);
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.report-parameter-source {
  color: #8a958e;
  font-size: 9px;
  white-space: nowrap;
}

.report-empty-state {
  margin: 0;
  padding: 18px 20px;
  color: var(--green-dark);
  background: var(--green-pale);
  border: 1px solid #c7ddd4;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

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

.report-abnormal-card {
  min-width: 0;
  padding: 13px 14px;
  background: var(--red-pale);
  border: 1px solid #e6bbb8;
  border-radius: 5px;
}

.report-abnormal-card strong {
  display: block;
  margin-bottom: 4px;
  color: #8e2828;
  font-size: 12px;
}

.report-abnormal-card p {
  margin: 0;
  color: #674744;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.report-payment-note {
  margin: 9px 0 0;
  color: #6b766f;
  font-size: 10px;
}

.report-conclusion {
  padding: 18px 20px;
  background: #f4f8f5;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 4px;
}

.report-conclusion.is-abnormal {
  background: #fff8f6;
  border-left-color: var(--red);
}

.report-conclusion-result {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}

.report-conclusion h5 {
  margin: 0 0 7px;
  font-size: 12px;
}

.report-suggestion-list {
  margin: 0;
  padding-left: 19px;
  color: #46534b;
  font-size: 12px;
  line-height: 1.75;
}

.report-suggestion-list li + li {
  margin-top: 4px;
}

.report-signature {
  display: grid;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.report-signature span {
  color: #657168;
  font-size: 12px;
}

.report-signature strong {
  display: inline-block;
  min-width: 130px;
  margin-left: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink-soft);
}

.report-watermark-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.report-watermark-layer span {
  position: absolute;
  width: 120%;
  color: rgba(181, 47, 47, 0.09);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  transform: rotate(-24deg);
  white-space: nowrap;
}

.report-watermark-layer span:nth-child(1) {
  top: 25%;
}

.report-watermark-layer span:nth-child(2) {
  top: 50%;
}

.report-watermark-layer span:nth-child(3) {
  top: 75%;
}

.report-preview.is-unlocked .report-watermark-layer {
  display: none;
}

.report-export-bar {
  position: sticky;
  z-index: 5;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 28, 0.11);
  backdrop-filter: blur(12px);
  gap: 18px;
}

.export-entitlement {
  display: flex;
  min-width: 0;
  align-items: center;
  color: #667269;
  font-size: 11px;
  gap: 8px;
}

.export-entitlement.is-unlocked {
  color: var(--green-dark);
  font-weight: 700;
}

.export-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--amber-pale);
}

.is-unlocked .export-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-pale);
}

.export-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.paywall-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 28px 16px;
  place-items: center;
  background: rgba(10, 17, 13, 0.68);
  backdrop-filter: blur(6px);
}

.paywall-backdrop[hidden] {
  display: none;
}

.paywall-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 34px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(4, 12, 8, 0.28);
}

.paywall-dialog:focus {
  outline: none;
}

.paywall-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: #657168;
  background: #f2f5f3;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.paywall-close:hover,
.paywall-close:focus-visible {
  color: var(--ink);
  background: #e7ece8;
}

.paywall-close svg {
  width: 18px;
  height: 18px;
}

.paywall-dialog h2 {
  margin: 4px 0 8px;
  padding-right: 40px;
  font-size: 25px;
}

.paywall-kicker {
  margin: 0;
  color: var(--green);
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.paywall-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.paywall-warning {
  margin-top: 18px;
  padding: 11px 13px;
  color: #785018;
  background: var(--amber-pale);
  border: 1px solid #ecd2b2;
  border-radius: 5px;
  font-size: 11px;
}

.paywall-entitlement {
  display: flex;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px;
  color: var(--green-dark);
  background: var(--green-pale);
  border: 1px solid #bfd8ce;
  border-radius: 5px;
  gap: 10px;
}

.paywall-entitlement[hidden] {
  display: none;
}

.paywall-entitlement .export-status-dot {
  margin-top: 6px;
  background: var(--green);
  box-shadow: 0 0 0 3px #d5ebe2;
}

.paywall-entitlement strong {
  display: block;
  font-size: 13px;
}

.paywall-entitlement p {
  margin: 2px 0 0;
  color: #4f6d61;
  font-size: 11px;
}

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

.paywall-plans[hidden] {
  display: none;
}

.paywall-plan {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 20px;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
  gap: 7px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.paywall-plan:hover,
.paywall-plan:focus-visible {
  background: #f1f7f3;
  border-color: #8dbbaa;
  transform: translateY(-1px);
}

.paywall-plan-featured {
  background: #eef7f2;
  border-color: #8dbbaa;
}

.paywall-plan-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 7px;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
}

.paywall-plan-label {
  color: #4e5b53;
  font-size: 12px;
  font-weight: 800;
}

.paywall-plan strong {
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 34px;
  line-height: 1.1;
}

.paywall-plan strong small {
  margin-right: 2px;
  font-family: inherit;
  font-size: 17px;
}

.paywall-plan > span:not(.paywall-plan-badge):not(.paywall-plan-label) {
  color: var(--ink-soft);
  font-size: 11px;
}

.paywall-plan em {
  color: var(--green-dark);
  font-size: 10px;
  font-style: normal;
}

.paywall-use-entitlement {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  padding: 10px 16px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.paywall-use-entitlement[hidden] {
  display: none;
}

.paywall-free-export,
.paywall-back {
  display: block;
  margin: 18px auto 0;
  padding: 4px;
  color: #657168;
  background: transparent;
  border: 0;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.paywall-demo-banner {
  margin: -4px 0 24px;
  padding: 14px 16px;
  color: #712620;
  background: #fff0ef;
  border: 2px solid #dfaaa6;
  border-radius: 6px;
}

.paywall-demo-banner strong {
  display: block;
  font-size: 14px;
}

.paywall-demo-banner p {
  margin: 4px 0 0;
  font-size: 11px;
}

.paywall-order {
  margin: 20px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.paywall-order div {
  display: grid;
  padding: 11px 13px;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
}

.paywall-order div + div {
  border-top: 1px solid var(--line);
}

.paywall-order dt {
  color: #6e7a72;
  font-size: 11px;
}

.paywall-order dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: Consolas, "Microsoft YaHei UI", monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.paywall-payment-note {
  margin: 16px 0 0;
  color: #6b766f;
  font-size: 11px;
  line-height: 1.75;
}

.paywall-error {
  margin: 12px 0 0;
  padding: 9px 11px;
  color: var(--red);
  background: var(--red-pale);
  border: 1px solid #e6bbb8;
  border-radius: 4px;
  font-size: 11px;
}

.paywall-error[hidden] {
  display: none;
}

.paywall-payment-actions {
  margin-top: 20px;
}

.paywall-success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 4px auto 18px;
  place-items: center;
  color: var(--green);
  background: var(--green-pale);
  border: 1px solid #bfd8ce;
  border-radius: 50%;
}

.paywall-success-mark svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.3;
}

#paywallSuccessStep {
  text-align: center;
}

#paywallSuccessStep .button {
  margin-top: 24px;
}

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

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

.price-card {
  position: relative;
  padding: 30px;
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card-featured {
  background: #f0f7f3;
  border-color: #97bcae;
  box-shadow: 0 14px 34px rgba(11, 116, 89, 0.08);
}

.recommended {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

.price-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.plan-label {
  font-size: 16px;
  font-weight: 800;
}

.plan-note {
  color: #7b867f;
  font-size: 10px;
}

.price {
  display: flex;
  align-items: baseline;
  margin: 28px 0 14px;
}

.currency {
  margin-right: 4px;
  font-size: 20px;
  font-weight: 700;
}

.price strong {
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-unit {
  margin-left: 6px;
  color: #69756d;
  font-size: 11px;
}

.price-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  margin: 24px 0 26px;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4c5951;
  font-size: 12px;
}

.price-card li svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.3;
}

.site-footer {
  padding: 56px 0 24px;
  color: #d8e0da;
  background: #15201b;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  gap: 60px;
}

.footer-brand {
  color: #fff;
}

.footer-brand small {
  color: #89968e;
}

.footer-main > div:first-child > p {
  margin: 16px 0 0;
  color: #89968e;
  font-size: 12px;
}

.feedback-box {
  min-width: 330px;
  padding-left: 26px;
  border-left: 1px solid #35413b;
}

.feedback-box strong {
  font-size: 13px;
}

.feedback-box p {
  margin: 7px 0 10px;
  color: #8e9a93;
  font-size: 11px;
}

.feedback-box code {
  color: #c1cbc4;
  font-family: Consolas, monospace;
}

.feedback-box .text-link {
  color: var(--lime);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  color: #748078;
  border-top: 1px solid #2b3731;
  font-size: 10px;
  gap: 20px;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.9fr);
    gap: 44px;
  }

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

  .feature-item {
    min-height: 250px;
  }

  .feature-icon {
    margin-top: 26px;
  }

  .workflow-layout {
    gap: 56px;
  }

  .device-row-head {
    grid-template-columns: 40px minmax(140px, 0.8fr) minmax(160px, 1.2fr) auto 36px;
  }

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

  .notes-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .main-nav {
    display: none;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .hero {
    padding: 58px 0 62px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .inspection-visual {
    width: 100%;
    max-width: 620px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .workflow-layout,
  .report-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .workflow-intro {
    position: static;
  }

  .inspection-form {
    padding-inline: 24px;
  }

  .device-row-head {
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    align-items: start;
  }

  .device-type-control {
    grid-column: 2;
  }

  .device-location-control {
    grid-column: 2;
  }

  .status-control {
    grid-column: 2;
  }

  .delete-device {
    grid-column: 3;
    grid-row: 1;
  }

  .metrics-area {
    margin-left: 0;
  }

  .parameter-panel {
    margin-left: 0;
  }

  .report-placeholder {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .header-inner {
    min-height: 60px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .header-inner > .button {
    min-height: 36px;
    padding: 7px 10px;
  }

  .header-inner > .button svg {
    display: none;
  }

  .hero {
    padding: 42px 0 48px;
  }

  .phase-note {
    margin-bottom: 17px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 48px);
    letter-spacing: -0.045em;
  }

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

  .audience-tags {
    margin-top: 18px;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 26px;
    gap: 14px;
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-points {
    gap: 12px;
    margin-top: 22px;
  }

  .inspection-visual {
    padding: 0 14px 15px;
  }

  .single-line-map {
    height: 188px;
  }

  .map-node {
    top: 66px;
  }

  .map-node::before {
    height: 20px;
  }

  .node-symbol {
    width: 31px;
    height: 29px;
  }

  .node-one {
    left: 9%;
  }

  .node-two {
    left: 29%;
  }

  .node-three {
    left: 49%;
  }

  .node-four {
    left: 69%;
  }

  .node-five {
    left: 89%;
  }

  .visual-device {
    padding: 9px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section h2 {
    font-size: 28px;
  }

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

  .feature-item {
    min-height: 0;
    padding: 24px 20px;
  }

  .feature-number {
    float: right;
  }

  .feature-icon {
    margin: 0 0 18px;
  }

  .workflow-layout {
    gap: 28px;
  }

  .workflow-list li {
    padding: 20px 0;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .workflow-list li > svg {
    display: none;
  }

  .workflow-index {
    width: 32px;
    height: 32px;
  }

  .phase-chip {
    justify-self: start;
  }

  .inspection-form {
    padding: 0 16px;
  }

  .form-section {
    padding: 28px 0 32px;
  }

  .form-section legend {
    margin-bottom: 20px;
    font-size: 17px;
  }

  .basic-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .devices-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .devices-toolbar .button {
    width: 100%;
  }

  .device-row {
    padding: 14px;
  }

  .device-row-head {
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .device-type-control,
  .device-location-control,
  .status-control {
    grid-column: 2 / 4;
  }

  .delete-device {
    grid-column: 3;
    grid-row: 1;
    width: 32px;
  }

  .metrics-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .parameter-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .parameter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .parameter-select-control,
  .optional-parameter-select,
  .button-parameter {
    width: 100%;
  }

  .parameter-item {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px;
  }

  .parameter-name-cell,
  .parameter-unit-cell {
    display: flex;
    padding-top: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 8px;
  }

  .parameter-item .parameter-name-cell,
  .parameter-item .parameter-field,
  .parameter-item .parameter-unit-cell,
  .parameter-item .custom-parameter-field {
    grid-column: 1;
  }

  .delete-parameter {
    width: 32px;
    margin-top: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .notes-field {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 22px 0 26px;
    gap: 16px;
  }

  .button-generate {
    width: 100%;
  }

  .report-placeholder {
    min-height: 290px;
    padding: 30px 24px;
  }

  .report-document {
    padding: 28px 18px 30px;
  }

  .report-document-head {
    flex-direction: column;
    padding-bottom: 18px;
    gap: 12px;
  }

  .report-document-head h3 {
    font-size: 24px;
  }

  .report-number {
    text-align: left;
  }

  .report-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-info-item,
  .report-info-item:nth-child(odd),
  .report-info-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-info-item:last-child {
    border-bottom: 0;
  }

  .report-table th,
  .report-table td {
    padding: 9px 10px;
  }

  .report-abnormal-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-signature {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .report-watermark-layer span {
    font-size: 20px;
  }

  .report-export-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .export-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .export-actions .button {
    width: 100%;
  }

  .paywall-backdrop {
    align-items: start;
    padding: 12px;
  }

  .paywall-dialog {
    max-height: none;
    padding: 28px 18px 22px;
  }

  .paywall-dialog h2 {
    font-size: 22px;
  }

  .paywall-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .paywall-plan {
    padding: 17px;
  }

  .paywall-order div {
    grid-template-columns: 72px minmax(0, 1fr);
  }

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

  .price-card {
    padding: 24px;
  }

  .price strong {
    font-size: 43px;
  }

  .footer-main {
    flex-direction: column;
    gap: 30px;
  }

  .feedback-box {
    min-width: 0;
    padding: 24px 0 0;
    border-top: 1px solid #35413b;
    border-left: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html,
  body {
    min-width: 0;
    color: #111;
    background: #fff;
  }

  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header,
  .hero,
  .section-features,
  .section-workflow,
  .inspection-section,
  .pricing-section,
  .site-footer,
  .skip-link,
  .report-intro,
  .report-placeholder,
  .report-export-bar,
  .paywall-backdrop {
    display: none !important;
  }

  main {
    display: block;
  }

  .report-section {
    padding: 0 !important;
    background: #fff !important;
  }

  .report-section .container {
    width: auto;
    margin: 0;
  }

  .report-layout {
    display: block;
  }

  .report-preview {
    display: block !important;
  }

  .report-document {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .report-document::before {
    display: none;
  }

  .report-table-wrap {
    overflow: visible;
  }

  .report-table {
    font-size: 9pt;
  }

  .report-table th,
  .report-table td {
    padding: 6pt 7pt;
  }

  .report-table,
  .report-table tr,
  .report-table td,
  .report-table th,
  .report-info-grid,
  .report-conclusion,
  .report-abnormal-card {
    break-inside: avoid;
  }

  .report-block {
    margin-top: 18pt;
  }

  .report-document-head h3 {
    font-size: 22pt;
  }

  .report-watermark-layer span {
    color: rgba(181, 47, 47, 0.12);
    font-size: 24pt;
  }

  .report-preview.is-unlocked .report-watermark-layer {
    display: none !important;
  }
}
