/* 游客提示沿用首页的蓝白配色，独立于首次聚光灯教程。 */
.guest-welcome{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:26px;margin:0 0 20px;padding:12px 28px 12px 18px;border:1px solid #c9e3ec;border-radius:22px;background:linear-gradient(115deg,#e8f7fc,#fff 72%);color:var(--ink);box-shadow:0 12px 32px rgba(28,82,109,.06)}
.guest-welcome[hidden]{display:none}
.guest-welcome>img{display:block;width:150px;height:180px;object-fit:contain}
.guest-welcome .panel-kicker,.guest-dialog .panel-kicker{margin:0 0 8px;color:var(--medical);font-size:.7rem;letter-spacing:.12em}
.guest-welcome h2{margin:0 0 10px;font-size:1.25rem}
.guest-welcome-copy>p:last-child{margin:0;max-width:44em;color:var(--ink-2);font-size:.87rem;line-height:1.85}
.guest-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.guest-actions .header-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;line-height:1.5}
.guest-actions .guest-login{background:var(--medical);border-color:var(--medical);color:#fff}
.guest-actions .guest-login:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.guest-mode #onboarding-replay-btn,.guest-mode #admin-btn{display:none!important}
.task-row.guest-locked{cursor:pointer}
.task-row.guest-locked .task-action{color:var(--muted);font-size:.75rem}
.task-row.guest-locked:hover{background:#f2f7fa}
.guest-dialog{width:min(640px,calc(100vw - 32px));max-width:640px;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #c9e3ec;border-radius:24px;background:linear-gradient(120deg,#ecf9ff,#fff 75%);color:var(--ink);overflow:auto;box-shadow:0 28px 80px rgba(16,50,72,.24)}
.guest-dialog::backdrop{background:rgba(9,32,38,.4)}
.guest-dialog-card{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:24px;padding:28px}
.guest-dialog-card>img{display:block;width:180px;height:220px;object-fit:contain}
.guest-dialog h2{margin:0 0 14px;font-size:1.3rem;line-height:1.5}
#guest-dialog-copy{margin:0 0 24px;color:var(--ink-2);font-size:.9rem;line-height:1.85}
.guest-actions .header-link:focus-visible{outline:2px solid var(--medical);outline-offset:3px}
@media(max-width:900px){.guest-welcome{grid-template-columns:120px minmax(0,1fr);gap:16px;padding:16px 22px}.guest-welcome>img{width:120px;height:150px;grid-row:span 2}.guest-welcome .guest-actions{grid-column:2}}
@media(max-width:540px){.guest-welcome{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:16px;border-radius:18px}.guest-welcome>img{width:84px;height:120px;grid-row:auto;align-self:start}.guest-welcome h2{font-size:1.1rem}.guest-welcome .guest-actions{grid-column:1/-1;justify-content:flex-end}.guest-dialog-card{grid-template-columns:1fr;gap:12px;padding:24px}.guest-dialog-card>img{width:130px;height:160px;justify-self:center}.guest-dialog h2{font-size:1.2rem}.guest-mode .station-header{gap:10px;padding-inline:12px}.guest-mode .avatar-link{padding-inline:2px}.guest-mode .avatar-fallback{width:32px;height:36px}.guest-mode #logout-button{font-size:.7rem;padding-inline:8px}}
