/* Primary actions and bounded, user-triggered example motion. */
html #up-combined :is(.u-navbutton,.h-review,.d-compare-button,.d-work-action){background:#e94d22;color:#111;border:1px solid transparent;border-radius:8px;font-weight:600;cursor:pointer;transition:background .16s ease,translate .16s ease}
html #up-combined .u-links .u-navbutton{padding:10px 15px}
html #up-combined .d-work-action{padding:12px 14px;margin:12px 0 8px;min-height:44px;font-size:12px}
html #up-combined :is(.h-review,.d-work-action)>span{color:#111}
html #up-combined :is(.h-review,.d-compare-button,.d-work-action,.u-navbutton):active{translate:0 1px}
@media(hover:hover){html #up-combined :is(.u-navbutton,.h-review,.d-compare-button,.d-work-action):hover{background:#dc431a;translate:0 -1px}}
html #up-combined :is(.d-inventory-visual,.d-work-visual){border-color:#c9cbce;box-shadow:0 2px 6px #11100004}
html #up-combined .d-example-label{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;font-size:10px;line-height:1.5;color:#505050}
html #up-combined .d-example-label strong{font-weight:600;letter-spacing:.4px;color:#333}
html #up-combined .d-example-label span{font-size:10px}
html #up-combined .d-compare-stage{transition:height .4s cubic-bezier(.2,.7,.2,1)}
html #up-combined .d-difference{transition:opacity .28s ease .12s,transform .4s cubic-bezier(.2,.7,.2,1) .12s,visibility .28s}
html #up-combined .d-work-next{padding-bottom:18px}
.d-dialog[open]{animation:example-open .24s cubic-bezier(.2,.7,.2,1) both}
@keyframes example-open{from{opacity:0;translate:0 9px}to{opacity:1;translate:0 0}}
html #up-combined details[open]>:not(summary){animation:example-content .2s ease both}
@keyframes example-content{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
@media(max-width:640px){
 html #up-combined .d-compare-stage{height:248px}
 html #up-combined .d-inventory-visual.is-compared .d-compare-stage{height:328px}
 html #up-combined .d-compare-controls{margin-top:10px;gap:10px;align-items:center}
 html #up-combined .d-compare-controls>span{max-width:125px;font-size:10px}
 html #up-combined .d-compare-button{padding:11px 12px;font-size:11px}
 html #up-combined .d-example-label{margin-bottom:14px;gap:8px}
 html #up-combined .d-example-label span{font-size:9px}
 html #up-combined .d-work-stage,html #up-combined .d-claims-visual .d-work-stage{padding-top:18px;padding-bottom:4px}
 html #up-combined .d-work-next{width:100%;margin-top:12px;padding:16px;transform:none}
 html #up-combined .d-work-record{padding:20px 16px}
 html #up-combined .d-work-action{font-size:12px}
 html #up-combined .d-inv-note{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){html #up-combined :is(.d-compare-stage,.d-record,.d-difference,.h-review,.d-work-action,.d-compare-button,.u-navbutton){transition:none!important;translate:none!important}.d-dialog[open],html #up-combined details[open]>:not(summary){animation:none!important}}
html[data-reduced-motion] #up-combined :is(.d-compare-stage,.d-record,.d-difference,.h-review,.d-work-action,.d-compare-button,.u-navbutton){transition:none!important;translate:none!important}
html[data-reduced-motion] .d-dialog[open],html[data-reduced-motion] #up-combined details[open]>:not(summary){animation:none!important}
/* Keep the action sheet clear of the evidence text on wide layouts. */
@media(min-width:641px){
 html #up-combined .d-work-record{left:1%;width:57%}
 html #up-combined .d-work-back{left:3%;width:55%}
 html #up-combined .d-work-next{right:0;width:39%}
}

/* Inventory: alignment first, comparison second, finding last. */
html #up-combined .d-record{transition:transform .52s cubic-bezier(.22,.7,.2,1),box-shadow .52s ease}
html #up-combined .d-inventory-visual.is-compared .d-record-store{transform:translate(4px,-12px) rotate(0)}
html #up-combined .d-inventory-visual.is-compared .d-record-wms{transform:translate(-4px,-12px) rotate(0)}
html #up-combined .d-quantity{border-radius:5px;transition:background .25s ease,box-shadow .25s ease}
html #up-combined .d-inventory-visual[data-compare-phase=comparing] .d-quantity,
html #up-combined .d-inventory-visual[data-compare-phase=found] .d-quantity{background:#f4f4f4;box-shadow:0 0 0 6px #f4f4f4}
html #up-combined .d-inventory-visual.is-compared:not([data-compare-phase=found]) .d-difference{opacity:0;visibility:hidden;transform:translateY(8px);transition:none}
html #up-combined .d-inventory-visual[data-compare-phase=found] .d-difference{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .28s ease,transform .36s cubic-bezier(.2,.7,.2,1)}
html #up-combined .d-compare-controls>span{min-height:32px;display:flex;align-items:center}
@media(prefers-reduced-motion:reduce){html #up-combined .d-quantity{transition:none!important}}
html[data-reduced-motion] #up-combined .d-quantity{transition:none!important}
