.tour-trigger{border:0;background:transparent;padding:0;font-family:inherit;cursor:pointer}
.tour-modal{width:min(1080px,calc(100vw - 48px));max-width:none;max-height:min(850px,calc(100vh - 48px));padding:0;border:0;border-radius:18px;background:#fff;color:#1d1d1f;box-shadow:0 30px 100px #0003;overflow:auto}
.tour-modal::backdrop{background:#111820a6;backdrop-filter:blur(8px)}
.tour-shell{min-height:620px}
.tour-header{height:64px;padding:0 30px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #e9e9ec}
.tour-brand{font-size:14px}
.tour-brand .brand-mark{transform:scale(.82);transform-origin:left center}
.tour-header-center{display:flex;align-items:center;gap:16px;color:#86868b;font-size:9px;letter-spacing:.7px}
.tour-header-center b{color:#1d1d1f;font-size:11px;letter-spacing:0}
.tour-close{justify-self:end;width:34px;height:34px;border:0;border-radius:50%;background:#f1f1f3;color:#333;font-size:23px;line-height:1;cursor:pointer}
.tour-close:hover{background:#e5e5e8}
.tour-progress{height:2px;background:#ededf0}
.tour-progress span{display:block;width:33.333%;height:100%;background:#0071e3;transition:width .45s ease}
.tour-body{padding:38px 48px 28px}
.tour-story{min-height:126px;max-width:760px;margin:0 auto 22px;text-align:center}
.tour-story .eyebrow{font-size:10px;margin:0 0 10px;color:#0071e3}
.tour-story h2{font:700 clamp(30px,3.5vw,42px)/1.08 var(--display);letter-spacing:-2px;margin:0}
.tour-story>p:last-child{font-size:15px;line-height:1.5;color:#6e6e73;margin:11px auto 0;max-width:650px}
.tour-canvas{height:395px;position:relative;background:#f5f5f7;border-radius:14px;overflow:hidden}
.tour-scene{position:absolute;inset:0;display:grid;place-items:center;padding:25px}
.tour-scene[hidden]{display:none}
.tour-scene.is-current{animation:scene-in .35s ease both}
@keyframes scene-in{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.source-window{position:absolute;width:43%;max-width:400px;background:#fff;border:1px solid #e2e2e5;border-radius:10px;box-shadow:0 16px 35px #0000000c;padding:13px 15px}
.source-erp{left:12%;top:36px;animation:source-float 4s ease-in-out infinite}
.source-sheet{right:12%;bottom:40px;animation:source-float 4s 1s ease-in-out infinite}
@keyframes source-float{50%{transform:translateY(-5px)}}
.source-title{display:flex;align-items:center;gap:8px;font-size:10px}
.source-icon{width:23px;height:23px;border-radius:6px;background:#edf3fc;color:#3574b8;display:grid;place-items:center;font-size:14px}
.sheet-icon{background:#e7f3eb;color:#26804b}
.source-dots{margin-left:auto;color:#a1a1a6;letter-spacing:2px;font-size:10px}
.source-table{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:0;margin-top:12px;border-top:1px solid #eeeef0;font-size:8px;color:#6e6e73}
.source-table>*{padding:7px 5px;border-bottom:1px solid #f0f0f2}
.source-table>span{color:#92929a}
.source-window>small{display:block;text-align:right;color:#9a9aa1;font-size:8px;margin-top:8px}
.sheet-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:13px;border-top:1px solid #e5e5e7;border-left:1px solid #e5e5e7}
.sheet-grid i{height:16px;border-right:1px solid #e5e5e7;border-bottom:1px solid #e5e5e7;background:#fff}
.sheet-grid i:nth-child(4n+1){background:#eaf3ed}
.sheet-lines{display:grid;grid-template-columns:1fr auto;gap:7px 15px;font-size:8px;margin-top:9px;color:#85858d}
.sheet-lines b{color:#36363a;font-weight:500}
.scene-caption{position:absolute;bottom:15px;left:0;right:0;text-align:center;color:#6e6e73;font-size:10px}
.caption-dot{display:inline-block;width:6px;height:6px;background:#0071e3;border-radius:50%;margin-right:6px}
.connection-sources{position:absolute;left:8%;right:8%;top:36px;display:flex;justify-content:center;gap:22px;z-index:1}
.connection-sources span{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e5e5e7;border-radius:7px;padding:10px 13px;font-size:10px;box-shadow:0 5px 15px #00000008}
.connection-sources i{font-style:normal;color:#0071e3;font-size:14px}
.connection-lines{position:absolute;top:77px;left:21%;right:21%;height:94px;display:flex;justify-content:space-around}
.connection-lines i{width:1px;height:100%;background:#c8d8eb;position:relative}
.connection-lines i::after{content:"";position:absolute;left:-3px;top:-4px;width:7px;height:7px;background:#0071e3;border-radius:50%;animation:data-flow 1.6s ease-in infinite}
.connection-lines i:nth-child(2)::after{animation-delay:.45s}.connection-lines i:nth-child(3)::after{animation-delay:.9s}
@keyframes data-flow{0%{transform:translateY(0);opacity:0}15%{opacity:1}85%{opacity:1}100%{transform:translateY(88px);opacity:0}}
.connection-hub{position:absolute;top:168px;left:50%;transform:translateX(-50%);min-width:250px;padding:14px 19px;background:#fff;border:1px solid #dce5f0;border-radius:11px;box-shadow:0 12px 30px #0000000b;display:grid;grid-template-columns:32px 1fr;align-items:center;column-gap:10px}
.hub-mark{grid-row:span 2;width:32px;height:32px;border-radius:9px;background:#e5efff;color:#0071e3;display:grid;place-items:center;font-size:15px;font-weight:700}
.hub-mark span{font-size:7px;margin-left:-2px}
.connection-hub>b{font-size:11px}.connection-hub>small{font-size:9px;color:#86868b;margin-top:3px}
.connection-result{position:absolute;bottom:46px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e9e9ec;border-radius:8px;padding:10px 13px;box-shadow:0 8px 20px #0000000a}
.result-check{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e8f1fc;color:#0071e3;font-size:11px}
.connection-result b,.connection-result small{display:block}.connection-result b{font-size:10px}.connection-result small{font-size:9px;color:#86868b;margin-top:3px}
.tour-chat-window{width:min(460px,88%);padding:16px 18px;background:#fff;border:1px solid #e3e3e6;border-radius:12px;box-shadow:0 15px 40px #0000000c}
.tour-chat-top{display:flex;align-items:center;gap:9px;padding-bottom:11px;border-bottom:1px solid #efeff1}
.tour-chat-top>b,.tour-chat-top>span:nth-child(2)>b,.tour-chat-top>span:nth-child(2)>small{display:block}
.tour-chat-top>span:nth-child(2)>b{font-size:10px}.tour-chat-top>span:nth-child(2)>small{font-size:8px;color:#86868b;margin-top:3px}
.tour-chat-top .source-dots{margin-left:auto}
.tour-chat-date{text-align:center;font-size:8px;color:#a1a1a6;letter-spacing:.6px;margin:13px 0}
.tour-chat-question{width:max-content;max-width:91%;margin-left:auto;padding:10px 12px;background:#e5efff;border-radius:10px;font-size:10px;opacity:0;transform:translateY(5px)}
.tour-chat-typing{display:flex;gap:4px;width:39px;margin:8px 0 0 auto;padding:9px 10px;background:#f5f5f7;border-radius:10px;opacity:0}
.tour-chat-typing i{width:4px;height:4px;background:#8e9aab;border-radius:50%;animation:dot-bounce .7s infinite alternate}
.tour-chat-typing i:nth-child(2){animation-delay:.15s}.tour-chat-typing i:nth-child(3){animation-delay:.3s}
.tour-chat-answer{margin-top:9px;padding:12px 13px 9px;border:1px solid #e8e8eb;border-radius:9px;opacity:0;transform:translateY(5px)}
.chat-answer-heading{display:flex;align-items:center;gap:6px;font-size:9px}.chat-answer-heading>span{color:#0071e3;font-size:13px}.chat-answer-heading small{margin-left:auto;color:#86868b;font-size:8px}
.tour-chat-answer>p{font-size:9px;color:#6e6e73;margin:10px 0}
.tour-chat-stat{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f0f2;padding-top:9px}
.tour-chat-stat small,.tour-chat-stat b{display:block}.tour-chat-stat small{font-size:7px;letter-spacing:.5px;color:#86868b;margin-bottom:3px}.tour-chat-stat b{font-size:11px}
.tour-chat-stat strong{font-size:8px;color:#1769aa;background:#edf4ff;border-radius:4px;padding:5px 7px}
.tour-chat-bars{height:38px;display:flex;align-items:flex-end;gap:5px;border-bottom:1px solid #eeeef0;margin-top:6px}
.tour-chat-bars i{flex:1;height:var(--bar,60%);background:linear-gradient(#78a9e6,#c7dcf7);border-radius:2px 2px 0 0}
.tour-chat-bars i:nth-child(1){--bar:38%}.tour-chat-bars i:nth-child(2){--bar:52%}.tour-chat-bars i:nth-child(3){--bar:45%}.tour-chat-bars i:nth-child(4){--bar:72%}.tour-chat-bars i:nth-child(5){--bar:61%}.tour-chat-bars i:nth-child(6){--bar:84%}.tour-chat-bars i:nth-child(7){--bar:69%}.tour-chat-bars i:nth-child(8){--bar:100%}
.action-review{display:grid;grid-template-columns:1fr;gap:5px;margin:8px 0}
.action-review>span{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 8px;background:#f5f5f7;border-radius:5px;font-size:8px;color:#6e6e73}
.action-review b{font-size:9px;color:#1d1d1f}
.action-confirmation{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;padding:8px 10px;border-radius:6px;background:#0071e3;color:#fff;font-size:9px;font-weight:600}
.action-confirmation>span{width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#ffffff30;font-size:8px}
.tour-action-review{grid-template-columns:1fr 1fr}
.tour-action-review>span:last-child{grid-column:1/-1}
.tour-scene.is-current .tour-chat-question{animation:chat-question .4s .4s ease forwards}
.tour-scene.is-current .tour-chat-typing{animation:chat-typing .9s 1.3s ease forwards}
.tour-scene.is-current .tour-chat-answer{animation:chat-answer .4s 2s ease forwards}
.tour-footer{display:flex;align-items:center;justify-content:space-between;padding-top:20px}
.tour-step-dots{display:flex;gap:8px}
.tour-step-dots button{width:8px;height:8px;padding:0;border:0;border-radius:8px;background:#c5c5ca;cursor:pointer;transition:width .2s,background .2s}
.tour-step-dots button[aria-current="step"]{width:25px;background:#0071e3}
.tour-controls{display:flex;align-items:center;gap:10px}
.tour-controls button{height:36px;border:1px solid #e0e0e4;border-radius:22px;padding:0 15px;background:#fff;color:#1d1d1f;font:500 11px var(--font);cursor:pointer}
.tour-controls button:hover{background:#f5f5f7}
.tour-controls .tour-play{width:36px;padding:0;border-radius:50%;font-size:12px}
.tour-controls .tour-next{border-color:#0071e3;background:#0071e3;color:#fff}
.tour-controls .tour-next:hover{background:#0077ed}
.tour-disclaimer{font-size:9px;color:#86868b;line-height:1.5;margin:17px 0 0;text-align:center}
@media(max-width:700px){.tour-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:14px}.tour-shell{min-height:0}.tour-header{height:54px;padding:0 15px}.tour-brand{font-size:12px;gap:6px}.tour-brand .brand-mark{width:20px}.tour-header-center{gap:8px;font-size:8px}.tour-header-center b{font-size:10px}.tour-close{width:30px;height:30px}.tour-body{padding:25px 15px 19px}.tour-story{min-height:0;margin-bottom:18px}.tour-story .eyebrow{font-size:9px}.tour-story h2{font-size:29px;letter-spacing:-1.4px}.tour-story>p:last-child{font-size:13px;margin-top:8px}.tour-canvas{height:420px;border-radius:11px}.tour-scene{padding:13px}.source-window{width:68%;padding:11px}.source-erp{left:6%;top:24px}.source-sheet{right:6%;bottom:39px}.source-table{font-size:7px}.connection-sources{left:4%;right:4%;top:27px;gap:7px}.connection-sources span{gap:5px;padding:9px 7px;font-size:8px}.connection-lines{top:65px;left:18%;right:18%;height:91px}.connection-hub{top:155px;min-width:220px;padding:12px 14px}.connection-result{bottom:42px;padding:9px;gap:7px}.connection-result b{font-size:9px}.connection-result small{font-size:8px}.scene-caption{bottom:11px;font-size:8px}.tour-chat-window{width:100%;padding:12px}.tour-footer{padding-top:15px}.tour-controls{gap:7px}.tour-controls button{height:34px;padding:0 11px;font-size:10px}.tour-controls .tour-play{width:34px;padding:0}.tour-disclaimer{font-size:8px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.tour-progress span,.tour-step-dots button{transition:none}.tour-scene.is-current,.source-erp,.source-sheet,.connection-lines i::after,.tour-chat-typing i{animation:none}.tour-scene.is-current .tour-chat-question,.tour-scene.is-current .tour-chat-typing,.tour-scene.is-current .tour-chat-answer{animation:none;opacity:1;transform:none}}
