/* Only the small travelling flag is styled here. The current Operate styles own the station layout. */
.station-tour-demo :is(button,input,select,textarea):disabled{cursor:default;pointer-events:none}
.station-tour-demo [data-tour-inert]:disabled{opacity:1}
.station-tour-demo :is(a[aria-disabled],summary){pointer-events:none;cursor:default}
.station-tour-demo .tour-target{outline:1px solid #c4a66a!important;outline-offset:3px;scroll-margin-block:10px}
.station-tour{position:fixed;z-index:20000;width:max-content;max-width:min(245px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow:auto;padding:9px 12px;background:#10242cf5;border:1px solid #c4a66a;border-radius:9px;box-shadow:0 6px 18px #0005;color:#edf5f5;box-sizing:border-box;left:10px;top:10px}
.station-tour .tour-demo-label{font:9px/1.2 system-ui;letter-spacing:.7px;text-transform:uppercase;color:#c4a66a}
.station-tour h2{font:600 14px/1.4 system-ui;margin:3px 0 7px;color:#edf5f5}
.station-tour .tour-controls{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.station-tour :is(button,a){display:inline-flex;align-items:center;min-height:24px;padding:0;border:0;border-radius:3px;font:11px system-ui;color:#c4a66a;background:transparent;cursor:pointer;text-decoration:none}
.station-tour :focus-visible{outline:2px solid #c4a66a;outline-offset:3px}
.tour-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.station-tour-demo,body.station-tour-preview{margin:0;min-height:100dvh;background:var(--appearance-bg,#0c1c24)!important;background-image:none!important}
body.station-tour-demo::before,body.station-tour-demo::after,body.station-tour-preview::before,body.station-tour-preview::after{background-image:none!important}
.station-tour-demo #waterfall{background-color:#101715;background-image:linear-gradient(#8ecbc908 1px,transparent 1px),linear-gradient(90deg,#8ecbc908 1px,transparent 1px);background-size:100% 25px,25% 100%}
.station-tour-demo #waterfall::after{display:none}
.station-tour-demo #wflabel{pointer-events:none}
.station-tour-demo.tour-paused *{animation-play-state:paused!important}.station-tour-demo.tour-stopped *{animation:none!important}
.tour-page-preview[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.station-tour-demo *,.station-tour-demo *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Silent fictional receive activity, inside the existing display and message regions. */
.station-tour-demo #transcript{white-space:pre-wrap;font-family:ui-monospace,monospace;color:#c4d994;overflow:hidden}
.station-tour-demo .sdr-segments i.tour-level-on{background:#a5bd71;box-shadow:0 0 5px #a5bd7133}
.station-tour-demo #waterfall .tour-signal{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:3;pointer-events:none}
.station-tour-demo #waterfall .tour-tone-label{position:absolute;inset:5px auto auto 30%;display:block;padding-left:5px;font:9px ui-monospace,monospace;color:#b7cf8b;pointer-events:none}
.station-tour-demo .tour-inbound{border-bottom:1px solid #8ecbc924;padding:8px 0;font:12px/1.45 system-ui}
.station-tour-demo .tour-inbound small{display:block;font:9px/1.4 ui-monospace,monospace;color:#8ecbc9}
.station-tour-demo .tour-inbound strong{display:block;font-size:11px;font-weight:600;margin-top:3px}
.station-tour-demo .tour-inbound p{margin:3px 0;max-width:none;color:var(--appearance-ink)}
.station-tour-demo.tour-paused .tour-signal{animation-play-state:paused!important}
.station-tour-demo.tour-stopped .tour-signal{animation:none!important}
@media(prefers-reduced-motion:reduce){.station-tour-demo #waterfall .tour-signal{animation:none!important}}

/* The original canvas remains the accessible description, never a pointer layer above the demo. */
.station-tour-demo #sdr-display{pointer-events:none;cursor:default}

.station-tour .tour-controls :is(button,a){min-height:36px}.station-tour .tour-controls button:disabled{opacity:.45}
/* Keep reader controls whole when the compact guide wraps to another row. */
.station-tour .tour-controls :is(button,a){flex:0 0 auto!important;white-space:nowrap!important}
