/* Update invitation + old-to-new transition layer. Additive; classic UI untouched unless body.uh-evolving or the update layer is open. */
#uh-update-card{border:1px solid #556d99;border-radius:16px;padding:26px 28px;margin:18px 0 22px;background:linear-gradient(125deg,#1d2e4b,#162136);box-shadow:0 20px 70px #0004;color:#eff3ff;max-width:960px}
#uh-update-card .uh-upd-eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#aac2ee;margin:0 0 8px}
#uh-update-card h2{font-size:clamp(24px,4vw,34px);line-height:1.15;letter-spacing:-.03em;margin:0 0 10px}
#uh-update-card p{color:#c1cfe3;margin:0 0 6px;max-width:640px}
#uh-update-card .uh-upd-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}
#uh-update-card .uh-upd-foot{font-size:12px;color:#a9bad3;margin-top:14px}
button.uh-upd-primary{background:#a8c5ff;border:0;border-radius:10px;padding:12px 20px;color:#0d1c35;font-weight:700;font:inherit;cursor:pointer;min-height:44px}
button.uh-upd-quiet{background:transparent;color:#d2dcf0;border:1px solid #536887;border-radius:10px;padding:10px 16px;font:inherit;cursor:pointer;min-height:44px}
button.uh-upd-primary:focus-visible,button.uh-upd-quiet:focus-visible,#uh-update-pill:focus-visible,#uh-update-bar button:focus-visible,#uh-update-bar a:focus-visible{outline:3px solid #ffc18b;outline-offset:3px}
#uh-update-pill{position:fixed;right:16px;bottom:16px;z-index:30;background:#a8c5ff;color:#0d1c35;border:0;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;box-shadow:0 8px 28px #0006;cursor:pointer;min-height:44px}
#uh-update-status{color:#ffd9a8;font-size:13px;margin-top:10px;min-height:1.2em}
#uh-construction-tag{position:fixed;left:12px;bottom:12px;z-index:30;background:#94b6ff;color:#081525;font:600 11px/1.2 system-ui,sans-serif;padding:6px 10px;border-radius:8px;letter-spacing:.06em}
/* Evolution: real classic elements pick up the new design language, staggered, then the new app fades in. */
body.uh-evolving .uh-header,body.uh-evolving .uh-nav,body.uh-evolving .scene-controls,body.uh-evolving .uh-card,body.uh-evolving #file-workspace .uh-search input,body.uh-evolving #uh-update-card{transition:border-radius .9s,box-shadow .9s,transform .9s,background .9s,border-color .9s,filter .9s}
body.uh-evolving .uh-card,body.uh-evolving #uh-update-card{border-radius:24px;border-color:#94b6ff;box-shadow:0 18px 44px #0007,0 0 0 1px #94b6ff55,0 0 42px #94b6ff26;transform:translateY(-8px);background:#131f32;animation:uh-arrive 1.9s both}
body.uh-evolving .uh-card:nth-of-type(2){animation-delay:.2s}body.uh-evolving .uh-card:nth-of-type(3){animation-delay:.4s}
body.uh-evolving .uh-nav button{border-radius:999px;transition:border-radius .9s,background .9s,box-shadow .9s;animation:uh-pill-glow 1.6s both}
body.uh-evolving .uh-nav button:nth-child(2){animation-delay:.25s}
body.uh-evolving .uh-nav button.on{background:#94b6ff;color:#0d1c35}
body.uh-evolving .scene-controls button{animation:uh-pill-glow 1.6s both;animation-delay:.5s}
body.uh-evolving .uh-header .uh-logo{border-radius:14px;background:#94b6ff;color:#172d52;box-shadow:0 0 30px #94b6ff66;transition:border-radius .8s,background .8s,box-shadow .8s}
body.uh-evolving{animation:uh-warm 2.6s both}
@keyframes uh-arrive{0%{transform:translateY(0) scale(1);filter:brightness(1)}35%{transform:translateY(-22px) scale(.985);filter:brightness(1.6)}100%{transform:translateY(-8px) scale(1);filter:brightness(1.06)}}
@keyframes uh-pill-glow{0%{box-shadow:0 0 0 #94b6ff00}45%{box-shadow:0 0 26px #94b6ff88}100%{box-shadow:0 0 10px #94b6ff33}}
@keyframes uh-warm{0%{background:#081525}100%{background:#0b1220}}
#uh-update-layer{position:fixed;inset:0;z-index:60;background:#0b1220;display:flex;flex-direction:column;opacity:0;pointer-events:none;transition:opacity .5s}
#uh-update-layer.uh-on{opacity:1;pointer-events:auto}
#uh-update-layer iframe{border:0;width:100%;flex:1;background:#0b1220}
#uh-update-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #26364f;background:#0d1626;color:#bdcce5;font:13px/1.4 system-ui,sans-serif}
#uh-update-bar .uh-bar-title{font-weight:700;color:#eff3ff;margin-right:auto}
#uh-update-bar button,#uh-update-bar a{background:transparent;color:#d2dcf0;border:1px solid #536887;border-radius:10px;padding:8px 14px;font:inherit;cursor:pointer;text-decoration:none;min-height:36px}
@media(prefers-reduced-motion:reduce){body.uh-evolving *,body.uh-evolving{animation:none!important;transition:none!important}#uh-update-layer{transition:none}}
