:root {
  color-scheme: light;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #24321b;
  background: #f7f8f3;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.header {
  background: #fff;
  border-bottom: 1px solid #e5e9dd;
}
.header-inner {
  max-width: 1040px;
  margin: auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header img {
  object-fit: contain;
}
.header-caption {
  font-size: 13px;
  color: #69765f;
}
main {
  max-width: 1040px;
  margin: auto;
  padding: 48px 32px 24px;
}
.intro {
  padding-bottom: 28px;
}
.eyebrow {
  color: #5d732f;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 750;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.13;
  letter-spacing: -1.5px;
  font-weight: 650;
  margin: 0 0 20px;
}
.intro-copy {
  max-width: 620px;
  color: #63705b;
  font-size: 16px;
  line-height: 1.7;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #dfe5d6;
}
dt {
  color: #737e69;
  font-size: 12px;
  margin-bottom: 6px;
}
dd {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}
.deadline {
  background: #eaf1dd;
  border: 1px solid #d7e4bf;
  border-radius: 16px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.deadline.locked {
  background: #f4eddf;
  border-color: #e4d6bc;
}
.deadline h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 650;
}
.deadline p:last-child {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 560px;
}
.phone {
  color: #35501c;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-underline-offset: 4px;
}
.questionnaire {
  background: #fff;
  border: 1px solid #e1e6d9;
  border-radius: 18px;
  padding: 30px;
}
.survey-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.4px;
}
.progress-label {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #54752d;
  background: #eff5e7;
  border-radius: 30px;
  padding: 10px 15px;
}
progress {
  appearance: none;
  border: 0;
  width: 100%;
  height: 6px;
  margin: 22px 0 0;
  border-radius: 5px;
  background: #eef1e8;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #eef1e8;
}
progress::-webkit-progress-value {
  background: #85b941;
}
progress::-moz-progress-bar {
  background: #85b941;
}
.save-note {
  color: #7a8373;
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0 24px;
}
.question {
  border-top: 1px solid #edf0e8;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}
.question:last-child {
  padding-bottom: 0;
}
.question label {
  font-size: 15px;
  font-weight: 650;
}
.helper {
  color: #7c8575;
  font-size: 12px;
  line-height: 1.6;
  margin: 7px 0 0;
}
.control {
  display: flex;
  align-items: center;
  gap: 10px;
}
input,
select {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: #24321b;
  background: #fbfcf8;
  border: 1px solid #dce3d2;
  border-radius: 9px;
  padding: 12px 14px;
  min-height: 46px;
}
input::placeholder {
  color: #8b9383;
}
input:focus,
select:focus {
  outline: 2px solid #86b94b;
  outline-offset: 2px;
}
input:disabled,
select:disabled {
  background: #f4f5f1;
  opacity: 1;
  color: #56604f;
  cursor: default;
}
.suffix {
  color: #6b775e;
  font-size: 13px;
}
.row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.status {
  color: #6c7860;
  font-size: 11px;
  line-height: 1.5;
}
.status.error {
  color: #a43b2f;
}
button {
  border: 1px solid #dce5cf;
  border-radius: 7px;
  background: #f1f6e9;
  color: #405f20;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #557f2c;
  outline-offset: 3px;
}
.notice {
  border: 1px solid #eac4be;
  background: #fff1ed;
  color: #8d3028;
  border-radius: 12px;
  padding: 16px 20px;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 24px;
}
.footer {
  text-align: center;
  color: #89927f;
  font-size: 12px;
  margin: 28px 0 10px;
}
@media (max-width: 680px) {
  .header-inner {
    padding: 15px 20px;
  }
  .header img {
    width: 140px;
    height: 54px;
  }
  .header-caption {
    max-width: 110px;
    text-align: right;
    font-size: 11px;
  }
  main {
    padding: 30px 16px 16px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .deadline {
    padding: 21px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .questionnaire {
    padding: 22px 18px;
  }
  .survey-heading {
    align-items: flex-start;
  }
  h2 {
    font-size: 21px;
  }
  .progress-label {
    font-size: 11px;
    padding: 8px 10px;
  }
  .question {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }
}
