/**
 * WEGONO Hub 离线基础样式（替代 CDN Tailwind，断网仍可阅读与打印）
 * 与 public/hub.html 中的 Tailwind 工具类名一一对应
 */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Layout */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }
.w-full { width: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-full { height: 100%; }
.max-w-full { max-width: 100%; }
.max-w-5xl { max-width: 64rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.text-\[15px\] { font-size: 15px; }
.text-slate-800 { color: #1e293b; }
.bg-slate-50\/60 { background-color: rgba(248, 250, 252, 0.6); }
.bg-slate-100\/80 { background-color: rgba(241, 245, 249, 0.8); }
.border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.flex-shrink-0 { flex-shrink: 0; }
.pt-0\.5 { padding-top: 0.125rem; }
.gap-3 { gap: 0.75rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.transition-all { transition-property: all; transition-duration: 150ms; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

/* Spacing */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.cursor-pointer { cursor: pointer; }
.p-4 { padding: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-3 { padding-top: 0.75rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-5 { padding-bottom: 1.25rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.border-slate-200\/50 { border-color: rgba(226, 232, 240, 0.5); }
.mt-0\.2 { margin-top: 0.05rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-4 { margin-top: 1rem; }
.ml-2 { margin-left: 0.5rem; }

/* Typography */
.font-sans { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[13\.5px\] { font-size: 13.5px; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.tracking-tight { letter-spacing: -0.025em; }
.whitespace-nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.underline { text-decoration-line: underline; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Colors */
.bg-white { background-color: #fff; }
.border-slate-300 { border-color: #cbd5e1; }
.hover\:border-emerald-600:hover { border-color: #059669; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-700 { background-color: #047857; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-rose-50 { background-color: #fff1f2; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-red-50 { background-color: #fef2f2; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-slate-50\/50 { background-color: rgba(248, 250, 252, 0.5); }
.bg-slate-50\/70 { background-color: rgba(248, 250, 252, 0.7); }
.bg-slate-50\/80 { background-color: rgba(248, 250, 252, 0.8); }
.bg-amber-50\/40 { background-color: rgba(255, 251, 235, 0.4); }
.bg-amber-50\/80 { background-color: rgba(255, 251, 235, 0.8); }
.bg-amber-100\/70 { background-color: rgba(254, 243, 199, 0.7); }
.bg-rose-50\/70 { background-color: rgba(255, 241, 242, 0.7); }

.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-emerald-950 { color: #022c22; }
.text-rose-950 { color: #4c0519; }
.text-amber-500 { color: #f59e0b; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-rose-800 { color: #9f1239; }
.text-rose-900 { color: #881337; }
.text-red-600 { color: #dc2626; }
.text-red-800 { color: #991b1b; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-white { color: #fff; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-400 { border-color: #94a3b8; }
.border-slate-200\/90 { border-color: rgba(226, 232, 240, 0.9); }
.border-emerald-200 { border-color: #a7f3d0; }
.border-emerald-200\/80 { border-color: rgba(167, 243, 208, 0.8); }
.border-emerald-300\/80 { border-color: rgba(110, 231, 183, 0.8); }
.border-amber-200 { border-color: #fde68a; }
.border-amber-200\/80 { border-color: rgba(253, 230, 138, 0.8); }
.border-amber-200\/90 { border-color: rgba(253, 230, 138, 0.9); }
.border-amber-300\/80 { border-color: rgba(252, 211, 77, 0.8); }
.border-rose-200 { border-color: #fecdd3; }
.border-rose-200\/90 { border-color: rgba(254, 205, 211, 0.9); }
.border-red-200 { border-color: #fecaca; }
.border-blue-200 { border-color: #bfdbfe; }
.border-l-red-600 { border-left-color: #dc2626; }
.border-l-blue-600 { border-left-color: #2563eb; }
.border-l-emerald-600 { border-left-color: #059669; }

/* Radius & shadow */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-2xs { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); }
.shadow-xs { box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.border-t-\[3px\] { border-top-width: 3px; border-top-style: solid; }
.border-sky-500 { border-color: #0ea5e9; }
.border-emerald-500 { border-color: #10b981; }
.border-amber-500 { border-color: #f59e0b; }
.bg-sky-50\/20 { background-color: rgba(240, 249, 255, 0.2); }
.bg-emerald-50\/20 { background-color: rgba(236, 253, 245, 0.2); }
.bg-amber-50\/20 { background-color: rgba(255, 251, 235, 0.2); }
.hover\:border-emerald-400:hover { border-color: #34d399; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }

/* Page shell */
.hub-screen-wrapper,
.hub-container {
  width: 100%;
  max-width: 64rem !important;
  margin-left: auto;
  margin-right: auto;
}
body.bg-slate-50 { background-color: #f8fafc; }
body.text-slate-900 { color: #0f172a; }
.min-h-screen { min-height: 100vh; }
.overflow-x-hidden { overflow-x: hidden; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Cards & sections */
.bento-card { background: #fff; border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 1rem; padding: 1rem; }
.step-card, .triangle-card, .checklist-item, .proof-card, .qa-card, .route-card, .closure-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.75rem;
}
.red-banner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

/* Interaction */
.cursor-pointer { cursor: pointer; }
.transition { transition-property: color, background-color, border-color, opacity, transform; transition-duration: 150ms; }
.transition-all { transition-property: all; transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.appearance-none { appearance: none; }

/* Checkbox */
input[type="checkbox"] {
  width: 1rem; height: 1rem; border: 1px solid #cbd5e1; border-radius: 0.25rem;
  accent-color: #059669;
}
.checked\:bg-emerald-600:checked { background-color: #059669; }
.checked\:border-emerald-600:checked { border-color: #059669; }

/* Animation */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* 手机端 Hub 紧凑排版（离线 CDN 断网时与 hub.html 对齐） */
@media screen and (max-width: 639px) {
  #bento-steps .step-card {
    padding: 0.625rem;
  }
  #bento-steps .step-time-badge {
    font-size: 11px;
    padding: 0.125rem 0.375rem;
  }
  #bento-materials .checklist-item {
    align-items: flex-start;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  #bento-materials .alt-proof-card {
    border: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 0.5rem;
    padding: 0.5rem 0.625rem;
  }
  #bento-qa .qa-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
  }
  #bento-qa .qa-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
  }
  .hub-navigator-card {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-wechat-copy-capsule {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .hub-cta-btn-row .hub-cta-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive sm (640px+) */
@media (min-width: 640px) {
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
  .sm\:mb-4 { margin-bottom: 1rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:space-y-0 > * + * { margin-top: 0; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:mt-0\.5 { margin-top: 0.125rem; }
  .sm\:hidden { display: none; }
  .sm\:py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .sm\:mb-5 { margin-bottom: 1.25rem; }
  .sm\:p-3 { padding: 0.75rem; }
  .sm\:p-3\.5 { padding: 0.875rem; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:gap-2\.5 { gap: 0.625rem; }
  .sm\:gap-3 { gap: 0.75rem; }
  .sm\:space-y-5 > * + * { margin-top: 1.25rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:inline-block { display: inline-block; }
  .sm\:flex-nowrap { flex-wrap: nowrap; }
  .sm\:text-xs { font-size: 0.75rem; }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:h-2\.5 { height: 0.625rem; }
  .sm\:w-2\.5 { width: 0.625rem; }
  .red-banner { grid-template-columns: repeat(4, 1fr); }
}

/* Responsive md (768px+) */
@media (min-width: 768px) {
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid { display: grid; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:gap-4 { gap: 1rem; }
  .md\:items-center { align-items: center; }
  .md\:justify-start { justify-content: flex-start; }
  .triangle-grid,
  .qa-grid,
  .routes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
  }
  .triangle-grid > .triangle-card,
  .qa-grid > .qa-card,
  .routes-grid > .route-card {
    width: 100%;
    min-width: 0;
    flex: 1 1 0%;
  }
}

/* Responsive lg (1024px+) */
@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:flex-row { flex-direction: row; }
  .lg\:justify-start { justify-content: flex-start; }
  .lg\:text-left { text-align: left; }
  .lg\:w-72 { width: 18rem; }
  .lg\:gap-5 { gap: 1.25rem; }
}

/* Materials two-column on large screens */
@media (min-width: 1024px) {
  #bento-materials { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.875rem; align-items: stretch; }
}

/* Bento 并排卡片等高与话术库绿/红框对齐（离线阅读与打印兜底） */
.qa-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.5rem;
  height: 100%;
}
#bento-qa .qa-card {
  display: flex;
  flex-direction: column;
}
#bento-qa .qa-answer-box,
#bento-qa .qa-warn-box {
  flex: 1 1 auto;
}
#bento-steps .step-card,
#bento-triangle .triangle-card,
#bento-closure .closure-card,
#bento-branches .route-card {
  display: flex;
  flex-direction: column;
}
#bento-closure .closure-checklist-item:has(input:checked) {
  border-color: rgb(16, 185, 129);
  background-color: rgba(236, 253, 245, 0.3);
}
#bento-materials .checklist-item > .hub-check-slot {
  flex-shrink: 0;
  padding-top: 0.125rem;
}
#bento-closure .hub-check-slot {
  flex-shrink: 0;
}
#bento-qa .qa-card-body {
  gap: 0.5rem;
}
#bento-qa .qa-warn-box {
  margin-top: 0;
}
.closure-print-prefix {
  display: none;
}
.blacklist-grid .blacklist-cell {
  display: flex;
  align-items: stretch;
}
.blacklist-grid .blacklist-cell p {
  flex: 1 1 auto;
  margin: 0;
}

@media (min-width: 640px) {
  #bento-steps .step-card p.leading-relaxed {
    min-height: 5.25rem;
  }
  #bento-triangle .triangle-card p.leading-relaxed {
    min-height: 4.5rem;
  }
  #bento-qa .qa-answer-box p.leading-relaxed,
  #bento-qa .qa-warn-box p.leading-relaxed {
    min-height: 3.5rem;
  }
  #bento-branches .route-card p.leading-relaxed {
    min-height: 5rem;
  }
  .blacklist-grid .blacklist-cell p.leading-relaxed {
    min-height: 4.75rem;
  }
  #bento-closure .closure-card p.leading-relaxed {
    min-height: 5.25rem;
  }
  #bento-closure .closure-card > .card-inner > p.whitespace-nowrap {
    min-height: 1.25rem;
  }
}

/* 屏幕舒适字号（离线阅读） */
.text-\[13px\] { font-size: 13px; }

/* VIP 渐进毛玻璃（离线 CDN 断网时与 hub.html 对齐） */
.vip-group-wrapper { position: relative; }
.vip-locked-content {
  user-select: none;
  pointer-events: none;
}
.vip-lock-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  border-radius: inherit;
}
html.vip-unlocked .vip-locked-content {
  user-select: auto;
  pointer-events: auto;
}
html.vip-unlocked .vip-lock-mask { display: none !important; }
.fixed { position: fixed; }
.bottom-3 { bottom: 0.75rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.w-\[92\%\] { width: 92%; }
.max-w-xl { max-width: 36rem; }
.z-50 { z-index: 50; }
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1); }
#vip-access-gate { transition: opacity 0.35s ease, transform 0.35s ease; }
#vip-access-gate.hub-vip-float--hiding {
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
}
html.vip-unlocked #vip-access-gate { display: none !important; }

/* ==========================================================================
   跨浏览器 A4 双页打印（Chrome / Safari / iOS）
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 5mm !important;
  }

  html, body {
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 9pt !important;
    line-height: 1.3 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
  }

  .hub-print-page {
    display: block !important;
    width: 100% !important;
    max-width: 210mm !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  #hub-page-1 {
    display: block !important;
    page-break-after: always !important;
    break-after: page !important;
    overflow: visible !important;
  }

  #hub-page-2 {
    display: block !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    overflow: visible !important;
  }

  #hub-page-1 > header,
  #hub-page-1 > div,
  #hub-page-1 > section,
  #hub-page-2 > div,
  #hub-page-2 > section {
    margin-bottom: 1.5mm !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .hub-print-page .bento-card,
  .hub-print-page .qa-card,
  .hub-print-page .checklist-item,
  .hub-print-page .proof-card,
  .hub-print-page .step-card,
  .hub-print-page .triangle-card,
  .hub-print-page .route-card,
  .hub-print-page .closure-card {
    padding: 1.5mm 2.5mm !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .hub-print-page h2 {
    font-size: 11pt !important;
    margin-bottom: 1mm !important;
  }
  .hub-print-page h3,
  .hub-print-page h4 {
    font-size: 9.5pt !important;
  }
  .hub-print-page p,
  .hub-print-page li {
    font-size: 8.8pt !important;
    line-height: 1.28 !important;
  }

  .vip-locked-content {
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #bento-materials,
  #bento-materials .materials-panel,
  #bento-materials .checklist-item,
  #bento-materials .proof-card,
  #bento-materials .alt-proof-card {
    visibility: visible !important;
    opacity: 1 !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
  }

  #hub-page-1 .step-card {
    padding: 1.5mm 2mm !important;
  }
  #hub-page-1 .triangle-card {
    padding: 1.5mm 2.5mm !important;
  }
  #hub-page-1 .checklist-item,
  #hub-page-1 .proof-card,
  #hub-page-1 .alt-proof-card {
    padding: 1.2mm 2mm !important;
    margin-bottom: 1mm !important;
  }

  p, span, div {
    text-rendering: optimizeLegibility !important;
  }

  .hub-speaker-btn,
  .interactive-only,
  .lock-overlay,
  #auth-modal,
  #vip-access-gate,
  .vip-lock-mask,
  .no-print,
  footer,
  button {
    display: none !important;
  }

  .bg-emerald-50,
  .bg-rose-50,
  .bg-amber-50,
  .bg-slate-50,
  .bg-slate-50\/70,
  .bg-slate-50\/80 {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 强制打印时忽略屏幕宽度，100% 采用标准桌面网格 */
  #hub-page-1, #hub-page-2 {
    display: block !important;
    width: 210mm !important;
    max-width: 210mm !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #hub-page-1 .timeline-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2mm !important;
  }

  #hub-page-1 .triangle-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5mm !important;
  }

  #hub-page-1 .materials-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3mm !important;
  }

  #hub-page-2 .qa-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5mm !important;
  }

  #hub-page-2 .routes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5mm !important;
  }

  #hub-page-2 .checklist-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2mm !important;
  }

  #hub-page-1 {
    page-break-after: always !important;
    break-after: page !important;
  }
  #hub-page-2 {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  #bento-materials .materials-alt-panel {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 1.5mm 2.5mm !important;
  }
  #bento-materials .materials-alt-mobile-label {
    display: none !important;
  }
  #bento-materials .materials-alt-heading {
    display: flex !important;
  }
}
