/* Local adaptation of the supplied demonstration; scoped to B version AI business page. */
.detail-websites .ai-xinlan-section { padding-top: clamp(52px, 6vw, 84px); padding-bottom: clamp(64px, 7vw, 96px); background: #0b0b0a; }
.detail-websites .ai-xinlan-title-row { align-items: baseline; margin-bottom: clamp(22px, 3vw, 34px); }
.detail-websites .ai-xinlan-title-row > span { color: #c7ae87; font-size: clamp(15px, 1.5vw, 20px); }

.xinlan-workflow{--gold:#e2bd80;--light:#f0d7ad;--edge:#514532;font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif;background:#11130f;color:#f1e7d5;border:1px solid #41392c;border-radius:12px;overflow:hidden}
.xinlan-workflow *{box-sizing:border-box}
.xinlan-workflow h1,.xinlan-workflow h2,.xinlan-workflow p{margin:0}
.xinlan-workflow button{font:inherit;cursor:pointer}
.xinlan-workflow button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.xinlan-workflow .downloadline{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #44392b;background:#20221b}
.xinlan-workflow .downloadline span{font-size:11px;color:#aaa194}
.xinlan-workflow .savehtml{border:1px solid #b99a68;border-radius:6px;background:#e4bf85;color:#302619;font-weight:650;font-size:12px;padding:9px 15px;display:flex;align-items:center;gap:7px}
.xinlan-workflow .savehtml:hover{background:#f2d5a6}
.xinlan-workflow .header{padding:28px 30px 22px;background:radial-gradient(ellipse at 85% 0%,#8962302b,transparent 60%),#161713}
.xinlan-workflow .heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.xinlan-workflow h1{font-size:clamp(27px,3.6vw,40px);color:#e7c58e;letter-spacing:-.8px;font-weight:650}
.xinlan-workflow .project{font-size:12px;color:#c7ae87}
.xinlan-workflow .sub{font-size:12px;color:#ada494;line-height:1.8;margin-top:10px}
.xinlan-workflow .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:23px}
.xinlan-workflow .tab{height:47px;border:1px solid #5a4b37;border-radius:5px;background:#272720;color:#c0b6a5;display:flex;align-items:center;justify-content:center;gap:10px;position:relative;overflow:hidden;font-size:13px;font-weight:620}
.xinlan-workflow .tab b{font-size:10px;color:#a79171}
.xinlan-workflow .tab.active{background:#483922;border-color:#caa66d;color:#f4d7a6}
.xinlan-workflow .tab:after{content:"";position:absolute;bottom:0;left:0;height:3px;width:100%;background:#e8c78d;transform-origin:left;transform:scaleX(0)}
.xinlan-workflow .tab.active:after{animation:xl10progress 6s linear forwards}
.xinlan-workflow .stage{height:430px;margin:0 13px;position:relative;border:1px solid #4a4031;border-radius:8px 8px 0 0;overflow:hidden;background:radial-gradient(ellipse at 48% 38%,#79593221,transparent 72%),#1a1c17}
.xinlan-workflow .stage:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#dbbd8806 1px,transparent 1px),linear-gradient(90deg,#dbbd8806 1px,transparent 1px);background-size:33px 33px}
.xinlan-workflow .scene{position:absolute;inset:0;padding:28px 30px;opacity:0;visibility:hidden;pointer-events:none;display:flex;flex-direction:column;justify-content:center;gap:21px;transition:opacity .65s ease,visibility .65s}
.xinlan-workflow .scene.active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.xinlan-workflow .mini{display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:12px;color:#d2bd99}
.xinlan-workflow .mini small{color:#938b7e;font-size:10px}
.xinlan-workflow .calgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.xinlan-workflow .calendar{background:#f1ede4;color:#383831;border:1px solid #f9f2e4;border-radius:8px;overflow:hidden;box-shadow:0 10px 25px #0003}
.xinlan-workflow .caltop{padding:13px 4px;font-size:11px;color:#756e61;background:#f8f5ee;border-bottom:1px solid #dcd5c9;text-align:center}
.xinlan-workflow .caldate{padding:20px 2px 14px;text-align:center;font-size:clamp(30px,4.5vw,49px);font-weight:660;line-height:1}
.xinlan-workflow .caldate small{font-size:12px;font-weight:450;margin-left:3px}
.xinlan-workflow .calstatus{text-align:center;background:#e0ecdf;color:#456849;border-radius:4px;margin:0 9px 12px;padding:10px 2px;font-size:11px}
.xinlan-workflow .calendar.current{background:#3c3021;border:1px dashed #dfb77a;color:#f2d6a8}
.xinlan-workflow .calendar.current .caltop{background:#473823;color:#e0bd86;border-color:#6e583d}
.xinlan-workflow .calendar.current .calstatus{background:#5a432a;color:#f3d19d}
.xinlan-workflow .alert{padding:16px 17px;border-radius:6px;background:#423625;border:1px solid #a88a5d;display:flex;align-items:center;justify-content:space-between;gap:10px}
.xinlan-workflow .alert strong{font-size:14px;color:#f0d6a8;font-weight:600}
.xinlan-workflow .alert em{font-size:12px;color:#e6c48e;font-style:normal}
.xinlan-workflow .scene.active .c1{animation:xl10up .65s .2s both}
.xinlan-workflow .scene.active .c2{animation:xl10up .65s .9s both}
.xinlan-workflow .scene.active .c3{animation:xl10up .65s 1.6s both}
.xinlan-workflow .scene.active .c4{animation:xl10up .75s 2.45s both}
.xinlan-workflow .scene.active .alert{animation:xl10up .65s 3.65s both}
.xinlan-workflow .matchgrid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px}
.xinlan-workflow .requirements{background:#2b2d26;border:1px solid #61533e;border-radius:9px;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.xinlan-workflow .reqtitle{font-size:14px;color:#e9d2aa;font-weight:620;margin-bottom:5px}
.xinlan-workflow .req{background:#3a3d34;border-radius:6px;display:flex;align-items:center;gap:10px;padding:12px 10px;font-size:12px;color:#e8dcc8}
.xinlan-workflow .navydot{width:21px;height:21px;border-radius:50%;background:#365d7b;border:2px solid #a4bbc7;flex-shrink:0}
.xinlan-workflow .thickness{width:24px;flex-shrink:0;display:flex;flex-direction:column;gap:3px}
.xinlan-workflow .thickness i{width:23px;height:4px;background:#c5b69f;transform:skewX(-18deg)}
.xinlan-workflow .swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.xinlan-workflow .swatch{border:2px solid transparent;border-radius:7px;padding:9px;background:#f3efe7;color:#373a33;min-width:0;display:flex;flex-direction:column;gap:8px}
.xinlan-workflow .fabric{height:137px;position:relative;border-radius:4px;overflow:hidden;box-shadow:inset 0 0 22px #16211c44}
.xinlan-workflow .fabric:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 3px,#ffffff24 3px 4px),repeating-linear-gradient(0deg,transparent 0 4px,#ffffff1c 4px 5px)}
.xinlan-workflow .navy{background:linear-gradient(145deg,#8aa2b0,#3c607d 58%,#29445e)}
.xinlan-workflow .sand{background:linear-gradient(145deg,#ddc9ad,#aa9175 60%,#90765e)}
.xinlan-workflow .olive{background:linear-gradient(145deg,#aab78d,#758054 58%,#475d37)}
.xinlan-workflow .navy2{background:linear-gradient(140deg,#698398,#294b64 56%,#18384f)}
.xinlan-workflow .swatch strong{font-size:13px;font-weight:650}
.xinlan-workflow .swatch .props{font-size:11px;color:#6d7167}
.xinlan-workflow .swatch .verdict{font-size:11px;color:#837d73}
.xinlan-workflow .swatch.win .verdict{color:#3d6b4c;font-weight:650}
.xinlan-workflow .matchresult{padding:13px;border-radius:6px;background:#403626;border:1px solid #92764c;text-align:center;font-size:12px;color:#efd5a8}
.xinlan-workflow .scene.active .requirements{animation:xl10up .65s .2s both}
.xinlan-workflow .scene.active .swatch:nth-child(1){animation:xl10up .55s 1.0s both,xl10win .55s 3s both}
.xinlan-workflow .scene.active .swatch:nth-child(2){animation:xl10up .55s 1.35s both,xl10dim .6s 3.1s both}
.xinlan-workflow .scene.active .swatch:nth-child(3){animation:xl10up .55s 1.7s both,xl10dim .6s 3.1s both}
.xinlan-workflow .scene.active .matchresult{animation:xl10up .6s 4.05s both}
.xinlan-workflow .keep{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.xinlan-workflow .keep span{font-size:12px;color:#ddc399;border:1px solid #756146;background:#332f25;padding:8px 12px;border-radius:20px}
.xinlan-workflow .feedbackgrid{display:grid;grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);align-items:center;gap:16px}
.xinlan-workflow .fbproduct{display:flex;align-items:center;gap:12px;background:#f1ece3;border-radius:9px;padding:12px;color:#323832;min-width:0;min-height:190px}
.xinlan-workflow .fbproduct.next{background:#ebdfc8;border:2px solid #d6b27b}
.xinlan-workflow .fbproduct .fabric{width:90px;min-width:70px;height:150px;flex-shrink:0}
.xinlan-workflow .fbdetails{min-width:0;display:flex;flex-direction:column;gap:9px}
.xinlan-workflow .fbdetails small{font-size:11px;color:#81786b}
.xinlan-workflow .fbdetails strong{font-size:18px;white-space:nowrap}
.xinlan-workflow .fbdetails .spec{font-size:11px;color:#697068}
.xinlan-workflow .fbdetails .price{font-size:12px;font-weight:650;color:#9a6846}
.xinlan-workflow .next .price{color:#4c7855}
.xinlan-workflow .fbmiddle{display:flex;align-items:center;flex-direction:column;gap:15px}
.xinlan-workflow .pricefeedback{background:#583c2c;border:1px solid #bb926b;border-radius:7px;padding:13px 8px;width:100%;text-align:center;font-size:12px;line-height:1.8;color:#f6ddbb}
.xinlan-workflow .direction{position:relative;width:80%;height:2px;background:#ddb77d}
.xinlan-workflow .direction:after{content:"";position:absolute;right:-2px;top:-5px;width:10px;height:10px;border-top:2px solid #ddb77d;border-right:2px solid #ddb77d;transform:rotate(45deg)}
.xinlan-workflow .feedbackresult{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.xinlan-workflow .feedbackresult span{font-size:11px;color:#e5cc9c;background:#3f3628;border:1px solid #7a6446;border-radius:4px;padding:9px 12px}
.xinlan-workflow .scene.active .keep{animation:xl10up .5s .12s both}
.xinlan-workflow .scene.active .fbproduct.old{animation:xl10up .6s .55s both,xl10dimsoft .6s 3.1s both}
.xinlan-workflow .scene.active .pricefeedback{animation:xl10up .6s 1.55s both}
.xinlan-workflow .scene.active .direction{animation:xl10grow .7s 2.55s both}
.xinlan-workflow .scene.active .fbproduct.next{animation:xl10up .85s 3.2s both}
.xinlan-workflow .scene.active .feedbackresult{animation:xl10up .6s 4.3s both}
.xinlan-workflow .result{margin:0 13px 12px;padding:14px 18px;background:#25271f;border:1px solid #4a4031;border-top:0;border-radius:0 0 8px 8px;display:flex;align-items:center;gap:10px;font-size:12px;color:#efd3a0}
.xinlan-workflow .resultdot{width:8px;height:8px;flex-shrink:0;background:#e2bd81;border-radius:50%;box-shadow:0 0 10px #e2bd8177}
.xinlan-workflow .footer{padding:15px 18px;border-top:1px solid #423a2d;display:flex;flex-direction:column;gap:9px}
.xinlan-workflow .value{font-size:11px;color:#dfbe88}
.xinlan-workflow .privacy{font-size:10px;color:#a49b8c;line-height:1.75}
@keyframes xl10progress{to{transform:scaleX(1)}}
@keyframes xl10up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes xl10win{to{border-color:#d6ae72;box-shadow:0 0 0 3px #d6ae7230;transform:translateY(-4px)}}
@keyframes xl10dim{to{opacity:.42}}
@keyframes xl10dimsoft{to{opacity:.55}}
@keyframes xl10grow{from{opacity:0;transform:scaleX(0);transform-origin:left}to{opacity:1;transform:scaleX(1);transform-origin:left}}
@media(max-width:750px){.xinlan-workflow .stage{height:455px}.xinlan-workflow .scene{padding:20px 16px}.xinlan-workflow .matchgrid{grid-template-columns:150px minmax(0,1fr);gap:9px}.xinlan-workflow .requirements{padding:10px}.xinlan-workflow .swatches{gap:5px}.xinlan-workflow .fabric{height:110px}.xinlan-workflow .feedbackgrid{grid-template-columns:minmax(0,1fr) 105px minmax(0,1fr);gap:8px}.xinlan-workflow .fbproduct{flex-direction:column;gap:8px}.xinlan-workflow .fbproduct .fabric{height:93px;width:100%}.xinlan-workflow .fbdetails{text-align:center;align-items:center}}
@media(max-width:540px){.xinlan-workflow .header{padding:22px 15px 18px}.xinlan-workflow .tabs{gap:6px;margin-top:17px}.xinlan-workflow .tab{font-size:12px;gap:5px;height:44px}.xinlan-workflow .downloadline{padding:10px 12px}.xinlan-workflow .downloadline span{font-size:10px}.xinlan-workflow .savehtml{font-size:11px;padding:9px}.xinlan-workflow .stage{margin:0 8px;height:435px}.xinlan-workflow .scene{padding:17px 10px}.xinlan-workflow .calgrid{gap:5px}.xinlan-workflow .caltop{font-size:9px;padding:9px 1px}.xinlan-workflow .caldate{font-size:27px;padding:16px 1px}.xinlan-workflow .calstatus{font-size:9px;margin:0 3px 8px;padding:8px 1px}.xinlan-workflow .alert{flex-wrap:wrap;padding:11px 9px}.xinlan-workflow .alert strong{font-size:12px}.xinlan-workflow .alert em{font-size:10px}.xinlan-workflow .matchgrid{grid-template-columns:1fr}.xinlan-workflow .requirements{display:grid;grid-template-columns:1fr 1fr;gap:7px}.xinlan-workflow .reqtitle{grid-column:1/-1;margin:0;font-size:11px}.xinlan-workflow .req{font-size:10px;padding:8px 6px}.xinlan-workflow .fabric{height:86px}.xinlan-workflow .swatch{padding:5px;gap:5px}.xinlan-workflow .swatch strong{font-size:11px}.xinlan-workflow .swatch .props,.xinlan-workflow .swatch .verdict{font-size:9px}.xinlan-workflow .feedbackgrid{grid-template-columns:minmax(0,1fr) 77px minmax(0,1fr);gap:5px}.xinlan-workflow .fbproduct{padding:7px}.xinlan-workflow .fbproduct .fabric{height:88px}.xinlan-workflow .fbdetails strong{font-size:14px}.xinlan-workflow .fbdetails .spec,.xinlan-workflow .fbdetails .price{font-size:10px}.xinlan-workflow .pricefeedback{font-size:10px;padding:9px 4px}.xinlan-workflow .feedbackresult span{font-size:10px;padding:6px 8px}.xinlan-workflow .keep span{font-size:10px;padding:6px 8px}.xinlan-workflow .result{margin:0 8px 8px;padding:12px}.xinlan-workflow .footer{padding:13px}}
@media(prefers-reduced-motion:reduce){.xinlan-workflow *,.xinlan-workflow *:before,.xinlan-workflow *:after{animation:none!important;transition:none!important}.xinlan-workflow .tab.active:after{transform:scaleX(1)}.xinlan-workflow .scene:not(.active){visibility:hidden;opacity:0}}

/* Keep the existing page title scale, and give the three scenes one stable stage. */
.detail-websites .xinlan-workflow {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.xinlan-workflow .tabs { padding: 20px 13px 14px; margin: 0; }
.xinlan-workflow .tab.active::after { animation-play-state: running; }
.xinlan-workflow.is-paused .tab.active::after,
.xinlan-workflow.is-paused .scene.active *,
.xinlan-workflow.is-paused .scene.active *::before,
.xinlan-workflow.is-paused .scene.active *::after { animation-play-state: paused !important; }
.xinlan-workflow .fabric.navy2::after { background: repeating-linear-gradient(135deg, #d9e4ec36 0 2px, transparent 2px 7px), repeating-linear-gradient(45deg, #0d2d4544 0 1px, transparent 1px 8px); }
.xinlan-workflow .fabric.sand::after { background: repeating-linear-gradient(0deg, #f9f0df39 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, #6c564536 0 1px, transparent 1px 4px); }
.xinlan-workflow .fabric.olive::after { background: repeating-linear-gradient(115deg, #d9e4bd2e 0 2px, transparent 2px 7px), repeating-linear-gradient(25deg, #27382038 0 1px, transparent 1px 6px); }
@media (max-width: 700px) {
  .detail-websites .ai-xinlan-section { padding-right: 5vw; padding-left: 5vw; }
  .detail-websites .ai-xinlan-title-row > span { margin-left: 0; }
}

/* Keep the value section in place while the workflow covers it on scroll. */
.detail-websites .ai-xinlan-layer-stack { position: relative; isolation: isolate; }
.detail-websites .ai-xinlan-layer-stack > .ai-websites-value {
  position: sticky;
  top: var(--nav-height, 62px);
  z-index: 1;
}
.detail-websites .ai-xinlan-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  max-width: none;
  scroll-margin-top: var(--nav-height, 62px);
  min-height: calc(100svh - var(--nav-height, 62px));
  min-height: calc(100dvh - var(--nav-height, 62px));
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(216,186,134,.32);
  box-shadow: 0 -14px 30px rgba(0,0,0,.22);
}
.detail-websites .ai-xinlan-section > .ai-websites-inner {
  width: min(100%, 1500px);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.detail-websites #ai-websites { scroll-margin-top: var(--nav-height, 62px); }
.detail-websites .ai-xinlan-back {
  position: absolute;
  top: -27px;
  left: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  color: var(--gold-light, #e0c08a);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease;
}
.detail-websites .ai-xinlan-back span { display: inline-block; transition: transform .2s ease; }
.detail-websites .ai-xinlan-back:hover,
.detail-websites .ai-xinlan-back:focus-visible { color: #f3d9a8; }
.detail-websites .ai-xinlan-back:hover span,
.detail-websites .ai-xinlan-back:focus-visible span { transform: translateX(-4px); }
.detail-websites .ai-xinlan-back:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* Match the established numbered heading and warm-black page palette. */
.detail-websites .ai-xinlan-title-row { align-items: baseline; gap: 12px 24px; }
.detail-websites .ai-xinlan-title-row h2 { display: inline-flex; align-items: baseline; gap: clamp(10px, 1.2vw, 18px); white-space: nowrap; }
.detail-websites .ai-xinlan-title-row .ai-xinlan-number {
  flex: none;
  color: #b99b70;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.2;
}
.detail-websites .ai-xinlan-title-row .ai-xinlan-project-name {
  color: var(--text, #f6f1e8);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  margin-left: auto;
  text-align: right;
}
.detail-websites .ai-xinlan-section { background: #080808; }
.xinlan-workflow {
  --gold: var(--gold-light, #e0c08a);
  --light: var(--text, #f6f1e8);
  --edge: #65543d;
  background: #0f0d0b;
  color: var(--text, #f6f1e8);
  border-color: #4b4033;
}
.xinlan-workflow .tabs { gap: 10px; }
.xinlan-workflow .tab {
  height: 52px;
  border-color: #3d352b;
  background: #1c1916;
  color: #bbb1a3;
  font-size: 16px;
  font-weight: 600;
}
.xinlan-workflow .tab b { color: #ae9878; font-size: 14px; }
.xinlan-workflow .tab.active { background: #2b241b; border-color: #a98a5d; color: var(--gold-light, #e0c08a); }
.xinlan-workflow .tab.active b { color: var(--gold-light, #e0c08a); }
.xinlan-workflow .tab::after { height: 2px; background: var(--gold-light, #e0c08a); }
.xinlan-workflow .stage {
  height: 470px;
  background: radial-gradient(ellipse at 46% 38%, #76532c20, transparent 74%), #16130f;
  border-color: #4b4033;
}
.xinlan-workflow .stage::before { opacity: .5; }
.xinlan-workflow .scene { gap: 24px; }
.xinlan-workflow .scene { transition: opacity .65s ease; }
.xinlan-workflow .scene { gap: 27px; }
.xinlan-workflow .mini { font-size: 16px; color: #d9c6a7; font-weight: 600; }
.xinlan-workflow .caltop { font-size: 14px; }
.xinlan-workflow .caldate small { font-size: 14px; }
.xinlan-workflow .calstatus { background: #e8dfd0; color: #5b4831; font-size: 15px; font-weight: 600; }
.xinlan-workflow .alert strong { font-size: 17px; color: var(--text, #f6f1e8); }
.xinlan-workflow .alert em { font-size: 15px; }
.xinlan-workflow .requirements { background: #28221c; border-color: #66533a; }
.xinlan-workflow .reqtitle { font-size: 17px; }
.xinlan-workflow .req { background: #382e24; color: var(--text, #f6f1e8); font-size: 15px; }
.xinlan-workflow .swatch { background: #eee7db; color: #302a22; }
.xinlan-workflow .swatch strong { font-size: 19px; }
.xinlan-workflow .swatch .props { font-size: 14px; color: #62584b; }
.xinlan-workflow .swatch .verdict { font-size: 14px; color: #776958; }
.xinlan-workflow .swatch.win .verdict { color: #856237; }
.xinlan-workflow .matchresult { font-size: 16px; }
.xinlan-workflow .matchresult { font-size: 17px; font-weight: 600; }
.xinlan-workflow .keep span { font-size: 14px; background: #30271e; }
.xinlan-workflow .fbproduct { background: #eee7db; color: #302a22; }
.xinlan-workflow .feedbackgrid { grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); }
.xinlan-workflow .fbproduct.next { background: #e9dcc7; }
.xinlan-workflow .fbdetails small { font-size: 13px; }
.xinlan-workflow .fbdetails strong { font-size: 20px; }
.xinlan-workflow .fbdetails .spec { font-size: 14px; color: #62584b; }
.xinlan-workflow .fbdetails .price { font-size: 15px; }
.xinlan-workflow .next .price { color: #876236; }
.xinlan-workflow .pricefeedback { font-size: 15px; }
.xinlan-workflow .feedbackresult span { font-size: 14px; }
.xinlan-workflow .feedbackresult span { font-size: 15px; font-weight: 600; }
.xinlan-workflow .result { background: #211b16; border-color: #4b4033; color: #e5d2b1; font-size: 15px; }

@media (max-width: 750px) {
  .xinlan-workflow .stage { height: 490px; }
  .xinlan-workflow .scene { gap: 17px; }
  .xinlan-workflow .tab { font-size: 14px; }
  .xinlan-workflow .tab b { font-size: 12px; }
  .xinlan-workflow .feedbackgrid { grid-template-columns: minmax(0, 1fr) 125px minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .detail-websites .ai-xinlan-title-row h2 { white-space: normal; }
  .detail-websites .ai-xinlan-title-row .ai-xinlan-project-name { font-size: 15px; }
  .xinlan-workflow .tabs { padding: 13px 8px 10px; gap: 5px; }
  .xinlan-workflow .tab { height: 48px; font-size: 13px; gap: 4px; }
  .xinlan-workflow .tab b { font-size: 11px; }
  .xinlan-workflow .stage { height: 515px; }
  .xinlan-workflow .scene { gap: 14px; }
  .xinlan-workflow .mini { font-size: 13px; }
  .xinlan-workflow .caltop { font-size: 11px; }
  .xinlan-workflow .calstatus { font-size: 11px; }
  .xinlan-workflow .alert strong { font-size: 13px; }
  .xinlan-workflow .alert em { font-size: 12px; }
  .xinlan-workflow .reqtitle { font-size: 13px; }
  .xinlan-workflow .req { font-size: 12px; }
  .xinlan-workflow .swatch strong { font-size: 14px; }
  .xinlan-workflow .swatch .props,
  .xinlan-workflow .swatch .verdict { font-size: 11px; }
  .xinlan-workflow .matchresult { font-size: 13px; }
  .xinlan-workflow .keep span { font-size: 11px; }
  .xinlan-workflow .fbdetails small { font-size: 11px; }
  .xinlan-workflow .feedbackgrid { grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr); }
  .xinlan-workflow .fbdetails strong { font-size: 16px; }
  .xinlan-workflow .fbdetails .spec,
  .xinlan-workflow .fbdetails .price { font-size: 11px; }
  .xinlan-workflow .pricefeedback { font-size: 12px; }
  .xinlan-workflow .feedbackresult span { font-size: 11px; }
  .xinlan-workflow .result { font-size: 13px; }
}

/* Compact the shared stage without changing scene typography or timing. */
.detail-websites .ai-xinlan-section { padding-top: clamp(28px, 2.65vw, 40px); padding-bottom: clamp(42px, 4.5vw, 66px); }
.detail-websites .ai-xinlan-title-row { margin-bottom: clamp(12px, 1.1vw, 16px); }
.xinlan-workflow .tabs { padding-top: 12px; padding-bottom: 9px; }
.xinlan-workflow .stage { height: auto; min-height: 414px; flex: 1; }
.xinlan-workflow .scene { padding-top: 19px; padding-bottom: 19px; gap: 18px; }
@media (max-width: 750px) {
  .xinlan-workflow .stage { min-height: 440px; }
  .xinlan-workflow .scene { gap: 14px; }
}
@media (max-width: 540px) {
  .detail-websites .ai-xinlan-section { padding-top: 70px; padding-bottom: 42px; }
  .xinlan-workflow .tabs { padding-top: 11px; padding-bottom: 8px; }
  .xinlan-workflow .stage { min-height: 455px; }
  .xinlan-workflow .scene { padding-top: 12px; padding-bottom: 12px; gap: 11px; }
}

/* Keep the project index on the introduction line on wide screens. */
.detail-websites .ai-websites-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 20px;
}
.detail-websites .ai-websites-intro-row .ai-websites-intro {
  flex: 0 1 auto;
  margin: 0;
  text-align: right;
}
.detail-websites .ai-project-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px clamp(20px, 2.4vw, 36px);
  flex: 0 0 auto;
  margin: 0;
  font-size: 16px;
}
.detail-websites .ai-project-index a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 0 0 8px;
  color: var(--text, #f6f1e8);
  font-size: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.detail-websites .ai-project-index a span { color: var(--gold-light, #e0c08a); font-size: inherit; }
.detail-websites .ai-project-index a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(224, 192, 138, .65);
  transition: background .2s ease, transform .2s ease;
  transform-origin: left;
}
.detail-websites .ai-project-index a:hover::after,
.detail-websites .ai-project-index a:focus-visible::after {
  background: var(--gold-light, #e0c08a);
  transform: scaleY(2);
}

/* The question spans the whole stage; the animation fills and centres in the remaining space. */
.xinlan-workflow .scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2vh, 24px);
  align-items: stretch;
  justify-content: stretch;
}
.xinlan-workflow .scene-question {
  width: 100%;
  justify-self: center;
  margin-top: 27px;
  color: var(--text, #f6f1e8);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(25px, 1.85vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.xinlan-workflow .scene-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  gap: 18px;
  width: 100%;
  min-width: 0;
  min-height: 0;
}
.xinlan-workflow .scene-body > * { width: 100%; }
@media (min-width: 751px) {
  .xinlan-workflow .matchgrid {
    grid-template-columns: minmax(0, 18%) minmax(0, 1fr);
    gap: 16px;
  }
}
/* Procurement completes its sequence in about two seconds; the six-second carousel is unchanged. */
.xinlan-workflow .scene[data-xinlan-scene="0"].active .c1 { animation: xl10up .42s 0s both; }
.xinlan-workflow .scene[data-xinlan-scene="0"].active .c2 { animation: xl10up .42s .3s both; }
.xinlan-workflow .scene[data-xinlan-scene="0"].active .c3 { animation: xl10up .42s .6s both; }
.xinlan-workflow .scene[data-xinlan-scene="0"].active .c4 { animation: xl10up .48s .9s both; }
.xinlan-workflow .scene[data-xinlan-scene="0"].active .alert { animation: xl10up .42s 1.5s both; }

@media (max-width: 750px) {
  .xinlan-workflow .scene-question { font-size: clamp(18px, 3.5vw, 24px); }
  .xinlan-workflow .scene-body { gap: 12px; }
}
@media (max-width: 540px) {
  .detail-websites .ai-websites-intro-row { align-items: flex-start; gap: 10px; }
  .detail-websites .ai-websites-intro-row .ai-websites-intro { flex-basis: 100%; text-align: left; }
  .detail-websites .ai-project-index { justify-content: flex-start; gap: 8px 20px; margin-left: 0; font-size: 14px; }
  .xinlan-workflow .scene { gap: 8px; }
  .xinlan-workflow .scene-question { margin-top: 14px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-websites .ai-project-index a::after { transition: none; }
  .detail-websites .ai-xinlan-back,
  .detail-websites .ai-xinlan-back span { transition: none; }
}
