/* Uni Hub version motion: evidence-based "Next version" animation. Static CSS only. */
.uvm-root{font:14px/1.5 system-ui,sans-serif;color:#e6ebff;width:100%}
.uvm-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.uvm-head h2{margin:0;font-size:17px}.uvm-head span{font-size:12px;opacity:.7}
.uvm-stage{position:relative;overflow:hidden;border-radius:12px;border:1px solid rgba(140,160,255,.3);background:#050810}
.uvm-scaler{position:absolute;left:0;top:0;transform-origin:0 0}
.uvm-frame{position:absolute;left:0;top:0;border:0;background:#fff;pointer-events:none}
.uvm-to{opacity:0;transition:opacity .9s ease}
.uvm-show-to .uvm-to{opacity:1}
.uvm-fx{position:absolute;left:0;top:0;pointer-events:none}
.uvm-mark{position:absolute;box-sizing:border-box;border-radius:6px;opacity:0;transition:opacity .45s,transform .6s cubic-bezier(.2,.9,.25,1.2)}
.uvm-mark.uvm-removed{border:3px dashed #ff6b6b;background:rgba(255,107,107,.15)}
.uvm-mark.uvm-from{border:3px dashed #ffc247;background:rgba(255,194,71,.14)}
.uvm-mark.uvm-added{border:3px solid #4be39a;background:rgba(75,227,154,.18);transform:scale(.85)}
.uvm-mark.uvm-dest{border:3px solid #8ca0ff;background:rgba(140,160,255,.16);transform:scale(.9)}
.uvm-on{opacity:1!important;transform:scale(1)!important}
.uvm-pulse{animation:uvmPulse 1.4s ease-out infinite}
@keyframes uvmPulse{0%{box-shadow:0 0 0 0 rgba(140,160,255,.6)}80%,100%{box-shadow:0 0 0 14px rgba(140,160,255,0)}}
.uvm-chip{position:absolute;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;font:600 15px system-ui,sans-serif;color:#0b0e16;background:#ffc247;border-radius:8px;opacity:0;transition:transform 1.3s cubic-bezier(.65,0,.25,1),width 1.3s cubic-bezier(.65,0,.25,1),height 1.3s cubic-bezier(.65,0,.25,1),opacity .4s,background .6s;box-shadow:0 6px 22px rgba(0,0,0,.45);z-index:3}
.uvm-chip.uvm-on{opacity:1}.uvm-chip.uvm-done{background:#8ca0ff}
.uvm-list{margin:10px 0 0;padding:0;list-style:none}
.uvm-list li{display:flex;gap:8px;align-items:flex-start;padding:4px 0;opacity:0;transform:translateX(-14px);transition:opacity .4s,transform .4s}
.uvm-list li.uvm-on{transform:none}
.uvm-tag{flex:none;font:700 11px system-ui;border-radius:6px;padding:2px 7px;margin-top:2px;color:#0b0e16}
.uvm-t-added{background:#4be39a}.uvm-t-removed{background:#ff6b6b}.uvm-t-moved,.uvm-t-resized{background:#8ca0ff}.uvm-t-renamed{background:#ffc247}
.uvm-note{margin-top:10px;padding-top:8px;border-top:1px solid rgba(140,160,255,.15);font-size:12px;opacity:.75}
.uvm-actions{display:flex;gap:8px;margin-top:12px}
.uvm-btn{flex:1;border-radius:10px;padding:9px;font:600 14px system-ui,sans-serif;cursor:pointer;border:1px solid rgba(140,160,255,.4);background:rgba(120,140,255,.16);color:#dfe6ff}
.uvm-btn.uvm-go{background:#8ca0ff;color:#0b0e16;border:0;flex:2}
@media (prefers-reduced-motion:reduce){.uvm-to,.uvm-mark,.uvm-chip,.uvm-list li{transition:none}.uvm-pulse{animation:none}}

.uvm-ev{flex:none;margin-left:auto;font:600 10px system-ui;border-radius:6px;padding:2px 6px;margin-top:3px;border:1px solid rgba(140,160,255,.4)}
.uvm-ev-m{background:rgba(75,227,154,.18)}.uvm-ev-t{background:rgba(255,194,71,.18)}.uvm-ev-d{opacity:.8}
.uvm-warn{margin:0 0 8px;padding:6px 10px;border-radius:8px;background:rgba(255,194,71,.16);border:1px solid rgba(255,194,71,.5);font-size:12px}

.uvm-root.uvm-fill{height:100%;overflow:auto;padding:0 2px}

/* Latest-version state: no stage, no animation. */
.uvm-latest .uvm-head{margin-bottom:2px}
.uvm-latest-note{border-top:0;margin-top:2px;padding-top:0;opacity:.8}

/* Record-only verified reveal: heading morph for verified changes that are not on the
   rendered page (their widget needs the classroom backend this archive does not have). */
.uvm-reveal{margin:10px 0 0;padding:10px 12px;border:1px solid rgba(140,160,255,.3);border-radius:12px;background:rgba(140,160,255,.06)}
.uvm-reveal-head{font-size:12px;opacity:.75;margin-bottom:8px}
.uvm-reveal-row{padding:6px 0;border-top:1px solid rgba(140,160,255,.12)}
.uvm-reveal-row:first-of-type{border-top:0}
.uvm-reveal-label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.65;margin-bottom:4px}
.uvm-morph{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.uvm-morph-a,.uvm-morph-b{display:inline-block;box-sizing:border-box;max-width:100%;padding:6px 10px;border-radius:8px;font:600 14px system-ui,sans-serif;overflow-wrap:anywhere;transition:opacity .5s ease,transform .6s cubic-bezier(.2,.9,.25,1.2),background .6s ease,color .6s ease}
.uvm-morph-a{background:#ffc247;color:#0b0e16;opacity:0;transform:translateX(-14px)}
.uvm-morph-b{background:#8ca0ff;color:#0b0e16;opacity:0;transform:translateX(14px)}
.uvm-morph-arrow{opacity:0;transition:opacity .5s ease}
.uvm-morph.uvm-on .uvm-morph-a,.uvm-morph.uvm-on .uvm-morph-arrow{opacity:1;transform:none}
.uvm-morph.uvm-done .uvm-morph-a{opacity:.45;text-decoration:line-through}
.uvm-morph.uvm-done .uvm-morph-b{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.uvm-morph-a,.uvm-morph-b,.uvm-morph-arrow{transition:none}}
/* Archive-scope fix: host pages auto-assign data-action-icon to labelled buttons
   (refreshActionIcons), which leaks a checkbox glyph onto the motion modal's own
   controls. Suppress the inherited ::before on the added controls only. */
.uvm-actions .uvm-btn::before{display:none}
