/* A temporary, modal walkthrough; no extra blocks in the normal page layout. */
body.guide-open{overflow:hidden}
#guide-dialog{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);box-shadow:none;overflow:hidden}
#guide-dialog::backdrop{background:transparent;backdrop-filter:none}
.guide-shade{position:fixed;inset:0;background:#081b24ad;pointer-events:none}
.guide-highlight{position:fixed;border:2px solid var(--gold);border-radius:10px;box-shadow:0 0 0 150vmax #081b24ad;pointer-events:none}
.guide-card{position:fixed;z-index:1;display:flex;flex-direction:column;width:min(400px,calc(100vw - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:18px}
.guide-top,#guide-title,.guide-actions,.guide-progress,.guide-replay,.guide-status{flex-shrink:0}
.guide-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.guide-skip{border:0;background:transparent;min-height:44px;padding:4px 8px;font-size:15px;font-weight:400;color:var(--muted)}
#guide-title{font-size:22px;line-height:1.45;margin:0 0 12px;outline:none}
#guide-copy{font-size:16px;line-height:1.7;overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}#guide-copy p{margin:0 0 12px}.guide-tip{padding:10px 12px;background:var(--surface);border-radius:8px;color:var(--muted)}
.guide-workflow{padding:0;margin:14px 0;list-style:none;display:grid;gap:10px}.guide-workflow li{display:grid;grid-template-columns:116px 1fr;gap:8px}.guide-workflow li span{color:var(--muted)}
.guide-progress{display:flex;gap:5px;margin:16px 0}.guide-progress span{height:4px;background:var(--line);flex:1;border-radius:2px}.guide-progress .filled{background:var(--accent)}
.guide-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.guide-actions button{min-height:44px}.guide-actions>button:first-child:not(.primary){margin-right:auto}
.guide-replay{margin:12px 0 0;font-size:14px}.guide-status{margin:8px 0}
@media(max-width:720px){.guide-card{padding:14px}#guide-title{font-size:20px;margin-bottom:8px}.guide-top{margin-bottom:4px}.guide-progress{margin:8px 0}.guide-highlight:not([hidden])+.guide-card .guide-replay{display:none}.guide-workflow li{grid-template-columns:108px 1fr;gap:6px}.top-actions [data-guide="start"]{min-width:36px}}
@media(max-height:700px){.guide-replay{display:none}.guide-progress{margin:10px 0}.guide-top{margin-bottom:4px}#guide-title{font-size:20px;margin-bottom:8px}}
