.tour-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;color:var(--text);background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.tour-dialog::backdrop{background:0 0}.tour-stage{inset:0 0 env(safe-area-inset-bottom) 0;position:absolute}.tour-spot{border-radius:var(--radius);pointer-events:none;box-shadow:0 0 0 2px var(--accent), 0 0 0 200vmax #000000a6;transition:left var(--dur-3) var(--ease-out), top var(--dur-3) var(--ease-out), width var(--dur-3) var(--ease-out), height var(--dur-3) var(--ease-out);position:fixed}[data-theme=modern] .tour-spot{box-shadow:0 0 0 2px var(--accent), 0 0 0 200vmax #2a1f1096}.tour-scrim{background:#000000a6;position:fixed;inset:0}[data-theme=modern] .tour-scrim{background:#2a1f1096}.tour-card{width:min(380px,100vw - 24px);max-height:calc(100% - 24px);box-shadow:var(--shadow-lg,0 18px 50px #0007);transition:left var(--dur-3) var(--ease-out), top var(--dur-3) var(--ease-out);gap:10px;padding:0 18px 14px;display:grid;position:absolute;overflow:auto}.tour-card[aria-busy]{cursor:progress}[data-theme=codex] .tour-card{border-color:var(--accent)}.tour-meter{background:var(--panel-3);height:3px;margin:0 -18px}.tour-meter i{background:var(--accent);height:100%;transition:width var(--dur-3) var(--ease-out);display:block}.tour-count{font-family:var(--font-ui);font-size:var(--fs-2);color:var(--subtle);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;margin:8px 0 2px;display:flex}.tour-title{font-family:var(--font-title);font-size:var(--fs-6);font-weight:600;line-height:var(--lh-tight);color:var(--text);margin:0 0 6px}[data-theme=codex] .tour-title{font-variant:small-caps;letter-spacing:.03em;color:var(--accent);font-weight:500}[data-theme=night] .tour-title{font-weight:500}.tour-body{color:var(--muted);font-size:var(--fs-4);line-height:var(--lh-body);text-wrap:pretty;margin:0}.tour-foot{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.tour-skip{margin-right:auto}.tour-keys{color:var(--subtle);gap:3px;font-size:.75rem;display:inline-flex}.tour-card .btn{min-height:38px}@media (hover:none),(width<=600px){.tour-keys{display:none}.tour-card .btn{min-height:44px}}@media (width<=600px){.tour-card{width:calc(100vw - 24px)}}@media (prefers-reduced-motion:reduce){.tour-spot,.tour-card,.tour-meter i{transition:none}}.tour-dialog:not(:modal){z-index:200}.tour-dialog[data-free]{pointer-events:none}.tour-dialog[data-free] .tour-card{pointer-events:auto}.tour-dialog[data-free] .tour-spot{box-shadow:0 0 0 2px var(--accent), 0 0 0 200vmax #00000059;animation:tour-pulse 1.6s var(--ease-out) infinite}.tour-dialog[data-free] .tour-scrim{pointer-events:none;background:#00000059}@keyframes tour-pulse{0%,to{outline-offset:2px;outline:2px solid #0000}50%{outline:2px solid var(--accent);outline-offset:7px}}.tour-ask{border-radius:var(--radius);background:var(--panel-3);color:var(--text);font-size:var(--fs-3);align-items:flex-start;gap:8px;margin:10px 0 0;padding:8px 10px;line-height:1.4;display:flex}.tour-ask svg{color:var(--accent);flex:none;margin-top:2px}.tour-ask-done{animation:ui-rise var(--dur-3) var(--ease-out)}.tour-chapter{font-family:var(--font-ui);font-size:var(--fs-2);color:var(--subtle);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 10px;margin:8px 0 -6px;display:flex}.tour-chapter b{color:var(--text);font-weight:600}.tour-chapter-skip{color:var(--accent);font:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:2px 0;text-decoration:underline}.tour-chapter-skip:hover,.tour-chapter-skip:focus-visible{text-decoration-thickness:2px}.tour-end{text-align:center;justify-items:center;padding-top:18px}.tour-end .tour-foot{width:100%}.tour-seal{fill:none;width:52px;height:52px;stroke:var(--accent);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round}.tour-seal circle{stroke-dasharray:132;stroke-dashoffset:132px;animation:tour-draw .6s var(--ease-out) 80ms forwards}.tour-seal path{stroke-dasharray:30;stroke-dashoffset:30px;animation:tour-draw .36s var(--ease-out) .56s forwards}@keyframes tour-draw{to{stroke-dashoffset:0}}.tours{gap:14px;display:grid}.tours-tour{border:1px solid var(--edge-soft,var(--panel-3));border-radius:var(--radius);background:var(--panel-2,transparent);grid-template-columns:auto 1fr auto;align-items:center;gap:10px 12px;padding:14px;display:grid}.tours-icon{background:var(--panel-3);width:40px;height:40px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.tours-text h3{font-family:var(--font-title);font-size:var(--fs-5);margin:0 0 2px;font-weight:600;line-height:1.25}.tours-text p{color:var(--muted);font-size:var(--fs-3);text-wrap:pretty;margin:0;line-height:1.45}.tours-grand>.tours-progress,.tours-grand>.tours-chapters,.tours-grand>.tours-actions{grid-column:1/-1}.tours-progress{color:var(--subtle);font-size:var(--fs-2);font-variant-numeric:tabular-nums;grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.tours-progress .tour-meter{border-radius:2px;height:4px;margin:0;overflow:hidden}.tours-chapters{grid-template-columns:1fr 1fr;gap:2px 10px;margin:0;padding:0;list-style:none;display:grid}.tours-chapters button{border-radius:var(--radius);width:100%;min-height:40px;color:var(--text);font:inherit;font-size:var(--fs-3);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:4px 8px;display:flex}.tours-chapters button:hover,.tours-chapters button:focus-visible{background:var(--panel-3);outline:none}.tours-chapters button:focus-visible{box-shadow:0 0 0 2px var(--accent)}.tours-tick{border:1px solid var(--subtle);width:24px;height:24px;color:var(--subtle);font-variant-numeric:tabular-nums;border-radius:50%;flex:none;place-items:center;font-size:.75rem;display:grid}.tours-chapters [data-done] .tours-tick{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.tours-chapter{flex:1;min-width:0}.tours-chapters em{font-style:normal;font-size:var(--fs-2);color:var(--accent);flex:none}.tours-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (width<=600px){.tours-tour{grid-template-columns:auto 1fr}.tours-tour>.btn{grid-column:1/-1;justify-content:center;min-height:44px}.tours-chapters{grid-template-columns:1fr}.tours-chapters button{min-height:44px}.tours-actions .btn{flex:1;justify-content:center;min-height:44px}}@media (prefers-reduced-motion:reduce){.tour-dialog[data-free] .tour-spot,.tour-ask-done{animation:none}.tour-seal circle,.tour-seal path{stroke-dashoffset:0;animation:none}}.toasts{top:var(--hud-bottom,116px);z-index:80;pointer-events:none;gap:10px;width:min(360px,92vw);display:grid;position:fixed;right:16px}.toast{pointer-events:auto;align-items:flex-start;gap:12px;padding:12px 12px 12px 14px;animation:.28s cubic-bezier(.2,.8,.2,1) toast-in;display:flex}[data-theme=codex] .toast{background:radial-gradient(at 20% 0,#3c4a66,#1a2130 70%);border:1px solid #0a0d12;box-shadow:inset 0 0 0 1px #b8954f88,inset 0 1px #f0d58f55,0 12px 30px #000c}.toast-text{flex:1;gap:4px;min-width:0;display:grid}.toast-text b{color:var(--accent);align-items:center;gap:6px;font-size:1rem;font-weight:600;line-height:1.2;display:inline-flex}[data-theme=codex] .toast-text b{font-weight:500}.toast-text span{color:var(--muted);font-size:.9062rem}.toast-text .btn{justify-self:start;height:28px;margin-top:4px;font-size:.8125rem}.toast-icon{width:52px;height:52px;color:var(--accent);background:var(--panel-2);border-radius:50%;place-items:center;display:grid}.toast-close{width:24px;height:24px;margin:-4px -4px 0 0}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px)scale(.98)}}@media (prefers-reduced-motion:reduce){.toast{animation:none}}.toast-text b{text-wrap:balance;display:block}.toast-close{min-width:44px;min-height:44px}.toast-text .btn{min-height:44px}
