﻿body.taiyi-site:has(.factory-tour){overflow-x:clip;overflow-y:visible}
body:has(.factory-tour) .body{overflow:visible}
.factory-tour{background:#080e19;color:#e3ebf7;--mint:#94f3db}
.tour-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(22px,4vw,74px);max-width:1660px;padding:0 4vw;margin:auto}
.tour-visual{position:sticky;top:74px;height:calc(100svh - 74px);align-self:start;display:grid;align-items:center}
.tour-frame{position:relative;min-width:0;border:1px solid #485269;border-radius:3px;overflow:hidden;background:radial-gradient(ellipse at 48% 55%,#283657 0,transparent 67%),repeating-linear-gradient(0deg,transparent 0 31px,#7cacc510 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#7cacc510 31px 32px),#111927}
.tour-meta,.tour-legend{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;color:#c0cedc;font:600 .74rem/1.4 monospace;letter-spacing:.08em}
.tour-window{position:relative;overflow:hidden;aspect-ratio:1.65}.tour-window figure{margin:0;width:100%;height:100%}.tour-window svg{width:100%;height:100%;display:block}.tour-window figcaption{display:none}
.tour-legend{justify-content:flex-start;flex-wrap:wrap}.tour-legend span:before{content:"";display:inline-block;width:22px;margin-right:7px;vertical-align:middle;border-top:2px solid #87ebf6}.tour-legend span+span:before{border-top:2px dashed #ffba77}
.tour-meter{height:2px;background:#38465a}.tour-meter i{display:block;width:100%;height:100%;background:var(--mint);transform:scaleX(var(--progress,0));transform-origin:left}
.tour-intro,.tour-chapter{min-height:84svh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:40px 0;scroll-margin-top:76px}
.tour-script h1,.tour-script h2{font-weight:800;line-height:1.12;letter-spacing:-.06em;color:#f1f5fa;margin:20px 0}.tour-script h1{font-size:clamp(42px,5.4vw,88px)}.tour-script h2{font-size:clamp(32px,3.2vw,56px)}.tour-script h1 em{color:var(--mint);font-style:normal}
.tour-script p,.tour-script dd{color:#c2cfde;line-height:1.85}.tour-script p{font-size:1.12rem}.tour-intro a{color:var(--mint);text-underline-offset:5px}
.tour-chapter dl{border-top:1px solid #435064;padding-top:18px;display:grid;grid-template-columns:max-content 1fr;gap:8px 14px}.tour-chapter dt{color:#9fbdcc}.tour-chapter dd{margin:0}
@media(min-width:761px) and (prefers-reduced-motion:no-preference){.tour-chapter:last-child{min-height:100svh}}
@media(max-width:760px){.tour-layout{display:block;padding:0 5%}.tour-visual{top:56px;height:auto;z-index:2;background:#080e19;padding:5px 0}.tour-window{height:clamp(135px,26svh,235px);aspect-ratio:auto}.tour-meta,.tour-legend{padding:5px 10px;font-size:.64rem}.tour-chapter,.tour-intro{min-height:64svh;scroll-margin-top:calc(28svh + 110px);padding:32px 0}.tour-script h1{font-size:clamp(38px,10vw,63px)}}
@media(max-height:500px){.tour-visual{position:relative;top:auto;height:auto}.tour-layout{display:block}.tour-window{max-height:270px}}
.tour-static .tour-visual{position:relative;height:auto;top:auto;padding-top:16px}.tour-static.tour-layout{display:block;max-width:1000px}.tour-static .tour-intro,.tour-static .tour-chapter{min-height:0;padding:32px 0}.tour-static .tour-window{max-height:370px}.tour-static .tour-meter{display:none}
.tour-camera{position:absolute;inset:0;width:100%;height:100%;visibility:hidden}.has-camera .tour-camera{visibility:visible}.has-camera figure{visibility:hidden}.tour-motion:not([hidden]){display:block;margin:0 14px 10px;background:#142938;color:#b1f6e6;border:1px solid #5b877f;padding:5px 12px}
.rag-service{scroll-margin-top:85px}.rag-intro{max-width:53rem}.rag-service p{color:#c1cede;line-height:1.85}.rag-spread{display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(22px,5vw,80px);align-items:start;margin:28px 0}
.rag-pipeline{margin:0;padding-left:1.65rem}.rag-pipeline li{padding:0 0 12px 8px}.rag-pipeline li::marker{color:#9debd5;font:700 1rem monospace}.rag-pipeline strong{color:#edf4f3;font-size:1.15rem}
.rag-example{padding:clamp(18px,3vw,36px);border:1px solid #567b76;background:linear-gradient(145deg,#173334,#172338);border-radius:8px}.rag-example small,.rag-example summary,.tour-chapter>a{color:#a7edda}.rag-example h3{margin:16px 0;color:#f0f4e9;line-height:1.45;font-size:clamp(21px,2.1vw,30px)}.rag-example details{border-top:1px solid #49615d;padding-top:12px}.rag-example summary{cursor:pointer}.rag-example blockquote{margin:14px 0 6px;border-left:2px solid #94d8bf;padding:0 12px;color:#f1f3ea}.rag-example cite{font-size:.85rem;color:#c4d3c7}
@media(max-width:760px){.rag-spread{grid-template-columns:1fr}.rag-service{scroll-margin-top:76px}}
