.detail-hero{padding:80px 0 56px;background:linear-gradient(180deg,#0f172a,#1e293b);color:#e2e8f0}.detail-hero .eyebrow{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#2dd4bf;letter-spacing:.1em;text-transform:uppercase;margin:0 0 16px}.detail-hero h1{font-size:clamp(32px,5vw,48px);font-weight:700;color:#f8fafc;line-height:1.2;margin:0 0 20px}.detail-hero .hero-lede{font-size:17px;color:#cbd5e1;line-height:1.75;margin:0 0 12px}.detail-hero .hero-lede .hl{color:#2dd4bf;font-weight:600}.detail-hero .hero-meta{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#64748b;margin:0 0 32px}.hero-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.hero-metric{background:#ffffff0f;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:16px;text-align:center}.hero-metric strong{display:block;font-size:22px;font-weight:700;color:#2dd4bf;line-height:1.2}.hero-metric span{display:block;font-size:12px;color:#94a3b8;margin-top:4px}.hero-actions{display:flex;gap:16px;align-items:center;margin-top:28px;flex-wrap:wrap}.hero-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s ease}.hero-btn--primary{background:#2dd4bf;color:#0f172a}.hero-btn--primary:hover{background:#14b8a6;transform:translateY(-1px)}.hero-test-box{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);padding:8px 14px;border-radius:8px}.hero-test-label{font-weight:600;color:#2dd4bf;letter-spacing:.04em}.hero-test-code{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#e2e8f0;background:#0f172a66;padding:2px 8px;border-radius:4px}.hero-test-sep{color:#64748b}@media(max-width:640px){.hero-metrics{grid-template-columns:repeat(2,1fr)}}.detail-section{padding:64px 0}.detail-section--alt{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.section-title{font-size:24px;font-weight:700;color:#0f172a;margin:0 0 8px}.section-lede{font-size:15px;color:#64748b;line-height:1.7;margin:0 0 32px}.inline-code{font-family:ui-monospace,Consolas,monospace;font-size:.85em;background:#f1f5f9;color:#0f172a;padding:2px 6px;border-radius:4px}.swimlane{display:flex;flex-direction:column;gap:0}.swimlane-inner{border:2px solid #94a3b8;border-radius:14px;padding:0;background:#fff}.swimlane-inner:before{content:"我方后端";display:block;font-size:11px;font-weight:600;font-family:ui-monospace,Consolas,monospace;color:#64748b;background:#f1f5f9;padding:6px 14px;border-bottom:2px solid #94a3b8;border-radius:12px 12px 0 0;letter-spacing:.08em}.lane{display:flex;align-items:stretch;min-height:80px}.lane+.lane{border-top:1px solid #e2e8f0}.lane-label{flex-shrink:0;width:82px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:700;font-family:ui-monospace,Consolas,monospace;letter-spacing:.04em;line-height:1.2;padding:10px 6px;border-right:2px solid}.lane-label--front{background:#dbeafe;color:#1e40af;border-color:#93c5fd}.lane-label--entry{background:#e0e7ff;color:#3730a3;border-color:#a5b4fc}.lane-label--core{background:#0f766e;color:#ecfdf8;border-color:#0f766e}.lane-label--security{background:#fef3c7;color:#92400e;border-color:#fbbf24}.lane-label--data{background:#fce7f3;color:#9d174d;border-color:#f9a8d4}.lane-label--ext{background:#f1f5f9;color:#64748b;border-color:#cbd5e1}.lane--core{background:#f0fdfa}.lane--data{background:#fdf2f8}.lane-body{flex:1;display:flex;align-items:center;gap:10px;padding:14px 16px;flex-wrap:wrap}.lane-body--2col{gap:14px}.lane-body--db{gap:12px}.comp-box{background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;padding:10px 14px;min-width:140px;max-width:220px;flex:0 1 auto;transition:border-color .18s ease,box-shadow .18s ease;cursor:default}.comp-box:hover{border-color:#2dd4bf;box-shadow:0 3px 12px #2dd4bf26}.comp-box strong{display:block;font-size:13px;font-weight:700;color:#0f172a;margin-bottom:3px}.comp-box small{display:block;font-size:11px;font-weight:600;color:#0f766e;font-family:ui-monospace,Consolas,monospace;margin-bottom:3px}.comp-box em{display:block;font-style:normal;font-size:11px;color:#64748b;line-height:1.5}.comp-box em code{font-family:ui-monospace,Consolas,monospace;font-size:.9em;background:#f1f5f9;color:#0f172a;padding:0 4px;border-radius:2px}.comp-box--wide{max-width:none;flex:1}.comp-box--core{background:linear-gradient(135deg,#0f766e,#115e59);border-color:#0f766e;border-width:2px;border-radius:10px}.comp-box--core strong{color:#f0fdfa}.comp-box--core small{color:#99f6e4}.comp-box--core em{color:#ccfbf1}.comp-box--ext{background:#fafafa;border-style:dashed;border-color:#94a3b8}.db-box{background:#fefce8;border:1.5px solid #fde68a;border-radius:6px;padding:10px 16px;text-align:center;font-family:ui-monospace,Consolas,monospace;font-size:13px;font-weight:700;color:#92400e;position:relative;min-width:160px}.db-box:before{content:"";position:absolute;top:-3px;left:10%;right:10%;height:3px;background:#fde68a;border-radius:50%}.db-box small{display:block;font-size:10px;font-weight:500;color:#a16207;margin-top:3px;font-family:inherit}.lane-connector{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 0;font-family:ui-monospace,Consolas,monospace;font-size:11px;color:#94a3b8;background:#fafafa;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.lane-connector i{display:block;width:12px;height:12px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:rotate(45deg);margin-top:2px}.swimlane-ext{margin-top:14px;border:2px dashed #cbd5e1;border-radius:14px;background:#fafafa}.swimlane-ext:before{content:"外部依赖（仅此处承载重算力）";display:block;font-size:11px;font-weight:600;font-family:ui-monospace,Consolas,monospace;color:#94a3b8;background:transparent;padding:6px 14px;border-bottom:1px dashed #cbd5e1;letter-spacing:.06em}.lane--ext{min-height:70px}.lane--ext .lane-label{background:#f1f5f9;color:#64748b;border-color:#cbd5e1;border-right-style:dashed}@media(max-width:720px){.lane{flex-direction:column}.lane-label{width:100%;border-right:none;border-bottom:2px solid;flex-direction:row;padding:6px 12px;text-align:left}.lane-label br{display:none}.comp-box{max-width:none;min-width:0;flex:1 1 calc(50% - 10px)}.db-box{min-width:0;flex:1}.swimlane-inner:before,.swimlane-ext:before{font-size:10px}}.conflict-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.conflict-card{background:#fff;border-radius:12px;padding:24px;border:1px solid #e2e8f0}.conflict-card h3{font-size:16px;font-weight:700;margin:0 0 12px}.conflict-card ul{margin:0;padding:0 0 0 18px;color:#475569;font-size:14px;line-height:1.8}.conflict-card--old{border-color:#fecaca}.conflict-card--old h3{color:#b91c1c}.conflict-card--core{border-color:#0f766e;background:linear-gradient(135deg,#ecfdf8,#fff)}.conflict-card--core h3{color:#0f766e}.conflict-question{font-size:15px;color:#0f172a;line-height:1.7;margin:0}@media(max-width:720px){.conflict-grid{grid-template-columns:1fr}}.decision-chain{list-style:none;padding:0;margin:0;counter-reset:none}.stage-card{display:flex;gap:16px;padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;transition:border-color .2s ease,box-shadow .2s ease}.stage-card:hover{border-color:#2dd4bf;box-shadow:0 4px 20px #2dd4bf1f}.stage-num{flex-shrink:0;width:44px;height:44px;border-radius:10px;background:linear-gradient(135deg,#0f766e,#2dd4bf);color:#fff;font-family:ui-monospace,Consolas,monospace;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center}.stage-body{flex:1;min-width:0}.stage-head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline}.stage-head h3{font-size:16px;font-weight:700;color:#0f172a;margin:0}.stage-decision{font-size:13px;color:#0f766e;background:#ecfdf8;padding:3px 10px;border-radius:4px}.stage-result{font-size:14px;color:#475569;line-height:1.6;margin:8px 0 0}.pitfall-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pitfall-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.pitfall-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.pitfall-num{font-family:ui-monospace,Consolas,monospace;font-size:12px;font-weight:700;color:#ef4444;background:#fef2f2;padding:3px 8px;border-radius:4px}.pitfall-head h3{font-size:16px;font-weight:700;color:#0f172a;margin:0}.pitfall-row{display:flex;gap:12px;font-size:13px;line-height:1.6;margin-bottom:8px}.pitfall-label{flex-shrink:0;width:40px;font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.pitfall-value{color:#475569}.pitfall-row--verify .pitfall-label{color:#059669}.pitfall-row--verify .pitfall-value{color:#059669;font-weight:500}@media(max-width:720px){.pitfall-grid{grid-template-columns:1fr}}.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.result-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px 20px;text-align:center}.result-value{display:block;font-size:28px;font-weight:700;color:#0f766e;font-family:ui-monospace,Consolas,monospace}.result-unit{display:block;font-size:13px;font-weight:600;color:#0f172a;margin:4px 0 8px}.result-desc{display:block;font-size:12px;color:#64748b;line-height:1.5}@media(max-width:720px){.result-grid{grid-template-columns:repeat(2,1fr)}}.keyword-cloud{display:flex;flex-wrap:wrap;gap:10px}.keyword-chip{font-size:13px;padding:6px 14px;border-radius:999px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;font-family:ui-monospace,Consolas,monospace;transition:all .2s ease}.keyword-chip:hover{background:#ecfdf8;border-color:#0f766e;color:#0f766e}.qa-list{display:flex;flex-direction:column;gap:8px}.qa-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.qa-trigger{width:100%;display:flex;align-items:flex-start;gap:12px;padding:16px 20px;font-size:14px;font-weight:600;color:#0f172a;background:none;border:none;cursor:pointer;text-align:left;font-family:inherit;transition:background .2s ease}.qa-trigger:hover{background:#f8fafc}.qa-item.is-open .qa-trigger{background:#ecfdf8;border-bottom:1px solid #e2e8f0}.qa-q{flex-shrink:0;width:22px;height:22px;background:#0f766e;color:#fff;font-size:12px;font-weight:700;border-radius:6px;display:inline-flex;align-items:center;justify-content:center}.qa-caret{flex-shrink:0;margin-left:auto;width:10px;height:10px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:rotate(45deg);margin-top:5px;transition:transform .28s ease,border-color .2s ease}.qa-item.is-open .qa-caret{transform:rotate(-135deg);border-color:#0f766e}.qa-collapse{max-height:0;overflow:hidden;transition:max-height .36s cubic-bezier(.22,1,.36,1)}.qa-body{padding:16px 20px 20px 54px;font-size:14px;color:#475569;line-height:1.7}.qa-body p{margin:0}.qa-body code{font-family:ui-monospace,Consolas,monospace;font-size:.85em;background:#f1f5f9;color:#0f172a;padding:1px 6px;border-radius:3px}.qa-back{margin-top:32px;text-align:center}.back-link{font-size:14px;color:#0f766e;text-decoration:none;font-weight:500;transition:color .2s ease}.back-link:hover{color:#0f172a;text-decoration:underline}
