.pilot-update-banner[hidden] { display:none; }
.pilot-running-version { max-width:100%; margin:10px 0 0; color:var(--muted, #9bbab6); font:12px/1.5 var(--mono, monospace); letter-spacing:.04em; text-align:center; overflow-wrap:anywhere; }
.pilot-running-version[hidden] { display:none; }
.pilot-update-banner { position:sticky; top:0; z-index:100; display:grid; grid-template-columns:minmax(120px,1fr) auto auto; gap:12px; align-items:center; padding:10px 22px; background:#123931; color:#e7fff6; border-bottom:1px solid #61dfb9; box-shadow:0 3px 14px #0005; }
.pilot-update-track { overflow:hidden; white-space:nowrap; }
.pilot-update-moving { display:flex; width:max-content; min-width:200%; animation:pilot-update-scroll 22s linear infinite; }
.pilot-update-moving > span { display:block; flex:1 0 auto; padding-right:5rem; }
@keyframes pilot-update-scroll { from {transform:translateX(0);} to {transform:translateX(-50%);} }
.pilot-update-banner:hover .pilot-update-moving,.pilot-update-banner:focus-within .pilot-update-moving,.pilot-update-banner.is-paused .pilot-update-moving { animation-play-state:paused; }
.pilot-update-status { grid-column:1/-1; font-size:13px; margin:0; color:#d5f0e8; }
.pilot-update-status:empty { display:none; }
.pilot-update-banner button,.pilot-update-dialog button { border:1px solid #70ceb8; border-radius:10px; padding:9px 15px; background:transparent; color:#effff9; cursor:pointer; white-space:nowrap; }
.pilot-update-banner .pilot-update-now,.pilot-update-dialog .pilot-update-now { background:#80ebcc; color:#052820; font-weight:700; }
.pilot-update-banner button:focus-visible,.pilot-update-dialog button:focus-visible { outline:3px solid #c4ffef; outline-offset:3px; }
.pilot-update-banner button:disabled,.pilot-update-dialog button:disabled { opacity:.6; cursor:wait; }
.pilot-update-pause { font-size:12px; }
.pilot-update-dialog { width:min(520px,calc(100vw - 36px)); max-height:calc(100dvh - 36px); overflow:auto; border:1px solid #54aa92; border-radius:22px; padding:30px; color:#edfff9; background:#0c2726; box-shadow:0 20px 100px #0009; }
.pilot-update-dialog::backdrop { background:#00100ec9; backdrop-filter:blur(5px); }
.pilot-update-dialog h2 { font-size:25px; margin:12px 0; }
.pilot-update-dialog p { line-height:1.6; color:#b9d7cd; }
.pilot-update-kicker { color:#86e8c9; font-size:12px; letter-spacing:.14em; font-weight:700; }
.pilot-update-dialog .pilot-update-version { font-weight:600; color:#e9fff7; }
.pilot-update-notes { white-space:pre-wrap; overflow-wrap:anywhere; max-height:180px; overflow:auto; }
.pilot-update-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:26px; }
body.reduce-motion .pilot-update-moving { animation:none !important; display:block; width:100%; min-width:0; }
body.reduce-motion .pilot-update-moving > span { white-space:normal; overflow-wrap:anywhere; padding-right:0; }
body.reduce-motion .pilot-update-moving > span[aria-hidden="true"] { display:none; }
@media(prefers-reduced-motion:reduce) { .pilot-update-moving { animation:none; display:block; width:100%; min-width:0; } .pilot-update-moving > span { white-space:normal; overflow-wrap:anywhere; padding-right:0; } .pilot-update-moving > span[aria-hidden="true"] { display:none; } }
@media(max-width:600px) { .pilot-update-banner { padding:9px 12px; gap:8px; grid-template-columns:minmax(60px,1fr) auto auto; } .pilot-update-banner button { padding:9px 10px; } .pilot-update-dialog { padding:22px; } }
