:root {
  --blue: #2e5bd4;
  --blue-deep: #1e40ac;
  --blue-soft: #e7eefb;
  --bar: #1e40ac;
  --banner: #1f47b9;
  --red: #ef4d4d;
  --text: #2a303a;
  --text-2: #5c6573;
  --text-3: #8b93a3;
  --line: #e8ebf0;
  --bg: #f3f5f8;
  --sider: #f7f8fa;
  --white: #fff;
  --amber: #e39b16;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  --sider-w: 216px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #e7ebf1;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
button:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

#app, .app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-height: 0;
}

.titlebar {
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 14px;
  background: linear-gradient(90deg, #1e3c98 0%, #1e40ac 52%, #3862d0 100%);
  color: #fff;
  position: relative;
  z-index: 20;
  -webkit-app-region: drag;
  user-select: none;
}

.titlebar button,
.titlebar input,
.os,
.search,
.settings {
  -webkit-app-region: no-drag;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
  display: block;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 400;
  white-space: nowrap;
}

.title-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.quick-link {
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.quick-link svg { width: 13px; height: 13px; }
.quick-link:hover { background: #e8eefb; }
.quick-link.is-on { box-shadow: inset 0 0 0 1px rgba(30, 64, 172, 0.35); }

.os-pills {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.os {
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  display: grid;
  place-items: center;
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.titlebar :focus-visible { outline-color: #fff; }

.search { position: relative; display: flex; align-items: center; }

.search input {
  width: 0;
  opacity: 0;
  height: 30px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.search.is-open input {
  width: 228px;
  opacity: 1;
  padding: 0 12px;
  margin-right: 4px;
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-height: 420px;
  overflow: auto;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.16);
  padding: 6px;
  z-index: 30;
}

.search-panel[hidden] { display: none; }

.search-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
}

.search-item b { font-size: 14px; font-weight: 650; }
.search-item span { font-size: 12px; color: var(--text-3); }
.search-item:hover { background: #eef3fc; }

.search-empty {
  padding: 14px 12px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
}

.settings { position: relative; }

.settings-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(20, 40, 80, 0.16);
  padding: 14px 14px 12px;
  text-align: left;
  z-index: 30;
}

.settings-pop[hidden] { display: none; }
.settings-pop strong { display: block; font-size: 14px; }
.settings-pop p { margin: 6px 0 10px; color: var(--text-2); font-size: 12px; line-height: 1.65; }

.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
  z-index: 1;
}

.sider {
  width: var(--sider-w);
  flex: 0 0 var(--sider-w);
  background: var(--sider);
  border-right: 1px solid #eceff3;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.nav {
  padding: 12px 10px 4px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.nav-item {
  width: 100%;
  height: 40px;
  margin: 2px 0;
  padding: 0 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3e4654;
  font-size: 14px;
  text-align: left;
}

.nav-item svg { color: #98a0ae; flex: 0 0 auto; }
.nav-item:hover { background: #eef0f3; }
.nav-item.is-active {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 700;
}
.nav-item.is-active svg { color: var(--blue); }

.sider-foot {
  margin: 8px 10px 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: #fff;
  border: 1px solid #d9e3f5;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.sider-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: #fff;
}
.sider-foot b {
  display: block;
  color: #1f2430;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}
.sider-foot span {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 24px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f4f6f8;
}

.main > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
}

.home { min-width: 0; }

.banner {
  position: relative;
  height: 188px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(30, 60, 152, 0.94) 0%, rgba(30, 64, 172, 0.88) 46%, rgba(56, 98, 208, 0.42) 100%),
    url("../art/hero.jpg?v=1") right center / cover no-repeat,
    linear-gradient(90deg, #1e3c98 0%, #3862d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.slogan {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  white-space: nowrap;
  text-shadow: 0 8px 24px rgba(24, 70, 160, 0.18);
  transition: opacity 0.18s ease;
}

.slogan.is-out { opacity: 0; }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 48px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  line-height: 1;
  border-radius: 8px;
}

.arrow:hover { background: rgba(255, 255, 255, 0.12); }
.arrow.prev { left: 8px; }
.arrow.next { right: 8px; }

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}

.dot.is-on { width: 16px; background: #fff; }

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

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.panel-title {
  margin: 2px 4px 4px;
  font-size: 13px;
  font-weight: 650;
  color: #9aa3b2;
}

.panel-title.is-hot { color: var(--red); }

.panel-desc {
  margin: 0 4px 6px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
}

.rows { display: flex; flex-direction: column; }

.row {
  width: 100%;
  min-height: 44px;
  padding: 7px 6px;
  border-bottom: 1px solid #f2f4f7;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 8px;
}

.rows .row:last-child { border-bottom: 0; }
.row:hover { background: #f7f9fc; }

.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: #3a78e8;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.row-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.row-go {
  margin-left: auto;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.wx-mini {
  margin-top: auto;
  padding-top: 8px;
}

.wx-contact {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  gap: 6px;
}

.wx-contact svg { flex: 0 0 auto; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 28, 40, 0.45);
}

.modal[hidden] { display: none; }

.modal-card {
  position: relative;
  width: min(340px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px 18px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(20, 40, 80, 0.18);
}

.modal-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
}

.modal-lead {
  margin: 6px 0 14px;
  color: #98a2b3;
  font-size: 13px;
}

.modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #98a2b3;
  font-size: 20px;
  line-height: 1;
}

.modal-x:hover { background: #f4f6f8; color: #1f2430; }

.wx-qr {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
}

.modal-card .btn { width: 100%; margin-top: 14px; }

.panel-note {
  margin-top: auto;
  background: #f7f9fc;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.panel-note span { font-size: 12px; color: var(--text-3); }
.panel-note button { color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.panel-note button:hover { text-decoration: underline; }

.steps {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 0 0 auto;
}

.step {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-right: 1px solid #f0f2f5;
}

.step .num {
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

.step-copy { min-width: 0; }

.step:last-child { border-right: 0; }
.step:hover { background: #f8fafc; }
.step b { display: block; margin: 0; font-size: 14px; font-weight: 750; color: #1f2430; line-height: 1.3; }
.step-copy span { display: block; margin-top: 3px; font-size: 12px; color: var(--text-3); line-height: 1.45; }

.crowds { margin-top: 14px; }
.crowds h2 {
  margin: 0 2px 8px;
  font-size: 13px;
  font-weight: 650;
  color: #9aa3b2;
}
.crowd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.crowd {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 10px;
  text-align: left;
  box-shadow: var(--shadow);
}
.crowd b { display: block; font-size: 14px; color: #1f2430; }
.crowd span { display: block; margin-top: 4px; color: #98a2b3; font-size: 12px; line-height: 1.5; }
.crowd:hover { border-color: #d7dee8; }

.page {
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
}

.page-intro,
.page-intro.has-art {
  position: static;
  top: auto;
  z-index: auto;
}

.page-banner {
  border-radius: 12px;
  background:
    radial-gradient(700px 120px at 0% 120%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(90deg, #1e3c98 0%, #3862d0 100%);
  color: #fff;
  padding: 20px 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kicker {
  display: inline-flex;
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
}

.page-banner h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.page-banner p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.rail, .svc, .faq-card, .contact-card, .side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.rail {
  padding: 16px;
  position: sticky;
  top: 0;
}

.rail h2, .side-card h2 {
  margin: 0 0 8px;
  font-size: 14px;
}

.rail ul {
  margin: 0;
  padding-left: 18px;
  color: #3a4250;
  font-size: 13px;
  line-height: 1.7;
}

.limit {
  margin-top: 12px;
  background: #f7f9fc;
  border-radius: 8px;
  padding: 10px 10px 8px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
}

.limit b { display: block; color: var(--text); margin-bottom: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-deep); }
a.btn { text-decoration: none; }
a.btn.primary { color: #fff; }
.btn.ghost { background: #fff; color: var(--blue-deep); box-shadow: inset 0 0 0 1px #c5d4f5; }
.btn.ghost:hover { background: var(--blue-soft); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool-actions .btn { margin-top: 0; }
a.sider-foot { text-decoration: none; color: inherit; }
a.sider-foot:hover { border-color: #b9cff3; }
.btn.block { width: 100%; margin-top: 12px; }
.btn.sm { height: 30px; padding: 0 10px; }

.page-intro.has-art {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-copy { min-width: 0; }

.page-art {
  width: 248px;
  height: 92px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(30, 64, 172, 0.12);
}

.page-intro h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0;
  color: #1f2430;
}

.page-intro p {
  margin: 6px 0 0;
  max-width: 720px;
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 14px 2px 12px;
}

.filter {
  font-size: 14px;
  font-weight: 500;
  color: #98a2b3;
  line-height: 1.4;
}

.filter:hover { color: #3a4250; }

.filter.is-on {
  color: #1f2430;
  font-weight: 750;
}

.svc-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px 18px;
}

.svc {
  padding: 16px 16px 14px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.svc-copy { min-width: 0; }

.svc:hover {
  border-color: #d7dee8;
  box-shadow: 0 8px 22px rgba(20, 40, 80, 0.06);
}

.app-ico {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
}

.app-ico svg { display: block; }

.line-ico { width: 26px; height: 26px; flex: 0 0 auto; }
.line-ico svg { display: block; }

.svc h3 {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 750;
  color: #1f2430;
  letter-spacing: 0;
  line-height: 1.4;
}

.svc .brief {
  margin: 4px 0 0;
  color: #9aa3b2;
  font-size: 13px;
  line-height: 1.5;
}

.svc.is-focus {
  border-color: #8eaae4;
  box-shadow: 0 0 0 3px rgba(30, 64, 172, 0.16);
}

.fine {
  margin: 14px 2px 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.6;
}

.also, .more-band {
  margin-top: 16px;
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.more-band { margin-top: 14px; }

.also h2, .more-band h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 750;
  color: #1f2430;
}

.svc-empty {
  margin: 8px 2px;
  color: var(--text-3);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.contact-card .wx-qr { margin-top: 16px; }
.contact-card h1 { margin: 14px 0 0; font-size: 28px; letter-spacing: 0.04em; }
.nick { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }

.wx-hero {
  margin-top: 18px;
  border: 1px dashed #c5d2ef;
  background: #f4f7fd;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wx-hero .k { font-size: 12px; color: var(--text-3); }
.wx-code {
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: 36px;
  letter-spacing: 0.08em;
  line-height: 1.1;
  user-select: text;
}
.wx-hero .btn { margin-left: auto; }

.promises {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.promises li {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

.side-card { padding: 16px; }
.side-card + .side-card { margin-top: 14px; }
.side-card ol { margin: 0; padding-left: 18px; color: #3a4250; font-size: 13px; line-height: 1.7; }

.info-grid { margin-top: 16px; display: grid; gap: 8px; }
.info-item { background: #f7f9fc; border-radius: 8px; padding: 10px 12px; }
.info-item b { display: block; font-size: 14px; }
.info-item span { display: block; margin-top: 4px; color: #667085; font-size: 13px; line-height: 1.6; }
.ticket-lead { margin: 8px 0 0; color: #667085; font-size: 13px; line-height: 1.7; }
.ticket label { display: block; margin-top: 12px; font-size: 13px; font-weight: 750; color: #1f2430; }
.ticket input, .ticket select, .ticket textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
}
.ticket textarea { min-height: 96px; resize: vertical; }
.ticket .btn { margin-top: 14px; }
.ticket-note { margin: 10px 0 0; color: #98a2b3; font-size: 12px; line-height: 1.6; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 30px;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}
.chip:hover { background: #d7e3f8; }

.tool-board {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}
.tool-kicker {
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
}
.tool-board h2 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 750;
  color: #1f2430;
}
.tool-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.tool-points li {
  position: relative;
  padding-left: 14px;
  color: #3a4250;
  font-size: 14px;
  line-height: 1.6;
}
.tool-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--blue);
}
.tool-side {
  background: #f5f8fd;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tool-meta {
  width: 100%;
  display: grid;
  gap: 10px;
}
.tool-meta b { display: block; font-size: 15px; color: #1f2430; }
.tool-meta span { display: block; margin-top: 2px; color: #98a2b3; font-size: 12px; }
.tool-side .btn { margin-top: 14px; }
.tool-side .tool-actions .btn { margin-top: 0; }
.tool-note { margin: 10px 0 0; color: #98a2b3; font-size: 12px; line-height: 1.6; }
.tool-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}
.tool-card h3 { margin: 0; font-size: 15px; font-weight: 750; color: #1f2430; }
.tool-card p { margin: 8px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }
.tool-steps { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tool-steps li { display: grid; gap: 2px; }
.tool-steps b { font-size: 14px; color: #1f2430; }
.tool-steps span { color: #667085; font-size: 14px; line-height: 1.6; }

.show-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.show-kicker {
  margin: 0;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 750;
}
.show-hero h1 {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: 0;
  color: #1f2430;
}
.show-hero p {
  margin: 8px 0 0;
  max-width: 680px;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}
.show-hero .btn { flex: 0 0 auto; }
.show-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.show-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.show-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
  background: #e7eef8;
}
.show-body {
  padding: 14px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.show-scene {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
}
.show-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 750;
  color: #1f2430;
}
.show-problem,
.show-fix {
  border-radius: 10px;
  padding: 10px 12px;
}
.show-problem { background: #f6f7fa; }
.show-fix { background: #eef3fc; }
.show-problem b,
.show-fix b {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.show-problem b { color: #98a2b3; }
.show-fix b { color: var(--blue-deep); }
.show-problem p,
.show-fix p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #3a4250;
}
.show-fix p { color: #1f2430; font-weight: 650; }
.show-meta {
  margin-top: auto;
  color: #98a2b3;
  font-size: 12px;
}

.wiki-list { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.offer-grid {
  margin-top: 14px;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px 18px;
  align-items: stretch;
}
.offer-grid .wiki-card { height: 100%; }
.wiki-card {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}
.wiki-card:hover { border-color: #d7dee8; box-shadow: 0 8px 22px rgba(20, 40, 80, 0.06); }
.wiki-card h3 { margin: 0; font-size: 15px; font-weight: 750; color: #1f2430; }
.wiki-card p { margin: 8px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }
.wiki-card .case-tag { display: inline-block; color: var(--blue-deep); font-size: 12px; font-weight: 750; }
.wiki-card .case-meta { margin-top: 8px; color: #98a2b3; font-size: 12px; line-height: 1.5; }
.wiki-back { margin: 0 0 12px; color: var(--blue-deep); font-size: 13px; font-weight: 700; }
.wiki-sec {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}
.wiki-sec h2 { margin: 0; font-size: 15px; font-weight: 750; color: #1f2430; }
.wiki-sec p { margin: 8px 0 0; color: #3a4250; font-size: 14px; line-height: 1.75; }
.wiki-sec ol, .wiki-sec ul { margin: 8px 0 0; padding-left: 1.25em; color: #3a4250; font-size: 14px; line-height: 1.7; }
.wiki-sec li + li { margin-top: 6px; }
.wiki-sec pre {
  margin: 10px 0 0;
  padding: 10px 12px;
  overflow: auto;
  background: #f4f6f9;
  border-radius: 8px;
}
.wiki-sec code { font-family: Consolas, "Cascadia Mono", monospace; font-size: 13px; color: #1f2430; }
.wiki-note {
  color: #8a5a12;
  background: #fff8eb;
  border-radius: 8px;
  padding: 8px 10px;
}
.wiki-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #667085;
  font-size: 14px;
}
.wiki-foot .btn { flex: 0 0 auto; white-space: nowrap; }

.qa-sec { margin-top: 22px; }
.qa-sec h2 { margin: 0; font-size: 16px; font-weight: 750; color: #1f2430; }
.qa-list { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px 14px;
}
.qa h3 { margin: 0; font-size: 15px; font-weight: 750; color: #1f2430; }
.qa p { margin: 8px 0 0; color: #667085; font-size: 14px; line-height: 1.7; }

.faq-card { margin-top: 14px; padding: 4px 16px; }

.acc { border-bottom: 1px solid #f2f4f7; }
.acc:last-child { border-bottom: 0; }

.acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 14px 2px;
  font-size: 15px;
  font-weight: 700;
}

.mark { color: #98a2b3; font-weight: 500; font-size: 18px; line-height: 1; }
.mark::before { content: "＋"; }
.acc.is-open .mark::before { content: "－"; }

.acc-a {
  display: none;
  padding: 0 28px 14px 2px;
  color: #4a5362;
  font-size: 14px;
  line-height: 1.75;
}
.acc.is-open .acc-a { display: block; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%) translateY(8px);
  background: #1f2430;
  color: #fff;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 50;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.statusbar {
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12px;
}
.statusbar .beian {
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
}
.statusbar .beian:hover { color: var(--blue); text-decoration: underline; }

@media (min-width: 1101px) {
  .home {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }
  .panels { flex: 1; min-height: 280px; }
  .panel { overflow: auto; }
}

@media (max-width: 1280px) {
  .slogan { font-size: 32px; letter-spacing: 0.12em; text-indent: 0.12em; }
}

@media (max-height: 860px) and (min-width: 1101px) {
  .main { padding: 18px 32px 20px; }
  .banner { height: 118px; }
  .slogan { font-size: 30px; letter-spacing: 0.1em; text-indent: 0.1em; }
  .panels, .steps { margin-top: 10px; }
  .panel { padding: 10px 10px 8px; }
  .panel-desc { margin-bottom: 2px; }
  .row { min-height: 36px; padding: 4px 6px; }
  .step { padding: 8px 12px; }
  .wx-mini { padding-top: 6px; }
}

@media (max-width: 1100px) {
  .main { padding: 20px 24px 24px; }
  .panels, .steps, .layout, .contact, .crowd-grid { grid-template-columns: 1fr; }
  .svc-grid, .offer-grid { grid-template-columns: 1fr; gap: 16px; }
  .tool-board, .show-grid, .show-hero { grid-template-columns: 1fr; }
  .show-hero { display: block; }
  .show-hero .btn { margin-top: 12px; }
  .home { display: block; }
  .panel { overflow: visible; }
  .rail { position: static; }
  .step { border-right: 0; border-bottom: 1px solid #f0f2f5; }
  .step:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  .main { padding: 16px 16px 20px; }
  .brand-sub, .os-pills, .quick-link { display: none; }
  .workspace { flex-direction: column; }
  .sider {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #eceff3;
    overflow-x: auto;
    padding: 8px;
    gap: 6px;
  }
  .sider-foot { display: none; }
  .nav { display: flex; flex-direction: row; gap: 4px; padding: 0; overflow: visible; }
  .nav-item { width: auto; margin: 0; white-space: nowrap; height: 36px; }
  .banner { height: 148px; }
  .page-art { width: 180px; height: 72px; }
  .slogan {
    font-size: 22px;
    letter-spacing: 0.04em;
    text-indent: 0.04em;
    max-width: calc(100% - 76px);
    text-align: center;
    white-space: normal;
  }
  .page-banner { padding: 16px 16px 14px; }
  .page-banner h1 { font-size: 22px; letter-spacing: 0; }
  .statusbar { flex: 0 0 auto; height: auto; }
  .wx-hero { flex-wrap: wrap; }
  .wx-code { font-size: 28px; }
  .wx-hero .btn { margin-left: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .search.is-open input { width: 140px; }
  .search-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 56px;
    width: auto;
  }
  .statusbar { height: auto; min-height: 34px; padding: 8px 12px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .slogan, .toast, .search input { transition: none; }
}

.main::-webkit-scrollbar,
.panel::-webkit-scrollbar,
.nav::-webkit-scrollbar,
.search-panel::-webkit-scrollbar { width: 10px; height: 10px; }

.main::-webkit-scrollbar-thumb,
.panel::-webkit-scrollbar-thumb,
.nav::-webkit-scrollbar-thumb,
.search-panel::-webkit-scrollbar-thumb {
  background: #d5dae3;
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
