/* Scoped illustrations for the UX principles article. */
.ux-article .ux-law{padding:46px 0 52px;border-bottom:1px solid #dedbd6}
.ux-article .ux-law:first-of-type{margin-top:24px;border-top:1px solid #dedbd6}
body.blog-refresh-post #main-content .art-prose.ux-article .ux-num{margin:0 0 12px!important;color:#68645f!important;font:12px/1.2 Matter,Arial,sans-serif!important;letter-spacing:.1em!important}
.ux-article .ux-law h2{margin:0 0 12px!important}
.ux-article .ux-law>p:not(.ux-num){margin:0 0 22px}
.ux-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:26px 0 20px;font-family:Matter,Arial,sans-serif}
.ux-panel{min-width:0;background:#f3f1ed;padding:12px}
body.blog-refresh-post #main-content .art-prose.ux-article .ux-panel-label{margin:0 0 10px!important;color:#5d5953!important;font:12px/1.2 Matter,Arial,sans-serif!important;letter-spacing:.04em!important}
.ux-screen{position:relative;min-height:202px;padding:19px;background:#fff;border:1px solid #e3e0db;overflow:hidden}
.ux-screen-head{display:block;margin-bottom:15px;color:#45413c;font:13px/1.3 Matter,Arial,sans-serif}
.ux-bits{display:flex;flex-wrap:wrap;align-content:flex-start;gap:7px}
.ux-bit{display:inline-flex;align-items:center;min-height:32px;padding:6px 9px;background:#f1f0ed;color:#35322e;font:12px/1.3 Matter,Arial,sans-serif;overflow-wrap:anywhere}
.ux-panel--after .ux-bit:first-child{background:var(--orange-dark);color:#fff}
.ux-law:is([data-ux-motion="target"],[data-ux-motion="feedback"],[data-ux-motion="finish"],[data-ux-motion="input"],[data-ux-motion="calculate"],[data-ux-motion="progress"]) .ux-panel--after .ux-bit:first-child{background:#f1f0ed;color:#35322e}
.ux-law:is([data-ux-motion="target"],[data-ux-motion="feedback"],[data-ux-motion="finish"],[data-ux-motion="input"],[data-ux-motion="calculate"],[data-ux-motion="progress"]) .ux-panel--after .ux-bit:last-child{background:var(--orange-dark);color:#fff}
body.blog-refresh-post #main-content .art-prose.ux-article .ux-application{margin:0 0 16px!important;font:15px/1.55 Matter,Arial,sans-serif!important;color:#45413c!important}
.ux-replay{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:0 14px;border:1px solid #bbb6af;background:#fff;color:#171716;font:13px/1.2 Matter,Arial,sans-serif;cursor:pointer}
.ux-replay .site-icon{width:15px;height:15px;flex:none}
.ux-replay:hover{border-color:#171716}.ux-replay:focus-visible{outline:3px solid #dd3d06;outline-offset:3px}.ux-replay[hidden]{display:none}
[data-ux-motion="target"] .ux-panel--before .ux-bit:last-child{min-height:20px;font-size:10px;padding:3px}
[data-ux-motion="target"] .ux-panel--after .ux-bit:last-child{min-height:48px;padding:10px 22px}
[data-ux-motion="distance"] .ux-panel--before .ux-bits{min-height:130px;justify-content:space-between;align-content:space-between}
[data-ux-motion="group"] .ux-panel--before .ux-bits,[data-ux-motion="order"] .ux-panel--before .ux-bits{gap:20px;justify-content:space-between}
[data-ux-motion="group"] .ux-panel--after .ux-bits,[data-ux-motion="sequence"] .ux-panel--after .ux-bits,[data-ux-motion="time"] .ux-bits{display:grid}
[data-ux-motion="similarity"] .ux-panel--before .ux-bit:nth-child(2){border:1px solid #777;background:#fff}
[data-ux-motion="similarity"] .ux-panel--before .ux-bit:nth-child(3){background:#272624;color:#fff}
[data-ux-motion="similarity"] .ux-panel--after .ux-bit{background:#252522;color:#fff}
[data-ux-motion="connect"] .ux-panel--after .ux-bits{gap:0}
[data-ux-motion="connect"] .ux-panel--after .ux-bit{border-right:1px solid #aaa;background:#252522;color:#fff}
[data-ux-motion="progress"] .ux-panel--after .ux-screen:after{content:"";display:block;width:50%;height:5px;background:#dd3d06;margin-top:18px}
[data-ux-motion="highlight"] .ux-panel--after .ux-bit{background:#f1f0ed;color:#35322e}
[data-ux-motion="highlight"] .ux-panel--after .ux-bit:nth-child(3){background:var(--orange-dark);color:white}
.ux-law.is-playing .ux-panel--before .ux-bit{animation:ux-in .48s both;animation-delay:calc(var(--delay, 0) * 1ms)}
.ux-law.is-playing .ux-panel--after .ux-bit{animation:ux-rise .65s both;animation-delay:calc(var(--delay, 0) * 1ms)}
.ux-law.is-playing:is([data-ux-motion="target"],[data-ux-motion="highlight"],[data-ux-motion="focus"]) .ux-panel--after .ux-bit:last-child{animation:ux-emphasize 1.2s both}
.ux-law.is-playing[data-ux-motion="highlight"] .ux-panel--after .ux-bit:nth-child(3){animation:ux-emphasize 1.2s both}
.ux-law.is-playing:is([data-ux-motion="group"],[data-ux-motion="chunk"],[data-ux-motion="connect"],[data-ux-motion="order"],[data-ux-motion="distance"]) .ux-panel--after .ux-bit{animation:ux-gather .8s both;animation-delay:calc(var(--delay, 0) * 1ms)}
.ux-law.is-playing:is([data-ux-motion="feedback"],[data-ux-motion="finish"],[data-ux-motion="input"],[data-ux-motion="calculate"]) .ux-panel--after .ux-bit:last-child{animation:ux-status 1.4s both}
.ux-law.is-playing[data-ux-motion="progress"] .ux-panel--after .ux-screen:after{animation:ux-progress 1.3s both}
@keyframes ux-in{from{opacity:.35}to{opacity:1}}
@keyframes ux-rise{from{opacity:.2;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes ux-gather{from{opacity:.25;transform:translateX(16px)}to{opacity:1;transform:translateX(0)}}
@keyframes ux-status{0%,40%{opacity:.15}75%,100%{opacity:1}}
@keyframes ux-emphasize{0%,45%,100%{transform:scale(1)}70%{transform:scale(1.06)}}
@keyframes ux-progress{from{width:5%}to{width:50%}}
.ux-ending{padding:48px 0}
@media(max-width:520px){.ux-comparison{grid-template-columns:1fr}.ux-screen{min-height:160px}.ux-article .ux-law{padding:38px 0 42px}}
@media(prefers-reduced-motion:reduce){.ux-law.is-playing .ux-bit,.ux-law.is-playing .ux-screen:after{animation:none!important}}
