.cece-card { border: 1px solid #b7cbc4; border-radius: 18px; padding: 24px; margin: 24px 0; background: #edf3ed; color: #163b33; }
.cece-card h3 { margin: 0 0 8px; font-size: 24px; }
.cece-card p { margin: 8px 0; }
.cece-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cece-card-actions a, .cece-card-actions button { display: inline-flex; align-items: center; padding: 12px 16px; border: 1px solid #8caaa0; border-radius: 10px; background: #fffdf7; color: #164b3e; font: inherit; text-decoration: none; cursor: pointer; }
.cece-card small { display: block; margin-top: 12px; line-height: 1.7; }

.contact-layout-direct { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); gap: 60px; align-items: start; }
.contact-person { padding: 30px 0; }
.contact-person h2 { font-size: clamp(28px, 3vw, 40px); margin: 12px 0; }
.contact-person .contact-role { font-size: 18px; color: #526c62; margin-bottom: 24px; }
.contact-wechat-id { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; align-items: baseline; }
.contact-wechat-id strong { font-size: 24px; }
.contact-topics { border-top: 1px solid #c8d4cc; margin-top: 30px; padding-top: 24px; }
.contact-topics h3 { font-size: 17px; margin-bottom: 12px; }
.contact-topics ul { padding-left: 20px; line-height: 2; }
.contact-channels { min-width: 0; padding: 30px; background: #edf3ed; border-radius: 20px; }
.contact-channels h2 { font-size: 25px; margin: 12px 0 28px; }
.contact-qr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-qr-grid figure { margin: 0; min-width: 0; }
.contact-qr-grid a { display: block; background: white; border-radius: 12px; overflow: hidden; }
.contact-qr-grid img { display: block; width: 100%; height: auto; }
.contact-qr-grid figcaption { margin-top: 14px; line-height: 1.6; }
.contact-qr-grid figcaption strong, .contact-qr-grid figcaption span { display: block; }
.contact-qr-grid figcaption strong { font-size: 14px; }
.contact-qr-grid figcaption span { font-size: 12px; color: #536c62; margin-top: 5px; }
.contact-channels > p:last-child { margin-top: 24px; }
@media (max-width: 820px) {
  .contact-layout-direct { grid-template-columns: 1fr; gap: 20px; }
  .contact-person { padding: 0; }
  .contact-channels { padding: 24px 18px; }
  .contact-qr-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-qr-grid figure { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); align-items: center; gap: 18px; }
  .contact-qr-grid figcaption { margin-top: 0; }
}

/* Compact contact details use the same clean sans family as the navigation. */
.contact-person, .cece-card, .contact-channels { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif; }
.contact-person h2, .cece-card h3 { font-family: inherit; font-weight: 600; letter-spacing: -.035em; }
.contact-wechat-id { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; font-size: 14px; }
.contact-wechat-id strong { font-family: system-ui, sans-serif; font-size: 19px; font-weight: 550; letter-spacing: .015em; }
.contact-copy { flex-shrink: 0; padding: 7px 11px; border: 1px solid #b1c5ba; border-radius: 7px; background: transparent; color: #17614c; font: inherit; font-size: 12px; cursor: pointer; }
.contact-copy:hover { background: #e0ebe3; }
.contact-copy:focus-visible, .contact-save:focus-visible { outline: 2px solid #0b7465; outline-offset: 4px; }
.contact-save { display: inline-flex; align-items: center; gap: 15px; color: #17614c; font-size: 14px; text-decoration: none; border-bottom: 1px solid #adc4b8; padding: 8px 0; }
.contact-qr-grid a, .profile-qr-grid a:has(.contact-qr-crop) { display: block; width: 100%; height: auto; padding: 10px; background: #fff; border: 1px solid #d8e1da; border-radius: 12px; box-sizing: border-box; overflow: hidden; }
.contact-qr-crop { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: white; }
.contact-qr-crop img { position: absolute; display: block; max-width: none; height: auto !important; margin: 0; object-fit: fill !important; }
.contact-qr-crop--personal img { width: 133.735% !important; left: -16.867%; top: -42.169%; }
.contact-qr-crop--official img { width: 100% !important; left: 0; top: 0; }
.contact-qr-crop--channels img { width: 139.623% !important; left: -19.811%; top: -46.226%; }
.contact-save-help { margin-top: 16px; padding: 16px; background: #fffdf7; border: 1px solid #c7d6cb; border-radius: 10px; font-size: 13px; line-height: 1.8; }
.contact-save-help p { margin: 0 0 10px; }
.contact-save-help button { font: inherit; color: #17614c; padding: 6px 10px; border: 1px solid #b1c5ba; border-radius: 6px; background: transparent; cursor: pointer; }
@media (max-width: 420px) {
  .contact-wechat-id { gap: 9px; }
  .contact-wechat-id strong { font-size: 18px; }
  .contact-qr-grid figure { grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 14px; }
}

.contact-save-steps { display: block; margin-top: 10px; color: #65766d; font-size: 12px; line-height: 1.8; font-weight: 400; }
