/* 言宸洁净 · 顶栏 / 页脚 / 悬浮 公共组件（0909 黑白灰） */
.yc-head, .yc-head *,
.yc-footer, .yc-footer *,
.yc-float, .yc-float * { box-sizing: border-box; }
.yc-head a, .yc-footer a, .yc-float a { color: inherit; text-decoration: none; }
.yc-head button, .yc-footer button { font: inherit; cursor: pointer; background: none; border: 0; }
.yc-head img, .yc-footer img { display: block; }

.yc-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111;
}

/* 顶栏固定后让出 64px 高度，避免内容被遮挡 */
body { padding-top: 64px; }

.yc-lang { position: relative; flex: none; min-width: 88px; }
.yc-head .yc-lang-btn {
  height: 32px;
  padding: 0 10px 0 12px;
  width: 100%;
  border: 1px solid #E0E0E0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #111;
  background: #fff;
}
.yc-lang-btn .yc-caret { font-size: 9px; color: #888; }
.yc-lang-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 2px;
  width: 100%;
  z-index: 21;
  background: #fff;
  border: 1px solid #E0E0E0;
}
.yc-lang:hover .yc-lang-menu,
.yc-lang.is-open .yc-lang-menu { display: block; }
.yc-lang-menu a {
  display: block;
  height: 32px;
  padding: 0 12px;
  line-height: 32px;
  font-size: 12px;
  color: #444;
}
.yc-lang-menu a.is-on,
.yc-lang-menu a:hover { color: #111; font-weight: 600; background: #F5F5F5; }

.yc-header {
  height: 64px;
  padding: 0 170px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  background: #fff;
  border-bottom: 1px solid #E8E8E8;
}
.yc-brand {
  flex: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-right: 16px;
  line-height: 1.15;
}
.yc-brand-mark { width: 36px; height: 36px; object-fit: contain; flex: none; }
.yc-brand-name { display: flex; flex-direction: column; width: max-content; flex: none; }
.yc-logo-en { font-size: 15px; font-weight: 400; letter-spacing: .04em; white-space: nowrap; line-height: 1.15; }
.yc-logo-zh { display: flex; justify-content: space-between; font-size: 11px; font-weight: 400; color: #111; margin-top: 3px; line-height: 1; }
.yc-logo-zh i { font-style: normal; }

.yc-nav {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  gap: 50px;
  margin-right: 114px;
  height: 66px;
  font-size: 16px;
  color: #444;
  padding-left: 100px;
  flex-wrap: nowrap;
}
.yc-nav > a,
.yc-drop {
  flex: 0 0 auto;
}
.yc-nav > a,
.yc-drop > .yc-nav-link {
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 64px;
}
.yc-nav a.is-cur,
.yc-drop > .yc-nav-link.is-cur { color: #111; font-weight: 600; }
.yc-nav a.is-cur::after,
.yc-drop > .yc-nav-link.is-cur::after,
.yc-drop:hover > .yc-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #111;
}
.yc-caret { font-size: 9px; color: #999; margin-left: 2px; }
.yc-drop { position: relative; height: 64px; flex: 0 0 auto; }
.yc-drop:hover > .yc-nav-link { color: #111; font-weight: 600; }
.yc-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 240px;
  background: #fff;
  border: 1px solid #E8E8E8;
  z-index: 40;
}
.yc-drop:hover .yc-menu { display: block; }
.yc-menu.is-wide { width: 260px; }
.yc-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 24px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #E8E8E8;
}
.yc-menu::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 25px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
}
.yc-menu a {
  display: block;
  padding: 11px 18px;
  line-height: 1.4;
  color: #333;
  font-size: 15px;
  text-align: left;
}
.yc-menu a:hover { background: #F5F5F5; color: #111; }
.yc-menu .yc-grp { border-top: 1px solid #F2F2F2; border-bottom: 1px solid #F2F2F2; }
.yc-menu .yc-grp-btn {
  display: flex;
  width: 100%;
  padding: 11px 18px;
  line-height: 1.4;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.yc-menu .yc-grp-btn:hover { background: #F5F5F5; color: #111; }
.yc-grp-panel { display: none; }
.yc-grp.is-open > .yc-grp-panel { display: block; }
.yc-menu .yc-child { padding-left: 28px; font-size: 12px; color: #666; font-weight: 400; }

.yc-tools { display: none; align-items: center; gap: 8px; margin-left: 8px; }
.yc-burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.yc-burger i { display: block; width: 18px; height: 1.5px; background: #111; }
.yc-drawer { display: none; background: #fff; border-bottom: 1px solid #EEE; max-height: calc(100vh - 56px); overflow: auto; }
.yc-head.is-open .yc-drawer { display: block; }
.yc-drawer a,
.yc-acc-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-bottom: 1px solid #F2F2F2;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  color: #111;
  background: #fff;
}
.yc-acc-btn { display: flex; justify-content: space-between; align-items: center; }
.yc-acc-btn .yc-caret { font-size: 10px; color: #999; }
.yc-acc-panel { display: none; background: #FAFAFA; }
.yc-acc.is-open > .yc-acc-panel { display: block; }
.yc-acc-panel a {
  padding: 10px 16px 10px 28px;
  font-size: 13px;
  color: #555;
  border-bottom: 1px solid #F0F0F0;
}
.yc-acc-sub-btn {
  padding: 10px 16px 10px 28px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  background: #FAFAFA;
}
.yc-acc-panel a.yc-child { padding-left: 40px; font-size: 12px; color: #888; font-weight: 400; }

.yc-footer {
  background: #111;
  color: #AAA;
  padding: 48px 0 20px;
  font-size: 13px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.yc-wrap { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.yc-fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.yc-footer .yc-brand {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-right: 0;
  line-height: 1.15;
}
.yc-footer .yc-logo-en,
.yc-footer .yc-logo-zh { color: #fff; font-weight: 400; }
.yc-fblurb { margin-top: 12px; line-height: 1.7; max-width: 240px; }
.yc-fgrid h4 { color: #fff; font-size: 14px; margin-bottom: 12px; font-weight: 600; }
.yc-fgrid a:not(.yc-brand),
.yc-fgrid p { display: block; line-height: 2; }
.yc-qr { display: flex; gap: 16px; }
.yc-qr i {
  width: 72px;
  height: 72px;
  background: #fff;
  color: #111;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: normal;
}
.yc-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #2A2A2A;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.yc-float {
  position: fixed;
  right: 24px;
  top: 42%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.yc-fab {
  width: 72px;
  min-height: 72px;
  background: #111;
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}
.yc-fab.is-ghost { background: #fff; color: #111; border: 1px solid #111; }
.yc-float--zh .yc-fab { line-height: 1.8; letter-spacing: 0.15em; }

/* ===== AI 智能咨询弹窗（全量沿用 master 分支 components.js，黑白灰工业版） ===== */
#aiModalWrap {
  position: fixed;
  inset: 0;
  z-index: 99999;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
#aiModalWrap[hidden] { display: none; }
.ai-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.40); }
.ai-modal {
  position: absolute;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ai-modal {
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    height: 80%;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
  }
}
@media (min-width: 1024px) {
  .ai-modal {
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 920px;
    height: min(700px, calc(100vh - 80px));
    border-radius: 10px;
    border: 1px solid #E0E0E0;
  }
}
.ai-header { border-bottom: 1px solid #E0E0E0; flex: none; }
.ai-hd-mobile { display: flex; align-items: center; gap: 8px; padding: 6px 16px; min-height: 56px; }
.ai-hd-mobile .ai-hd-m-title { flex: 1; text-align: center; }
.ai-hd-desktop { display: none; align-items: center; gap: 10px; padding: 16px 24px; }
@media (min-width: 768px) {
  .ai-hd-mobile { display: none; }
  .ai-hd-desktop { display: flex; }
}
.ai-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #D0D0D0; display: flex; align-items: center; justify-content: center;
  color: #555; flex: none; font-size: 16px;
}
.ai-title { font-size: 16px; font-weight: 600; color: #111; }
.ai-hd-mobile .ai-title { font-size: 16px; font-weight: 700; color: #111; }
.ai-subtitle { font-size: 12px; color: #666; }
.ai-hd-mobile .ai-subtitle { font-size: 12px; color: #888; }
.ai-status { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #666; white-space: nowrap; }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: #2E7D32; flex: none; }
.ai-hd-mobile .ai-dot { width: 7px; height: 7px; }
.ai-close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: #111; font-size: 26px; font-weight: 300;
  line-height: 1; cursor: pointer; flex: none;
}
@media (min-width: 768px) {
  .ai-close {
    width: 34px; height: 34px; border: 1px solid #E0E0E0; border-radius: 6px;
    color: #555; font-size: 18px; font-weight: 400; background: #fff;
  }
}
.ai-spacer { flex: 1; }
.ai-stepper { display: flex; align-items: center; gap: 4px; padding: 12px 16px; border-bottom: 1px solid #F0F0F0; flex: none; }
.ai-step { display: flex; align-items: center; gap: 5px; }
.ai-step-num {
  width: 12px; height: 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0; background: #E0E0E0; color: transparent; flex: none;
}
.ai-step.is-active .ai-step-num, .ai-step.is-done .ai-step-num { background: #111; }
.ai-step-label { font-size: 11px; color: #999; white-space: nowrap; }
.ai-step.is-active .ai-step-label { color: #111; font-weight: 600; }
.ai-step.is-done .ai-step-label { color: #666; }
.ai-step-line { flex: 1; height: 0; border-top: 1px solid #E0E0E0; }
@media (min-width: 768px) {
  .ai-stepper { padding: 14px 24px; gap: 12px; }
  .ai-step-num { width: 24px; height: 24px; font-size: 12px; background: #ECECEC; color: #888; }
  .ai-step.is-active .ai-step-num, .ai-step.is-done .ai-step-num { background: #333; color: #fff; }
  .ai-step-label { font-size: 12px; }
  .ai-step-line { border-top: 1px dashed #D8D8D8; }
}
@media (min-width: 1024px) {
  .ai-stepper { gap: 16px; padding: 16px 24px; }
  .ai-step-label { font-size: 13px; }
}
.ai-body { flex: 1; overflow-y: auto; padding: 16px; background: #fff; scrollbar-width: none; -ms-overflow-style: none; }
.ai-body::-webkit-scrollbar { width: 0; height: 0; }
.ai-msg { display: flex; margin-bottom: 14px; }
.ai-msg.ai { justify-content: flex-start; }
.ai-msg.user { justify-content: flex-end; }
.ai-msg .avatar {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid #D0D0D0;
  display: flex; align-items: center; justify-content: center; color: #555;
  flex: none; font-size: 15px; background: #fff;
}
.ai-avatar-text { display: inline; font-size: 11px; font-weight: 700; color: #555; }
.ai-avatar-icon { display: none; }
@media (min-width: 768px) {
  .ai-avatar-text { display: none; }
  .ai-avatar-icon { display: inline; }
}
.ai-msg .ai-c { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ai-msg.ai .ai-c { align-items: flex-start; }
.ai-msg.user .ai-c { align-items: flex-end; }
.ai-bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.65;
  color: #111; word-break: break-word;
}
.ai-msg.ai .ai-bubble { background: #F5F5F5; }
.ai-msg.user .ai-bubble { background: #F5F5F5; }
.ai-ts { font-size: 11px; color: #888; margin-top: 3px; }
.ai-msg.ai .ai-ts { margin-left: 6px; }
.ai-msg.user .ai-ts { margin-right: 6px; text-align: right; }
@media (min-width: 768px) and (max-width: 1023px) { .ai-bubble { max-width: 72%; } }
@media (min-width: 1024px) { .ai-bubble { max-width: 68%; } }
@media (min-width: 768px) { .ai-ts { font-size: 10px; color: #999; } }
.ai-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ai-chip {
  flex: none; display: inline-flex; align-items: center; border: 1px solid #E0E0E0; background: #fff;
  color: #111; border-radius: 999px; padding: 5px 12px; font-size: 12px; cursor: pointer; line-height: 1;
}
.ai-chip.on { background: #111; color: #fff; border-color: #111; }
@media (min-width: 768px) {
  .ai-chip { border: 1px solid #D0D0D0; padding: 7px 15px; }
  .ai-chip.on { background: #333; border-color: #333; }
}
.ai-citations { margin-top: 10px; padding-top: 8px; border-top: 1px solid #EBEBEB; font-size: 11px; color: #666; line-height: 1.6; }
.ai-citations-title { font-weight: 600; color: #333; margin-bottom: 3px; }
.ai-citation-item { padding: 1px 0; word-break: break-word; }
.ai-citation-item::before { content: "·"; color: #999; margin-right: 6px; }
.ai-thinking-dot {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #999;
  margin-left: 3px; vertical-align: middle; animation: aiBlink 1.2s infinite;
}
.ai-thinking-dot:nth-child(2) { animation-delay: .2s; }
.ai-thinking-dot:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ai-inputbar {
  border-top: 1px solid #E0E0E0; padding: 12px 16px; background: #fff; flex: none;
  display: flex; flex-direction: column; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.ai-inputrow { display: flex; gap: 8px; align-items: stretch; }
.ai-input {
  flex: 1; min-width: 0; border: 1px solid #D0D0D0; border-radius: 8px; padding: 11px 12px;
  font-size: 13px; resize: none; outline: none; min-height: 44px; line-height: 1.5;
  background: #fff; color: #111; font-family: inherit;
}
.ai-input::placeholder { color: #999; }
.ai-input:focus { border-color: #333; }
.ai-send {
  flex: none; width: 44px; height: 44px; background: #111; color: #fff; border-radius: 6px;
  cursor: pointer; border: none; display: flex; align-items: center; justify-content: center; padding: 0;
}
.ai-send-icon { display: flex; align-items: center; justify-content: center; }
.ai-send-text { display: none; }
.ai-send:disabled { opacity: .55; cursor: not-allowed; }
.ai-summary-btn {
  margin-top: 10px; align-self: stretch; background: #111; color: #fff; border-radius: 6px;
  padding: 0 20px; min-height: 44px; font-size: 14px; cursor: pointer; border: none;
  text-align: center; line-height: 44px;
}
.ai-summary-btn:disabled { opacity: .55; cursor: not-allowed; }
@media (min-width: 768px) {
  .ai-input { border-radius: 6px; }
  .ai-send { width: auto; height: auto; background: #333; border-radius: 6px; padding: 0 22px; font-size: 13px; }
  .ai-send-icon { display: none; }
  .ai-send-text { display: inline; }
  .ai-send:disabled { background: #E0E0E0; color: #999; opacity: 1; }
  .ai-summary-btn { background: #333; font-size: 13px; line-height: 1.2; min-height: 0; padding: 12px 20px; }
  .ai-summary-btn:disabled { background: #E0E0E0; color: #999; opacity: 1; }
}
@media (min-width: 1024px) { .ai-summary-btn { align-self: flex-end; width: auto; } }
.ai-privacy { margin-top: 10px; font-size: 11px; color: #888; line-height: 1.5; text-align: center; }
.ai-privacy a { color: #555; text-decoration: underline; }
.ai-privacy-short { display: inline; }
.ai-privacy-full { display: none; }
@media (min-width: 768px) {
  .ai-privacy { margin-top: 8px; font-size: 10px; text-align: left; }
  .ai-privacy-full { display: inline; }
  .ai-privacy-short { display: none; }
}
.ai-view-title { font-size: 15px; font-weight: 600; color: #111; margin: 0 0 14px; }
.ai-view-note { font-size: 11px; color: #888; line-height: 1.7; margin: 10px 0; }
.ai-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 768px) { .ai-summary-grid { grid-template-columns: repeat(3, 1fr); } }
.ai-summary-card { border: 1px solid #E5E5E5; border-radius: 6px; padding: 10px 12px; }
.ai-summary-card .k { font-size: 11px; color: #888; }
.ai-summary-card .v { font-size: 13px; color: #111; font-weight: 600; margin-top: 3px; word-break: break-word; }
.ai-view-actions { display: flex; gap: 10px; margin-top: 14px; }
.ai-btn-ghost { flex: 1; border: 1px solid #D0D0D0; background: #fff; color: #333; border-radius: 6px; padding: 12px; font-size: 13px; cursor: pointer; }
.ai-submit { flex: 1; background: #333; color: #fff; border: none; border-radius: 6px; padding: 12px; font-size: 13px; cursor: pointer; }
.ai-submit:disabled { background: #E0E0E0; color: #999; cursor: not-allowed; }
.ai-form { display: flex; flex-direction: column; gap: 12px; }
.ai-field { display: flex; flex-direction: column; gap: 5px; }
.ai-field label { font-size: 12px; color: #555; }
.ai-field .req { color: #999; }
.ai-field input, .ai-field textarea {
  border: 1px solid #D0D0D0; border-radius: 6px; padding: 10px 12px; font-size: 13px;
  outline: none; background: #fff; color: #111; font-family: inherit; resize: none;
}
.ai-field input:focus, .ai-field textarea:focus { border-color: #333; }
.ai-consent { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: #666; line-height: 1.5; cursor: pointer; }
.ai-consent input { margin-top: 2px; }
.ai-form-note { font-size: 10px; color: #999; margin-top: 10px; line-height: 1.5; }
.ai-match-badge { display: inline-block; background: #333; color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
.ai-match-loading { font-size: 13px; color: #666; padding: 30px 0; text-align: center; }
.ai-view[hidden] { display: none; }

@media (max-width: 1861px) {
  body { padding-top: 56px; }
  .yc-header { height: 56px; padding: 0 16px; }
  .yc-brand { margin-right: 0; }
  .yc-brand-mark { width: 28px; height: 28px; }
  .yc-logo-en { font-size: 13px; }
  .yc-logo-zh { font-size: 10px; margin-top: 2px; }
  .yc-nav { display: none; }
  .yc-lang { min-width: 72px; margin-left: auto; }
  .yc-head .yc-lang-btn { height: 32px; font-size: 12px; padding: 0 8px; }
  .yc-tools { display: flex; }
  .yc-footer { padding: 32px 16px 20px; font-size: 12px; }
  .yc-wrap { width: 100%; }
  .yc-fgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .yc-fbrand { grid-column: 1 / -1; }
  .yc-copy { display: block; }
  .yc-qr { gap: 10px; }
  .yc-qr i { width: 64px; height: 64px; }
  .yc-float { right: 12px; }
  .yc-fab { width: 48px; min-height: 48px; font-size: 10px; }
}

/* ---- 页面顶部横幅（统一样式，参照应用案例） ---- */
.yc-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.yc-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  max-width: none;
}
.yc-banner .yc-scrim { position: absolute; inset: 0; background: rgba(17,17,17,.42); }
.yc-banner h1 {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: .08em;
}

@media (max-width: 1199px) {
  .yc-banner { height: 220px; }
  .yc-banner h1 { font-size: 26px; }
}

