/* Getting started tour — spotlight walkthrough: dims the whole app and cuts a
   glowing hole around the real button being explained, with a small card next
   to it. Steps with no specific button (welcome / done) fall back to a plain
   centered card with a full dark backdrop. */
.ob-overlay { display: none; position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.7); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 16px; pointer-events: none; }
.ob-overlay.open { display: flex; }
.ob-overlay:not(.spotting) { pointer-events: auto; }
.ob-overlay.spotting { background: transparent; backdrop-filter: none; align-items: flex-start; justify-content: flex-start; }

.ob-spot { position: fixed; z-index: 8999; border-radius: 14px; border: 2px solid var(--accent, #7dd3fc); box-shadow: 0 0 0 9999px rgba(3,7,12,.82), 0 0 26px 0 color-mix(in srgb, var(--accent, #7dd3fc) 60%, transparent); pointer-events: none; opacity: 0; transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease, opacity .18s ease; }
.ob-spot.on { opacity: 1; }

.ob-card { position: relative; width: 560px; max-width: 100%; max-height: 92vh; overflow-y: auto; background: var(--bg-panel, #161b22); border: 1px solid var(--border-l, #30363d); border-radius: 16px; padding: 30px 30px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.55); color: var(--text, #e6edf3); pointer-events: auto; }
.ob-card.floating { position: fixed; width: 360px; max-width: calc(100vw - 32px); padding: 22px 22px 18px; z-index: 9001; transition: left .22s ease, top .22s ease; }
.ob-card.floating .ob-icon { font-size: 30px; margin-bottom: 6px; }
.ob-card.floating .ob-title { font-size: 18px; margin-bottom: 8px; }
.ob-card.floating .ob-body p { font-size: 14px; }

.ob-skip { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--muted, #9ba7b4); font-size: 12.5px; cursor: pointer; }
.ob-skip:hover { color: var(--text, #e6edf3); }
.ob-icon { font-size: 40px; line-height: 1; margin-bottom: 10px; }
.ob-title { font-size: 21px; font-weight: 700; margin: 0 0 12px; color: var(--text, #e6edf3); }
.ob-body p { font-size: 15px; line-height: 1.65; margin: 0 0 12px; color: var(--text, #e6edf3); }
.ob-body b { color: var(--accent, #7dd3fc); }
.ob-check { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg-input, #1c2128); border: 1px solid var(--border-l, #30363d); font-size: 14px; }
.ob-check-row { margin-top: 6px; color: var(--muted, #9ba7b4); }
.ob-check-row.done { color: #86efac; }
.ob-dots { display: flex; gap: 6px; justify-content: center; margin: 18px 0 14px; }
.ob-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-l, #30363d); }
.ob-dot.on { background: var(--accent, #4f8ef7); width: 22px; border-radius: 6px; }
.ob-nav { display: flex; gap: 8px; }
.ob-btn { flex: 1; padding: 11px 14px; border-radius: 9px; border: 1px solid var(--border-l, #30363d); background: var(--bg-input, #1c2128); color: var(--text, #e6edf3); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.ob-btn:hover { background: var(--bg-hover, #262c36); }
.ob-primary { background: var(--accent, #4f8ef7); border-color: var(--accent, #4f8ef7); color: #fff; }
.ob-primary:hover { background: var(--accent-d, #3b78e0); }

/* Compact bulleted list inside a step (e.g. the editor's right-click menu).
   Scrolls on its own if the list is taller than the room left on screen. */
.ob-list { max-height: 38vh; overflow-y: auto; margin: 0 0 12px; padding: 8px 10px 8px 4px; border-radius: 10px; background: var(--bg-input, #1c2128); border: 1px solid var(--border-l, #30363d); }
.ob-list ul { margin: 0; padding-left: 20px; }
.ob-list li { font-size: 13px; line-height: 1.5; margin: 0 0 5px; color: var(--text, #e6edf3); }
.ob-list li:last-child { margin-bottom: 0; }
.ob-card.floating .ob-list li { font-size: 12.5px; }
