/* 首页 — 腾讯云风格：蓝主色、白底、克制企业级布局 */
:root {
  --home-primary: #0052d9;
  --home-primary-dark: #0034a0;
  --home-primary-hover: #266fe8;
  --home-link: #0052d9;
  --home-link-hover: #003eb3;
  --home-accent: #006eff;
  --home-primary-bg: #f0f5ff;
  --home-primary-bg-hover: #e8f0ff;
  --home-primary-border: rgba(0, 82, 217, 0.18);
  --home-primary-ring: rgba(0, 82, 217, 0.12);
  --home-bg: #f3f4f7;
  --home-text: #181818;
  --home-text-secondary: #3d3d3d;
  --home-muted: #737373;
  --home-border: #e3e6eb;
  --home-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --home-card-shadow-hover: 0 8px 24px rgba(0, 40, 120, 0.08);
}

body.home-page {
  background: #fff;
  color: var(--home-text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

/* 顶栏 — 最新活动细条（腾讯云式） */
.home-activity-bar {
  background: #f3f4f7;
  border-bottom: 1px solid var(--home-border);
  font-size: 12px;
  color: var(--home-text-secondary);
}
.home-activity-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--home-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.home-activity-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.home-activity-track::-webkit-scrollbar { display: none; }
.home-activity-link {
  color: var(--home-text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.home-activity-link strong {
  color: var(--home-primary);
  font-weight: 500;
}
.home-activity-link:hover {
  color: var(--home-primary);
}
.home-activity-link.is-hero-active {
  color: var(--home-primary);
  font-weight: 500;
  position: relative;
}
.home-activity-link.is-hero-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--home-primary);
  border-radius: 1px;
}
.home-activity-link.is-hero-active strong {
  color: var(--home-primary-dark);
}
.home-activity-sep {
  color: #c9cdd4;
  user-select: none;
}
.home-activity-more {
  color: var(--home-link);
  font-size: 12px;
}
.home-activity-more:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}

/* 旧促销条保留兼容 */
.home-topbar {
  background: linear-gradient(90deg, #f0f5ff 0%, #fff 50%, #f8f9fb 100%);
  border-bottom: 1px solid var(--home-border);
  font-size: 13px;
  color: var(--home-text-secondary);
}
.home-topbar a {
  color: var(--home-link);
  font-weight: 500;
}
.home-topbar a:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}

.home-header {
  background: #fff;
  border-bottom: 1px solid var(--home-border);
  box-shadow: 0 1px 4px rgba(0, 20, 60, 0.04);
}

.home-logo-img {
  height: 36px;
  width: auto;
  max-width: 40px;
  object-fit: contain;
  display: block;
}
.home-logo-img-footer {
  height: 28px;
  max-width: 32px;
}

.home-logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--home-text);
}
.home-logo-text-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 15px;
}
.home-logo-cn {
  color: var(--home-text);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.home-logo-en {
  font-weight: 600;
  color: var(--home-text-secondary);
  letter-spacing: 0.01em;
}
/* 深色底：页脚、注册页左侧品牌区 */
.home-footer .home-logo-text-inline .home-logo-cn,
.home-footer .home-logo-text-inline .home-logo-en,
.auth-brand-logo .home-logo-cn,
.auth-brand-logo .home-logo-en {
  color: rgba(255, 255, 255, 0.95);
}
.auth-topbar-brand .home-logo-cn,
.auth-topbar-brand .home-logo-en {
  color: var(--home-text);
}
.auth-topbar-brand:hover .home-logo-cn,
.auth-topbar-brand:hover .home-logo-en {
  color: var(--home-text);
}

.home-nav-link {
  color: var(--home-text-secondary);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.15s;
  position: relative;
  white-space: nowrap;
}
.home-nav-link:hover {
  color: var(--home-primary);
}
.home-nav-link.is-active {
  color: var(--home-primary);
  font-weight: 500;
}

.home-nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.home-nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  opacity: 0.65;
}
.home-nav-item {
  position: relative;
}

/* 导航下拉 — 腾讯云式 */
.home-nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}
.home-nav-dropdown-inner {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.home-nav-dropdown-inner-wide {
  min-width: 520px;
}
.home-nav-dropdown-panel-wide {
  min-width: 540px;
}
.home-nav-dropdown-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--home-primary-bg);
  color: var(--home-primary);
  margin-left: 4px;
}
.home-nav-mobile-sub-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--home-muted);
  padding: 0.5rem 0.75rem 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.home-nav-dropdown-heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--home-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--home-border);
}
.home-nav-dropdown-col {
  padding-bottom: 1rem;
}
.home-nav-dropdown-item {
  display: block;
  padding: 0.625rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.home-nav-dropdown-item:hover {
  background: var(--home-primary-bg);
}
.home-nav-dropdown-item.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  padding: 0.625rem 0.5rem;
}
.home-nav-dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--home-text);
}
.home-nav-dropdown-item:hover .home-nav-dropdown-item-title {
  color: var(--home-primary);
}
.home-nav-dropdown-item-desc {
  display: block;
  font-size: 12px;
  color: var(--home-muted);
  margin-top: 2px;
  font-weight: 400;
}
.home-nav-dropdown-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--home-border);
  padding: 0.75rem 0;
  margin-top: 0.25rem;
}
.home-nav-dropdown-footer a {
  font-size: 13px;
  color: var(--home-link);
  font-weight: 500;
}
.home-nav-dropdown-footer a:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .home-nav-dropdown:hover .home-nav-dropdown-panel,
  .home-nav-dropdown:focus-within .home-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .home-nav-dropdown:hover .home-nav-chevron,
  .home-nav-dropdown:focus-within .home-nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }
  .home-nav-dropdown:hover .home-nav-link-dropdown,
  .home-nav-dropdown:focus-within .home-nav-link-dropdown {
    color: var(--home-primary);
  }
}

/* 移动端子菜单 */
.home-nav-mobile-sub {
  padding: 0.25rem 0 0.5rem 1rem;
  border-left: 2px solid var(--home-primary-border);
  margin-left: 0.75rem;
}
.home-nav-mobile-sub-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  color: var(--home-text-secondary);
  text-decoration: none;
  border-radius: 4px;
}
.home-nav-mobile-sub-item:hover {
  color: var(--home-primary);
  background: var(--home-primary-bg-hover);
}
.home-nav-mobile-sub-item.is-disabled {
  color: var(--home-muted);
  opacity: 0.6;
}

.home-header > div {
  min-height: 64px;
}
@media (min-width: 1024px) {
  .home-header > div {
    height: 64px;
    min-height: auto;
  }
}

.home-btn-primary {
  background: var(--home-primary);
  color: #fff;
  border: none;
  border-radius: 0;
  transition: background 0.2s;
  box-shadow: none;
}
.home-btn-primary:hover {
  background: var(--home-primary-hover);
  box-shadow: none;
}

/* 腾讯云式主按钮 */
.home-btn-tencent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 24px;
  background: var(--home-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: none;
}
.home-btn-tencent:hover {
  background: var(--home-primary-hover);
  color: #fff;
}
.home-btn-tencent-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  background: #fff;
  color: var(--home-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  border: 1px solid var(--home-primary);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.home-btn-tencent-outline:hover {
  background: var(--home-primary-bg);
  color: var(--home-primary-hover);
  border-color: var(--home-primary-hover);
}

.home-btn-outline {
  border: 1px solid var(--home-border);
  color: var(--home-text-secondary);
  background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.home-btn-outline:hover {
  border-color: var(--home-primary);
  color: var(--home-primary);
}

.home-btn-link {
  color: var(--home-link);
  background: transparent;
  border: none;
  font-size: 14px;
  transition: color 0.15s;
}
.home-btn-link:hover {
  color: var(--home-link-hover);
}

.home-btn-accent {
  background: var(--home-primary);
  color: #fff;
}
.home-btn-accent:hover {
  background: var(--home-primary-hover);
}

/* Hero — 腾讯云式焦点 Banner */
.home-hero-banner {
  background: linear-gradient(135deg, #eef3ff 0%, #f8faff 35%, #fff 70%, #f0f5ff 100%);
  min-height: 380px;
  padding: 2.5rem 0 3rem;
}
.home-hero-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(0, 82, 217, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(123, 97, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.home-hero-banner-decor {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
}
.home-hero-decor-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 48px rgba(0, 82, 217, 0.12));
}
.home-hero-decor-petals {
  transform-origin: 180px 160px;
  animation: heroPetalBreath 8s ease-in-out infinite;
}
@keyframes heroPetalBreath {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.03) rotate(1.5deg); }
}
.home-hero-petal {
  transform-box: fill-box;
  transform-origin: center;
}
.home-hero-petal-1 { animation: heroPetalFloat 6s ease-in-out infinite; }
.home-hero-petal-2 { animation: heroPetalFloat 7s ease-in-out -1s infinite; }
.home-hero-petal-3 { animation: heroPetalFloat 6.5s ease-in-out -2s infinite; }
.home-hero-petal-4 { animation: heroPetalFloat 7.5s ease-in-out -0.5s infinite; }
.home-hero-petal-5 { animation: heroPetalFloat 8s ease-in-out -1.5s infinite; }
@keyframes heroPetalFloat {
  0%, 100% { opacity: inherit; transform: rotate(var(--r, 0deg)) translateY(0); }
  50% { transform: rotate(calc(var(--r, 0deg) + 2deg)) translateY(-4px); }
}
.home-hero-decor-glow {
  animation: heroGlowPulse 4s ease-in-out infinite;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.home-hero-decor-star {
  animation: heroStarTwinkle 3s ease-in-out infinite;
}
.home-hero-decor-star-2 {
  animation: heroStarTwinkle 4s ease-in-out -1.5s infinite;
}
@keyframes heroStarTwinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
.home-hero-decor-coupon {
  position: absolute;
  right: 18%;
  top: 18%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff7d00 0%, #ed7b2f 100%);
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 8px 20px rgba(237, 123, 47, 0.35);
  animation: heroCouponFloat 5s ease-in-out infinite;
}
@keyframes heroCouponFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
/* 装饰区随 slide 切换色调 */
.home-hero-banner-decor[data-hero-accent="promo"] .home-hero-petal-1 { fill: url(#hero-petal-a); }
.home-hero-banner-decor[data-hero-accent="ssl"] .home-hero-decor-petals { filter: hue-rotate(-5deg) saturate(1.1); }
.home-hero-banner-decor[data-hero-accent="tools"] .home-hero-decor-petals { filter: hue-rotate(25deg); }
.home-hero-banner-decor[data-hero-accent="monitor"] .home-hero-decor-petals { filter: hue-rotate(-20deg) saturate(0.95); }
.home-hero-banner-decor[data-hero-accent="arch"] .home-hero-decor-petals { filter: hue-rotate(35deg); }
@media (max-width: 1279px) {
  .home-hero-banner-decor { width: 280px; height: 240px; right: 0; opacity: 0.65; }
}
@media (max-width: 1023px) {
  .home-hero-banner-decor { display: none; }
}

.home-hero-banner-layout {
  display: flex;
  align-items: flex-start;
  min-height: 300px;
  position: relative;
  z-index: 1;
}

/* 左侧焦点栏 */
.home-hero-rail {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  width: 200px;
  flex-shrink: 0;
  padding: 0.5rem 0 0;
}
@media (min-width: 1024px) {
  .home-hero-rail { display: flex; }
}
.home-hero-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 0.5rem;
  margin-right: -1px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: right;
  transition: color 0.2s, background 0.2s;
}
.home-hero-rail-item:hover {
  color: var(--home-primary);
  background: rgba(0, 82, 217, 0.04);
}
.home-hero-rail-item.is-preview:not(.is-active) {
  color: var(--home-primary);
}
.home-hero-rail-item.is-preview:not(.is-active) .home-hero-rail-text {
  color: var(--home-primary);
}
.home-hero-rail-item.is-preview:not(.is-active)::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 50%;
  min-height: 20px;
  background: rgba(0, 82, 217, 0.35);
  border-radius: 2px 0 0 2px;
}
.home-hero-rail-item.is-active {
  color: var(--home-primary);
  font-weight: 500;
}
.home-hero-rail-item.is-active::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  min-height: 28px;
  background: var(--home-primary);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 0 8px rgba(0, 82, 217, 0.35);
}
.home-hero-rail-text {
  font-size: 13px;
  line-height: 1.4;
  color: inherit;
  max-width: 140px;
}
.home-hero-rail-item:not(.is-active) .home-hero-rail-text {
  color: var(--home-text-secondary);
}
.home-hero-rail-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1.4;
}
.home-hero-rail-tag.tag-promo { background: #ffe8e0; color: #d54941; }
.home-hero-rail-tag.tag-free { background: var(--home-primary-bg); color: var(--home-primary); }
.home-hero-rail-tag.tag-new { background: #e8ffea; color: #00a870; }
.home-hero-rail-tag.tag-latest { background: #fff7e8; color: #ed7b2f; }
.home-hero-rail-tag.tag-arch { background: #f3e8ff; color: #7b61ff; }

.home-hero-rail-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--home-border) 15%, var(--home-border) 85%, transparent);
  margin: 1.5rem 0;
  flex-shrink: 0;
}

/* 主推广区 */
.home-hero-stage {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.5rem 1rem 2.5rem;
  min-width: 0;
  min-height: 240px;
}
@media (max-width: 1023px) {
  .home-hero-stage {
    padding: 1rem 0;
  }
}
.home-hero-slide {
  width: 100%;
  max-width: 640px;
  animation: heroFadeIn 0.45s ease;
}
.home-hero-slide.is-instant {
  animation: none;
}
.home-hero-slide[hidden] {
  display: none !important;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 右侧场景预览（腾讯云式第三栏） */
.home-hero-visual {
  flex-shrink: 0;
  width: 320px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.5rem 0 0.5rem 1rem;
  position: relative;
  min-height: 300px;
}
@media (min-width: 1280px) {
  .home-hero-visual { width: 360px; padding-left: 1.5rem; }
}
.home-hero-visual-slide {
  width: 100%;
  animation: heroFadeIn 0.45s ease;
}
.home-hero-visual-slide.is-instant {
  animation: none;
}
.home-hero-visual-slide[hidden] {
  display: none !important;
}
.home-hero-visual-panel {
  box-shadow: 0 8px 32px rgba(0, 82, 217, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.home-hero-visual-panel .home-hero-panel-body {
  padding: 16px;
}
.home-hero-visual-flow {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.home-hero-flow-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: #f7f8fa;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  font-size: 12px;
}
.home-hero-flow-arrow {
  display: none;
}
.home-hero-flow-num {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--home-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.home-hero-flow-text {
  color: var(--home-text);
}
.home-hero-visual-note {
  margin-top: 0.75rem;
  font-size: 12px;
  color: var(--home-primary);
  background: var(--home-primary-bg);
  border: 1px solid var(--home-primary-border);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  text-align: center;
}
.home-hero-visual-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.home-hero-visual-features li {
  padding: 0.65rem 0.75rem;
  background: #f7f8fa;
  border: 1px solid var(--home-border);
  border-radius: 4px;
}
.home-hero-visual-features strong {
  display: block;
  font-size: 13px;
  color: var(--home-text);
  margin-bottom: 0.15rem;
}
.home-hero-visual-features span {
  font-size: 12px;
  color: var(--home-muted);
}
.home-hero-visual-site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 12px;
}
.home-hero-visual-site:last-child { margin-bottom: 0; }
.home-hero-visual-site-meta strong {
  display: block;
  font-size: 13px;
  color: var(--home-text);
}
.home-hero-visual-site-meta span {
  font-size: 11px;
  color: var(--home-muted);
}
.home-hero-visual-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.home-hero-visual-module {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(135deg, #f7f8fa 0%, #fff 100%);
  border: 1px solid var(--home-border);
  border-radius: 4px;
}
.home-hero-visual-module code {
  font-size: 13px;
  font-weight: 600;
  color: var(--home-primary);
}
.home-hero-visual-module-port {
  font-size: 11px;
  color: var(--home-muted);
  font-family: ui-monospace, monospace;
}
.home-hero-visual-module-desc {
  font-size: 11px;
  color: var(--home-text-secondary);
  margin-top: 0.15rem;
}
.home-hero-visual-panel .home-hero-metric {
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 12px;
}
.home-hero-visual-panel .home-hero-metric:last-child {
  margin-bottom: 0;
}

.home-hero-banner-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--home-text);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .home-hero-banner-title { font-size: 2.5rem; }
}
.home-hero-banner-desc {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--home-muted);
  font-weight: 300;
  max-width: 520px;
}
.home-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 1.75rem;
}
.home-hero-cta-group .home-hero-cta,
.home-hero-cta-group .home-hero-cta-secondary {
  margin-top: 0;
}
.home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 24px;
  background: var(--home-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: none;
}
.home-hero-cta:hover {
  background: var(--home-primary-hover);
  color: #fff;
  box-shadow: none;
  transform: none;
}
.home-hero-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  opacity: 0.95;
}
.home-hero-cta-icon svg {
  display: block;
}
.home-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 24px;
  background: #fff;
  color: var(--home-primary);
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--home-primary);
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.home-hero-cta-secondary:hover {
  background: var(--home-primary-bg);
  color: var(--home-primary-hover);
  border-color: var(--home-primary-hover);
}

/* 移动端焦点 */
.home-hero-rail-mobile {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.home-hero-rail-mobile::-webkit-scrollbar { display: none; }
.home-hero-rail-mobile .home-hero-rail-pill {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--home-border);
  background: #fff;
  color: var(--home-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.home-hero-rail-mobile .home-hero-rail-pill.is-active {
  border-color: var(--home-primary);
  background: var(--home-primary-bg);
  color: var(--home-primary);
  font-weight: 500;
}
.home-hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 1rem;
}
.home-hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9cdd4;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.home-hero-dots span.is-active {
  background: var(--home-primary);
  transform: scale(1.25);
}

/* 桌面端轮播进度条 */
.home-hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(0, 82, 217, 0.08);
  z-index: 2;
}
.home-hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--home-primary);
  border-radius: 0 1px 1px 0;
}
.home-hero-progress.is-running span {
  animation: heroProgress var(--hero-interval, 6s) linear forwards;
}
@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Hero 通用（子页复用） */
.home-hero {
  position: relative;
  overflow: hidden;
}
.home-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 2px;
  background: var(--home-primary-bg);
  border: 1px solid var(--home-primary-border);
  color: var(--home-primary);
  font-size: 12px;
  font-weight: 500;
}

.home-hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--home-text);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .home-hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .home-hero-title { font-size: 3.25rem; }
}

.home-hero-highlight {
  color: var(--home-primary);
}

.home-hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-muted);
  font-weight: 300;
}

.home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-border);
}
.home-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--home-text);
  line-height: 1.2;
}
.home-hero-stat span {
  font-size: 12px;
  color: var(--home-muted);
}

/* Hero 右侧可视化面板 */
.home-hero-panel {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  box-shadow: var(--home-card-shadow-hover);
  overflow: hidden;
}
.home-hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--home-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--home-text-secondary);
}
.home-hero-panel-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.home-hero-panel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}
.home-hero-panel-dots span:first-child { background: var(--home-primary); }
.home-hero-panel-body {
  padding: 20px;
}
.home-hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 13px;
}
.home-hero-metric:last-child { margin-bottom: 0; }
.home-hero-metric-label { color: var(--home-muted); }
.home-hero-metric-val { font-weight: 600; color: var(--home-text); }
.home-hero-metric-val.ok { color: #00b42a; }
.home-hero-metric-val.warn { color: #ff7d00; }
.home-hero-metric-val.err { color: #f53f3f; }

.home-hero-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--home-card-shadow);
}
.home-hero-search-input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: var(--home-text);
  outline: none;
  min-width: 0;
}
.home-hero-search-btn {
  border-radius: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-hero-search-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.home-hero-ssl-bar {
  max-width: 560px;
  margin: 1.25rem auto 0;
  padding-bottom: 0.5rem;
}
@media (min-width: 1024px) {
  .home-hero-ssl-bar {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
  }
}
.home-product-ssl-bar {
  margin-top: 1rem;
  width: 100%;
}
.home-product-ssl-bar .home-hero-search {
  box-shadow: none;
}
.home-product-ssl-bar .home-hero-search-input {
  padding: 0.55rem 0.75rem;
  font-size: 13px;
}
.home-product-ssl-bar .home-hero-search-btn {
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 13px;
}
.home-product-card-ssl .home-product-link {
  margin-top: 0.75rem;
}
.home-hero-mobile-result {
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--home-muted);
}
.home-hero-mobile-result a {
  color: var(--home-link);
}
.home-hero-panel-status {
  font-size: 11px;
  font-weight: 400;
  color: var(--home-muted);
  margin-left: auto;
  flex-shrink: 0;
}
.home-hero-panel-status.is-error {
  color: #f53f3f;
}
.home-hero-panel-link {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--home-link);
  padding-top: 12px;
  border-top: 1px solid var(--home-border);
}
.home-hero-panel-link:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}
.home-hero-visual {
  display: grid;
  gap: 1rem;
}
.home-hero-visual-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--home-card-shadow);
  position: relative;
  overflow: hidden;
}
.home-hero-visual-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--home-primary);
}
.home-hero-visual-card.card-accent-blue::before { background: #0052d9; }
.home-hero-visual-card.card-accent-teal::before { background: #00a870; }
.home-hero-visual-card.card-accent-purple::before { background: #7b61ff; }
.home-hero-visual-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text);
}
.home-hero-visual-card p {
  margin-top: 0.35rem;
  font-size: 13px;
  color: var(--home-muted);
  line-height: 1.5;
}

/* SSL 检测页 — 复用 Hero 检测区 */
.ssl-check-hero {
  padding-bottom: 0;
  background: linear-gradient(160deg, #f3f4f7 0%, #fff 45%, #f0f5ff 100%);
}
.ssl-check-hero-title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--home-text);
  letter-spacing: -0.01em;
}
@media (min-width: 640px) {
  .ssl-check-hero-title { font-size: 1.5rem; }
}
.ssl-check-hero-desc {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--home-muted);
}
.ssl-check-hero .home-hero-grid {
  align-items: stretch;
}
.ssl-probe-block {
  --ssl-probe-pad-x: 1.25rem;
  --ssl-probe-pad-y: 0.875rem;
  --ssl-probe-brand-size: 40px;
  --ssl-probe-inner-gap: 0.65rem;
  --ssl-probe-side-gap: 1.25rem;
  width: 100%;
}
.ssl-check-hero .home-hero-ssl-bar.ssl-probe-search-bar {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-bottom: 0;
}
.ssl-check-hero .ssl-probe-search-bar .home-hero-search {
  width: 100%;
}
.ssl-ip-picker-panel {
  margin-top: 10px;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: var(--ssl-probe-pad-y) var(--ssl-probe-pad-x);
  background: #fff;
  box-shadow: var(--home-card-shadow);
}
.ssl-ip-picker-panel.hidden {
  display: none;
}
.ssl-report-summary {
  max-width: 100%;
  margin-top: 10px;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--home-card-shadow);
  overflow: hidden;
}
.ssl-report-summary.hidden {
  display: none;
}
.ssl-report-summary-inner {
  margin-top: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
/* 摘要区与搜索框共用三列：图标 | 主内容 | 侧栏（评分） */
.ssl-report-hero.ssl-report-summary-inner {
  display: grid;
  grid-template-columns: var(--ssl-probe-brand-size) minmax(0, 1fr) auto;
  column-gap: var(--ssl-probe-inner-gap);
  align-items: start;
  padding: var(--ssl-probe-pad-y) var(--ssl-probe-pad-x);
  border: none;
  border-radius: 0;
  background: transparent;
}
.ssl-report-hero.ssl-report-summary-inner .ssl-summary-title-text {
  min-width: 0;
}
.ssl-report-hero.ssl-report-summary-inner .ssl-summary-grade {
  margin-left: calc(var(--ssl-probe-side-gap) - var(--ssl-probe-inner-gap));
}
.ssl-summary-domain-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0;
}
.ssl-summary-title-text .ssl-report-domain {
  font-size: 1.25rem;
  margin: 0;
}
.ssl-summary-recheck {
  font-size: 13px;
  color: var(--home-link);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.ssl-summary-recheck:hover { text-decoration: underline; color: var(--home-primary); }
.ssl-summary-meta {
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ssl-summary-meta-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
.ssl-summary-meta-item dt {
  flex: 0 0 4.5rem;
  margin: 0;
  color: #86909c;
  font-weight: 400;
  white-space: nowrap;
}
.ssl-summary-meta-item dt::after {
  content: '：';
}
.ssl-summary-meta-item dd {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: #4e5969;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.ssl-summary-meta-extra {
  color: #86909c;
  font-weight: 400;
  margin-left: 0.15rem;
}
.ssl-summary-meta-subline {
  margin: 0.35rem 0 0;
  padding-left: calc(4.5rem + 0.5rem);
  font-size: 13px;
  line-height: 1.55;
  color: #86909c;
}
.ssl-summary-meta-label {
  color: #86909c;
  font-weight: 400;
}
.ssl-summary-actions {
  position: relative;
  margin-top: 0.55rem;
}
.ssl-summary-actions-divider {
  height: 0;
  border-top: 1px dashed #d9dce0;
  margin: 0.15rem 0 0.65rem;
}
.ssl-summary-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.ssl-summary-action {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--home-link);
  cursor: pointer;
}
.ssl-summary-action:hover {
  color: var(--home-primary);
  text-decoration: underline;
}
.ssl-summary-action:disabled {
  color: #86909c;
  cursor: wait;
  text-decoration: none;
}
.ssl-summary-action-sep {
  color: #c9cdd4;
  font-size: 12px;
  user-select: none;
}
.ssl-summary-auth-tip {
  margin-top: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
  background: #f7f8fa;
  border: 1px solid #e5e6eb;
}
.ssl-summary-auth-tip-text {
  margin: 0 0 0.35rem;
  font-size: 12px;
  line-height: 1.5;
  color: #4e5969;
}
.ssl-summary-auth-tip-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ssl-summary-auth-link {
  font-size: 13px;
  color: var(--home-link);
  text-decoration: none;
}
.ssl-summary-auth-link:hover {
  color: var(--home-primary);
  text-decoration: underline;
}
.ssl-summary-qr-popover {
  position: fixed;
  z-index: 1200;
  width: 168px;
  padding: 0.75rem 0.65rem 0.65rem;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.ssl-summary-qr-popover.hidden {
  display: none;
}
.ssl-summary-qr-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 78%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #e5e6eb;
  border-top: 1px solid #e5e6eb;
  transform: rotate(45deg);
}
.ssl-summary-qr-title {
  margin: 0 0 0.45rem;
  font-size: 12px;
  line-height: 1.4;
  color: #4e5969;
  text-align: center;
}
.ssl-summary-qr-canvas {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}
.ssl-summary-qr-canvas canvas,
.ssl-summary-qr-canvas img {
  display: block;
  width: 132px !important;
  height: 132px !important;
}
.ssl-summary-qr-hint {
  margin: 0;
  padding: 0 10px 10px;
  font-size: 11px;
  line-height: 1.45;
  color: #737373;
  text-align: center;
}
.ssl-summary-qr-loading {
  display: inline-block;
  font-size: 12px;
  color: #737373;
}
.ssl-summary-save-msg {
  margin: 0.45rem 0 0;
  font-size: 12px;
  line-height: 1.5;
}
.ssl-summary-save-msg.is-ok { color: #00b42a; }
.ssl-summary-save-msg.is-err { color: #f53f3f; }
.ssl-report-hero-meta--grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1rem;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.35;
}
.ssl-report-hero-meta--grid div {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.ssl-report-hero-meta--grid dt {
  margin: 0;
  flex-shrink: 0;
  min-width: auto;
  white-space: nowrap;
  color: var(--home-muted);
}
.ssl-report-hero-meta--grid dd {
  margin: 0;
  color: var(--home-text);
  font-weight: 500;
  min-width: 0;
}
.ssl-report-hero-meta--grid dd strong { font-weight: 600; }

.ssl-report-hero-meta--grid dd .ssl-ip-region,
.ssl-ip-region {
  color: #737373;
  font-size: 0.8125rem;
  font-weight: 400;
  margin-left: 0.125rem;
}

.ssl-ip-saved-mark {
  color: var(--home-primary);
  font-size: 0.75rem;
  margin-left: 0.35rem;
}
.ssl-summary-grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 88px;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}
.ssl-summary-grade-label {
  font-size: 12px;
  color: var(--home-muted);
  margin-bottom: 0.25rem;
  white-space: nowrap;
}
.ssl-summary-grade-val {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.ssl-summary-grade-val.g-a, .ssl-summary-grade-val.g-ap { color: #00b42a; }
.ssl-summary-grade-val.g-b { color: #ff7d00; }
.ssl-summary-grade-val.g-c, .ssl-summary-grade-val.g-d { color: #ff7d00; }
.ssl-summary-grade-val.g-f { color: #f53f3f; }
.app-main.ssl-check-report-section {
  max-width: 80rem; /* 与 Hero max-w-7xl 一致 */
  padding-top: 1.25rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .app-main.ssl-check-report-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .app-main.ssl-check-report-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.ssl-report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* SSL 报告 — MySSL / web-check 风格 */
.ssl-report-wrap { display: flex; flex-direction: column; gap: 1rem; }
.ssl-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
}
.ssl-report-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ssl-report-aside {
  position: sticky;
  top: 1rem;
  align-self: start;
  z-index: 20;
  flex-shrink: 0;
}
.ssl-report-aside-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ssl-aside-qr-card {
  padding: 0.75rem;
  border: 1px solid var(--home-border);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 20, 60, 0.06);
}
.ssl-aside-qr-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ssl-aside-qr-wrap img,
.ssl-aside-qr-wrap canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ssl-aside-qr-placeholder {
  font-size: 12px;
  color: var(--home-muted);
  padding: 0.5rem;
}
.ssl-aside-qr-tip {
  margin: 0.65rem 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--home-text-secondary);
}
.ssl-aside-qr-wechat {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  vertical-align: -3px;
  background: #07c160;
  border-radius: 3px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.5 4C4.9 4 2 6.4 2 9.1c0 1.4.7 2.6 1.8 3.5L3 16l2.6-.9c.7.2 1.4.3 2.1.3.3 0 .6 0 .9-.1-.3-.9-.4-1.8-.4-2.8 0-3.4 3.1-6.1 7-6.1.4 0 .8 0 1.2.1C14.1 5.6 11.5 4 8.5 4zm-2.2 3.6c-.6 0-1.1.5-1.1 1.1s.5 1.1 1.1 1.1 1.1-.5 1.1-1.1-.5-1.1-1.1-1.1zm4.4 0c-.6 0-1.1.5-1.1 1.1s.5 1.1 1.1 1.1 1.1-.5 1.1-1.1-.5-1.1-1.1-1.1zM15.5 8c-3.3 0-6 2.4-6 5.4 0 3 2.7 5.4 6 5.4.7 0 1.4-.1 2-.3l1.8.6-.5-1.7c.9-.7 1.5-1.7 1.5-2.8 0-3-2.7-5.4-6-5.4zm-2.4 3.5c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9zm4.8 0c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.5 4C4.9 4 2 6.4 2 9.1c0 1.4.7 2.6 1.8 3.5L3 16l2.6-.9c.7.2 1.4.3 2.1.3.3 0 .6 0 .9-.1-.3-.9-.4-1.8-.4-2.8 0-3.4 3.1-6.1 7-6.1.4 0 .8 0 1.2.1C14.1 5.6 11.5 4 8.5 4zm-2.2 3.6c-.6 0-1.1.5-1.1 1.1s.5 1.1 1.1 1.1 1.1-.5 1.1-1.1-.5-1.1-1.1-1.1zm4.4 0c-.6 0-1.1.5-1.1 1.1s.5 1.1 1.1 1.1 1.1-.5 1.1-1.1-.5-1.1-1.1-1.1zM15.5 8c-3.3 0-6 2.4-6 5.4 0 3 2.7 5.4 6 5.4.7 0 1.4-.1 2-.3l1.8.6-.5-1.7c.9-.7 1.5-1.7 1.5-2.8 0-3-2.7-5.4-6-5.4zm-2.4 3.5c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9zm4.8 0c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: #07c160;
}
.ssl-report-footnote { margin: 0; }

/* 报告顶栏 — 域名 + favicon + 元信息 */
.ssl-report-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 6px;
}
.ssl-report-domain {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--home-text);
  line-height: 1.3;
}
.ssl-report-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
  font-size: 13px;
}
.ssl-report-hero-meta div { min-width: 0; }
.ssl-report-hero-meta dt {
  color: var(--home-muted);
  font-weight: 400;
  margin-bottom: 0.15rem;
}
.ssl-report-hero-meta dd {
  margin: 0;
  color: var(--home-text-secondary);
  line-height: 1.45;
}
.ssl-report-hero-meta dd strong { color: var(--home-text); font-weight: 600; }
.ssl-report-elapsed { color: var(--home-muted); font-size: 12px; }
.ssl-report-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
.ssl-report-action {
  font-size: 13px;
  color: var(--home-link);
  background: none;
  border: none;
  padding: 0.2rem 0;
  cursor: pointer;
  text-align: right;
  white-space: nowrap;
}
.ssl-report-action:hover { color: var(--home-primary); text-decoration: underline; }

.ssl-report-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  padding: 1rem 1.25rem; background: #fafafa;
  border: 1px solid var(--home-border); border-radius: 4px;
  font-size: 13px; color: var(--home-text-secondary);
}
.ssl-report-meta strong { color: var(--home-text); font-weight: 600; }
.ssl-report-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--home-border);
}
.ssl-report-nav--side {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.35rem;
  padding: 0 0 0 0.85rem;
  border: none;
  border-left: 1px solid var(--home-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 9.5rem;
}
.ssl-report-nav--side .ssl-report-nav-item {
  gap: 0.45rem;
  padding: 0.35rem 0;
  border-radius: 0;
  color: var(--home-text-secondary);
  background: transparent;
}
.ssl-report-nav--side .ssl-report-nav-item::before {
  content: '•';
  flex-shrink: 0;
  width: 1em;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  color: var(--home-text);
}
.ssl-report-nav--side .ssl-report-nav-icon {
  display: none;
}
.ssl-report-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  font-size: 13px;
  border-radius: 4px;
  color: var(--home-text-secondary);
  text-decoration: none;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.ssl-report-nav-item:hover {
  color: var(--home-primary);
  background: var(--home-primary-bg);
}
.ssl-report-nav-item.is-active {
  color: var(--home-primary);
  background: var(--home-primary-bg);
  font-weight: 600;
}
.ssl-report-nav--side .ssl-report-nav-item:hover,
.ssl-report-nav--side .ssl-report-nav-item.is-active {
  background: transparent;
}
.ssl-report-nav--side .ssl-report-nav-item.is-active::before {
  color: var(--home-primary);
}
.ssl-report-nav-text { flex: 1; line-height: 1.35; }
.ssl-report-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
  background: currentColor;
}
.ssl-report-nav-item.is-active .ssl-report-nav-icon,
.ssl-report-nav-item:hover .ssl-report-nav-icon { opacity: 1; }
.ssl-report-nav-icon--overview {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v2H4V5zm0 6h10v2H4v-2zm0 6h16v2H4v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16v2H4V5zm0 6h10v2H4v-2zm0 6h16v2H4v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--cert {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1L3 5v6c0 5.25 3.75 10.15 9 11.35 5.25-1.2 9-6.1 9-11.35V5l-9-4zm0 2.18l7 3.11v5.71c0 4.22-2.98 8.12-7 9.28-4.02-1.16-7-5.06-7-9.28V6.31l7-3.13z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1L3 5v6c0 5.25 3.75 10.15 9 11.35 5.25-1.2 9-6.1 9-11.35V5l-9-4zm0 2.18l7 3.11v5.71c0 4.22-2.98 8.12-7 9.28-4.02-1.16-7-5.06-7-9.28V6.31l7-3.13z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--chain {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 11h2v2H7v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zM3 7h2v2H3V7zm4 0h2v2H7V7zm4 0h2v2h-2V7zm4 0h2v2h-2V7zm4 0h2v2h-2V7zM3 15h2v2H3v-2zm4 0h2v2H7v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 11h2v2H7v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zM3 7h2v2H3V7zm4 0h2v2H7V7zm4 0h2v2h-2V7zm4 0h2v2h-2V7zm4 0h2v2h-2V7zM3 15h2v2H3v-2zm4 0h2v2H7v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--dns {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--protocol {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h6v6H4V4zm10 0h6v6h-6V4zM4 14h6v6H4v-6zm10 3h2v2h-2v-2zm4 0h2v2h-2v-2zm-4 3h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h6v6H4V4zm10 0h6v6h-6V4zM4 14h6v6H4v-6zm10 3h2v2h-2v-2zm4 0h2v2h-2v-2zm-4 3h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--details {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav-icon--risks {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ssl-report-nav a {
  padding: 0.35rem 0.75rem; font-size: 13px; border-radius: 4px;
  color: var(--home-text-secondary); text-decoration: none;
  border: 1px solid transparent;
  display: block;
  white-space: nowrap;
}
.ssl-report-nav--side a:not(.ssl-report-nav-item) {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}
.ssl-report-nav a:hover:not(.ssl-report-nav-item) { color: var(--home-primary); background: var(--home-primary-bg); }
.ssl-report-nav a.is-active:not(.ssl-report-nav-item) {
  color: var(--home-primary);
  background: var(--home-primary-bg);
  border-color: var(--home-primary-border);
  font-weight: 600;
}
.ssl-report-section {
  scroll-margin-top: 5rem;
  border: 1px solid var(--home-border); border-radius: 4px;
  background: #fff; overflow: hidden;
}
.ssl-report-section > h3 {
  margin: 0; padding: 0.75rem 1rem; font-size: 15px; font-weight: 600;
  background: #fafafa; border-bottom: 1px solid var(--home-border);
  color: var(--home-text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ssl-report-section-title--with-action {
  justify-content: space-between;
  gap: 0.75rem;
}
.ssl-chain-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #1677ff;
  cursor: pointer;
  flex-shrink: 0;
}
.ssl-chain-download-btn:hover:not(:disabled) {
  text-decoration: underline;
}
.ssl-chain-download-btn.is-disabled,
.ssl-chain-download-btn:disabled {
  color: #c9cdd4;
  cursor: not-allowed;
}
.ssl-chain-download-icon {
  flex-shrink: 0;
}
.ssl-section-tip {
  font-size: 13px;
  color: var(--home-muted);
  cursor: help;
  font-weight: 400;
}
.ssl-report-section-body { padding: 1rem 1.25rem; }
.ssl-overview-desc {
  margin: 0 0 1rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-text-secondary);
}

/* 评级色条 A+ → T */
.ssl-grade-scale-block { margin-bottom: 1rem; }
.ssl-grade-scale-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ssl-grade-scale-label {
  font-size: 13px;
  color: var(--home-muted);
  width: 2.5rem;
  flex-shrink: 0;
}
.ssl-grade-scale-track {
  position: relative;
  flex: 1;
  min-width: 160px;
  padding-top: 2px;
}
.ssl-grade-scale-bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    #00b42a 0%, #7bc142 14%, #c9d638 28%, #f7c948 42%,
    #ff9a2e 56%, #ff6b35 70%, #f53f3f 84%, #8b0000 100%);
}
.ssl-grade-scale-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--home-muted);
  line-height: 1;
}
.ssl-grade-scale-pin {
  position: absolute;
  top: -3px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}
.ssl-grade-scale-pin.g-a, .ssl-grade-scale-pin.g-ap { background: #00b42a; }
.ssl-grade-scale-pin.g-b { background: #ff9a2e; }
.ssl-grade-scale-pin.g-c, .ssl-grade-scale-pin.g-d { background: #ff7d00; }
.ssl-grade-scale-pin.g-f { background: #f53f3f; }
.ssl-grade-scale-grade {
  font-size: 22px;
  font-weight: 700;
  min-width: 2.5rem;
  text-align: center;
  flex-shrink: 0;
}
.ssl-grade-scale-grade.g-a, .ssl-grade-scale-grade.g-ap { color: #00b42a; }
.ssl-grade-scale-grade.g-b { color: #ff7d00; }
.ssl-grade-scale-grade.g-c, .ssl-grade-scale-grade.g-d { color: #ff7d00; }
.ssl-grade-scale-grade.g-f { color: #f53f3f; }

.ssl-compliance-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ssl-compliance-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
}
.ssl-compliance-label {
  width: 4.5rem;
  flex-shrink: 0;
  color: var(--home-muted);
}
.ssl-compliance-ok { color: #00b42a; font-weight: 500; }
.ssl-compliance-err { color: var(--home-primary); font-weight: 500; }
.ssl-downgrade-box {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px dashed #ffcd96;
  border-radius: 4px;
  background: #fff9f0;
  font-size: 13px;
  color: var(--home-text-secondary);
  line-height: 1.55;
}
.ssl-downgrade-box strong { color: var(--home-text); }
.ssl-downgrade-box ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}
.ssl-downgrade-box li { margin-bottom: 0.25rem; }
.ssl-config-guides {
  margin-top: 1rem;
  font-size: 13px;
  color: var(--home-text-secondary);
}
.ssl-config-guides-title {
  font-weight: 600;
  color: var(--home-text);
  margin: 0 0 0.35rem;
}
.ssl-config-guides ul {
  margin: 0;
  padding-left: 1.25rem;
}

.ssl-grade-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: flex-start;
  justify-content: flex-start;
}
.ssl-site-brand {
  border-radius: 6px;
  border: 1px solid var(--home-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 20, 60, 0.06);
}
.ssl-site-brand--sm {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.ssl-site-brand--sm .ssl-site-favicon {
  width: 28px;
  height: 28px;
}
.ssl-site-brand--sm .ssl-site-favicon-fallback {
  width: 28px;
  height: 28px;
  font-size: 16px;
  border-radius: 4px;
}
.ssl-site-brand--lg {
  width: 88px;
  height: 88px;
}
.ssl-site-brand--lg .ssl-site-favicon {
  width: 56px;
  height: 56px;
}
.ssl-site-brand--lg .ssl-site-favicon-fallback {
  width: 56px;
  height: 56px;
  font-size: 26px;
}
.ssl-site-favicon {
  object-fit: contain;
  display: block;
}
.ssl-site-favicon.is-missing { display: none; }
.ssl-site-favicon-fallback {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--home-primary);
  background: var(--home-primary-bg);
  border-radius: 4px;
}
.ssl-site-favicon-fallback.is-visible { display: flex; }
.ssl-grade-main {
  flex: 1;
  min-width: 180px;
}
.ssl-grade-badge {
  width: 72px; height: 72px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  margin-left: auto;
}
.ssl-grade-badge.g-a, .ssl-grade-badge.g-ap { background: linear-gradient(135deg, #00b42a, #009a29); }
.ssl-grade-badge.g-b { background: linear-gradient(135deg, #ff7d00, #d25f00); }
.ssl-grade-badge.g-c, .ssl-grade-badge.g-d { background: linear-gradient(135deg, #ff7d00, #f53f3f); }
.ssl-grade-badge.g-f { background: linear-gradient(135deg, #f53f3f, #cb2634); }
.ssl-grade-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.ssl-data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ssl-data-table th,
.ssl-data-table td {
  padding: 0.5rem 0.75rem; border: 1px solid var(--home-border);
  text-align: left; vertical-align: top;
}
.ssl-data-table th {
  width: 140px; background: #fafafa; color: var(--home-muted);
  font-weight: 500;
}
.app-orders-mgmt {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app-orders-page .app-input,
.app-orders-page .app-select,
.app-orders-page .app-textarea,
.app-orders-page select {
  border-radius: 0;
}
.app-orders-page .app-btn-primary,
.app-orders-page .app-btn-secondary,
.app-orders-page .app-btn-ghost,
.app-orders-page a.app-btn-primary {
  border-radius: 0;
}
.app-orders-page .app-pagination-btn,
.app-orders-page .app-pagination-size select {
  border-radius: 0;
}
.app-orders-page .app-page-header .app-btn-primary,
.app-orders-page .app-page-header .app-btn-ghost {
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 1rem;
  min-height: 32px;
  line-height: 1.5;
  box-sizing: border-box;
}
.app-orders-mgmt > .app-card {
  margin-top: 0;
}
.app-orders-mgmt > .app-card + .app-card {
  margin-top: 0;
  border-top: none;
}
.app-orders-toolbar {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 0.75rem;
}
.app-orders-filter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(120px, 1fr)) auto;
  gap: 0.65rem 0.75rem;
  align-items: end;
}
.app-orders-filter-grow {
  grid-column: span 1;
}
.app-orders-filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.app-orders-filter-label {
  font-size: 12px;
  color: var(--home-muted);
}
.app-orders-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-bottom: 1px;
}
.app-orders-toolbar .app-input,
.app-orders-toolbar select.app-input {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 0.65rem;
  line-height: 1.5;
  color: #4e5969;
  min-height: 32px;
  box-sizing: border-box;
}
.app-orders-toolbar .app-input::placeholder {
  color: #86909c;
  font-size: 12px;
}
.app-orders-toolbar input[type="date"].app-input {
  font-family: inherit;
}
.app-orders-toolbar .app-orders-filter-actions .app-btn-primary,
.app-orders-toolbar .app-orders-filter-actions .app-btn-ghost {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 1rem;
  min-height: 32px;
  line-height: 1.5;
  box-sizing: border-box;
}
.app-orders-summary {
  margin: 0.75rem 0 0;
  font-size: 12px;
  color: var(--home-muted);
}
.app-orders-detail {
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.app-orders-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: #f7f8fa;
  border-bottom: 1px solid #eef0f3;
}
.app-orders-detail-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #4e5969;
}
.app-orders-detail-close {
  border: none;
  background: transparent;
  padding: 0 0.25rem;
  font-size: 18px;
  line-height: 1;
  color: #86909c;
  cursor: pointer;
}
.app-orders-detail-close:hover {
  color: #1d2129;
}
.app-orders-detail-body {
  overflow-x: auto;
}
.app-orders-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.app-orders-detail-table th,
.app-orders-detail-table td {
  padding: 0.4rem 0.55rem;
  border: 1px solid #eef0f3;
  text-align: left;
  vertical-align: middle;
}
.app-orders-detail-table th {
  width: 5.5rem;
  background: #f7f8fa;
  color: #4e5969;
  font-weight: 600;
  white-space: nowrap;
}
.app-orders-detail-table td {
  color: #1d2129;
}
.app-orders-detail-table .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.app-orders-detail-table .cell-wrap {
  word-break: break-all;
  white-space: normal;
}
.app-orders-detail-extra {
  padding: 0.45rem 0.65rem;
  font-size: 12px;
  border-top: 1px solid #eef0f3;
  background: #fcfcfd;
}
.app-orders-detail-extra.is-error {
  color: #f53f3f;
  background: #fff5f5;
}
.app-orders-detail-extra ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: #86909c;
}
.app-orders-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-top: 1px solid #eef0f3;
  background: #fcfcfd;
}
.app-orders-detail-actions .app-btn-primary,
.app-orders-detail-actions .app-btn-ghost {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  padding: 0.35rem 0.85rem;
  line-height: 1.5;
}
.app-orders-table-wrap {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 0;
  overflow: hidden;
}
.app-orders-table-scroll {
  overflow-x: auto;
}
.app-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 980px;
}
.app-orders-table th,
.app-orders-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid #eef0f3;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.app-orders-table th {
  background: #f7f8fa;
  color: #4e5969;
  font-weight: 600;
  font-size: 12px;
}
.app-orders-table tbody tr:nth-child(even) {
  background: #fcfcfd;
}
.app-orders-table tbody tr:hover {
  background: #f2f7ff;
}
.app-orders-table .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #1d2129;
}
.app-orders-table .cell-wrap {
  white-space: normal;
  max-width: 220px;
  word-break: break-all;
}
.app-orders-col-actions {
  width: 120px;
}
.app-orders-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.app-orders-actions .app-link {
  font-size: 13px;
}
.app-orders-status {
  font-size: 13px;
}
.app-orders-status.is-ok { color: #00b42a; }
.app-orders-status.is-warn { color: #ff7d00; }
.app-orders-status.is-err { color: #f53f3f; }
.app-orders-status.is-muted { color: #86909c; }
.app-orders-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.85rem 0.25rem 0.25rem;
}
.app-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0;
  padding: 0;
}
.app-pagination-info {
  font-size: 13px;
  color: var(--home-muted);
  margin-right: auto;
}
.app-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.app-pagination-btn {
  min-width: 2rem;
  padding: 0.35rem 0.65rem;
  font-size: 13px;
  line-height: 1.2;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fff;
  color: var(--home-text);
  cursor: pointer;
}
.app-pagination-btn:hover:not(:disabled) {
  border-color: var(--home-primary);
  color: var(--home-primary);
}
.app-pagination-btn.is-active {
  border-color: var(--home-primary);
  background: rgba(22, 93, 255, 0.08);
  color: var(--home-primary);
  font-weight: 600;
}
.app-pagination-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.app-pagination-size {
  font-size: 13px;
  color: var(--home-muted);
}
.app-pagination-size select {
  margin-left: 0.35rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}
@media (max-width: 960px) {
  .app-orders-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .app-orders-filter-grow {
    grid-column: 1 / -1;
  }
  .app-orders-filter-actions {
    grid-column: 1 / -1;
  }
}
.ssl-chain-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ssl-chain-item {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  padding-bottom: 0.25rem;
}
.ssl-chain-item-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  flex-shrink: 0;
}
.ssl-chain-item-rail.is-last {
  padding-bottom: 0;
}
.ssl-chain-connector {
  flex: 1;
  width: 2px;
  min-height: 20px;
  margin: 6px 0 2px;
  background: linear-gradient(180deg, #c9cdd4 0%, #e5e6eb 100%);
  border-radius: 1px;
}
.ssl-chain-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
}
.ssl-chain-icon--leaf,
.ssl-chain-icon--intermediate,
.ssl-chain-icon--root,
.ssl-chain-icon--cross,
.ssl-chain-icon--invalid {
  background: transparent;
  border: none;
}
.ssl-chain-item--invalid .ssl-chain-icon--invalid {
  opacity: 0.92;
}
.ssl-chain-item-body {
  flex: 1;
  min-width: 0;
  padding: 0.15rem 0 0.85rem;
  border-bottom: 1px solid var(--home-border);
}
.ssl-chain-item:last-child .ssl-chain-item-body {
  border-bottom: none;
  padding-bottom: 0.15rem;
}
.ssl-chain-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.ssl-chain-role-tag--leaf {
  color: #4a7fb8;
  background: #e8f2fa;
}
.ssl-chain-role-tag--intermediate {
  color: #2e8e9e;
  background: #e6f7f6;
}
.ssl-chain-role-tag--root {
  color: #145a38;
  background: #e8f6ef;
}
.ssl-chain-role-tag--cross {
  color: #4a8a4a;
  background: #f0faf0;
}
.ssl-chain-role-tag--invalid {
  color: #c0392b;
  background: #fdecea;
}
.ssl-chain-item--invalid .ssl-chain-item-body {
  opacity: 0.72;
}
.ssl-chain-item--invalid .ssl-chain-connector {
  background: repeating-linear-gradient(
    to bottom,
    #e5e6eb 0,
    #e5e6eb 4px,
    transparent 4px,
    transparent 8px
  );
}
.ssl-chain-invalid-hint {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  color: #c0392b;
  background: #fdecea;
  border: 1px solid #f5c6cb;
}
.ssl-chain-item--cross-trusted .ssl-chain-role-tag--cross {
  color: #00b42a;
  background: #e8ffea;
}
.ssl-chain-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.ssl-chain-source-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  color: #4a7fb8;
  background: #eef5fc;
  border: 1px solid #d4e3f4;
}
.ssl-chain-trust-pill {
  display: inline-block;
  font-size: 10px;
  line-height: 1.2;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  color: #4e5969;
  background: #f2f3f5;
  border: 1px solid #e5e6eb;
}
.ssl-chain-trust-pill.is-ok {
  color: #00b42a;
  background: #e8ffea;
  border-color: #aff0b5;
}
.ssl-chain-item--trusted .ssl-chain-role-tag--root {
  color: #00b42a;
  background: #e8ffea;
}
.ssl-chain-platform-trust.is-ok .ssl-chain-platform-trust-label {
  color: #00b42a;
}
.ssl-chain-untrusted-hint {
  font-size: 11px;
  color: #f53f3f;
}
.ssl-chain-trust-hint {
  font-size: 12px;
  line-height: 1.5;
  color: var(--home-muted);
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.65rem;
  background: #f7f8fa;
  border-radius: 4px;
  border: 1px solid var(--home-border);
}
.ssl-chain-trust-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--home-border);
}
.ssl-chain-trust-toolbar-label {
  font-size: 12px;
  color: var(--home-muted);
  flex-shrink: 0;
}
.ssl-chain-trust-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.ssl-chain-trust-source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 12px;
  color: var(--home-text-secondary);
  cursor: pointer;
  user-select: none;
}
.ssl-chain-trust-source input {
  margin: 0;
  accent-color: #1677ff;
}
.ssl-chain-trust-count {
  font-size: 10px;
  color: var(--home-muted);
}
.ssl-chain-trust-banner {
  font-size: 12px;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.ssl-chain-trust-banner.is-ok {
  color: #00b42a;
  background: #e8ffea;
  border: 1px solid #aff0b5;
}
.ssl-chain-trust-banner.is-err {
  color: #f53f3f;
  background: #ffece8;
  border: 1px solid #fdcdc5;
}
.ssl-chain-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--home-border);
}
.ssl-chain-tab {
  margin: 0;
  padding: 0.55rem 0;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  color: var(--home-text-secondary);
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: -1px;
  box-shadow: none;
}
.ssl-chain-tab:hover {
  color: var(--home-text);
  background: transparent;
}
.ssl-chain-tab.is-active {
  color: #1677ff;
  border-bottom-color: #1677ff;
  background: transparent;
  font-weight: 500;
  box-shadow: none;
}
.ssl-chain-tabs-actions {
  margin-left: auto;
  flex-shrink: 0;
}
.ssl-chain-panel {
  display: none;
}
.ssl-chain-panel.is-active {
  display: block;
}
.ssl-chain-panel[hidden] {
  display: none !important;
}
.ssl-chain-panel-hint {
  margin: 0 0 0.75rem;
  font-size: 12px;
  line-height: 1.5;
  color: var(--home-muted);
}
.ssl-chain-platform-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--home-border);
}
.ssl-chain-platform-trust-label {
  font-size: 12px;
  color: var(--home-muted);
}
.ssl-chain-platform-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ssl-chain-platform-badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.2;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  border: 1px solid transparent;
}
.ssl-chain-platform-badge.is-ok {
  color: #00b42a;
  background: #e8ffea;
  border-color: #aff0b5;
}
.ssl-chain-platform-badge.is-fail {
  color: #f53f3f;
  background: #ffece8;
  border-color: #fdcdc5;
}
.ssl-chain-cross-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  color: #f53f3f;
  background: #ffece8;
  border: 1px solid #fdcdc5;
}
.ssl-chain-cross-tag.is-ok {
  color: #00b42a;
  background: #e8ffea;
  border-color: #aff0b5;
}
.ssl-chain-truststore-hint {
  font-size: 11px;
  line-height: 1;
  color: #86909c;
  font-weight: 400;
}
.ssl-chain-item--cross .ssl-chain-icon {
  background: transparent;
  border: none;
}
.ssl-chain-item--cross-trusted .ssl-chain-icon--cross {
  background: transparent;
  border: none;
}
.ssl-chain-item--trusted .ssl-chain-icon--root {
  background: transparent;
  border: none;
}
.ssl-chain-graph-wrap {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem 0.85rem;
  border: 1px solid var(--home-border);
  border-radius: 6px;
  background: #fff;
}
.ssl-chain-graph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.ssl-chain-graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 12px;
  color: var(--home-text-secondary);
}
.ssl-chain-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ssl-chain-graph-line {
  display: inline-block;
  width: 28px;
  height: 0;
  border-top: 2px solid #4a9af5;
}
.ssl-chain-graph-line.is-alt {
  border-top-style: dashed;
  border-top-color: #ff7d00;
}
.ssl-chain-graph-canvas {
  position: relative;
  overflow: auto;
  max-width: 100%;
}
.ssl-chain-graph-edges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ssl-chain-graph-edge {
  fill: none;
  stroke-width: 2;
}
.ssl-chain-graph-edge.is-main {
  stroke: #4a9af5;
}
.ssl-chain-graph-edge.is-alt {
  stroke: #ff7d00;
  stroke-dasharray: 6 4;
}
.ssl-chain-graph-nodes {
  position: relative;
}
.ssl-chain-graph-node {
  position: absolute;
  width: 208px;
  z-index: 1;
}
.ssl-chain-graph-node-card {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ssl-chain-graph-node.is-main-path .ssl-chain-graph-node-card {
  border-color: #bedaff;
}
.ssl-chain-graph-node--root.is-main-path .ssl-chain-graph-node-card {
  border-color: #ffe58f;
}
.ssl-chain-graph-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
}
.ssl-chain-graph-node-label {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--home-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ssl-chain-graph-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  flex-shrink: 0;
}
.ssl-chain-graph-badge {
  display: inline-block;
  font-size: 10px;
  line-height: 1.2;
  padding: 0.08rem 0.3rem;
  border-radius: 2px;
  white-space: nowrap;
}
.ssl-chain-graph-badge.is-ok {
  color: #fff;
  background: #52c41a;
}
.ssl-chain-graph-badge.is-rca {
  color: #fff;
  background: #1d2129;
}
.ssl-chain-graph-badge.is-xs {
  color: #fff;
  background: #4a8a4a;
}
.ssl-chain-graph-badge.is-store {
  color: #4e5969;
  background: #f2f3f5;
}
.ssl-chain-meta {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}
.ssl-chain-meta div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.35rem;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.45;
}
.ssl-chain-meta dt {
  color: var(--home-muted);
  font-weight: 400;
  margin: 0;
}
.ssl-chain-meta dd {
  color: var(--home-text);
  margin: 0;
  word-break: break-all;
}
.ssl-chain-days-warn {
  color: #f53f3f;
  font-weight: 600;
}
.ssl-chain-days-caution {
  color: #ff7d00;
  font-weight: 600;
}
.ssl-chain-extra {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--home-border);
}
.ssl-chain-extra p {
  font-size: 12px;
  color: var(--home-text-secondary);
  line-height: 1.55;
  margin: 0.15rem 0 0;
}
.ssl-chain-card {
  border: 1px solid var(--home-border); border-radius: 4px;
  padding: 0.75rem 1rem; margin-bottom: 0.75rem; background: #fafafa;
}
.ssl-chain-card:last-child { margin-bottom: 0; }
.ssl-chain-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 0.5rem; color: var(--home-text); }
.ssl-chain-card p { font-size: 12px; color: var(--home-text-secondary); line-height: 1.55; }
.ssl-proto-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.5rem;
}
.ssl-proto-item {
  padding: 0.5rem 0.75rem; border: 1px solid var(--home-border);
  border-radius: 4px; font-size: 12px; text-align: center;
}
.ssl-proto-item.is-ok { background: #e8ffea; border-color: #aff0b5; color: #00b42a; }
.ssl-proto-item.is-no { background: #f5f5f5; color: var(--home-muted); }
.ssl-proto-item.is-warn { background: #fff7e8; border-color: #ffe4ba; color: #ff7d00; }
.ssl-ip-picker-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
.ssl-ip-picker-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.75rem 1rem;
  border: 1px solid var(--home-border); border-radius: 4px; background: #fafafa;
}
.ssl-ip-picker-row:hover { border-color: var(--home-primary-border); background: var(--home-primary-bg); }
.ssl-ip-picker-row code { font-size: 14px; font-weight: 600; color: var(--home-text); }
.ssl-san-toggle { margin-top: 0.35rem; }
.ssl-san-more { display: none; margin-top: 0.35rem; }
.ssl-san-more.is-open { display: inline; }
.ssl-subscribe-panel {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--home-primary-border);
  border-radius: 8px;
  background: var(--home-primary-bg);
}
.ssl-subscribe-qr {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--home-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ssl-subscribe-qr img,
.ssl-subscribe-qr canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ssl-subscribe-status.is-ok { color: #00b42a; }
.ssl-subscribe-status.is-warn { color: #ff7d00; }

@media (max-width: 900px) {
  .ssl-report-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .ssl-report-hero.ssl-report-summary-inner {
    grid-template-columns: var(--ssl-probe-brand-size) minmax(0, 1fr) auto;
  }
  .ssl-report-hero.ssl-report-summary-inner .ssl-summary-grade {
    margin-left: 0;
  }
  .ssl-summary-grade {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--home-border);
    margin-top: 0.25rem;
    padding-left: calc(var(--ssl-probe-brand-size) + var(--ssl-probe-inner-gap));
  }
  .ssl-report-hero-meta--grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
  .ssl-report-layout {
    grid-template-columns: 1fr;
  }
  .ssl-report-aside {
    position: sticky;
    top: 0;
    z-index: 25;
    order: -1;
    margin: 0 -0.25rem;
    padding-bottom: 0.5rem;
    background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0));
  }
  .ssl-report-nav--side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border-left: none;
    padding-left: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--home-border);
  }
  .ssl-report-nav--side .ssl-report-nav-item {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 0.45rem 0.65rem;
    border-radius: 4px;
  }
  .ssl-report-nav--side .ssl-report-nav-item::before {
    display: none;
  }
  .ssl-report-nav--side .ssl-report-nav-icon {
    display: block;
  }
  .ssl-report-nav--side .ssl-report-nav-item:hover,
  .ssl-report-nav--side .ssl-report-nav-item.is-active {
    background: var(--home-primary-bg);
  }
  .ssl-report-nav--side a:not(.ssl-report-nav-item) {
    flex: 1 1 auto;
    text-align: center;
    white-space: normal;
  }
  .ssl-grade-badge {
    margin-left: 0;
  }
}

/* 法律文档页 */
.legal-page {
  min-height: 100vh;
  background: #f5f5f5;
}
.legal-main {
  padding: 1.5rem 1rem 3rem;
}
.legal-wrap {
  max-width: 48rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  padding: 1.5rem 1.25rem 2rem;
}
@media (min-width: 640px) {
  .legal-wrap { padding: 2rem 2.5rem 2.5rem; }
}
.legal-breadcrumb {
  font-size: 13px;
  color: var(--home-muted);
  margin-bottom: 1rem;
}
.legal-breadcrumb a {
  color: var(--home-link);
  text-decoration: none;
}
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-border);
}
.legal-nav a {
  font-size: 13px;
  color: var(--home-link);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: var(--home-primary-bg);
  border: 1px solid var(--home-primary-border);
}
.legal-nav a:hover { background: #e8f3ff; }
.legal-doc h1 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--home-text);
  margin: 0 0 1rem;
  padding-top: 0.5rem;
}
.legal-section + .legal-section h1 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-border);
}
.legal-doc h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-text);
  margin: 1.25rem 0 0.5rem;
}
.legal-doc p,
.legal-doc li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-text-secondary);
  margin: 0 0 0.65rem;
}
.legal-list {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
  list-style: disc;
}
.legal-error { color: #f53f3f; font-size: 14px; }

/* 法律文档弹窗 */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: legal-modal-fade-in 0.2s ease;
}
.legal-modal.is-open {
  display: flex;
}
@keyframes legal-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.legal-modal-dialog {
  width: 100%;
  max-width: 42rem;
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: legal-modal-slide-up 0.25s ease;
}
@keyframes legal-modal-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.legal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--home-border);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}
.legal-modal-head-text h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
  line-height: 1.4;
}
.legal-modal-sub {
  margin-top: 0.25rem;
  font-size: 13px;
  color: var(--home-muted);
}
.legal-modal-close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--home-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.legal-modal-close:hover {
  background: #f2f3f5;
  color: var(--home-text);
}
.legal-modal-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 0;
  background: #fff;
}
.legal-modal-tab {
  flex: 1;
  border: 1px solid var(--home-border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--home-muted);
  background: #f7f8fa;
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.legal-modal-tab:hover {
  color: var(--home-text);
  background: #fff;
}
.legal-modal-tab.is-active {
  color: var(--home-primary);
  background: #fff;
  border-color: var(--home-primary-border);
  box-shadow: inset 0 2px 0 var(--home-primary);
}
.legal-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem 1.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid var(--home-border);
}
.legal-doc-modal h1 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  padding-top: 0;
  color: var(--home-text);
}
.legal-doc-modal h2 {
  font-size: 0.9375rem;
  margin: 1rem 0 0.4rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--home-primary);
}
.legal-doc-modal p,
.legal-doc-modal li {
  font-size: 13px;
  line-height: 1.8;
  color: #4e5969;
}
.legal-modal-footer {
  padding: 0.875rem 1.5rem 1.25rem;
  border-top: 1px solid var(--home-border);
  background: #fafbfc;
}
.legal-modal-confirm {
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 14px;
  border-radius: 6px;
}
.legal-modal-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 3rem 1rem;
  font-size: 14px;
  color: var(--home-muted);
}
.legal-modal-spinner {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--home-border);
  border-top-color: var(--home-primary);
  border-radius: 50%;
  animation: legal-spin 0.7s linear infinite;
}
@keyframes legal-spin {
  to { transform: rotate(360deg); }
}
.auth-agree .legal-link {
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 82, 217, 0.35);
  transition: color 0.15s, border-color 0.15s;
}
.auth-agree .legal-link:hover {
  color: var(--home-primary-hover);
  border-bottom-color: var(--home-primary);
}
.home-hero-panel.is-loading .home-hero-panel-body {
  opacity: 0.55;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .home-hero-panel {
    margin-top: 1.5rem;
  }
}

/* 产品 Tab */
.home-product-tabs {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  overflow: hidden;
}
.home-tab-list {
  display: flex;
  border-bottom: 1px solid var(--home-border);
  background: #fafafa;
  overflow-x: auto;
}
.home-tab {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--home-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.home-tab:hover {
  color: var(--home-primary);
  background: #fff;
}
.home-tab.is-active {
  color: var(--home-primary);
  font-weight: 500;
  background: #fff;
  border-bottom-color: var(--home-primary);
}
.home-tab-panels {
  padding: 1.5rem;
  background: #fff;
}
.home-tab-panel {
  display: none;
}
.home-tab-panel.is-active {
  display: block;
}

/* 快捷入口条 */
.home-quick-bar {
  background: #fff;
  border-bottom: 1px solid var(--home-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1.25rem 0.5rem;
  text-decoration: none;
  color: var(--home-text-secondary);
  font-size: 13px;
  transition: color 0.15s;
  border-radius: 4px;
}
.home-quick-item:hover {
  color: var(--home-primary);
  background: var(--home-primary-bg-hover);
}
.home-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-primary-bg);
  color: var(--home-primary);
}

.home-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--home-muted);
}
.home-trust-item svg {
  flex-shrink: 0;
  color: var(--home-primary);
}

/* 产品卡片 */
.home-product-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 28px 24px 28px 28px;
  box-shadow: var(--home-card-shadow);
  transition: box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.home-product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--home-primary);
}
.home-product-card.card-accent-blue::before { background: #0052d9; }
.home-product-card.card-accent-teal::before { background: #00a870; }
.home-product-card.card-accent-teal .home-product-icon {
  background: #e8ffea;
  color: #00a870;
}
.home-product-card.card-accent-teal .home-product-tag:not(.tag-free) {
  background: #e8ffea;
  color: #00a870;
}
.home-product-card:hover {
  box-shadow: var(--home-card-shadow-hover);
  border-color: var(--home-primary-border);
}
.home-product-card.is-featured {
  border-color: rgba(0, 82, 217, 0.28);
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.06);
}
.home-product-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-primary-bg);
  color: var(--home-primary);
  margin-bottom: 16px;
}
.home-product-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  background: var(--home-primary-bg);
  color: var(--home-primary);
}
.home-product-tag.tag-free {
  background: #e8f3ff;
  color: var(--home-link);
}
.home-product-link {
  color: var(--home-link);
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.home-product-link:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}

.home-stat-num {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--home-text);
}
.home-stat-num em {
  font-style: normal;
  color: var(--home-primary);
}

.home-advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-primary-bg);
  color: var(--home-primary);
}

/* 优势卡片（与产品卡片统一框体） */
.home-advantage-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.75rem 1.5rem 1.75rem 1.75rem;
  box-shadow: var(--home-card-shadow);
  transition: box-shadow 0.25s, border-color 0.25s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.home-advantage-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--home-primary);
}
.home-advantage-card.card-accent-blue::before { background: #0052d9; }
.home-advantage-card.card-accent-teal::before { background: #00a870; }
.home-advantage-card.card-accent-teal .home-advantage-icon {
  background: #e8ffea;
  color: #00a870;
}
.home-advantage-card:hover {
  box-shadow: var(--home-card-shadow-hover);
  border-color: var(--home-primary-border);
}

.home-section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--home-text);
  text-align: left;
  line-height: 1.35;
}
@media (min-width: 640px) {
  .home-section-title { font-size: 2rem; }
}
.home-section-sub {
  text-align: left;
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 300;
  margin-top: 12px;
  max-width: 640px;
  line-height: 1.7;
}
.home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.home-section-more {
  color: var(--home-link);
  font-size: 14px;
  white-space: nowrap;
}
.home-section-more:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}

/* 解决方案卡片 */
.home-solution-card {
  display: block;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 2rem 2rem 2rem 2.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.home-solution-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--home-primary);
}
.home-solution-card.card-accent-blue::before { background: #0052d9; }
.home-solution-card.card-accent-teal::before { background: #00a870; }
.home-solution-card:hover {
  box-shadow: var(--home-card-shadow-hover);
  border-color: rgba(0, 112, 204, 0.25);
}
.home-solution-card .tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--home-link);
}
.home-solution-card h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
}
.home-solution-card p {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--home-muted);
  line-height: 1.6;
}
.home-solution-card .arrow {
  margin-top: 1rem;
  font-size: 14px;
  color: var(--home-link);
  font-weight: 500;
}

.home-cta-band {
  background: linear-gradient(135deg, var(--home-primary-dark) 0%, var(--home-primary) 55%, #1a6dff 100%);
  color: #fff;
}
.home-cta-band .home-btn-primary {
  background: #fff;
  color: var(--home-primary);
}
.home-cta-band .home-btn-primary:hover {
  background: #f0f5ff;
}
.home-cta-band .home-btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.home-cta-band .home-btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.home-cta-band .home-btn-tencent-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.home-cta-band .home-btn-tencent-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* 页脚 — 腾讯云式多栏 */
.home-footer {
  background: #1c222b;
  color: #999;
}
.home-footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}
.home-footer-col a {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.home-footer-col a:hover {
  color: #fff;
}
.home-footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 12px;
  color: #666;
  text-align: center;
}
.home-footer-beian {
  color: #666;
  text-decoration: none;
}
.home-footer-beian:hover {
  color: #999;
  text-decoration: underline;
}

#home-nav-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#home-nav-panel.is-open {
  max-height: 680px;
}
@media (min-width: 1024px) {
  #home-nav-panel {
    max-height: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.25rem;
  }
  #home-nav-panel nav {
    overflow: visible;
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
    align-items: center;
  }
  #home-nav-panel nav .home-nav-item,
  #home-nav-panel nav > a {
    flex-shrink: 0;
  }
  .home-header > div {
    flex-wrap: nowrap;
    overflow: visible;
  }
  .home-header {
    overflow: visible;
  }
  .home-header-search {
    max-width: 200px;
    margin: 0 0.5rem;
    flex-shrink: 1;
    min-width: 120px;
  }
  .home-header-auth-row {
    flex-shrink: 0;
    margin-left: 0.5rem;
    border: 0;
    padding: 0;
  }
}

@media (max-width: 1023px) {
  .home-nav-item {
    width: 100%;
  }
  .home-nav-dropdown-panel {
    display: none;
  }
}

/* 顶栏 SSL 快检 */
.home-header-search {
  display: flex;
  flex: 1;
  max-width: 280px;
  margin: 0 1rem;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}
.home-header-search-mobile {
  display: flex;
  gap: 0;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}
.home-header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.4rem 0.75rem;
  font-size: 13px;
  color: var(--home-text);
  outline: none;
}
.home-header-search-btn {
  flex-shrink: 0;
  border: none;
  background: var(--home-primary);
  color: #fff;
  padding: 0.4rem 0.875rem;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.home-header-search-btn:hover {
  background: var(--home-primary-hover);
}

/* 检测站点列表 */
.app-site-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.app-site-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fafafa;
}
.app-save-msg {
  font-size: 13px;
}
.app-save-msg.is-ok { color: #00b42a; }
.app-save-msg.is-err { color: #f53f3f; }

/* ========== 子页面通用 ========== */
body.app-page {
  background: var(--home-bg);
  color: var(--home-text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main {
  flex: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.app-main.app-main-wide {
  max-width: 72rem;
}

.app-page-header {
  margin-bottom: 1.75rem;
}
.app-page-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--home-text);
}
.app-page-header p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--home-muted);
  font-weight: 300;
}
.app-breadcrumb {
  font-size: 0.8125rem;
  color: var(--home-muted);
  margin-bottom: 0.75rem;
}
.app-breadcrumb a {
  color: var(--home-link);
}
.app-breadcrumb a:hover {
  text-decoration: underline;
}

.app-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--home-card-shadow);
}
.app-card + .app-card {
  margin-top: 1.25rem;
}

.app-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-text);
  margin-bottom: 0.375rem;
}
.app-hint {
  font-size: 0.75rem;
  color: var(--home-muted);
  margin-top: 0.25rem;
}

.app-input,
.app-select,
.app-textarea {
  width: 100%;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--home-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.app-input:focus,
.app-select:focus,
.app-textarea:focus {
  outline: none;
  border-color: var(--home-primary);
  box-shadow: 0 0 0 2px var(--home-primary-ring);
}
.app-input-readonly,
.app-input[readonly] {
  background: #f7f8fa;
  color: var(--home-muted);
  cursor: default;
  box-shadow: none;
}
.app-input-readonly:focus,
.app-input[readonly]:focus {
  border-color: var(--home-border);
  box-shadow: none;
}
.app-textarea {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
}

.app-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--home-primary);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.app-btn-primary:hover { background: var(--home-primary-hover); }
.app-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.app-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-text-secondary);
  background: #fff;
  border: 1px solid var(--home-border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.app-btn-secondary:hover {
  border-color: var(--home-primary);
  color: var(--home-primary);
}

.app-btn-ghost {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--home-text-secondary);
  border: 1px solid var(--home-border);
  background: #fff;
  cursor: pointer;
}
.app-btn-ghost:hover { background: #fafafa; }

.app-tip {
  background: var(--home-primary-bg);
  border: 1px solid var(--home-primary-border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--home-text-secondary);
}
.app-tip-warn {
  background: #fff7e8;
  border-color: rgba(255, 125, 0, 0.2);
  color: #d25f00;
}

.app-report-block {
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1rem;
  background: #fafafa;
}
.app-report-block h3 {
  font-weight: 600;
  color: var(--home-text);
  margin-bottom: 0.5rem;
}
.app-report-block p,
.app-report-block li {
  color: var(--home-text-secondary);
  line-height: 1.6;
}

.app-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
}
.app-badge-ok { background: #e8ffea; color: #00b42a; border: 1px solid #aff0b5; }
.app-badge-warn { background: #fff7e8; color: #ff7d00; border: 1px solid #ffe4ba; }
.app-badge-err { background: #ffece8; color: #f53f3f; border: 1px solid #fdcdc5; }
.app-badge-info { background: #e8f3ff; color: var(--home-link); border: 1px solid #bedaff; }

.app-qr-box {
  width: 200px;
  margin: 1rem auto;
}

.app-qr-wrap,
.auth-qr-wrap {
  position: relative;
  display: inline-block;
  padding: 12px;
  border: 1px solid var(--home-border);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.app-qr-wrap canvas,
.app-qr-wrap img,
.auth-qr-wrap canvas,
.auth-qr-wrap img {
  display: block;
}

.app-qr-logo,
.auth-qr-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 1;
  pointer-events: none;
}

.app-qr-logo img,
.auth-qr-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.app-tool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--home-card-shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.app-tool-card:hover {
  box-shadow: var(--home-card-shadow-hover);
  border-color: rgba(0, 82, 217, 0.22);
}
.app-tool-card h2 {
  font-weight: 600;
  color: var(--home-text);
}
.app-tool-card p {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--home-muted);
}
.app-tool-card.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
button.app-tool-card {
  text-align: left;
  cursor: pointer;
  width: 100%;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.app-tool-card.is-active {
  border-color: rgba(0, 82, 217, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 82, 217, 0.18), var(--home-card-shadow-hover);
}

.tool-workbench,
.tool-cert-workbench {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 0;
  box-shadow: var(--home-card-shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--home-border);
  background: #fafbfc;
}
.tool-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0.75rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: #4e5969;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tool-tab:hover:not(.is-disabled):not(:disabled) {
  color: var(--home-text);
  background: rgba(0, 82, 217, 0.04);
}
.tool-tab.is-active {
  color: #0052d9;
  border-bottom-color: #0052d9;
  background: #fff;
  font-weight: 600;
}
.tool-tab.is-disabled,
.tool-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.tool-tab-panel {
  padding: 1.25rem 1.5rem 1.5rem;
}
#tool-key-workbench .tool-tab-panel {
  min-height: 400px;
  box-sizing: border-box;
}
.tool-tab-desc {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--home-muted);
}
.tool-parse-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0;
  border: 1px solid var(--home-border);
  background: #fafbfc;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4e5969;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.tool-csr-split.tool-parse-split {
  margin-top: 0.25rem;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
}
.tool-csr-split.tool-parse-split .tool-csr-input-col {
  padding-right: 0.75rem;
  border-right: 1px dashed #d4d4d4;
}
.tool-csr-split.tool-parse-split .tool-csr-output-col {
  padding-left: 0.75rem;
  border-left: none;
}
.tool-csr-split.tool-parse-split .tool-csr-input-col,
.tool-csr-split.tool-parse-split .tool-csr-output-col {
  width: 100%;
  max-width: none;
}
.tool-csr-split.tool-parse-split .tool-filter-item,
.tool-csr-split.tool-parse-split .app-textarea,
.tool-csr-split.tool-parse-split .tool-parse-output-in-col {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.tool-parse-result {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}
.tool-parse-check-actions,
.tool-cert-parse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tool-cert-result-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tool-cert-drawer-wrap {
  position: relative;
}
.tool-cert-drawer-body {
  margin-top: 0;
  min-height: 0;
  transition: max-height 0.28s ease;
  overflow: hidden;
}
.tool-cert-drawer-body.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 3.25rem;
  min-height: 0;
  flex: 0 0 auto;
}
.tool-cert-drawer-body.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: none;
  min-height: 8rem;
  overflow: visible;
  flex: 1;
}
.tool-cert-drawer.is-collapsed .tool-cert-drawer-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.25rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(250, 251, 252, 0), #fafbfc);
}
.tool-cert-collapse-btn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 0.2rem 0.55rem;
  min-height: 28px;
}
.tool-parse-output-in-col {
  margin-top: 0;
  flex: 1;
  min-height: 14rem;
}

.tool-convert-progress {
  margin-top: 0.75rem;
  height: 6px;
  width: 100%;
  max-width: 480px;
  background: #eef0f3;
  border: 1px solid var(--home-border);
  overflow: hidden;
}
.tool-convert-progress-bar {
  height: 100%;
  width: 0;
  background: var(--home-primary, #1677ff);
  transition: width 0.25s ease;
}
.tool-convert-result-msg {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: #2f7a3b;
}
.tool-convert-result-msg.is-error {
  color: #c0392b;
}
.tool-convert-split {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.tool-convert-file-col:first-child {
  padding-right: 0.75rem;
  border-right: 1px dashed #d4d4d4;
}
.tool-convert-file-col {
  min-width: 0;
}
.tool-file-box {
  position: relative;
  border: 1px solid var(--home-border);
  background: #fff;
}
.tool-file-textarea {
  border: none !important;
  min-height: 14rem;
  resize: vertical;
  background: transparent;
}
.tool-file-box-actions {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0.75rem 0.75rem;
  border-top: 1px dashed #e5e5e5;
  background: #fafbfc;
  position: relative;
}
.tool-file-box-single {
  padding: 1rem;
}
.tool-keystore-upload-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  min-height: 2.5rem;
}
.tool-keystore-upload-hint .tool-file-input-hidden {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 100%;
  min-width: 14rem;
  max-width: 100%;
  inset: auto;
}
.tool-keystore-filename {
  font-size: 12px;
  color: var(--home-muted);
}
.tool-keystore-filename.is-selected {
  color: #2f7a3b;
  font-weight: 500;
}
.tool-keystore-upload-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff9a3d 0%, #f07c1a 100%);
  border-color: #e06f10;
  box-shadow: 0 1px 2px rgba(240, 124, 26, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.tool-keystore-upload-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 2px 6px rgba(240, 124, 26, 0.35);
}
.tool-keystore-upload-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(240, 124, 26, 0.2);
}
.tool-keystore-upload-btn.is-has-file {
  background: linear-gradient(180deg, #3dad5c 0%, #2f7a3b 100%);
  border-color: #2a6d34;
  box-shadow: 0 1px 2px rgba(47, 122, 59, 0.25);
}
.tool-keystore-upload-btn.is-has-file:hover {
  box-shadow: 0 2px 6px rgba(47, 122, 59, 0.35);
}
.tool-file-input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 0;
}
.tool-file-box-actions .tool-file-pick-btn {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.tool-convert-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.875rem;
  border: 1px solid var(--home-border);
  background: #fafbfc;
}
.tool-convert-options-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.tool-convert-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.tool-convert-field .app-input,
.tool-convert-field select.app-input {
  width: 100%;
}
.tool-convert-suffix-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  min-height: 32px;
}
.tool-convert-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  color: #4e5969;
}
.tool-convert-footer {
  margin-top: 0.5rem;
}
.tool-convert-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.tool-convert-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.tool-convert-submit {
  min-width: 8rem;
}
.tool-convert-zip-input {
  width: 12rem;
  min-width: 9rem;
}
.tool-keymatch-result {
  margin-top: 1rem;
}
.tool-keymatch-status {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.tool-keymatch-status.is-ok {
  color: #2f7a3b;
  font-weight: 500;
}
.tool-keymatch-status.is-error {
  color: #c0392b;
  font-weight: 500;
}
.tool-keymatch-detail {
  min-height: 12rem;
  max-height: 28rem;
  overflow: auto;
}
.tool-convert-result-box {
  margin-top: 0.35rem;
  min-height: 12rem;
  max-height: 24rem;
  overflow: auto;
}
.tool-required-label::before {
  content: "* ";
  color: #e34d59;
}
@media (max-width: 991px) {
  .tool-convert-options-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tool-convert-split,
  .tool-convert-options-row {
    grid-template-columns: 1fr;
  }
  .tool-convert-file-col:first-child {
    padding-right: 0;
    border-right: none;
  }
}

/* 工具中心：与订单页搜索栏一致的直角表单风格 */
.app-tools-page .app-input,
.app-tools-page .app-select,
.app-tools-page .app-textarea,
.app-tools-page select,
.app-tools-page .app-btn-primary,
.app-tools-page .app-btn-secondary,
.app-tools-page .app-btn-ghost,
.app-tools-page a.app-btn-primary,
.app-tools-page .tool-workbench,
.app-tools-page .tool-parse-output,
.app-tools-page .tool-tab {
  border-radius: 0;
}
.app-tools-page .tool-workbench .app-input,
.app-tools-page .tool-workbench .app-select,
.app-tools-page .tool-workbench select.app-input,
.app-tools-page .tool-workbench .app-textarea {
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 0.65rem;
  line-height: 1.5;
  color: #4e5969;
  box-sizing: border-box;
}
.app-tools-page .tool-workbench .app-input,
.app-tools-page .tool-workbench select.app-input {
  min-height: 32px;
}
.app-tools-page .tool-workbench .app-input::placeholder,
.app-tools-page .tool-workbench .app-textarea::placeholder {
  color: #86909c;
  font-size: 12px;
}
.app-tools-page .tool-workbench .app-btn-primary,
.app-tools-page .tool-workbench .app-btn-secondary,
.app-tools-page .tool-workbench .app-btn-ghost,
.app-tools-page .tool-workbench a.app-btn-primary {
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 1rem;
  min-height: 32px;
  line-height: 1.5;
  box-sizing: border-box;
}
.tool-filter-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.tool-filter-label {
  font-size: 12px;
  color: var(--home-muted);
}
.tool-filter-note {
  font-size: 12px;
  color: #86909c;
  line-height: 1.4;
}
.tool-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.25rem;
}
.tool-filter-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 720px;
}
.tool-filter-stack-row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  max-width: none;
}
.tool-filter-stack-row .tool-filter-item {
  min-width: 160px;
}
.tool-csr-split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.tool-csr-input-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  padding-right: 0.625rem;
}
.tool-csr-form-row {
  display: grid;
  grid-template-columns: 5.5rem 330px;
  gap: 0.25rem 0.375rem;
  align-items: center;
}
.tool-csr-form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--home-text);
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}
.tool-csr-form-field {
  min-width: 0;
  width: 330px;
}
.tool-csr-form-field.tool-csr-form-field-combo {
  width: auto;
}
.tool-csr-form-field .app-input,
.tool-csr-form-field select.app-input {
  width: 100%;
  max-width: 100%;
}
.tool-csr-form-field-combo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
}
.tool-csr-form-field-combo select.app-input {
  flex: 0 0 auto;
  width: 4.25rem;
  min-width: 0;
}
.tool-csr-form-field-combo .tool-csr-expand-btn {
  flex-shrink: 0;
  width: 1.75rem;
  height: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fafafa;
}
.tool-csr-form-field .tool-filter-note {
  display: block;
  margin-top: 0.25rem;
}
.tool-csr-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--home-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.tool-csr-expand-btn:hover {
  color: var(--home-text);
}
.tool-csr-expand-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s ease;
}
.tool-csr-expand-btn.is-expanded .tool-csr-expand-icon {
  transform: rotate(180deg);
}
.tool-csr-subject-extra {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tool-csr-form-actions {
  margin-top: 0.15rem;
  padding-left: calc(5.5rem + 0.375rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.tool-csr-form-actions .app-btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tool-csr-output-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding-left: 0.625rem;
  border-left: 1px dashed #d4d4d4;
  align-self: start;
}
.tool-csr-output-col .app-textarea.tool-code {
  width: 100%;
  min-height: 11rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-all;
}
.tool-output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.tool-copy-btn {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .tool-csr-split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tool-csr-split.tool-parse-split {
    grid-template-columns: 1fr;
  }
  .tool-csr-split.tool-parse-split .tool-csr-input-col {
    border-right: none;
    border-bottom: 1px dashed #d4d4d4;
    padding-bottom: 0.75rem;
  }
  .tool-csr-input-col {
    padding-right: 0;
    padding-bottom: 0.625rem;
  }
  .tool-csr-output-col {
    padding-left: 0;
    padding-top: 0.625rem;
    border-left: none;
    border-top: 1px dashed #d4d4d4;
    align-self: stretch;
  }
  .tool-csr-form-row {
    grid-template-columns: 5.5rem minmax(0, 330px);
  }
}

.tool-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.tool-form-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.375rem 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .tool-form-row {
    grid-template-columns: 7.5rem minmax(220px, 360px) minmax(0, 1fr);
  }
}
.tool-form-row-block {
  align-items: start;
}
.tool-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-text);
  text-align: right;
}
.tool-form-hint {
  grid-column: 2 / -1;
  font-size: 0.75rem;
  color: var(--home-muted);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .tool-form-hint {
    grid-column: 3;
  }
  .tool-form-row-block .tool-form-hint {
    grid-column: 2 / -1;
  }
}
.tool-form-field {
  grid-column: 2 / -1;
}
.tool-form-row-block .tool-form-label {
  padding-top: 0.625rem;
}
.tool-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
  padding-left: calc(7.5rem + 1rem);
}
.tool-form-actions-inline {
  padding-left: 0;
}
.tool-form-actions .app-btn-primary,
.tool-form-actions .app-btn-ghost {
  min-width: 7.5rem;
}
a.app-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.tool-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
}
.tool-result {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--home-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tool-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.tool-copy-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}
@media (max-width: 767px) {
  .tool-form-row {
    grid-template-columns: 1fr;
  }
  .tool-form-label {
    text-align: left;
  }
  .tool-form-field {
    grid-column: 1;
  }
  .tool-form-actions {
    padding-left: 0;
  }
}

.tool-section-head {
  margin-bottom: 1.25rem;
}
#tool-web-section,
#tool-client-section,
#tool-guomi-section,
#tool-cert-workbench,
#tool-key-workbench {
  scroll-margin-top: 5.5rem;
}
.tool-section-head h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
}
.tool-section-head p {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--home-muted);
}
.tool-subsection-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4e5969;
  margin-bottom: 0.75rem;
}
.tool-product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .tool-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tool-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tool-product-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 0;
  box-shadow: var(--home-card-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.tool-product-card:hover {
  box-shadow: var(--home-card-shadow-hover);
  border-color: #d4dbe8;
}
.tool-product-cover {
  position: relative;
  background: linear-gradient(135deg, #f7f8fa 0%, #eef2ff 100%);
  padding: 1.25rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-product-cover img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tool-product-tag {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 11px;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  background: rgba(22, 93, 255, 0.1);
  color: var(--home-primary);
}
.tool-product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-text);
  padding: 1rem 1.125rem 0;
}
.tool-product-desc {
  flex: 1;
  margin: 0.5rem 0 0;
  padding: 0 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--home-muted);
}
.tool-product-actions {
  padding: 1rem 1.125rem 1.125rem;
}
.tool-product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tool-product-downloads .tool-product-download {
  flex: 1 1 calc(33.333% - 0.35rem);
  min-width: 88px;
  width: auto;
}
.tool-product-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  text-decoration: none;
  border-radius: 0;
}
.tool-product-download.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.tool-product-empty {
  font-size: 0.8125rem;
  color: var(--home-muted);
  padding: 1rem 0;
}
.admin-tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-tool-table th,
.admin-tool-table td {
  border: 1px solid var(--home-border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.admin-tool-table th {
  background: #f7f8fa;
}

body.app-page .risk-red { color: #f53f3f; }
body.app-page .risk-yellow { color: #ff7d00; }
body.app-page .risk-green { color: #00b42a; }

.app-link { color: var(--home-link); font-size: 0.8125rem; }
.app-link:hover { text-decoration: underline; }

/* 解决方案落地页 */
.home-hero-page {
  min-height: auto;
  padding: 0;
}
.home-hero-page .home-hero-banner-desc {
  max-width: 560px;
}
.solution-module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--home-card-shadow);
}
.solution-module-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--home-primary);
}
.solution-module-card.card-accent-blue::before { background: #0052d9; }
.solution-module-card.card-accent-teal::before { background: #00a870; }
.solution-module-card.card-accent-purple::before { background: #7b61ff; }
.solution-module-card.card-accent-cyan::before { background: #029cd4; }
.solution-module-port {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--home-muted);
  background: #f3f4f7;
  padding: 2px 8px;
  border-radius: 2px;
  font-family: ui-monospace, monospace;
}
.solution-module-card h3 {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
}
.solution-module-card p {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-muted);
}
.solution-feature-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--home-card-shadow);
}
.solution-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-text);
}
.solution-feature-card p {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-muted);
  font-weight: 300;
}

/* 注册 / 登录 — 腾讯云式双栏 */
.auth-page {
  min-height: 100vh;
  background: #f3f4f7;
  display: flex;
  flex-direction: column;
}
.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--home-border);
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .auth-topbar {
    padding: 0 2rem;
  }
}
.auth-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-text);
  text-decoration: none;
}
.auth-topbar-brand .home-logo-text-inline {
  color: var(--home-text);
}
.auth-topbar-brand:hover {
  opacity: 0.88;
}
.auth-topbar-home {
  font-size: 14px;
  color: var(--home-link);
  text-decoration: none;
}
.auth-topbar-home:hover {
  color: var(--home-link-hover);
  text-decoration: underline;
}
.auth-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}
.auth-brand {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 42%;
  max-width: 520px;
  padding: 3rem;
  background: linear-gradient(160deg, #0052d9 0%, #266fe8 45%, #7b61ff 100%);
  color: #fff;
}
@media (min-width: 960px) {
  .auth-brand { display: flex; }
}
.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}
.auth-brand h1 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.35;
}
.auth-brand > p {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}
.auth-brand-list {
  margin-top: 2rem;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  list-style: none;
  padding: 0;
}
.auth-brand-list li::before {
  content: "✓ ";
  opacity: 0.85;
}
.auth-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--home-border);
  box-shadow: var(--home-card-shadow);
  padding: 2rem 2rem 1.75rem;
}
.auth-card-head {
  margin-bottom: 1.5rem;
}
.auth-card-breadcrumb {
  font-size: 13px;
  color: var(--home-muted);
  margin-bottom: 0.5rem;
}
.auth-card-breadcrumb a {
  color: var(--home-link);
  text-decoration: none;
}
.auth-card-breadcrumb a:hover {
  text-decoration: underline;
}
.auth-card-head h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--home-text);
}
.auth-card-head p {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--home-muted);
}
.auth-card-head a {
  color: var(--home-link);
}
.auth-card-head a:hover {
  text-decoration: underline;
}
.auth-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--home-border);
  margin-bottom: 1.5rem;
}
.auth-tab {
  padding: 0 0 0.75rem;
  margin-bottom: -1px;
  border: none;
  background: none;
  font-size: 14px;
  color: var(--home-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.auth-tab.is-active {
  color: var(--home-primary);
  font-weight: 500;
  border-bottom-color: var(--home-primary);
}
.auth-field {
  margin-bottom: 1rem;
}
.auth-label {
  display: block;
  font-size: 13px;
  color: var(--home-text-secondary);
  margin-bottom: 0.35rem;
}
.auth-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--home-border);
  border-radius: 0;
  font-size: 14px;
  color: var(--home-text);
  background: #fff;
  transition: border-color 0.15s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--home-primary);
  box-shadow: 0 0 0 2px var(--home-primary-ring);
}
.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--home-muted);
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
  cursor: pointer;
}
.auth-agree a {
  color: var(--home-link);
}
.auth-msg {
  font-size: 13px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0;
}
.auth-msg.is-error {
  background: #fff0ed;
  color: #d54941;
  border: 1px solid #ffd8d2;
}
.auth-msg.is-success {
  background: #e8ffea;
  color: #00a870;
  border: 1px solid #aff0b5;
}
.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  color: #c9cdd4;
  font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--home-border);
}
.auth-wechat-hint {
  font-size: 12px;
  color: var(--home-muted);
  text-align: center;
}
.auth-wechat-link {
  display: block;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 13px;
  color: var(--home-link);
}
.auth-header-user {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 顶栏登录态：固定头像 + 悬浮个人信息 */
.home-header.is-logged-in .home-header-search,
.home-header.is-logged-in .home-header-search-mobile {
  display: none !important;
}
.home-header-auth-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--home-border);
  padding: 0.75rem 1rem 1rem;
}
@media (min-width: 1024px) {
  .home-header.is-logged-in .home-header-auth-row {
    border: 0;
    padding: 0;
    margin-left: 0.75rem;
    flex-shrink: 0;
  }
}
.home-header-auth {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.home-user-menu {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.home-user-menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
a.home-user-menu-trigger:hover {
  opacity: 0.92;
}
.home-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6a4d 0%, #e54545 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}
.home-user-avatar-lg {
  width: 40px;
  height: 40px;
  font-size: 16px;
}
.home-user-avatar-img {
  object-fit: cover;
  background: #f0f0f0;
}
.home-user-menu-panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  width: 280px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--home-border);
  box-shadow: 0 8px 28px rgba(0, 20, 60, 0.12);
  border-radius: 0;
}
.home-user-menu-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.home-user-menu.is-open .home-user-menu-panel {
  display: block;
}
@media (min-width: 1024px) {
  .home-user-menu:hover .home-user-menu-panel,
  .home-user-menu:focus-within .home-user-menu-panel {
    display: block;
  }
}
.home-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  border-bottom: 1px solid var(--home-border);
  box-sizing: border-box;
}
.home-user-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.home-user-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--home-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-user-card-type {
  font-size: 12px;
  color: var(--home-muted);
}
.home-user-card-account,
.home-user-card-id {
  font-size: 12px;
  color: var(--home-text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-user-menu-links {
  padding: 6px 0;
}
.home-user-menu-links a,
.home-user-menu-logout {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  text-align: left;
  color: var(--home-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.home-user-menu-links a:hover {
  color: var(--home-primary);
  background: #f5f8ff;
}
.home-user-menu-logout {
  border-top: 1px solid var(--home-border);
  color: #737373;
}
.home-user-menu-logout:hover {
  color: #f53f3f;
  background: #fff5f5;
}

.account-center-entries {
  min-width: 0;
}
.account-center-entries-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 639px) {
  .account-center-entries-grid {
    grid-template-columns: 1fr;
  }
}
.account-center-entry {
  display: flex;
  flex-direction: column;
  min-height: 10.5rem;
  padding: 1.25rem 1.375rem;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  box-shadow: var(--home-card-shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.account-center-entry:hover {
  border-color: var(--home-primary-border);
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.1);
  transform: translateY(-1px);
}
.account-center-entry-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-center-entry-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.account-center-entry-icon--orders {
  background: #e8f3ff;
  color: #0052d9;
}
.account-center-entry-icon--orders::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2'/%3E%3C/svg%3E");
}
.account-center-entry-icon--ssl {
  background: #e6fffb;
  color: #0fc6c2;
}
.account-center-entry-icon--ssl::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1L3 5v6c0 5.25 3.75 10.15 9 11.35 5.25-1.2 9-6.1 9-11.35V5l-9-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1L3 5v6c0 5.25 3.75 10.15 9 11.35 5.25-1.2 9-6.1 9-11.35V5l-9-4z'/%3E%3C/svg%3E");
}
.account-center-entry-icon--apply {
  background: #f5e8ff;
  color: #722ed1;
}
.account-center-entry-icon--apply::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}
.account-center-entry-icon--commercial {
  background: #fff7e8;
  color: #f7ba1e;
}
.account-center-entry-icon--commercial::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}
.account-center-entry-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--home-text);
}
.account-center-entry-desc {
  flex: 1;
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--home-muted);
}
.account-center-entry-action {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-primary);
}
.account-center-entry:hover .account-center-entry-action {
  text-decoration: underline;
}
.account-center-profile {
  height: 100%;
}

/* 微信扫码注册 / 登录（腾讯云式） */
.auth-card-wide {
  max-width: 440px;
}
.auth-mode-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--home-border);
  margin-bottom: 1.5rem;
}
.auth-mode-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 0.5rem;
  margin-bottom: -1px;
  border: none;
  background: none;
  font-size: 14px;
  color: var(--home-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.auth-mode-tab.is-active {
  color: var(--home-primary);
  font-weight: 500;
  border-bottom-color: var(--home-primary);
}
.auth-wechat-icon {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #07c160;
  position: relative;
}
.auth-wechat-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.auth-wechat-panel {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}
.auth-wechat-panel.hidden {
  display: none;
}
.auth-form.hidden {
  display: none;
}
.auth-qr-wrap.is-scanned::after {
  content: '';
  position: absolute;
  inset: 12px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 2px;
  pointer-events: none;
}

.auth-qr-wrap.is-scanned .auth-qr-logo,
.auth-qr-wrap.is-scanned .app-qr-logo {
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.25);
}

.auth-wechat-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  text-align: left;
  font-size: 12px;
  color: var(--home-muted);
  line-height: 1.7;
}

.auth-wechat-hint {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--home-muted);
  text-align: center;
}

.auth-qr-status {
  margin-top: 1rem;
  font-size: 14px;
  color: var(--home-text);
}
.auth-qr-expires {
  margin-top: 0.35rem;
  font-size: 12px;
  color: var(--home-muted);
}
.auth-qr-refresh {
  margin-top: 0.75rem;
  border: none;
  background: none;
  color: var(--home-link);
  font-size: 13px;
  cursor: pointer;
}
.auth-qr-refresh:hover {
  text-decoration: underline;
}
.auth-agree-center {
  justify-content: center;
  margin-top: 1rem;
}
.auth-wechat-mock {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem;
  font-size: 12px;
  color: var(--home-muted);
  background: #f3f4f7;
  border: 1px dashed var(--home-border);
  border-radius: 0;
  cursor: pointer;
}
.auth-wechat-mock:hover {
  border-color: var(--home-primary);
  color: var(--home-primary);
}

/* 邮箱注册 — 腾讯云式 */
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .auth-input {
  padding-right: 40px;
}
.auth-pwd-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386909c' stroke-width='2'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/18px no-repeat;
  cursor: pointer;
  opacity: 0.75;
}
.auth-pwd-toggle.is-visible {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386909c' stroke-width='2'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94'/%3E%3Cpath d='M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}
.auth-code-row {
  display: flex;
  gap: 8px;
}
.auth-code-row .auth-input {
  flex: 1;
  min-width: 0;
}
.auth-code-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--home-primary);
  background: #fff;
  color: var(--home-primary);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.auth-code-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: var(--home-border);
  color: var(--home-muted);
}
.auth-captcha-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-captcha-modal.hidden {
  display: none;
}
.auth-captcha-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.auth-captcha-dialog {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.auth-captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--home-primary);
  color: #fff;
}
.auth-captcha-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}
.auth-captcha-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.auth-captcha-prompt {
  margin: 0;
  padding: 12px 16px 0;
  font-size: 14px;
  color: var(--home-text);
}
.auth-captcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px;
}
.auth-captcha-item {
  border: 2px solid transparent;
  padding: 0;
  background: #f5f7fa;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}
.auth-captcha-item.is-selected {
  border-color: var(--home-primary);
  box-shadow: 0 0 0 2px var(--home-primary-ring);
}
.auth-captcha-item img {
  display: block;
  width: 100%;
  height: auto;
}
.auth-captcha-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--home-muted);
  font-size: 13px;
}
.auth-captcha-error {
  margin: 0 16px 8px;
  font-size: 12px;
  color: #d54941;
}
.auth-captcha-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
}
.auth-captcha-link {
  border: none;
  background: none;
  color: var(--home-link);
  font-size: 13px;
  cursor: pointer;
}
.auth-captcha-confirm {
  min-width: 96px;
  height: 36px;
  padding: 0 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* 商业证书页 */
.cert-commercial-page {
  max-width: 80rem;
}
.cert-products-loading,
.cert-products-empty,
.cert-section-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #86909c;
  font-size: 0.9375rem;
}
.cert-section-empty {
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px dashed #e5e6eb;
  border-radius: 4px;
}
.cert-section-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 35;
  margin: 0 -1rem 2rem;
  background: #f5f6f8;
  border-bottom: 1px solid #e7e8eb;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cert-section-nav-wrap.is-pinned {
  background: #fff;
  border-bottom-color: #e0e3ea;
  box-shadow: 0 2px 12px rgba(0, 20, 60, 0.08);
}
.cert-section-nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.cert-section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
}
.cert-nav-link {
  position: relative;
  font-size: 0.875rem;
  color: #4e5969;
  padding: 0.875rem 1.25rem;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.cert-nav-link::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  height: 2px;
  background: #0052d9;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.cert-nav-link:hover {
  color: #1d2129;
  background: rgba(0, 82, 217, 0.04);
}
.cert-nav-link.is-active {
  color: #1d2129;
  font-weight: 500;
  background: transparent;
}
.cert-nav-link.is-active::after {
  transform: scaleX(1);
}
.cert-section-nav-wrap.is-pinned .cert-nav-link.is-active {
  background: rgba(0, 82, 217, 0.05);
}
.cert-section + .cert-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--home-border);
}
.cert-section {
  scroll-margin-top: 3.5rem;
}
.cert-section-head {
  margin-bottom: 1.75rem;
}
.cert-product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .cert-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .cert-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .cert-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cert-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: 4px;
  min-height: 100%;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.cert-product-card:hover {
  border-color: #c9d4e8;
  box-shadow: 0 8px 24px rgba(15, 35, 80, 0.08);
}
.cert-product-card.is-in-cart {
  border-color: #8fb8ff;
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.1);
}
.cert-product-tag {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0 4px 0 6px;
  background: #266fe8;
  color: #fff;
}
.cert-product-card-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 55%, #3a6ea8 100%);
  overflow: hidden;
}
.cert-product-card-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.04) 42%, transparent 42%),
    linear-gradient(120deg, transparent 58%, rgba(255, 255, 255, 0.03) 58%, rgba(255, 255, 255, 0.03) 60%, transparent 60%);
  pointer-events: none;
}
.cert-product-name {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}
.cert-product-head-brand {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  max-width: 42%;
  padding: 0.2rem 0.45rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}
.cert-product-price-band {
  padding: 0.875rem 1.125rem;
  text-align: center;
  background: #fafbfc;
  border-bottom: 1px solid #eef1f6;
}
.cert-product-price-main {
  line-height: 1.2;
}
.cert-product-price-now {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0052d9;
}
.cert-product-price-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4e5969;
}
.cert-product-price-orig-line {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #86909c;
  text-decoration: line-through;
}
.cert-product-card-body {
  flex: 1;
  padding: 1rem 1.125rem 0.5rem;
}
.cert-product-features {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #4e5969;
  line-height: 1.6;
}
.cert-product-features li {
  position: relative;
  padding-left: 1.125rem;
}
.cert-product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #0052d9;
  font-size: 0.75rem;
  font-weight: 700;
}
.cert-product-features li + li {
  margin-top: 0.35rem;
}
.cert-product-card-foot {
  padding: 0.875rem 1.125rem 1.125rem;
  margin-top: auto;
}
.cert-product-card-foot .cert-btn-buy {
  width: 100%;
  height: 2.5rem;
  border: 1px solid #0052d9;
  border-radius: 4px;
  background: #0052d9;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cert-product-card-foot .cert-btn-buy:hover {
  background: #0041b3;
  border-color: #0041b3;
}
.cert-product-card-foot .cert-btn-buy.is-added {
  background: #f0f6ff;
  color: #0052d9;
  border-color: #b8d4ff;
}

/* 购物车（样式对齐 app-orders） */
.cert-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--home-border);
  box-shadow: var(--home-card-shadow);
}
.cert-cart-bar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cert-cart-bar-toggle,
.cert-cart-bar-checkout {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 12px;
  cursor: pointer;
}
.cert-cart-bar-summary {
  flex: 1;
  margin: 0;
}
.cert-cart-bar-total {
  color: #1d2129;
  font-weight: 600;
}
.cert-commercial-page.has-cart-bar,
.cert-buy-page.has-cart-bar {
  padding-bottom: 3.25rem;
}
.cert-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
}
.cert-cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.cert-cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36rem, 100%);
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border-left: 1px solid var(--home-border);
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cert-cart-drawer-panel.app-card {
  padding: 0;
}
.cert-cart-summary {
  margin: 0;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #eef0f3;
}
.cert-cart-table-wrap {
  flex: 1;
  min-height: 0;
  border-top: none;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cert-cart-drawer .cert-cart-table-wrap .app-orders-table-scroll {
  flex: 1;
  overflow: auto;
}
.cert-cart-drawer .app-orders-table-wrap {
  margin: 0;
  box-shadow: none;
}
.cert-cart-drawer .cert-cart-table {
  min-width: 0;
  font-size: 12px;
}
.cert-cart-drawer .cert-cart-table th,
.cert-cart-drawer .cert-cart-table td {
  font-size: 12px;
  white-space: normal;
}
.cert-cart-drawer .cert-cart-table .app-orders-col-actions {
  width: 3.5rem;
}
.cert-cart-cell-name {
  font-size: 12px;
  font-weight: 600;
  color: #1d2129;
  line-height: 1.4;
}
.cert-cart-cell-brand {
  margin-top: 0.15rem;
  font-size: 12px;
  color: #86909c;
}
.cert-cart-qty-actions {
  align-items: center;
}
.cert-cart-qty-actions span {
  min-width: 1.25rem;
  text-align: center;
  font-size: 12px;
  color: #1d2129;
}
.cert-cart-empty {
  text-align: center;
  padding: 2rem 0.75rem !important;
  color: #86909c;
  font-size: 12px;
}
.cert-cart-drawer-footer {
  margin-top: auto;
}
.cert-cart-drawer-total-line {
  flex: 1;
  margin: 0;
}
.cert-cart-drawer-footer .app-btn-primary {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  padding: 0.35rem 0.85rem;
  line-height: 1.5;
  min-height: 32px;
}
.cert-cart-drawer .app-orders-actions .app-link {
  font-size: 12px;
}
.cert-buy-cart-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cert-buy-cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef0f3;
  font-size: 0.8125rem;
  color: #4e5969;
}
.cert-buy-cart-list li:last-child {
  border-bottom: none;
}
.cert-buy-cart-list strong {
  color: #1d2129;
  font-weight: 500;
}
.cert-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(1rem);
  z-index: 70;
  padding: 0.65rem 1.25rem;
  background: rgba(29, 33, 41, 0.92);
  color: #fff;
  font-size: 0.875rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cert-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cert-compare-wrap {
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fff;
}
.cert-compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.cert-compare-table th,
.cert-compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--home-border);
  text-align: left;
}
.cert-compare-table th {
  background: #f7f8fa;
  font-weight: 600;
  color: var(--home-text);
}
.cert-compare-table td:not(:first-child) {
  text-align: center;
  width: 8rem;
}
.cert-compare-yes {
  color: #00a870;
  font-weight: 700;
}
.cert-compare-no {
  color: #c9cdd4;
}
.cert-doc-note {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: var(--home-muted);
  background: var(--home-primary-bg);
  border-radius: 4px;
  line-height: 1.6;
}
.cert-expert-banner {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f3ff 100%);
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 4px;
}
.cert-expert-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .cert-expert-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cert-expert-inner h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--home-text);
}
.cert-expert-inner p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--home-muted);
  line-height: 1.65;
  max-width: 36rem;
}
.cert-expert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cert-buy-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}
.cert-buy-dialog {
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 1.5rem;
}
.cert-buy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cert-buy-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
}
.cert-buy-close {
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--home-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.cert-buy-close:hover {
  color: var(--home-text);
}
.cert-buy-product {
  padding: 0.875rem 1rem;
  background: #f7f8fa;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.cert-buy-product-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-text);
}
.cert-buy-product-price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #e34d59;
  font-weight: 600;
}
.cert-buy-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 480px) {
  .cert-buy-row { grid-template-columns: 1fr 1fr; }
}
.cert-buy-contact-hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--home-muted);
}
.cert-buy-contact-hint a {
  color: var(--home-link);
}
.cert-buy-msg {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: 4px;
  background: #e8f3ff;
  color: var(--home-primary);
}
.cert-buy-msg.is-error {
  background: #fdecee;
  color: #e34d59;
}
.cert-buy-success {
  text-align: center;
  padding: 1rem 0;
}
.cert-buy-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e8f8f0;
  color: #00a870;
  font-size: 1.5rem;
  line-height: 3rem;
  font-weight: 700;
}
.cert-buy-success h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-text);
}

/* 证书购买配置页（对齐 app-orders） */
.cert-buy-page {
  font-size: 12px;
}
.cert-buy-page .app-page-header h1 {
  font-size: inherit;
}
.cert-buy-page .app-breadcrumb {
  font-size: 12px;
}
.cert-buy-page .app-orders-detail-title,
.cert-buy-page .app-orders-detail-table,
.cert-buy-page .app-orders-detail-table th,
.cert-buy-page .app-orders-detail-table td,
.cert-buy-page .app-orders-summary,
.cert-buy-page .app-orders-filter-label,
.cert-buy-page .app-link,
.cert-buy-page .app-input,
.cert-buy-page .app-textarea {
  font-size: 12px;
}
.cert-buy-page .app-page-header .app-btn-ghost {
  font-size: 12px;
  font-weight: 400;
  padding: 0.4rem 1rem;
  min-height: 32px;
  line-height: 1.5;
  border-radius: 0;
}
.cert-buy-loading,
.cert-buy-error {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 12px;
  color: #86909c;
}
.cert-buy-error {
  color: #f53f3f;
}
.cert-buy-workbench {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 960px) {
  .cert-buy-workbench {
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: 1.25rem;
  }
  .cert-buy-summary-card {
    position: sticky;
    top: 1rem;
    align-self: start;
  }
}
.cert-buy-config-card,
.cert-buy-summary-card {
  padding: 0;
  border-radius: 0;
}
.cert-buy-config-card.app-card + .cert-buy-summary-card {
  margin-top: 0;
}
.cert-buy-purchase-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.45rem 0.65rem 0.6rem;
  border-top: 1px solid #eef0f3;
}
.cert-buy-purchase-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.cert-buy-purchase-label {
  flex-shrink: 0;
  font-size: 12px;
  color: #86909c;
  white-space: nowrap;
}
.cert-buy-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
}
.cert-buy-stepper .app-link {
  font-size: 12px;
  line-height: 1;
}
.cert-buy-unit {
  font-size: 12px;
  color: #86909c;
  white-space: nowrap;
}
.cert-buy-num-input {
  width: 2.5rem;
  min-height: 28px;
  padding: 0.2rem 0.25rem;
  text-align: center;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  -moz-appearance: textfield;
}
.cert-buy-num-input::-webkit-outer-spin-button,
.cert-buy-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cert-buy-brand-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cert-buy-brand-cell img {
  max-height: 1.25rem;
  max-width: 5rem;
  object-fit: contain;
}
.cert-buy-feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4e5969;
  line-height: 1.55;
}
.cert-buy-feature-list li + li {
  margin-top: 0.2rem;
}
.cert-buy-summary-card {
  padding: 0;
  border-radius: 0;
}
.cert-buy-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.cert-buy-summary-total strong {
  font-size: 12px;
  font-weight: 600;
  color: #1d2129;
}
.cert-buy-page .app-orders-detail-actions .app-btn-primary,
.cert-buy-page .app-orders-detail-actions .app-btn-ghost {
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
  padding: 0.35rem 0.85rem;
  line-height: 1.5;
  min-height: 32px;
}
.cert-buy-modal .cert-buy-dialog.app-card {
  padding: 0;
  border-radius: 0;
  max-width: 40rem;
  width: 100%;
  overflow: hidden;
}
.cert-buy-form {
  padding: 0 0.65rem 0.65rem;
}
.cert-buy-modal-grid {
  padding: 0;
  margin-bottom: 0.65rem;
}
.cert-buy-notes-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}
.cert-buy-notes-field .app-textarea {
  border-radius: 0;
  font-size: 12px;
  font-family: inherit;
}
.cert-buy-contact-hint {
  margin: 0 0 0.65rem;
}
.cert-buy-success {
  padding: 0.65rem;
  text-align: left;
}
.cert-buy-success h3 {
  margin: 0 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
}
.cert-buy-success-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 0 0.5rem;
  border-radius: 0;
  font-size: 1rem;
}

/* 购物车页面 */
.cert-cart-page {
  max-width: 80rem;
}
.cert-cart-page-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d2129;
}
.cert-cart-page-empty {
  text-align: center;
  padding: 4rem 1rem;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}
.cert-cart-page-empty p {
  margin-bottom: 1.25rem;
  color: #86909c;
  font-size: 0.9375rem;
}
.cert-cart-page-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cert-cart-group {
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 4px;
  overflow: hidden;
}
.cert-cart-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: #fafbfc;
  border-bottom: 1px solid #eef0f3;
}
.cert-cart-group-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1d2129;
  cursor: pointer;
}
.cert-cart-group-title input {
  width: 1rem;
  height: 1rem;
  accent-color: #0052d9;
}
.cert-cart-group-toggle {
  border: none;
  background: none;
  font-size: 0.8125rem;
  color: #0052d9;
  cursor: pointer;
}
.cert-cart-group-toggle:hover {
  text-decoration: underline;
}
.cert-cart-group-body.is-collapsed {
  display: none;
}
.cert-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.cert-cart-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  color: #86909c;
  background: #fff;
  border-bottom: 1px solid #f0f2f5;
  white-space: nowrap;
}
.cert-cart-table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f5f6f8;
  color: #1d2129;
}
.cert-cart-table tbody tr:last-child td {
  border-bottom: none;
}
.cert-cart-drawer .cert-cart-col-check {
  width: 2rem;
  text-align: center;
}
.cert-cart-drawer .cert-cart-col-check input {
  width: 0.9rem;
  height: 0.9rem;
}
.cert-pay-methods {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.75rem 0;
}
.cert-pay-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 12px;
  cursor: pointer;
}
.cert-pay-balance {
  color: #1d2129;
  font-weight: 600;
}
.cert-pay-recharge {
  margin-bottom: 0.75rem;
  padding: 0.65rem;
  background: #f7f8fa;
  border-radius: 4px;
}

/* 确认支付弹窗 */
#cert-pay-modal.cert-buy-modal {
  padding: 1.25rem;
}
#cert-pay-modal .cert-buy-dialog.app-card {
  padding: 0;
  max-width: 28rem;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}
#cert-pay-modal .app-orders-detail-head {
  padding: 0.9rem 1.35rem;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}
#cert-pay-modal .app-orders-detail-title {
  font-size: 14px;
  font-weight: 600;
  color: #1d2129;
}
#cert-pay-modal .app-orders-detail-extra {
  padding: 1rem 1.35rem;
  border-top: none;
  background: #fff;
}
#cert-pay-modal .cert-buy-cart-list li {
  padding: 0.55rem 0;
  font-size: 12px;
  line-height: 1.5;
}
#cert-pay-modal .cert-buy-cart-list li span {
  flex: 1;
  min-width: 0;
  padding-right: 0.75rem;
}
#cert-pay-modal .cert-buy-cart-list strong {
  flex-shrink: 0;
  font-weight: 600;
  color: #1d2129;
}
#cert-pay-modal #pay-order-total {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e6eb;
  font-size: 13px;
  font-weight: 600;
  color: #1d2129;
}
#cert-pay-modal #pay-msg {
  margin: 0 1.35rem 0.75rem;
}
#cert-pay-modal #pay-form {
  padding: 0 1.35rem 1.35rem;
}
#cert-pay-modal .cert-pay-methods {
  margin: 0 0 1rem;
  gap: 0.55rem;
}
#cert-pay-modal .cert-pay-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid #e5e6eb;
  border-radius: 4px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
#cert-pay-modal .cert-pay-method:hover {
  border-color: #c9cdd4;
  background: #f7f8fa;
}
#cert-pay-modal .cert-pay-method:has(input:checked) {
  border-color: #0052d9;
  background: #f0f5ff;
}
#cert-pay-modal .cert-pay-method input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
}
#cert-pay-modal .cert-pay-balance {
  margin-left: auto;
  color: #e34d59;
  font-weight: 600;
}
#cert-pay-modal #pay-recharge-btn {
  margin-left: 0.25rem;
  font-size: 12px;
}
#cert-pay-modal .cert-pay-recharge {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #f7f8fa;
  border: 1px solid #eef0f3;
  border-radius: 4px;
}
#cert-pay-modal .cert-pay-recharge .app-orders-filter-item {
  margin-bottom: 0.65rem;
}
#cert-pay-modal .app-orders-detail-actions {
  padding: 0;
  border-top: none;
  background: transparent;
}
#cert-pay-modal #pay-form .app-orders-detail-actions .app-btn-primary {
  width: 100%;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 13px;
}
#cert-pay-modal .cert-buy-success {
  padding: 1.35rem;
}
#cert-pay-modal .cert-buy-success .app-orders-detail-actions {
  padding: 0.75rem 0 0;
  gap: 0.65rem;
}
#cert-pay-modal .cert-buy-success .app-orders-detail-actions .app-btn-primary,
#cert-pay-modal .cert-buy-success .app-orders-detail-actions .app-btn-ghost {
  flex: 1;
  justify-content: center;
}
.cert-fulfill-workbench {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cert-fulfill-csr-input {
  width: 100%;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.cert-fulfill-verify-item {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef0f3;
}
.cert-fulfill-verify-challenge {
  white-space: pre-wrap;
  font-size: 11px;
  color: #4e5969;
  background: #f7f8fa;
  padding: 0.5rem;
  border-radius: 4px;
  margin: 0.35rem 0;
}
.cert-cart-col-check {
  width: 2.5rem;
  text-align: center;
}
.cert-cart-col-check input {
  width: 1rem;
  height: 1rem;
  accent-color: #0052d9;
}
.cert-cart-col-name {
  min-width: 10rem;
  font-weight: 500;
}
.cert-cart-col-info {
  color: #4e5969;
  min-width: 8rem;
}
.cert-cart-col-qty {
  width: 5rem;
  text-align: center;
}
.cert-cart-col-years {
  min-width: 11rem;
}
.cert-cart-col-price {
  width: 6rem;
  text-align: right;
  white-space: nowrap;
}
.cert-cart-line-price {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f77234;
}
.cert-cart-col-action {
  width: 4rem;
  text-align: center;
}
.cert-cart-delete-link {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  color: #0052d9;
  cursor: pointer;
}
.cert-cart-delete-link:hover {
  text-decoration: underline;
}
.cert-cart-years-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cert-cart-years-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.cert-cart-years-btn.is-minus {
  background: #0052d9;
  color: #fff;
}
.cert-cart-years-btn.is-plus {
  background: #f77234;
  color: #fff;
}
.cert-cart-years-input {
  width: 2.5rem;
  height: 1.75rem;
  text-align: center;
  border: 1px solid #e5e6eb;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
  pointer-events: none;
}
.cert-cart-years-unit {
  font-size: 0.75rem;
  color: #86909c;
  white-space: nowrap;
}
.cert-cart-page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 4px;
}
.cert-cart-page-footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cert-cart-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #1d2129;
  cursor: pointer;
}
.cert-cart-select-all input {
  width: 1rem;
  height: 1rem;
  accent-color: #0052d9;
}
.cert-cart-batch-delete {
  height: 2rem;
  padding: 0 1rem;
  border: 1px solid #0052d9;
  border-radius: 4px;
  background: #fff;
  color: #0052d9;
  font-size: 0.8125rem;
  cursor: pointer;
}
.cert-cart-batch-delete:hover {
  background: #e8f3ff;
}
.cert-cart-page-footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.cert-cart-page-total-label {
  font-size: 0.875rem;
  color: #4e5969;
}
.cert-cart-page-total {
  font-size: 1.375rem;
  font-weight: 700;
  color: #f77234;
}
.cert-cart-pay-btn {
  min-width: 6.5rem;
  height: 2.5rem;
  padding: 0 1.5rem;
  border: none;
  border-radius: 4px;
  background: #f77234;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.cert-cart-pay-btn:hover {
  background: #e85f20;
}
@media (max-width: 900px) {
  .cert-cart-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.apply-progress {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
}
.apply-progress.hidden {
  display: none;
}
.apply-progress-box {
  text-align: center;
  padding: 24px 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.apply-progress-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border: 3px solid #e5e6eb;
  border-top-color: var(--home-primary, #0052d9);
  border-radius: 50%;
  animation: apply-progress-spin 0.8s linear infinite;
}
@keyframes apply-progress-spin {
  to { transform: rotate(360deg); }
}
.apply-progress-box p {
  margin: 0;
  font-size: 14px;
  color: #4e5969;
}
#apply-qr-modal .auth-captcha-footer {
  justify-content: space-between;
}
#apply-qr-modal #btn-mock-scan.hidden {
  display: none;
}
#apply-qr-modal .apply-qr-status {
  text-align: center;
}
.apply-qr-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 8px;
}
.apply-qr-invalid {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #4e5969;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
  line-height: 1.6;
  border-radius: 2px;
}
.apply-qr-invalid.hidden {
  display: none;
}
#apply-qr-content.is-invalid canvas,
#apply-qr-content.is-invalid img {
  filter: grayscale(0.35);
  opacity: 0.55;
}

.apply-csr-form.tool-csr-input-col {
  gap: 0.5rem;
  padding-right: 0;
}
.apply-csr-form .tool-csr-form-row.hidden {
  display: none;
}

.apply-sans-field {
  overflow: visible;
}
.apply-sans-control {
  position: relative;
  width: 100%;
}
.apply-sans-add {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.apply-sans-add .app-input {
  flex: 1;
  min-width: 0;
  border-radius: 0;
}
.apply-sans-icon-btn {
  flex-shrink: 0;
  width: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.apply-sans-add .apply-sans-icon-btn {
  border-left: none;
}
.apply-sans-hint {
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #86909c;
  white-space: nowrap;
}
.apply-sans-list-wrap {
  margin-top: 0.625rem;
}
.apply-sans-list-wrap:has(.apply-sans-list.is-empty) {
  display: none;
}
.apply-sans-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid #e5e6eb;
  background: #fff;
}
.apply-sans-list.is-empty {
  display: none;
}
.apply-sans-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
  border-bottom: 1px dashed #d4d4d4;
  background: #fafbfc;
  transition: background 0.15s ease;
}
.apply-sans-item:last-child {
  border-bottom: none;
}
.apply-sans-item:hover {
  background: #f2f3f5;
}
.apply-sans-item-text {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  color: #4e5969;
  word-break: break-all;
  line-height: 1.45;
}
.apply-sans-remove-btn {
  flex-shrink: 0;
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  color: #86909c;
  border-radius: 0;
}
.apply-sans-remove-btn:hover {
  color: #f53f3f;
  background: #fff0ed;
}
.apply-sans-list::-webkit-scrollbar {
  width: 6px;
}
.apply-sans-list::-webkit-scrollbar-thumb {
  background: #c9cdd4;
  border-radius: 3px;
}
.apply-sans-list::-webkit-scrollbar-track {
  background: #f2f3f5;
}

/* 申领页：疏朗布局，对齐 CSR 表单风格 */
.app-apply-page .app-page-header {
  margin-bottom: 1.75rem;
}
.app-apply-page .app-page-header h1 {
  font-size: 1.625rem;
}
.app-apply-page .app-page-header p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.app-apply-page .app-card {
  padding: 1.5rem 1.75rem;
  border-radius: 0;
}
.app-apply-page .apply-workbench {
  margin-bottom: 1.5rem;
}
.app-apply-page .apply-panel.tool-tab-panel {
  padding: 1.75rem 2rem 2rem;
}
.app-apply-page .apply-csr-form .tool-csr-form-row,
.app-apply-page .apply-type-row.tool-csr-form-row {
  grid-template-columns: 5.5rem 429px;
}
.app-apply-page .apply-csr-form .tool-csr-form-field,
.app-apply-page .apply-type-row .tool-csr-form-field {
  width: 429px;
}
.app-apply-page .apply-type-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #eef0f3;
}
.app-apply-page .apply-type-row.tool-csr-form-row {
  align-items: flex-start;
}
.app-apply-page .apply-type-desc {
  margin: 1.125rem 0 0 calc(5.5rem + 0.375rem);
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #4e5969;
  background: #f7f8fa;
  border-radius: 0;
  border-left: 3px solid rgba(0, 82, 217, 0.35);
}
.app-apply-page .apply-workbench .app-input,
.app-apply-page .apply-workbench .app-textarea,
.app-apply-page .apply-workbench .app-btn-primary,
.app-apply-page .apply-workbench .app-btn-secondary,
.app-apply-page .apply-workbench .app-btn-ghost {
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
  color: #4e5969;
  box-sizing: border-box;
}
.app-apply-page .apply-workbench .app-input {
  min-height: 36px;
}
.app-apply-page .apply-workbench .app-input::placeholder,
.app-apply-page .apply-workbench .app-textarea::placeholder {
  color: #86909c;
  font-size: 0.8125rem;
}
.app-apply-page .apply-workbench .app-btn-primary {
  min-height: 36px;
  padding: 0.5rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.app-apply-page .apply-workbench .app-btn-secondary {
  min-height: 36px;
  padding: 0.5rem 0.75rem;
}
.app-apply-page .apply-sans-row.tool-csr-form-row {
  align-items: flex-start;
  overflow: visible;
}
.app-apply-page .apply-sans-row .tool-csr-form-field {
  overflow: visible;
}
.app-apply-page .apply-sans-row .tool-csr-form-label {
  padding-top: 0.5rem;
}
.app-apply-page .apply-cert-type-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 0.125rem;
}
.app-apply-page .apply-cert-type-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #4e5969;
  cursor: pointer;
  line-height: 1.5;
}
.app-apply-page .apply-cert-type-opt input {
  margin: 0;
}
.app-apply-page .apply-form-options {
  padding-left: calc(5.5rem + 0.375rem);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
.app-apply-page .apply-option-row.auth-agree {
  margin: 0;
  font-size: 0.8125rem;
  color: #4e5969;
  line-height: 1.6;
}
.app-apply-page .apply-option-muted {
  color: #86909c;
}
.app-apply-page .apply-form-options .hidden {
  display: none;
}
.app-apply-page .apply-form-actions.tool-csr-form-actions {
  margin-top: 1.25rem;
}
.app-apply-page .apply-client-dn-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-apply-page .apply-server-dn-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-apply-page #cn-row.apply-client-dn-row .tool-csr-form-field {
  width: 429px;
}
.app-apply-page #cn-row.apply-client-dn-row #cn-field-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-apply-page #cn-row.apply-client-dn-row #cn-field-inner .app-input {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.app-apply-page #server-fields.hidden {
  display: none;
}
.app-apply-page .apply-client-dn-extra {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-apply-page .apply-client-dn-extra.hidden {
  display: none;
}
.app-apply-page .apply-o-style-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-apply-page .apply-o-style-field .app-input {
  flex: 1;
  min-width: 0;
}
.app-apply-page .apply-o-style-field .tool-csr-expand-btn.apply-dn-expand-btn {
  width: 1.75rem;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fafafa;
  color: #86909c;
}
.app-apply-page .apply-o-style-field .tool-csr-expand-btn.apply-dn-expand-btn:hover {
  color: #4e5969;
  background: #f2f3f5;
}
.app-apply-page .apply-o-style-field .tool-csr-expand-btn.apply-dn-expand-btn.hidden {
  display: none;
}
.app-apply-page .apply-email-code-row {
  margin-top: 0.5rem;
}
.app-apply-page .apply-email-status {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #00b42a;
}
.app-apply-page .apply-email-status.is-error {
  color: #f53f3f;
}
.app-apply-page .apply-email-status.hidden {
  display: none;
}
.app-apply-page #btn-apply-email-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.app-apply-page .apply-email-dev-hint {
  margin: 0.35rem 0 0;
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #4e5969;
  background: #fff7e8;
  border-left: 3px solid #ff7d00;
}
.app-apply-page .apply-email-dev-hint.hidden {
  display: none;
}

/* 实名认证页：对齐申领页表单行距与标签布局 */
.app-apply-page .realname-status-desc {
  margin: 0 0 1.25rem;
}
.app-apply-page .realname-channel-tabs {
  margin-bottom: 1.5rem;
}
.app-apply-page .realname-channel-panel .apply-csr-form.tool-csr-input-col {
  gap: 0.5rem;
}
.app-apply-page .realname-channel-panel .tool-csr-form-row {
  grid-template-columns: 5.5rem 429px;
}
.app-apply-page .realname-channel-panel .tool-csr-form-field {
  width: 429px;
}
.app-apply-page .realname-manual-note {
  margin: 0.75rem 0 0 calc(5.5rem + 0.375rem);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #86909c;
}
.app-apply-page .realname-agree-row {
  margin: 0.75rem 0 0 calc(5.5rem + 0.375rem);
  font-size: 0.8125rem;
  color: #4e5969;
  line-height: 1.6;
}
.app-apply-page .realname-upload-row {
  align-items: flex-start;
}
.app-apply-page .realname-upload-row .tool-csr-form-label {
  padding-top: 0.5rem;
}
.app-apply-page .realname-upload-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-apply-page .realname-file-input {
  width: 100%;
  font-size: 0.8125rem;
  color: #4e5969;
}
.app-apply-page .realname-upload-preview {
  max-width: 100%;
  max-height: 140px;
  border: 1px solid #e5e6eb;
  object-fit: contain;
  background: #f7f8fa;
}
.app-apply-page #realname-panel.apply-workbench {
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .app-apply-page .apply-csr-form .tool-csr-form-row,
  .app-apply-page .apply-type-row.tool-csr-form-row {
    grid-template-columns: 5.5rem minmax(0, 429px);
  }
  .app-apply-page .apply-csr-form .tool-csr-form-field,
  .app-apply-page .apply-type-row .tool-csr-form-field {
    width: 100%;
    max-width: 429px;
  }
  .app-apply-page .apply-panel.tool-tab-panel {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .app-apply-page .apply-type-desc {
    margin-left: 0;
    padding: 0.875rem 1rem;
    margin-top: 1rem;
  }
  .app-apply-page .apply-form-options {
    padding-left: 0;
  }
  .app-apply-page .apply-form-actions.tool-csr-form-actions {
    padding-left: 0;
  }
  .app-apply-page .realname-channel-panel .tool-csr-form-row {
    grid-template-columns: 5.5rem minmax(0, 429px);
  }
  .app-apply-page .realname-channel-panel .tool-csr-form-field {
    width: 100%;
    max-width: 429px;
  }
  .app-apply-page .realname-manual-note {
    margin-left: 0;
    padding-left: 0;
  }
  .app-apply-page .realname-agree-row {
    margin-left: 0;
    padding-left: 0;
  }
  .apply-sans-hint {
    position: static;
    transform: none;
    display: block;
    margin-top: 0.35rem;
    white-space: normal;
  }
}

.realname-records-link {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}
.realname-records-link a {
  color: #0052d9;
  text-decoration: none;
}
.realname-fallback-link {
  margin-top: 1rem;
  text-align: center;
}
.realname-fallback-btn {
  font-size: 0.875rem;
}
.realname-upload-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #86909c;
  line-height: 1.4;
}
.realname-commitment-text {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  color: #1d2129;
}
.realname-records-workbench .realname-records-summary {
  margin-bottom: 1.25rem;
}
.realname-records-grid {
  display: grid;
  gap: 0.5rem;
}
.realname-records-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f2f3f5;
}
.realname-records-label {
  color: #86909c;
}
.realname-records-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.realname-records-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.realname-records-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f2f3f5;
}
.realname-records-item-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
.realname-records-item-head time {
  color: #86909c;
  font-size: 0.8125rem;
}
.realname-records-meta,
.realname-records-detail {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #4e5969;
}
.realname-records-empty {
  color: #86909c;
  font-size: 0.875rem;
}
.realname-records-actions {
  margin-top: 1.25rem;
}

/* ── 改版：双模式部署架构主视觉 ── */
.home-deploy-showcase {
  background: linear-gradient(180deg, #fff 0%, #f3f6fc 100%);
  padding: 4rem 0;
}
@media (min-width: 640px) {
  .home-deploy-showcase { padding: 5rem 0; }
}

.home-deploy-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .home-deploy-tabs { grid-template-columns: 1fr 1fr; }
}
.home-deploy-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.home-deploy-tab:hover {
  border-color: var(--home-primary-border);
  background: var(--home-primary-bg);
}
.home-deploy-tab.is-active {
  border-color: var(--home-primary);
  background: var(--home-primary-bg);
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.1);
}
.home-deploy-tab-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text);
}
.home-deploy-tab.is-active .home-deploy-tab-label {
  color: var(--home-primary);
}
.home-deploy-tab-desc {
  font-size: 12px;
  color: var(--home-muted);
  line-height: 1.5;
}

.home-deploy-panel[hidden] {
  display: none !important;
}
.home-deploy-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--home-card-shadow);
}
@media (min-width: 1024px) {
  .home-deploy-layout {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2rem;
  }
}
.home-deploy-diagram-wrap {
  border-radius: 4px;
  overflow: hidden;
  background: #f5f7fa;
  border: 1px solid var(--home-border);
}
.home-deploy-diagram-wrap.home-deploy-diagram-dark {
  background: #f0f2f5;
}
.home-deploy-diagram {
  display: block;
  width: 100%;
  height: auto;
}
.home-deploy-copy h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--home-text);
}
.home-deploy-copy p {
  margin-top: 0.75rem;
  font-size: 14px;
  line-height: 1.75;
  color: var(--home-muted);
}
.home-deploy-copy strong {
  color: var(--home-text);
  font-weight: 600;
}
.home-deploy-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.home-deploy-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--home-text-secondary);
}
.home-deploy-point-tag {
  flex-shrink: 0;
  padding: 0.1rem 0.45rem;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
}
.home-deploy-point-tag.tag-red {
  background: #fff5eb;
  color: #c87a20;
  border: 1px solid #f0b87a;
}
.home-deploy-point-tag.tag-green {
  background: #e8ffea;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}
.home-deploy-point-tag.tag-blue {
  background: var(--home-primary-bg);
  color: var(--home-primary);
  border: 1px solid var(--home-primary-border);
}
.home-deploy-point-tag.tag-orange {
  background: #fff7e8;
  color: #d46b08;
  border: 1px solid #ffd591;
}
.home-deploy-copy .home-product-link {
  display: inline-block;
  margin-top: 1.25rem;
}

/* Hero 右侧架构图 Tab */
.home-hero-visual:has(.home-arch-tabs) {
  width: 380px;
}
@media (min-width: 1280px) {
  .home-hero-visual:has(.home-arch-tabs) { width: 420px; }
}
.home-arch-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}
.home-arch-tab {
  flex: 1;
  padding: 0.35rem 0.5rem;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--home-border);
  border-radius: 3px;
  background: #fff;
  color: var(--home-muted);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.home-arch-tab.is-active {
  border-color: var(--home-primary);
  background: var(--home-primary-bg);
  color: var(--home-primary);
}
.home-arch-panel[hidden] {
  display: none !important;
}
.home-arch-diagram {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.home-arch-highlights {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.home-arch-highlights li {
  font-size: 10px;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  background: #e8ffea;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

/* 产品卡片配图 */
.home-product-card {
  position: relative;
}
.home-product-illus {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  opacity: 0.85;
  pointer-events: none;
}
.home-product-illus svg {
  width: 100%;
  height: 100%;
}

/* 解决方案场景配图 */
.home-solution-card-visual {
  padding-top: 1.5rem;
}
.home-solution-visual {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f7f8fa;
  border-radius: 4px;
  border: 1px solid var(--home-border);
}
.home-solution-visual svg {
  display: block;
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}
.home-solution-visual-dark {
  background: #eef5ff;
  border-color: #c5d9f0;
}

/* 方案页：双模式对比表 */
.home-deploy-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--home-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--home-card-shadow);
}
.home-deploy-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.home-deploy-compare thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--home-text);
  background: #fafafa;
  border-bottom: 1px solid var(--home-border);
}
.home-deploy-compare thead th:first-child {
  width: 22%;
}
.home-deploy-compare tbody th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 500;
  color: var(--home-text-secondary);
  background: #fcfcfd;
  border-bottom: 1px solid #f0f1f3;
  white-space: nowrap;
}
.home-deploy-compare tbody td {
  padding: 12px 16px;
  color: var(--home-muted);
  line-height: 1.6;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: top;
}
.home-deploy-compare tbody tr:last-child th,
.home-deploy-compare tbody tr:last-child td {
  border-bottom: none;
}
.home-deploy-compare tbody td:nth-child(2) {
  background: rgba(0, 82, 217, 0.02);
}
.home-deploy-compare tbody td:nth-child(3) {
  background: rgba(237, 123, 47, 0.03);
}
