.guided-tour{position:fixed;inset:0;z-index:250;isolation:isolate}
.guided-tour[data-intro=true]{background:#081525a3}
.tour-focus{position:fixed;border:2px solid var(--accent);border-radius:12px;box-shadow:0 0 0 9999px #081525a3;pointer-events:none}
.tour-card{position:absolute;right:24px;bottom:24px;width:min(410px,calc(100% - 32px));padding:18px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:14px;box-shadow:0 10px 50px #0004}
.guided-tour[data-intro=true] .tour-card{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)}
.tour-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.tour-progress{font-size:12px;font-weight:650;color:var(--accent-ink)}
.tour-card h2{font-size:19px;line-height:1.4;margin:0 0 10px}
.tour-card p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.tour-card footer{display:flex;justify-content:space-between;gap:8px;margin-top:18px}
.tour-card .btn{font-size:13px;padding:9px 13px}
.tour-card .icon-btn{width:30px;height:30px}
.settings-option[type=button]{width:100%;text-align:left;color:var(--text);font:inherit}
.demo-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 20px;background:var(--accent-soft);border-bottom:1px solid var(--line);color:var(--accent-ink)}
.demo-strip>span{font-size:13px;line-height:1.4}
.demo-strip>span strong{font-weight:700}
.demo-strip-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.demo-strip .btn{font-size:12px;min-height:32px;padding:6px 10px;gap:5px}
.demo-strip .icon{width:15px;height:15px}
.demo-locked:disabled{cursor:not-allowed;opacity:.65}
@media(max-width:760px){.tour-card{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100% - 24px);padding:14px}.tour-card .btn{padding:8px 10px}.demo-strip{padding:8px 12px;flex-wrap:wrap;gap:6px}.demo-strip>span{flex:1}.demo-strip-actions{margin-left:auto}.demo-strip .demo-exit-label{display:none}.demo-strip .btn{padding:6px 8px}.demo-strip .btn>.icon{width:14px;height:14px}}
@media(max-width:760px){.tour-card,.tour-card *{font-family:"Ceplink Mobile","Ceplink Mobile Fallback",sans-serif;font-size:16px;line-height:19.5px}.tour-card footer>.btn{flex:1;min-width:0;white-space:normal}}

.guided-tour{background:#081525a3}
.guided-tour[data-focus=true]{background:transparent}
.tour-card{max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain}
.tour-chapter{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--muted);font-size:12px}
.tour-chapter select{min-width:0;flex:1;min-height:36px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface-alt);color:var(--text);font:inherit}
.tour-tips{padding-left:20px;margin:12px 0 0;color:var(--text);font-size:13px;line-height:1.6}
.tour-tips li+li{margin-top:8px}
.tour-topics{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.tour-topics span{padding:4px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);font-size:12px;background:var(--surface-alt)}
@media(max-width:760px){.tour-card{max-height:calc(100dvh - 24px)}.tour-chapter{flex-wrap:wrap;gap:6px}.tour-chapter select{min-height:40px}.tour-tips{padding-left:18px}.tour-topics span{padding:4px 6px}}
