﻿:root {
  --red: #f04438;
  --red-dark: #d92d20;
  --blue: #3868f6;
  --blue-dark: #1f4ed8;
  --blue-soft: #eef5ff;
  --ink: #151414;
  --muted: #667085;
  --warm: #f4f8ff;
  --cream: #f8fbff;
  --line: rgba(32, 64, 128, 0.1);
  --shadow: 0 28px 80px rgba(35, 72, 145, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px clamp(22px, 5vw, 72px);
  color: #8b94a5;
  background: #f5f6f8;
  font-size: 13px;
}

.top-strip-left,
.top-strip-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.top-strip a {
  color: inherit;
}

.top-strip a:hover {
  color: var(--blue);
}

.top-strip a + a::before {
  content: "|";
  margin: 0 12px;
  color: #d2d7df;
}

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 260px;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  padding: 16px clamp(22px, 5vw, 72px);
  background: #fff;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(46px, 4.2vw, 58px);
  height: clamp(46px, 4.2vw, 58px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-mark img,
.service-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small,
.footer-brand strong,
.footer-brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1.15;
}

.brand small,
.footer-brand small {
  color: var(--muted);
  font-size: 13px;
}

.header-hotline {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0 12px;
  align-items: center;
  justify-self: end;
  min-width: 210px;
  padding: 15px 18px;
  border: 1px solid #e8ebf2;
  background: #fff;
}

.header-hotline span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 24px;
}

.header-hotline small {
  color: #666f80;
}

.header-hotline strong {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.1;
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 66px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(20, 31, 52, 0.04);
  font-size: 18px;
  font-weight: 900;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.category-nav a:hover {
  color: var(--blue);
}

.category-nav a.is-active {
  color: var(--blue);
}

.category-nav em {
  margin-left: 2px;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  transform: translateY(-8px);
}

.nav-cta,
.primary-btn,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(56, 104, 246, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(56, 104, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 104, 246, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 82% 28%, rgba(56, 104, 246, 0.14), transparent 18rem),
    linear-gradient(135deg, #fff, var(--cream));
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 24px;
  width: 440px;
  height: 440px;
  border: 70px solid rgba(56, 104, 246, 0.07);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: 520px;
  margin: 0 auto;
  padding: 54px 0 108px;
}

.section-kicker,
.section-title p,
.about-copy > p,
.consult-section > div > p {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  background: var(--blue);
  vertical-align: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
}

h1 span {
  color: var(--blue);
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 22px;
}

.hero-main-consult {
  min-width: 190px;
  min-height: 56px;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(71, 117, 255, 0.28);
  font-size: 18px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  color: #3a302b;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero-stats span {
  padding: 0 22px;
  color: var(--muted);
  border-left: 1px solid var(--line);
}

.hero-stats span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats strong {
  color: var(--ink);
}

.question-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.card-heading h2 {
  margin: 0;
  font-size: 24px;
}

.card-heading span {
  color: #b8aca7;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.question-card a {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  color: #3d3531;
  border-bottom: 1px solid var(--line);
}

.question-card a:hover {
  color: var(--blue);
}

.question-card strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.question-card p {
  margin: 22px 0 0;
  padding: 16px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 8px;
  text-align: center;
}

.intro-band {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 44px));
  margin: -38px auto 0;
  padding: 30px 34px;
  background: #24458f;
  color: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.intro-band p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
}

.intro-band h2 {
  margin: 0;
  font-size: 26px;
}

.intro-band ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-band li {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.intro-band li::before {
  content: "✓ ";
  color: #ffb4aa;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title h2,
.about-copy h2,
.consult-section h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.section-title span,
.about-copy span,
.consult-section span {
  color: var(--muted);
  font-size: 17px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-cards article,
.system-grid article,
.reason-grid article,
.process-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(35, 72, 145, 0.08);
}

.service-cards article {
  min-height: 300px;
  padding: 28px;
}

.service-cards i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 14px;
  font-style: normal;
  font-weight: 900;
}

.service-cards small {
  color: var(--blue-dark);
  font-weight: 900;
}

.service-cards h3,
.system-grid h3,
.reason-grid h3,
.process-list h3 {
  margin: 10px 0;
  font-size: 24px;
}

.service-cards p,
.system-grid article > span,
.reason-grid p,
.process-list p {
  color: var(--muted);
}

.service-cards a,
.system-grid article > a,
.item-list a,
.site-footer a {
  color: var(--blue-dark);
  font-weight: 900;
}

.icp-link {
  color: inherit;
  text-decoration: none;
}

.icp-link:hover {
  color: var(--blue);
}

.service-system {
  padding-top: 40px;
}

.system-grid {
  display: grid;
  gap: 22px;
}

.system-grid article {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  padding: 34px;
}

.system-grid article > p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.system-grid article > h3,
.system-grid article > span,
.system-grid article > a {
  grid-column: 1;
}

.item-list {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.item-list a {
  display: grid;
  grid-template-columns: 34px 1fr 20px;
  gap: 10px;
  align-items: center;
  padding: 16px;
  color: var(--ink);
  background: var(--blue-soft);
  border-radius: 12px;
}

.item-list b {
  color: var(--blue-dark);
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  padding: 96px clamp(22px, 5vw, 72px);
  background: #203b7d;
  color: #fff;
}

.about-copy h2 {
  color: #fff;
}

.about-copy span {
  color: rgba(255, 255, 255, 0.66);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reason-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.reason-grid b,
.process-list b {
  color: #90b8ff;
}

.reason-grid h3 {
  color: #fff;
}

.reason-grid p {
  color: rgba(255, 255, 255, 0.66);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 28px;
}

.consult-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding: 64px clamp(22px, 5vw, 72px);
  background: linear-gradient(135deg, var(--warm), #fff);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(35, 72, 145, 0.08);
}

.lead-form label,
.lead-form span {
  display: grid;
  gap: 6px;
}

.lead-form span {
  color: #453832;
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdfb;
  font-size: 14px;
}

.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status[data-type="success"] {
  color: #15803d;
}

.form-status[data-type="error"] {
  color: #b42318;
}

.form-status[data-type="pending"] {
  color: var(--blue-dark);
}

.verify-field {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 220px) 82px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: #f7faff;
  border: 1px solid #dfe8f8;
  border-radius: 8px;
}

.verify-field span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.verify-field b {
  color: var(--blue);
}

.verify-field > input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.verify-refresh {
  min-height: 38px;
  color: var(--blue);
  background: #eef4ff;
  border: 1px solid #d7e4fb;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.website-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
  padding: 54px clamp(22px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 7px 0;
  color: var(--muted);
}

.right-service {
  position: fixed;
  right: 22px;
  top: 36%;
  z-index: 45;
  display: grid;
  justify-items: center;
  width: clamp(106px, 7vw, 128px);
  padding: 14px 10px 12px;
  background: #fff;
  border: 1px solid #e7ebf4;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(35, 72, 145, 0.16);
  text-align: center;
  overflow: visible;
}

.service-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: -4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-avatar img,
.bottom-person span {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.service-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: transparent;
}

.service-online {
  margin: 0 0 8px;
  padding: 5px 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.right-service strong {
  margin: 4px 0 8px;
  color: var(--blue);
  font-size: 13px;
}

.right-service > a:not(.service-online):not(.back-top) {
  width: 100%;
  margin: 3px 0;
  padding: 8px 6px;
  color: #5d6677;
  background: #f4f7fd;
  border-radius: 5px;
  font-size: 13px;
}

.right-service > a:hover {
  color: #fff;
  background: var(--blue);
}

.right-service p {
  margin: 10px 0 4px;
  color: var(--blue);
  font-size: 12px;
}

.right-service b {
  color: var(--blue);
  font-size: 20px;
}

.right-service img.service-qr {
  display: block;
  width: min(86px, calc(100% - 10px)) !important;
  max-width: 86px !important;
  height: auto !important;
  max-height: 86px !important;
  aspect-ratio: 1 / 1;
  margin: 4px auto 2px;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e9f6;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(35, 72, 145, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  transform-origin: right center;
  cursor: zoom-in;
}

.right-service img.service-qr:hover {
  position: relative;
  z-index: 80;
  transform: scale(2.35);
  box-shadow: 0 18px 48px rgba(35, 72, 145, 0.24);
}

.back-top {
  width: 78px;
  margin-top: 10px;
  padding: 6px;
  color: var(--blue);
  background: #f4f7fd;
  border-radius: 6px;
  font-weight: 900;
}

.bottom-consult {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 44;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  min-height: 70px;
  padding: 6px clamp(22px, 12vw, 360px);
  color: #fff;
  background: rgba(30, 70, 160, 0.94);
  box-shadow: 0 -12px 30px rgba(35, 72, 145, 0.2);
}

.bottom-person {
  align-self: end;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.bottom-person span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
}

.bottom-consult strong {
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.bottom-consult strong::first-letter {
  color: #fff;
}

.bottom-consult p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.bottom-consult a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
  font-size: 20px;
  font-weight: 900;
}

.bottom-close {
  position: absolute;
  right: 24px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
}

body {
  padding-bottom: 76px;
}

.bottom-consult.is-hidden {
  display: none;
}

body.bottom-consult-closed {
  padding-bottom: 0;
}

.copyright {
  padding: 18px clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #203b7d;
  font-size: 13px;
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #203b7d, #10275e);
}

.admin-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.admin-login,
.admin-dashboard {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.admin-login {
  max-width: 460px;
  margin: 8vh auto 0;
  padding: 34px;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form label,
.admin-form span {
  display: grid;
  gap: 8px;
}

.admin-form input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form button,
.admin-actions button {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-dashboard {
  padding: 30px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.lead-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.lead-summary > div {
  padding: 20px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lead-summary strong,
.lead-summary span {
  display: block;
}

.lead-summary strong {
  font-size: 26px;
}

.lead-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.lead-table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.lead-table th {
  background: var(--warm);
  font-size: 14px;
}

@media (max-width: 980px) {
  .header-hotline,
  .category-nav,
  .right-service {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 84px;
  }

  .hero-grid,
  .about-section,
  .consult-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-cards,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-grid article {
    grid-template-columns: 1fr;
  }

  .item-list {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .top-strip,
  .nav-cta {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-grid {
    min-height: auto;
    padding: 58px 0 72px;
  }

  .hero-stats,
  .intro-band,
  .intro-band ul {
    display: grid;
  }

  .hero-stats span {
    padding: 8px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-cards,
  .reason-grid,
  .process-list,
  .lead-form,
  .item-list {
    grid-template-columns: 1fr;
  }

  body.has-bottom-consult {
    padding-bottom: 74px;
  }

  .bottom-consult {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 74px;
    padding: 10px 16px;
  }

  .bottom-person,
  .bottom-consult p {
    display: none;
  }

  .bottom-consult strong {
    font-size: 16px;
  }

  .bottom-consult a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  .bottom-close {
    display: none;
  }
}

/* Multipage, admin management and live chat additions */
button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.header-hotline {
  border: 1px solid #e8ebf2;
  text-align: left;
}

.light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 900;
}

.question-card button,
.item-list button {
  display: grid;
  align-items: center;
  width: 100%;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}

.question-card button {
  grid-template-columns: 34px 1fr 20px;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.question-card button:hover {
  color: var(--blue);
}

.item-list button {
  grid-template-columns: 34px 1fr 20px;
  gap: 10px;
  padding: 16px;
  background: var(--blue-soft);
  border-radius: 12px;
}

.section-actions {
  margin-top: 24px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: grid;
  align-content: start;
  min-height: 270px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(35, 72, 145, 0.08);
}

.project-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.project-card-top span,
.project-card-top em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-card-top span {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.project-card-top em {
  color: #fff;
  background: var(--blue);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.project-card p {
  color: var(--muted);
}

.project-card small {
  display: block;
  margin: auto 0 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  padding: 0;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.lead-form textarea,
.chat-form textarea,
.admin-card-form textarea {
  min-height: 78px;
  resize: vertical;
}

.lead-form textarea,
.chat-form input,
.chat-form textarea,
.admin-card-form input,
.admin-card-form textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
}

.lead-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.right-service button {
  border: 0;
}

.right-service > button:not(.service-online) {
  width: 100%;
  margin: 3px 0;
  padding: 8px 6px;
  color: #5d6677;
  background: #f4f7fd;
  border-radius: 5px;
  font-size: 13px;
}

.right-service > button:hover {
  color: #fff;
  background: var(--blue);
}

.service-online,
.bottom-consult > button:not(.bottom-close) {
  border: 0;
}

.bottom-consult > button:not(.bottom-close) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #fff;
  background: var(--blue);
  border-radius: 7px;
  font-size: 20px;
  font-weight: 900;
}

.sub-hero {
  padding: 84px clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 80% 28%, rgba(56, 104, 246, 0.14), transparent 22rem),
    linear-gradient(135deg, #fff, #eef5ff);
}

.sub-hero h1 {
  max-width: 980px;
  margin-bottom: 16px;
}

.sub-hero span {
  display: block;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.about-detail {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.about-detail h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.about-detail p {
  color: var(--muted);
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(35, 72, 145, 0.08);
}

.value-list b {
  color: var(--blue-dark);
}

.chat-panel {
  position: fixed;
  right: 26px;
  bottom: 98px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 126px));
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f6;
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(25, 49, 104, 0.24);
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-panel,
.chat-panel * {
  box-sizing: border-box;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.chat-head strong,
.chat-head span {
  display: block;
}

.chat-head span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.chat-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
}

.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  overflow-x: hidden;
}

.chat-message {
  margin-bottom: 10px;
  padding: 10px 12px;
  color: #344054;
  background: var(--blue-soft);
  border-radius: 12px 12px 12px 3px;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.quick-replies button {
  padding: 6px 9px;
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid #dbe6ff;
  border-radius: 999px;
  font-size: 13px;
}

.chat-form {
  display: grid;
  gap: 8px;
}

.chat-form .verify-field {
  grid-template-columns: minmax(0, 1fr) minmax(110px, 140px) 72px;
  min-width: 0;
}

.chat-form .verify-field span {
  min-width: 0;
}

.chat-form button,
.admin-card-form button,
.row-actions button {
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.admin-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 8px;
  font-weight: 800;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 18px;
  color: #344054;
  background: var(--blue-soft);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.admin-tabs button.is-active {
  color: #fff;
  background: var(--blue);
}

.admin-two-col {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

.admin-card-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-card-form h2 {
  margin: 0 0 4px;
}

.admin-card-form label,
.admin-card-form span {
  display: grid;
  gap: 7px;
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: center;
  font-weight: 900;
}

.check-row input {
  width: auto;
}

.form-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions button:nth-child(2),
.row-actions button:nth-child(2) {
  color: #475467;
  background: #eef2f7;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-project-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.admin-project-item p {
  margin: 4px 0;
  color: var(--muted);
}

.admin-project-item em {
  color: var(--blue-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.settings-form {
  max-width: 720px;
}

.empty-note {
  padding: 22px;
  color: var(--muted);
  background: var(--blue-soft);
  border-radius: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(35, 72, 145, 0.06);
}

.faq-toggle {
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
}

.faq-toggle strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.faq-toggle span {
  font-size: 18px;
  font-weight: 900;
}

.faq-toggle i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.faq-answer {
  display: none;
  margin: 0;
  padding: 0 20px 20px 78px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-toggle i {
  color: #fff;
  background: var(--blue);
}

.faq-list-compact {
  gap: 8px;
  margin-top: 16px;
}

.faq-list-compact .faq-item {
  box-shadow: none;
  border-radius: 10px;
}

.faq-list-compact .faq-toggle {
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 0;
}

.faq-list-compact .faq-toggle span {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}

.faq-list-compact .faq-answer {
  padding: 0 0 14px 44px;
  font-size: 14px;
}

.question-card .question-more {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue-dark);
  font-weight: 900;
}

.faq-page-section {
  padding-top: 72px;
}

.project-group {
  display: grid;
  gap: 22px;
  margin-bottom: 42px;
}

.project-list-groups {
  display: grid;
  gap: 46px;
}

.project-group:last-child {
  margin-bottom: 0;
}

.project-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 28px 30px;
  background: linear-gradient(135deg, #f7faff, #eef5ff);
  border: 1px solid #dfe8f8;
  border-radius: 14px;
}

.project-group-head p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-group-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
}

.project-group-head span {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.75;
}

.project-group-head button {
  min-width: 148px;
  min-height: 44px;
  padding: 0 22px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(31, 100, 255, 0.18);
}

.registration-only {
  display: none;
}

.accounting-only {
  display: none;
}

.cancellation-only {
  display: none;
}

.registration-mode .registration-only {
  display: block;
}

.accounting-mode .accounting-only {
  display: block;
}

.cancellation-mode .cancellation-only {
  display: block;
}

.registration-mode .generic-project-hero {
  display: none;
}

.accounting-mode .generic-project-hero {
  display: none;
}

.cancellation-mode .generic-project-hero {
  display: none;
}

.registration-landing {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 26%, rgba(56, 104, 246, 0.18), transparent 24rem),
    linear-gradient(135deg, #f6faff 0%, #fff 52%, #eef5ff 100%);
}

.registration-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: 520px;
  margin: 0 auto;
  padding: 76px 0 90px;
}

.registration-hero h1 {
  max-width: 760px;
}

.registration-hero h1 span {
  color: var(--blue);
}

.registration-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.registration-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.registration-stats span {
  padding: 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(35, 72, 145, 0.06);
}

.registration-stats strong {
  display: block;
  color: var(--ink);
}

.registration-consult-card {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(56, 104, 246, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.registration-consult-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.registration-consult-card dl {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.registration-consult-card dl div {
  padding: 14px;
  background: var(--blue-soft);
  border-radius: 10px;
}

.registration-consult-card dt {
  color: var(--muted);
  font-size: 13px;
}

.registration-consult-card dd {
  margin: 4px 0 0;
  color: var(--blue-dark);
  font-weight: 900;
}

.registration-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.registration-card-grid article,
.material-grid article,
.promise-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(35, 72, 145, 0.08);
}

.registration-card-grid em {
  display: inline-flex;
  min-height: 26px;
  margin-bottom: 18px;
  padding: 0 10px;
  align-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.registration-card-grid h3,
.material-grid h3,
.promise-grid h3 {
  font-size: 24px;
}

.registration-card-grid p,
.material-grid li,
.promise-grid p {
  color: var(--muted);
}

.registration-shortcuts {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 44px));
  margin: -34px auto 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.registration-shortcuts button {
  min-height: 74px;
  color: #344054;
  background: var(--blue-soft);
  border: 0;
  border-radius: 10px;
  font-weight: 900;
}

.registration-shortcuts button:hover {
  color: #fff;
  background: var(--blue);
}

.project-list-section .registration-shortcuts {
  width: 100%;
  margin: 28px 0 0;
  box-shadow: none;
}

.registration-channel {
  width: min(1280px, calc(100% - 44px));
  margin: -18px auto 54px;
  padding: 28px 34px;
  background: #fff;
  border: 1px solid rgba(56, 104, 246, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(31, 72, 145, 0.1);
}

.registration-channel h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(28px, 3.4vw, 38px);
}

.registration-fast-form {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1.25fr;
  gap: 12px 18px;
  align-items: center;
}

.address-options,
.registration-select-field {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  color: #4c5566;
  font-size: 15px;
}

.address-options label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.address-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.registration-select-field select {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 36px 0 13px;
  color: #667085;
  background:
    linear-gradient(45deg, transparent 50%, #98a2b3 50%),
    linear-gradient(135deg, #98a2b3 50%, transparent 50%),
    #fff;
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%, 0 0;
  background-size: 7px 7px, 7px 7px, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid #d7deea;
  border-radius: 6px;
  appearance: none;
}

.registration-field {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d7deea;
  border-radius: 8px;
}

.registration-field span {
  font-size: 18px;
}

.registration-field input {
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.registration-fast-form > input[type="hidden"] {
  display: none;
}

.registration-fast-form .verify-field {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 220px) 82px;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #dfe8f8;
  border-radius: 8px;
}

.registration-fast-form .verify-field > input,
.registration-fast-form .verify-refresh {
  min-height: 38px;
  border-radius: 6px;
}

.registration-fast-form > button[type="submit"] {
  grid-column: 3;
  min-height: 48px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 900;
}

.registration-fast-status {
  grid-column: 1 / -1;
}

.registration-channel-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.registration-channel-points article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #f7faff;
  border: 1px solid #dfe8f8;
  border-radius: 10px;
}

.registration-channel-points article:last-child {
  border-right: 0;
}

.registration-channel-points b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 14px;
}

.registration-channel-points strong,
.registration-channel-points span {
  display: block;
}

.registration-channel-points span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.registration-channel-points strong {
  font-size: 15px;
  white-space: nowrap;
}

.registration-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  width: min(1280px, calc(100% - 44px));
  min-height: 150px;
  margin: 0 auto 62px;
  padding: 34px 44px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.22), transparent 4rem),
    radial-gradient(circle at 96% 72%, rgba(255, 255, 255, 0.24), transparent 8rem),
    linear-gradient(135deg, #1f64ff 0%, #2858f4 48%, #1747d8 100%);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(24, 78, 216, 0.28);
}

.registration-ad::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -46px;
  bottom: -86px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.registration-ad > div,
.registration-ad button {
  position: relative;
  z-index: 1;
}

.registration-ad p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.registration-ad h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.registration-ad span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.registration-ad button {
  min-height: 58px;
  color: var(--blue);
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.material-section {
  padding-top: 76px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.material-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.material-grid li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 900;
}

.process-panel {
  padding-top: 36px;
}

.process-panel ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-panel li {
  min-height: 132px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.process-panel b,
.promise-grid b {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 14px;
}

.process-panel strong,
.process-panel span {
  display: block;
}

.process-panel strong {
  margin-bottom: 8px;
  font-size: 18px;
  white-space: nowrap;
}

.process-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.registration-promise {
  padding-top: 36px;
}

.accounting-landing {
  padding: 68px 22px 42px;
  background:
    linear-gradient(135deg, rgba(56, 104, 246, 0.1), rgba(255, 255, 255, 0.86)),
    #f6f9ff;
}

.accounting-plan {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 26px 34px 24px;
  background: #fff;
  border: 1px solid rgba(56, 104, 246, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(31, 72, 145, 0.1);
}

.accounting-plan-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.accounting-plan h1 {
  margin: 0;
  white-space: nowrap;
  font-size: 30px;
}

.turnover-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  color: #606a78;
  font-size: 15px;
}

.turnover-options label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  cursor: pointer;
}

.turnover-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.accounting-plan-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(160px, 210px);
  align-items: stretch;
  border: 1px solid #dbe5fb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.accounting-field {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border-right: 1px solid #d9e0ee;
}

.accounting-field span {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.accounting-field input,
.accounting-field select {
  width: 100%;
  min-width: 0;
  height: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.accounting-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #667085 50%), linear-gradient(135deg, #667085 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 24px;
}

.accounting-field input::placeholder {
  color: #a0a7b3;
}

.accounting-plan-form > input[type="hidden"] {
  display: none;
}

.accounting-plan-form .verify-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 220px) 82px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #d9e0ee;
  border-radius: 0;
}

.accounting-plan-form .verify-field > span {
  color: #485264;
  font-weight: 800;
}

.accounting-plan-form .verify-field > input,
.accounting-plan-form .verify-refresh {
  min-height: 38px;
  border-radius: 6px;
}

.accounting-plan-form > button[type="submit"] {
  grid-column: 4;
  grid-row: 1;
  min-height: 50px;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-size: 17px;
  font-weight: 900;
}

.accounting-plan-status {
  grid-column: 1 / -1;
  padding: 0 12px 10px;
}

.accounting-plan-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  color: #333b4a;
  font-size: 18px;
}

.accounting-plan-foot strong {
  color: var(--ink);
}

.accounting-plan-foot b {
  color: #12b76a;
  font-size: 24px;
}

.accounting-plan-foot em {
  color: #ef5538;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
}

.accounting-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  width: min(1280px, 100%);
  min-height: 150px;
  margin: 28px auto 0;
  padding: 34px 44px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.3), transparent 4rem),
    radial-gradient(circle at 96% 72%, rgba(255, 255, 255, 0.24), transparent 8rem),
    linear-gradient(135deg, #1f64ff 0%, #2858f4 48%, #1747d8 100%);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(24, 78, 216, 0.28);
}

.accounting-ad::before,
.accounting-ad::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  pointer-events: none;
}

.accounting-ad::before {
  width: 76px;
  height: 76px;
  left: 34px;
  top: 36px;
}

.accounting-ad::after {
  width: 180px;
  height: 180px;
  right: -46px;
  bottom: -86px;
}

.accounting-ad > div,
.accounting-ad button {
  position: relative;
  z-index: 1;
}

.accounting-ad p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.accounting-ad h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.accounting-ad span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.accounting-ad button {
  min-height: 58px;
  color: var(--blue);
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(16, 42, 113, 0.16);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.registration-mode .project-list-section {
  padding-top: 42px;
}

.project-consult {
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  padding: 36px max(22px, calc((100vw - 1180px) / 2));
  overflow: visible;
}

.project-consult > div {
  min-width: 0;
}

.project-consult h2 {
  max-width: 420px;
  overflow-wrap: break-word;
}

.project-consult .lead-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  padding: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.project-consult .lead-form label {
  gap: 6px;
}

.project-consult .lead-form span {
  font-size: 14px;
}

.project-consult .lead-form input,
.project-consult .lead-form select,
.project-consult .lead-form textarea {
  min-height: 38px;
  font-size: 14px;
}

.project-consult .lead-form textarea {
  min-height: 38px;
}

.project-consult .lead-form label:nth-child(3) {
  grid-column: span 2;
}

.project-consult .lead-form label:nth-child(4) {
  grid-column: span 2;
}

.project-consult .verify-field {
  grid-column: 1 / 4;
  grid-template-columns: minmax(140px, 1fr) minmax(130px, 180px) 76px;
  align-items: center;
  gap: 8px;
}

.project-consult .verify-refresh {
  min-height: 38px;
  padding: 0 10px;
}

.project-consult .lead-form button[type="submit"] {
  grid-column: 4;
  min-height: 38px;
}

.project-consult .form-status {
  grid-column: 1 / -1;
}

.registration-faq {
  padding-top: 32px;
}

.cancellation-risk {
  width: 100%;
  max-width: none;
  padding-top: 74px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 104, 246, 0.08), transparent 18rem),
    linear-gradient(180deg, #fff, #f7fbff);
}

.cancellation-risk .section-title {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 36px;
}

.risk-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.risk-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 28px 22px;
  overflow: hidden;
  color: #fff;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(22, 47, 120, 0.16);
}

.risk-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.36), transparent 2.4rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%);
  pointer-events: none;
}

.risk-card h3,
.risk-card p,
.risk-card button {
  position: relative;
  z-index: 1;
}

.risk-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 22px;
}

.risk-card p {
  min-height: 82px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.risk-card button {
  min-height: 42px;
  color: #fff;
  background: linear-gradient(90deg, #ff7a1a, #ffbd45);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.risk-orange {
  background: linear-gradient(135deg, rgba(207, 94, 30, 0.92), rgba(244, 137, 43, 0.88)), url("assets/zhaocaimao-logo.svg");
}

.risk-teal {
  background: linear-gradient(135deg, rgba(0, 126, 135, 0.94), rgba(35, 158, 166, 0.86));
}

.risk-purple {
  background: linear-gradient(135deg, rgba(92, 25, 176, 0.95), rgba(137, 70, 220, 0.86));
}

.risk-blue {
  background: linear-gradient(135deg, rgba(20, 62, 194, 0.96), rgba(34, 91, 230, 0.88));
}

.risk-cyan {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.95), rgba(72, 174, 255, 0.84));
}

.cancel-type-section {
  width: min(1280px, calc(100% - 44px));
  margin: 64px auto 0;
}

.cancel-type-section .section-title {
  width: 100%;
}

.cancel-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe5f0;
  background: #fff;
}

.cancel-type-card {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 146px;
  padding: 28px 24px;
  color: #34415f;
  background: #fff;
  border: 0;
  border-right: 1px solid #dfe5f0;
  border-bottom: 1px solid #dfe5f0;
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cancel-type-card:nth-child(4n) {
  border-right: 0;
}

.cancel-type-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.cancel-type-card i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.9), transparent 35%),
    linear-gradient(135deg, #6aa0ff, #1f64ff);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(31, 100, 255, 0.32);
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
}

.cancel-type-card span {
  min-width: 0;
  white-space: nowrap;
  font-size: clamp(21px, 1.25vw, 24px);
  font-weight: 900;
}

.cancel-type-card em {
  position: absolute;
  left: 98px;
  bottom: 24px;
  display: inline-flex;
  min-height: 36px;
  padding: 0 22px;
  align-items: center;
  color: var(--blue);
  background: #fff;
  border-radius: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.cancel-type-card:hover {
  z-index: 2;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 22px 54px rgba(31, 100, 255, 0.28);
  transform: translateY(-2px);
}

.cancel-type-card:hover i {
  color: var(--blue);
  background:
    radial-gradient(circle at 68% 38%, #fff, rgba(255, 255, 255, 0.48) 34%, transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), #dfe9ff);
}

.cancel-type-card:hover em {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .project-grid,
  .project-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-detail,
  .admin-two-col,
  .registration-hero {
    grid-template-columns: 1fr;
  }

  .registration-card-grid,
  .material-grid,
  .registration-stats,
  .registration-channel-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-shortcuts,
  .process-panel ol,
  .promise-grid,
  .risk-card-grid,
  .cancel-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cancel-type-card:nth-child(4n) {
    border-right: 1px solid #dfe5f0;
  }

  .cancel-type-card:nth-child(2n) {
    border-right: 0;
  }

  .cancel-type-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid #dfe5f0;
  }

  .cancel-type-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .cancellation-risk {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .accounting-landing {
    padding: 44px 18px 32px;
  }

  .accounting-plan {
    padding: 28px;
  }

  .accounting-ad {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .accounting-ad button {
    width: min(220px, 100%);
  }

  .registration-channel {
    padding: 30px;
  }

  .registration-fast-form {
    grid-template-columns: 1fr;
  }

  .address-options,
  .registration-select-field {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .registration-field,
  .registration-fast-form .verify-field,
  .registration-fast-form > button[type="submit"] {
    grid-column: 1 / -1;
  }

  .registration-fast-form .verify-field {
    grid-template-columns: 1fr;
    border-top: 1px solid #dfe8f8;
  }

  .registration-ad {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .registration-ad button {
    width: min(220px, 100%);
  }

  .accounting-plan-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .accounting-plan h1 {
    white-space: normal;
  }

  .turnover-options {
    gap: 12px 18px;
    font-size: 15px;
  }

  .accounting-plan-form {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .accounting-field {
    min-height: 48px;
    border-right: 0;
    border-bottom: 1px solid #d9e0ee;
  }

  .accounting-plan-form .verify-field,
  .accounting-plan-status {
    grid-column: 1 / -1;
  }

  .accounting-plan-form .verify-field {
    grid-template-columns: minmax(106px, 1fr) minmax(92px, 126px) 66px;
  }

  .accounting-plan-form > button[type="submit"] {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 46px;
  }

  .project-consult {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .project-consult .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-consult .verify-field,
  .project-consult .lead-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .project-grid,
  .project-grid-large,
  .registration-card-grid,
  .material-grid,
  .registration-stats,
  .registration-shortcuts,
  .registration-channel-points,
  .accounting-plan-form,
  .process-panel ol,
  .promise-grid,
  .risk-card-grid,
  .cancel-type-grid {
    grid-template-columns: 1fr;
  }

  .cancel-type-section {
    width: calc(100% - 28px);
    margin-top: 38px;
  }

  .cancel-type-card {
    grid-template-columns: 58px 1fr;
    min-height: 96px;
    padding: 18px;
    border-right: 0 !important;
    border-bottom: 1px solid #dfe5f0 !important;
  }

  .cancel-type-card:last-child {
    border-bottom: 0 !important;
  }

  .cancel-type-card i {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .cancel-type-card span {
    font-size: clamp(18px, 5vw, 20px);
  }

  .cancel-type-card em {
    position: static;
    grid-column: 2;
    width: fit-content;
    margin-top: 8px;
    opacity: 1;
    transform: none;
  }

  .cancellation-risk {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .cancellation-risk .section-title,
  .risk-card-grid {
    width: calc(100% - 28px);
  }

  .risk-card {
    min-height: 220px;
    padding: 24px 20px;
    border-radius: 14px;
  }

  .risk-card p {
    min-height: auto;
  }

  .accounting-landing {
    padding: 32px 14px;
  }

  .accounting-plan {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .registration-channel {
    width: calc(100% - 28px);
    margin: -10px auto 28px;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .registration-channel h2 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .registration-fast-form {
    gap: 14px;
  }

  .address-options,
  .registration-select-field {
    font-size: 15px;
  }

  .registration-select-field select,
  .registration-field {
    width: 100%;
  }

  .registration-field {
    min-height: 58px;
    padding: 0 14px;
  }

  .registration-field input {
    min-height: 54px;
    font-size: 16px;
  }

  .registration-fast-form .verify-field {
    grid-template-columns: minmax(106px, 1fr) minmax(92px, 126px) 66px;
    min-height: auto;
    padding: 8px;
  }

  .registration-fast-form > button[type="submit"] {
    min-height: 52px;
    font-size: 18px;
  }

  .registration-channel-points {
    gap: 12px;
    margin-top: 22px;
    border-top: 0;
  }

  .registration-channel-points article {
    grid-template-columns: 44px 1fr;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .registration-channel-points b {
    width: 44px;
    height: 44px;
  }

  .registration-ad {
    width: calc(100% - 28px);
    min-height: auto;
    margin: 0 auto 36px;
    padding: 24px 18px;
    border-radius: 14px;
  }

  .registration-ad h2 {
    font-size: 25px;
  }

  .registration-ad span {
    font-size: 15px;
  }

  .registration-ad button {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
  }

  .accounting-ad {
    min-height: auto;
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: 14px;
  }

  .accounting-ad h2 {
    font-size: 25px;
  }

  .accounting-ad span {
    font-size: 15px;
  }

  .accounting-ad button {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
  }

  .accounting-plan-head {
    gap: 16px;
    margin-bottom: 18px;
  }

  .accounting-plan h1 {
    font-size: 28px;
  }

  .turnover-options {
    gap: 12px;
    font-size: 15px;
  }

  .turnover-options span {
    flex: 0 0 100%;
  }

  .turnover-options label {
    flex: 1 1 calc(50% - 12px);
    min-width: 126px;
    min-height: 34px;
    padding: 0 10px;
    background: #f4f7fd;
    border-radius: 999px;
  }

  .accounting-field {
    min-height: 58px;
    padding: 0 14px;
  }

  .accounting-field input,
  .accounting-field select {
    font-size: 16px;
  }

  .accounting-plan-form .verify-field {
    grid-template-columns: minmax(106px, 1fr) minmax(92px, 126px) 66px;
    padding: 8px;
  }

  .accounting-plan-form > button[type="submit"] {
    min-height: 52px;
    font-size: 18px;
  }

  .accounting-plan-status {
    padding: 0 14px 12px;
  }

  .accounting-plan-foot {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    font-size: 15px;
  }

  .accounting-plan-foot b,
  .accounting-plan-foot em {
    font-size: 20px;
  }

  .project-consult {
    padding: 34px 14px;
  }

  .project-consult .lead-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .project-consult .lead-form label:nth-child(3),
  .project-consult .lead-form label:nth-child(4) {
    grid-column: 1 / -1;
  }

  .project-consult .verify-field {
    grid-template-columns: minmax(106px, 1fr) minmax(92px, 126px) 66px;
  }

  .bottom-consult > button:not(.bottom-close) {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  .chat-panel {
    right: 12px;
    bottom: 88px;
  }
}

@media (max-width: 390px) {
  .accounting-plan h1 {
    font-size: 25px;
  }

  .turnover-options label {
    flex-basis: 100%;
  }

  .accounting-field {
    grid-template-columns: 28px 1fr;
    padding: 0 12px;
  }

  .accounting-field span {
    font-size: 20px;
  }
}

/* Mobile responsive polish */
body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

@media (max-width: 980px) {
  .top-strip {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(32, 57, 112, 0.1);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    display: block;
    font-size: 12px;
  }

  .header-hotline,
  .right-service {
    display: none;
  }

  .category-nav {
    position: sticky;
    top: 68px;
    z-index: 79;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    min-height: auto;
    padding: 10px 14px;
    overflow-x: auto;
    background: #fff;
    box-shadow: 0 8px 20px rgba(32, 57, 112, 0.08);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    color: #1d2a44;
    background: #f4f7fd;
    border-radius: 999px;
    font-size: 14px;
    scroll-snap-align: start;
  }

  .category-nav a.is-active,
  .category-nav a:hover {
    color: #fff;
    background: var(--blue);
  }

  .category-nav em {
    margin-left: 4px;
    transform: none;
  }

  .hero-grid,
  .section,
  .registration-hero,
  .registration-shortcuts {
    width: min(100% - 28px, 720px);
  }

  .hero-grid {
    gap: 24px;
    min-height: auto;
    padding: 34px 0 54px;
  }

  .hero::after {
    display: none;
  }

  h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-text,
  .registration-hero p,
  .section-title span,
  .consult-section span {
    font-size: 15px;
  }

  .question-card,
  .project-card,
  .registration-card-grid article,
  .material-grid article,
  .promise-grid article,
  .process-panel li {
    min-height: auto;
    border-radius: 14px;
    padding: 20px;
  }

  .project-group {
    gap: 16px;
    margin-bottom: 30px;
  }

  .project-group-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding: 22px;
    border-radius: 14px;
  }

  .project-group-head h3 {
    font-size: 26px;
  }

  .project-group-head button {
    width: 100%;
  }

  .intro-band {
    width: calc(100% - 28px);
    margin: -22px auto 0;
    padding: 22px;
    border-radius: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .consult-section {
    gap: 18px;
    padding: 42px 14px;
  }

  .lead-form {
    border-radius: 12px;
    padding: 16px;
  }

  .faq-toggle,
  .faq-toggle span {
    min-width: 0;
  }

  .faq-toggle span {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  body.has-bottom-consult {
    padding-bottom: 82px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-nav {
    top: 60px;
    padding: 8px 12px;
  }

  .category-nav a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-grid {
    width: calc(100% - 28px);
    padding: 28px 0 48px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-btn,
  .secondary-btn,
  .lead-form button {
    width: 100%;
  }

  .hero-stats {
    gap: 0;
  }

  .intro-band {
    display: grid;
    gap: 14px;
  }

  .intro-band h2 {
    font-size: 22px;
  }

  .service-system,
  .process-section {
    padding-top: 34px;
  }

  .system-grid article {
    padding: 22px;
  }

  .item-list button {
    padding: 13px;
  }

  .about-section {
    gap: 28px;
    padding: 56px 14px;
  }

  .consult-section,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form label,
  .lead-form label:nth-child(3),
  .lead-form label:nth-child(4),
  .verify-field,
  .lead-form button,
  .form-status {
    grid-column: 1 / -1;
  }

  .verify-field {
    grid-template-columns: minmax(106px, 1fr) minmax(92px, 126px) 66px;
    gap: 6px;
    padding: 8px;
  }

  .verify-field span {
    font-size: 13px;
  }

  .verify-refresh {
    min-height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }

  .chat-panel {
    right: 12px;
    left: 12px;
    bottom: 76px;
    top: auto;
    display: flex;
    flex-direction: column;
    width: auto;
    max-height: min(560px, calc(100vh - 96px));
    overflow: hidden;
    border-radius: 12px;
  }

  .chat-body {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .chat-form .verify-field {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 1fr);
  }

  .chat-form .verify-field span,
  .chat-form .verify-refresh {
    grid-column: auto;
  }

  .chat-form .verify-refresh {
    min-width: 72px;
  }

  .chat-form .verify-field > input {
    grid-column: 1 / -1;
  }

  .bottom-consult {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    gap: 10px;
    padding: 10px 12px;
  }

  .bottom-consult strong {
    font-size: 15px;
    line-height: 1.35;
  }

  .bottom-consult > button:not(.bottom-close) {
    min-width: 94px;
    padding: 0 12px;
    font-size: 14px;
  }

  .registration-hero {
    width: calc(100% - 28px);
    min-height: auto;
    gap: 22px;
    padding: 34px 0 56px;
  }

  .registration-consult-card {
    border-radius: 12px;
    padding: 16px;
  }

  .registration-shortcuts {
    width: calc(100% - 28px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: -24px auto 0;
    padding: 10px;
  }

  .registration-shortcuts button {
    min-height: 50px;
  }

  .process-panel ol {
    gap: 10px;
  }

  .sub-hero {
    padding: 52px 14px;
  }

  .site-footer {
    gap: 22px;
    padding: 34px 18px;
  }

  .site-footer h3 {
    margin-bottom: 8px;
  }

  .site-footer a,
  .site-footer p {
    margin: 6px 0;
  }

  .copyright {
    padding: 14px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 30px;
  }

  .brand small {
    max-width: 180px;
  }

  .bottom-consult strong {
    font-size: 14px;
  }
}

/* Admin SaaS refresh */
.admin-page {
  color: #1f2937;
  background: #f4f7fb;
  font-size: 14px;
}

.admin-page .eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.admin-shell {
  width: min(1280px, calc(100% - 32px));
  padding: 28px 0;
}

.admin-login,
.admin-dashboard {
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.admin-login {
  max-width: 420px;
  padding: 28px;
}

.admin-login h1,
.admin-topbar h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.admin-login p,
.admin-topbar p {
  color: #667085;
  font-size: 13px;
}

.admin-dashboard {
  padding: 22px;
}

.admin-topbar {
  margin-bottom: 18px;
}

.admin-actions {
  align-items: center;
}

.admin-actions a,
.admin-actions button,
.admin-form button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.admin-tabs {
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  background: #f2f5fa;
  border: 1px solid #e7edf6;
  border-radius: 12px;
}

.admin-tabs button {
  min-height: 34px;
  padding: 0 14px;
  color: #475467;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.admin-tabs button.is-active {
  color: #1f4ed8;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.lead-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.lead-summary > div {
  min-height: 76px;
  padding: 14px 16px;
  background: #f8fbff;
  border-radius: 10px;
}

.lead-summary strong {
  font-size: 20px;
}

.lead-summary span {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
}

.lead-table-wrap {
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

.lead-table {
  min-width: 1120px;
  font-size: 13px;
}

.lead-table th,
.lead-table td {
  padding: 10px 12px;
  vertical-align: middle;
  white-space: nowrap;
}

.lead-table th {
  color: #667085;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
}

.lead-message-cell {
  max-width: 240px;
  overflow: hidden;
  color: #475467;
  text-overflow: ellipsis;
}

.lead-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #2563eb;
  background: #eef4ff;
  border: 1px solid #d7e4ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lead-status-badge[data-status="联系不上"],
.lead-status-badge[data-status="没兴趣"] {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.lead-status-badge[data-status="已报价"] {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.lead-status-badge[data-status="成单"] {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.lead-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 330px;
}

.lead-status-btn {
  min-height: 26px;
  padding: 0 8px;
  color: #344054;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lead-status-btn:hover,
.lead-status-btn.is-active {
  color: #fff;
  background: #3867f6;
  border-color: #3867f6;
}

.lead-status-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.admin-two-col {
  grid-template-columns: 360px 1fr;
  gap: 16px;
}

.admin-card-form {
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
}

.admin-card-form h2 {
  font-size: 18px;
}

.admin-card-form label,
.admin-card-form span {
  gap: 5px;
  font-size: 13px;
}

.admin-form input,
.admin-card-form input,
.admin-card-form textarea {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.admin-card-form textarea {
  min-height: 92px;
}

.chat-form button,
.admin-card-form button,
.row-actions button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 13px;
}

.admin-project-item {
  padding: 14px;
  border-radius: 12px;
}

.admin-project-item strong {
  font-size: 14px;
}

.admin-project-item p,
.admin-project-item em {
  font-size: 12px;
}

@media (max-width: 980px) {
  .admin-topbar,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    display: grid;
  }

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

@media (max-width: 640px) {
  .admin-shell {
    width: min(100% - 20px, 1280px);
    padding: 14px 0;
  }

  .admin-dashboard,
  .admin-login {
    padding: 16px;
  }

  .admin-actions,
  .admin-tabs {
    width: 100%;
  }

  .admin-actions {
    flex-wrap: wrap;
  }

  .admin-tabs button {
    flex: 1 1 calc(50% - 8px);
  }

  .lead-summary {
    grid-template-columns: 1fr;
  }
}

/* CMS management workspace */
.admin-page {
  min-width: 0;
}

.admin-page .admin-shell {
  width: min(1480px, calc(100% - 32px));
}

.admin-page [hidden] {
  display: none !important;
}

.cms-dashboard {
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 56px);
  padding: 0;
  overflow: hidden;
}

.cms-dashboard:not([hidden]) {
  display: grid;
}

.cms-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 14px;
  color: #dbe7ff;
  background: #173a78;
}

.cms-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.cms-brand > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #173a78;
  background: #fff;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.cms-brand div,
.cms-brand strong,
.cms-brand small {
  display: block;
  min-width: 0;
}

.cms-brand strong {
  color: #fff;
  font-size: 15px;
}

.cms-brand small {
  margin-top: 2px;
  color: #9fb8e8;
  font-size: 11px;
}

.cms-sidebar .admin-tabs {
  display: grid;
  gap: 5px;
  margin: 16px 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.cms-sidebar .admin-tabs button {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: #c6d5f0;
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cms-sidebar .admin-tabs button:hover,
.cms-sidebar .admin-tabs button.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
  box-shadow: none;
}

.cms-version {
  margin: auto 8px 0;
  color: #89a6dc;
  font-size: 11px;
}

.cms-workspace {
  min-width: 0;
  padding: 22px;
  background: #f6f8fc;
}

.cms-workspace .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cms-notice {
  margin-bottom: 14px;
  padding: 11px 13px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
}

.cms-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cms-metrics article {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
}

.cms-metrics span,
.cms-metrics small {
  display: block;
  color: #667085;
  font-size: 12px;
}

.cms-metrics strong {
  display: block;
  margin: 8px 0 5px;
  color: #172b4d;
  font-size: 28px;
  line-height: 1;
}

.cms-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cms-quick-grid button {
  min-height: 96px;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
}

.cms-quick-grid button:hover {
  border-color: #9bb7ff;
  box-shadow: 0 10px 28px rgba(34, 80, 170, .08);
}

.cms-quick-grid strong,
.cms-quick-grid span {
  display: block;
}

.cms-quick-grid strong {
  color: #172b4d;
  font-size: 15px;
}

.cms-quick-grid span {
  margin-top: 7px;
  color: #667085;
  font-size: 12px;
}

.cms-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px auto;
  gap: 8px;
  margin-bottom: 12px;
}

.cms-toolbar input,
.cms-toolbar select,
.cms-toolbar button {
  min-height: 38px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  font: inherit;
}

.cms-toolbar button {
  color: #fff;
  background: #315ee8;
  border-color: #315ee8;
  font-weight: 800;
}

.admin-form-grid,
.admin-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  background: #f8fafc;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
}

.admin-checks input,
.check-row input {
  width: 16px;
  min-height: auto;
}

.cms-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.cms-item-meta span {
  padding: 2px 7px;
  color: #315ee8;
  background: #eef3ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.cms-content-form {
  display: grid;
  gap: 14px;
}

.cms-form-section {
  padding: 18px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
}

.cms-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cms-section-head h2,
.cms-section-head p {
  margin: 0;
}

.cms-section-head h2 {
  color: #172b4d;
  font-size: 17px;
}

.cms-section-head p {
  margin-top: 4px;
  color: #667085;
  font-size: 12px;
}

.cms-section-head button,
.cms-savebar button,
.cms-nav-row button {
  min-height: 34px;
  padding: 0 12px;
  color: #315ee8;
  background: #eef3ff;
  border: 1px solid #d7e3ff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.cms-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cms-field-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.cms-field-grid label.wide {
  grid-column: 1 / -1;
}

.cms-field-grid input,
.cms-field-grid textarea,
.cms-nav-row input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  font: inherit;
}

.cms-field-grid textarea {
  min-height: 76px;
  resize: vertical;
}

.cms-field-grid .cms-long-text {
  min-height: 190px;
  line-height: 1.7;
}

.cms-nav-editor {
  display: grid;
  gap: 8px;
}

.cms-nav-row {
  display: grid;
  grid-template-columns: 28px minmax(100px, .7fr) minmax(180px, 1.4fr) 80px auto auto 126px;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
}

.cms-nav-row > label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #475467;
  font-size: 12px;
  white-space: nowrap;
}

.cms-nav-row > label input {
  width: 15px;
  min-height: auto;
}

.cms-nav-row > div {
  display: flex;
  gap: 4px;
}

.cms-nav-row button {
  min-width: 32px;
  padding: 0 7px;
}

.cms-drag-index {
  color: #8a94a6;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.cms-savebar {
  position: sticky;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.96);
  border: 1px solid #dfe6f1;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(15,23,42,.12);
}

.cms-savebar .form-status {
  margin: 0 auto 0 0;
}

.cms-savebar button {
  min-height: 38px;
  color: #fff;
  background: #315ee8;
  border-color: #315ee8;
}

@media (max-width: 1100px) {
  .cms-dashboard { grid-template-columns: 180px minmax(0, 1fr); }
  .cms-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cms-nav-row { grid-template-columns: 24px minmax(100px, .8fr) minmax(160px, 1.3fr) 70px auto auto; }
  .cms-nav-row > div { grid-column: 2 / -1; justify-content: flex-end; }
}

@media (max-width: 760px) {
  .admin-page .admin-shell { width: 100%; padding: 0; }
  .cms-dashboard { grid-template-columns: 1fr; min-height: 100vh; border: 0; border-radius: 0; }
  .cms-sidebar { padding: 12px; }
  .cms-brand { padding-bottom: 12px; }
  .cms-sidebar .admin-tabs { display: flex; overflow-x: auto; margin: 10px 0 0; }
  .cms-sidebar .admin-tabs button { flex: 0 0 auto; width: auto; white-space: nowrap; }
  .cms-version { display: none; }
  .cms-workspace { padding: 14px 10px 24px; }
  .cms-workspace .admin-topbar { align-items: flex-start; flex-direction: column; }
  .cms-metrics,
  .cms-quick-grid,
  .cms-field-grid,
  .admin-form-grid,
  .admin-checks { grid-template-columns: 1fr; }
  .cms-field-grid label.wide { grid-column: auto; }
  .cms-toolbar { grid-template-columns: 1fr; }
  .cms-nav-row { grid-template-columns: 24px minmax(0, 1fr); }
  .cms-nav-row > input,
  .cms-nav-row > label,
  .cms-nav-row > div { grid-column: 2; }
  .cms-nav-row > div { justify-content: flex-start; }
  .cms-drag-index { grid-row: 1 / 6; align-self: start; padding-top: 12px; }
  .cms-savebar { align-items: stretch; flex-direction: column; }
  .cms-savebar button { width: 100%; }
}


