* {
  box-sizing: border-box;
}
html {
  font:
    16px/1.65 "Inter",
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
  color: #17382e;
  background: #f7f8f4;
}
body {
  margin: 0;
}
header,
footer,
.section-title,
.desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid #d8e2db;
  padding: 0 max(calc((100vw - 1160px) / 2), 5vw);
}
nav {
  display: flex;
  gap: 1.6rem;
}
a {
  color: #205744;
  text-underline-offset: 4px;
}
header a,
.tabs a,
.brand,
.service {
  text-decoration: none;
}
header nav {
  font-size: 0.92rem;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 36px 24px 60px;
  min-height: calc(100vh - 150px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.05em;
}
.brand i {
  width: 27px;
  height: 30px;
  display: block;
  background: linear-gradient(
    90deg,
    #194e3a 0 23%,
    transparent 23% 37%,
    #194e3a 37% 60%,
    transparent 60% 74%,
    #194e3a 74%
  );
  clip-path: polygon(0 35%, 100% 0, 100% 65%, 0 100%);
}
h1,
h2,
h3,
p {
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(2.1rem, 5.7vw, 4.6rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.55rem;
  line-height: 1.45;
}
h3 {
  font-size: 1.05rem;
}
.hero {
  min-height: 340px;
  padding: clamp(28px, 5vw, 66px);
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  align-items: center;
  gap: 32px;
  background: linear-gradient(110deg, #113c32 35%, #1f5544);
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 0 0 45%;
  opacity: 0.28;
  background: repeating-radial-gradient(
    ellipse at 115% 125%,
    transparent 0 19px,
    #91c9a8 20px,
    transparent 21px 35px
  );
  pointer-events: none;
}
.hero > * {
  position: relative;
}
.hero h1 {
  margin: 16px 0 20px;
}
.hero p {
  color: #daeadf;
  max-width: 35rem;
}
.tag,
.caps {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
}
.tag {
  display: inline-block;
  border-left: 4px solid #cee083;
  padding-left: 12px;
  color: #e1ebbd;
}
.hero-side {
  justify-self: end;
  width: min(100%, 270px);
  padding: 24px;
  background: #174637f2;
  border: 1px solid #71927c;
  border-radius: 12px;
}
.hero-side span {
  color: #dbe8ad;
  font-weight: 700;
}
.hero-side ul {
  padding: 0;
  list-style: none;
  margin: 12px 0 0;
}
.hero-side li {
  padding: 7px 0;
  border-bottom: 1px solid #557563;
}
.hero-side li:last-child {
  border: 0;
}
.section-title {
  margin: 30px 0 16px;
}
.section-title h2 {
  margin: 0;
}
.section-title span,
small,
footer {
  color: #537266;
  font-size: 0.88rem;
}
.cards,
.columns,
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.service,
.panel,
article {
  border: 1px solid #ccd9cd;
  background: white;
  border-radius: 15px;
  padding: 26px;
}
.service {
  display: block;
  color: inherit;
  position: relative;
  border-top: 4px solid #397960;
}
.service:nth-child(even) {
  border-top-color: #c39b42;
}
.service:hover {
  box-shadow: 0 6px 18px #142e2410;
  border-color: #7b9b89;
}
.service-icon {
  position: absolute;
  right: 26px;
  top: 14px;
  color: #648776;
  font-size: 2rem;
}
.service h2 {
  margin: 20px 0 7px;
}
.service p,
.intro p,
.panel > p {
  color: #566a60;
}
.service strong {
  display: inline-block;
  margin-top: 14px;
  border-bottom: 1px solid #377456;
}
.crumb {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.intro,
article {
  margin: 10px 0 26px;
}
.intro h1,
article h1,
.desk-head h1,
.narrow h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 14px;
}
.columns {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}
.panel .section-title {
  margin: 0 0 16px;
}
.leadpanel {
  background: #edf3e8;
}
.leadpanel h2 {
  margin-top: 6px;
}
.quick,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick {
  margin: 15px 0;
}
.quick button,
.minor {
  border: 1px solid #b7c9bb;
  background: white;
  color: #204b3a;
  padding: 7px 13px;
  font-size: 0.9rem;
}
.bubble {
  border-left: 3px solid #b9d0b5;
  background: #f6f8f4;
  margin: 12px 0;
  padding: 10px 15px;
}
.bubble p {
  margin: 5px 0;
  white-space: pre-line;
}
.guides {
  margin-top: 24px;
  border-top: 1px solid #dce4db;
  padding-top: 18px;
}
.doc-link {
  display: block;
  margin: 8px 0;
}
form,
label {
  display: grid;
  gap: 7px;
}
form {
  gap: 15px;
}
label {
  font-size: 0.92rem;
  font-weight: 600;
}
input,
select,
textarea,
button {
  font: inherit;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #a8bdac;
  border-radius: 7px;
  background: white;
  color: #193b2c;
  padding: 10px 12px;
}
textarea {
  resize: vertical;
  min-height: 78px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  background: #215b43;
  color: white;
  padding: 10px 18px;
  font-weight: 650;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
button:hover {
  filter: brightness(0.95);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ad822f;
  outline-offset: 2px;
}
.check {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  gap: 8px;
}
.check input {
  margin-top: 6px;
}
.narrow {
  max-width: 480px;
  margin: 6vh auto;
}
.desk-head {
  margin: 12px 0 20px;
}
.tabs {
  margin-bottom: 20px;
}
.tabs a {
  padding: 8px 13px;
  border-radius: 7px;
}
.tabs .active {
  background: #1c4f3c;
  color: white;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.kpis > div {
  padding: 18px;
  background: #f0f5ed;
  border-radius: 9px;
}
.kpis b {
  display: block;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}
.empty {
  padding: 35px 12px;
  text-align: center;
  color: #697c71;
}
.table-wrap {
  overflow: auto;
  margin-top: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #dbe3da;
  min-width: 5rem;
  overflow-wrap: anywhere;
}
th {
  background: #f1f5ef;
}
.editor {
  margin-top: 20px;
  border-top: 1px solid #d0ddcf;
  padding-top: 20px;
}
.prose {
  white-space: pre-line;
}
.check,
input[type="checkbox"] {
  accent-color: #285c44;
}
footer {
  padding: 20px max(calc((100vw - 1160px) / 2), 5vw);
  border-top: 1px solid #dce4db;
}
output:not(:empty) {
  padding: 8px;
  border-left: 3px solid #6f9666;
}
.formgrid {
  align-items: end;
}
.lead-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
  gap: 24px;
  align-items: start;
}
.lead-list,
.lead-detail {
  min-width: 0;
}
.lead-detail {
  border-left: 1px solid #d8e2db;
  padding-left: 24px;
  overflow-wrap: anywhere;
}
.lead-detail > .section-title {
  margin-top: 14px;
}
.lead-queues,
.lead-actions,
.lead-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lead-queues [aria-pressed="true"] {
  color: white;
  background: #215b43;
}
.lead-filters {
  margin-block: 14px;
}
.lead-rows {
  display: grid;
  gap: 8px;
}
.lead-card {
  display: grid;
  gap: 5px;
  padding: 12px 15px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ccd9cd;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.lead-card:hover,
.lead-card[aria-current] {
  background: #f0f5ed;
  border-color: #58866c;
}
.lead-card > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: #456957;
}
.lead-pager {
  justify-content: space-between;
  margin-top: 10px;
}
.lead-need {
  font-weight: 650;
}
.lead-back,
.call {
  display: inline-block;
  padding-block: 6px;
}
.lead-feedback:not(:empty) {
  background: #edf3e8;
  padding: 10px;
  margin-top: 12px;
}
.lead-history {
  padding-inline-start: 18px;
  border-left: 2px solid #c8d9c9;
  list-style: none;
}
.lead-history li {
  display: grid;
  margin-bottom: 12px;
}
.lead-history p {
  margin: 0;
  white-space: pre-line;
}
.timeline-title {
  margin-top: 25px;
}
.staff-layout {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: start;
}
.staff-list {
  display: grid;
  gap: 8px;
}
.staff-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 12px 16px;
  border: 1px solid #cad8cc;
  background: white;
  color: #204b3a;
  text-align: left;
  overflow-wrap: anywhere;
}
.staff-card[aria-pressed="true"] {
  border-color: #578369;
  background: #eef5ed;
}
.staff-card span {
  font-size: 0.83rem;
}
.staff-card small {
  grid-column: 1 / -1;
}
.staff-form {
  border-left: 1px solid #d8e2db;
  padding-left: 24px;
}
.staff-form fieldset {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #c9d8cc;
  border-radius: 8px;
}
.staff-form fieldset label {
  margin-bottom: 5px;
}
.staff-form input[readonly] {
  background: #f2f5f0;
}
.staff-result:empty {
  display: none;
}
.my-account {
  margin-top: 16px;
}
.my-account summary {
  cursor: pointer;
  font-weight: 650;
}
.my-account p {
  margin-top: 12px;
}
.password-form {
  max-width: 470px;
}
@media (max-width: 720px) {
  .staff-layout {
    grid-template-columns: 1fr;
  }
  .staff-form {
    border: 0;
    padding: 0;
  }
  .lead-workspace {
    display: block;
  }
  .lead-detail {
    display: none;
    border: 0;
    padding: 0;
  }
  .has-selection .lead-list {
    display: none;
  }
  .has-selection .lead-detail {
    display: block;
  }
  .lead-card,
  .lead-queues button,
  .lead-actions button,
  .lead-back,
  .call {
    min-height: 44px;
  }
  main {
    padding: 18px 15px 40px;
  }
  header {
    height: 65px;
    padding: 0 15px;
  }
  header nav {
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 270px;
  }
  .hero-side {
    display: none;
  }
  .hero:before {
    inset: 0 0 0 10%;
  }
  .cards,
  .columns,
  .formgrid {
    grid-template-columns: 1fr;
  }
  .panel,
  .service,
  article {
    padding: 20px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .desk-head {
    align-items: end;
  }
  footer {
    flex-wrap: wrap;
  }
}
