/* A24: concrete work, one finite pass; final content needs no script. */
[data-service-motion]{position:relative;min-width:0}
[data-service-motion] .sm-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:53px;padding-top:10px}
[data-service-motion] .sm-footer p{margin:0;font-size:12px;line-height:1.5;color:#637459}
[data-service-motion] [data-sm-finish]{min-height:44px;flex:none;padding:9px 12px;border:1px solid #b9c5ab;border-radius:5px;background:#f5f7ed;color:#47613a;font:550 12px/1.4 var(--sans);cursor:pointer}
[data-service-motion] [data-sm-finish][aria-disabled="true"]{border-color:transparent;background:transparent;cursor:default}
[data-service-motion] [data-sm-finish]:focus-visible{outline:2px solid #405734;outline-offset:3px}
[data-service-motion] .sm-example-label{margin:0 0 15px;color:#718064;font-size:12px;line-height:1.5}
/* Avito: selected phrases remain ordinary, readable service copy. */
.avito-web-motion .sm-keyword{background:transparent;color:inherit;padding:0;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.avito-web-motion .sm-cost-factor{margin:9px 0 0;color:#758079;font:12px/1.45 Arial,sans-serif}
.avito-web-motion .awm-thumb.sm-distinct-photo img{object-fit:cover;object-position:center;transform:none}
/* Direct: recognizable search, the matching page and a receipt check. */
.sm-direct{margin-top:26px}
.sm-direct .sm-direct-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr);gap:22px;align-items:stretch}
.sm-direct .sm-search-window,.sm-direct .sm-page-window{border:1px solid #cbd2c1;border-radius:10px;overflow:hidden;background:#fff;min-width:0;position:relative}
.sm-direct .sm-search-window{padding:22px}
.sm-direct .sm-search-line{display:flex;align-items:center;gap:11px;border:2px solid #f6ca35;border-radius:9px;padding:10px 12px}
.sm-direct .sm-yandex{font:700 27px/1 Arial,sans-serif;color:#ed4935;flex:none}
.sm-direct .sm-search-line p{margin:0;flex:1;font:15px/1.35 Arial,sans-serif;color:#202326}
.sm-direct .sm-find{font:25px/1 Arial,sans-serif;color:#73777a}
.sm-direct .sm-query-choice{min-height:72px;margin:18px 0 22px;padding-bottom:16px;border-bottom:1px solid #eceee8}
.sm-direct .sm-query-choice p{margin:0 0 7px;color:#879080;font:13px/1.5 Arial,sans-serif;text-decoration:line-through;text-decoration-color:#ae8662}
.sm-direct .sm-excluded{display:block;font-size:11px;line-height:1.5;color:#8b715e;opacity:1}
.sm-direct .sm-search-result{position:relative;min-height:163px}
.sm-direct .sm-ad-domain{margin:0 0 11px;color:#3a7641;font:13px/1.4 Arial,sans-serif}
.sm-direct .sm-ad-domain>span{color:#8d9490;font-size:11px}
.sm-direct .sm-ad-copy h3{margin:0 0 11px;font:500 24px/1.2 Arial,sans-serif;color:#20429c;letter-spacing:-.02em}
.sm-direct .sm-ad-copy>p{margin:0;font:15px/1.5 Arial,sans-serif;color:#454c50}
.sm-direct .sm-ad-copy .sm-quick-links{margin-top:13px;color:#365daa;font-size:13px}
.sm-direct .sm-window-top{display:flex;justify-content:space-between;gap:15px;margin:0;padding:13px 20px;background:#edf0e7;border-bottom:1px solid #d5dccb;font-size:12px;line-height:1.5;color:#71815f}
.sm-direct .sm-page-content{padding:25px;background:linear-gradient(130deg,#fffcf3,#eef0e4);min-height:calc(100% - 45px)}
.sm-direct .sm-page-kicker{display:block;font-size:10px;line-height:1.4;letter-spacing:.1em;color:#7e896f}
.sm-direct .sm-page-content h3{font:550 29px/1.1 var(--sans);color:#3f5133;letter-spacing:-.055em;margin:15px 0 14px}
.sm-direct .sm-page-content>p{font-size:14px;line-height:1.5;color:#6f7963;margin:0}
.sm-direct .sm-page-scope{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.sm-direct .sm-page-scope>span{font-size:11px;line-height:1.5;padding:5px 8px;border:1px solid #d6ddc8;border-radius:4px;color:#7b886b}
.sm-direct .sm-page-content .sm-page-action{margin:24px 0 0;padding:11px 14px;border-radius:4px;background:#dce6ce;color:#4f6942;font-size:13px;display:flex;justify-content:space-between}
.sm-direct .sm-skeleton{position:absolute;pointer-events:none;opacity:0}
.sm-direct .sm-ad-skeleton{inset:30px 0 auto}
.sm-direct .sm-page-skeleton{inset:80px 25px auto}
.sm-direct .sm-skeleton i{display:block;height:13px;background:#e5e9e0;margin-bottom:15px;border-radius:4px}
.sm-direct .sm-skeleton i:first-child{height:25px;width:80%}
.sm-direct .sm-skeleton i:last-child{width:65%}
.sm-direct .sm-test-route{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);align-items:center;gap:20px;margin-top:20px;padding:20px 25px;border:1px solid #c5d3c0;background:#eaf1e3;border-radius:8px}
.sm-direct .sm-test-label{display:block;color:#728466;font-size:10px;line-height:1.5;letter-spacing:.045em}
.sm-direct .sm-test-route p{margin:6px 0 0;color:#425d35;font-size:17px;line-height:1.4;font-weight:550}
.sm-direct .sm-route-line{display:block;position:relative;border-top:1px solid #b9c9ad}
.sm-direct .sm-route-line::after{content:'›';position:absolute;right:-1px;top:-15px;color:#90a580;font-size:25px;line-height:1}
.sm-direct .sm-route-line i{position:absolute;top:-4px;left:calc(100% - 7px);width:7px;height:7px;border-radius:50%;background:#6f8d56}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"])[data-sm-step="0"] .sm-query-choice p{color:#515a58;text-decoration-color:transparent}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"])[data-sm-step="0"] .sm-excluded{opacity:0}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"])[data-sm-step="0"] .sm-ad-copy{opacity:0;transform:translateY(7px)}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"])[data-sm-step="0"] .sm-ad-skeleton{opacity:1}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"]) .sm-page-content{opacity:0;transform:translateY(7px)}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"]) .sm-page-skeleton{opacity:1}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"],[data-sm-step="2"]) .sm-test-receipt{opacity:.22}
.sm-direct:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"],[data-sm-step="2"]) .sm-route-line i{left:0}
/* Sites: genuine desktop and mobile screenshots of the same project. */
.sm-sites .sm-site-stage{position:relative;height:306px;overflow:hidden;background:#eceade;isolation:isolate}
.sm-sites .sm-site-desktop{position:absolute;top:12px;left:12px;width:calc(100% - 50px);height:auto;aspect-ratio:1.487;object-fit:cover;object-position:top;box-shadow:0 7px 20px #443d3214;border:1px solid #ede5d7;border-radius:5px;opacity:1}
.sm-sites .sm-phone{position:absolute;right:15px;bottom:14px;width:111px;height:236px;border:5px solid #393d36;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 9px 24px #34382c2b;opacity:1;transform:none}
.sm-sites .sm-phone img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.sm-sites .sm-structure{position:absolute;inset:17px 24px 17px 17px;background:#f8f8f0;border:1px solid #d0d6c7;border-radius:6px;padding:18px;opacity:0;pointer-events:none}
.sm-sites .sm-structure>span{font-size:11px;color:#879078;text-transform:uppercase;letter-spacing:.06em}
.sm-sites .sm-structure h3{font-size:22px;line-height:1.2;color:#68775a;font-weight:500;margin:19px 0}
.sm-sites .sm-wire-hero{padding:17px;background:#e8ecdf;border:1px dashed #b9c4aa;border-radius:4px;font-size:13px;line-height:1.5;color:#748369}
.sm-sites .sm-wire-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}
.sm-sites .sm-wire-grid>span{padding:17px 6px;border:1px solid #dce1d2;border-radius:4px;text-align:center;color:#889278;font-size:11px;line-height:1.4}
.sm-sites:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"]) .sm-site-desktop{opacity:0;transform:translateY(8px)}
.sm-sites:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"]) .sm-structure{opacity:1}
.sm-sites:is([data-sm-state="waiting"],[data-sm-state="playing"])[data-sm-step="0"] .sm-wire-grid{opacity:.3;transform:translateY(9px)}
.sm-sites:is([data-sm-state="waiting"],[data-sm-state="playing"]):is([data-sm-step="0"],[data-sm-step="1"],[data-sm-step="2"]) .sm-phone{opacity:0;transform:translateX(17px)}
/* Bots: the same quoted details land in the matching owner fields. */
.sm-bot .sm-source{padding:0;color:inherit;background:transparent;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.sm-bot [data-sm-field]{position:relative}
.sm-bot [data-sm-value]{display:inline-block;opacity:1;transform:none}
.sm-bot [data-sm-token]{position:absolute;z-index:3;display:none;pointer-events:none;padding:2px 5px;background:#fff2b9;color:#435336;border:1px solid #e3d593;border-radius:4px;font-size:13px;line-height:1.5;white-space:nowrap;opacity:0}
.sm-bot:is([data-sm-state="waiting"],[data-sm-state="playing"]) [data-sm-field]::after{content:'—';position:absolute;left:0;top:0;color:#adc1c6}
.sm-bot:is([data-sm-state="waiting"],[data-sm-state="playing"]) [data-sm-value]{opacity:0;transform:translateY(5px)}
.sm-bot[data-sm-state="playing"]:is([data-sm-step="1"],[data-sm-step="2"],[data-sm-step="3"]) [data-sm-field="area"] [data-sm-value],.sm-bot[data-sm-state="playing"]:is([data-sm-step="2"],[data-sm-step="3"]) [data-sm-field="type"] [data-sm-value],.sm-bot[data-sm-state="playing"][data-sm-step="3"] [data-sm-field="time"] [data-sm-value]{opacity:1;transform:none}
.sm-bot[data-sm-state="playing"]:is([data-sm-step="1"],[data-sm-step="2"],[data-sm-step="3"]) [data-sm-field="area"]::after,.sm-bot[data-sm-state="playing"]:is([data-sm-step="2"],[data-sm-step="3"]) [data-sm-field="type"]::after,.sm-bot[data-sm-state="playing"][data-sm-step="3"] [data-sm-field="time"]::after{opacity:0}
.sm-bot[data-sm-state="playing"][data-sm-step="1"] [data-sm-source="area"],.sm-bot[data-sm-state="playing"][data-sm-step="2"] [data-sm-source="type"],.sm-bot[data-sm-state="playing"][data-sm-step="3"] [data-sm-source="time"]{background:#fff0ae;color:#465139;box-shadow:0 0 0 3px #fff0ae}
.sm-bot .sm-footer{padding:0 24px 12px}
@keyframes sm-keyword{0%,100%{background:transparent;box-shadow:0 0 0 0 transparent}35%,75%{background:#fff0ad;box-shadow:0 0 0 3px #fff0ad}}
@keyframes sm-token{0%{transform:translate(var(--sm-x),var(--sm-y));opacity:0}12%{opacity:1}78%{opacity:1}100%{transform:translate(0,0);opacity:0}}
@media(prefers-reduced-motion:no-preference){
 html body .avito-web-motion[data-awm-state="playing"][data-awm-stage="title"] [data-sm-keyword="title"],html body .avito-web-motion[data-awm-state="playing"][data-awm-stage="description"] [data-sm-keyword="description"]{animation:sm-keyword 950ms ease-in-out both!important}
 html body [data-service-motion] :is(.sm-ad-copy,.sm-page-content,.sm-skeleton,.sm-excluded,.sm-test-receipt,.sm-query-choice p,.sm-site-desktop,.sm-structure,.sm-wire-grid,.sm-phone){transition:opacity 480ms ease,transform 560ms cubic-bezier(.22,1,.36,1),color 400ms ease,text-decoration-color 400ms ease!important}
 html body [data-service-motion] .sm-route-line i{transition:left 560ms cubic-bezier(.22,1,.36,1)!important}
 html body .sm-bot [data-sm-value]{transition:opacity 250ms 380ms ease,transform 250ms 380ms ease!important}
 html body .sm-bot[data-sm-state="playing"][data-sm-motion="on"][data-sm-step="1"] [data-sm-token="area"],html body .sm-bot[data-sm-state="playing"][data-sm-motion="on"][data-sm-step="2"] [data-sm-token="type"],html body .sm-bot[data-sm-state="playing"][data-sm-motion="on"][data-sm-step="3"] [data-sm-token="time"]{display:block;animation:sm-token 680ms cubic-bezier(.22,1,.36,1) both!important}
}
@media(prefers-reduced-motion:reduce){
 [data-service-motion] .sm-before,[data-service-motion] .sm-structure,[data-service-motion] .sm-skeleton,[data-service-motion] [data-sm-token]{display:none!important}
 [data-service-motion] :is(.sm-ad-copy,.sm-page-content,.sm-test-receipt,.sm-site-desktop,.sm-phone,[data-sm-value]){opacity:1!important;transform:none!important}
 .sm-bot [data-sm-field]::after{display:none!important}
}
@media(max-width:760px){
 .sm-direct .sm-direct-grid{grid-template-columns:minmax(0,1fr);gap:17px}
 .sm-direct .sm-search-window{padding:18px}
 .sm-direct .sm-search-line{gap:8px;padding:10px}
 .sm-direct .sm-search-line p{font-size:14px}
 .sm-direct .sm-query-choice{margin:15px 0 18px;min-height:75px}
 .sm-direct .sm-ad-copy h3{font-size:23px}
 .sm-direct .sm-search-result{min-height:175px}
 .sm-direct .sm-page-content{padding:22px;min-height:291px}
 .sm-direct .sm-page-content h3{font-size:29px}
 .sm-direct .sm-test-route{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:10px;padding:17px 15px}
 .sm-direct .sm-test-label{font-size:9px;letter-spacing:0}
 .sm-direct .sm-test-route p{font-size:14px}
 .sm-sites .sm-site-stage{height:258px}
 .sm-sites .sm-site-desktop{width:calc(100% - 33px);left:9px;top:12px}
 .sm-sites .sm-phone{width:96px;height:204px;right:11px;bottom:13px;border-width:4px;border-radius:15px}
 .sm-sites .sm-structure{inset:12px 18px 12px 12px;padding:14px}
 .sm-sites .sm-structure h3{font-size:20px;margin:15px 0}
 .sm-sites .sm-wire-grid{gap:6px;margin-top:11px}
 .sm-sites .sm-wire-grid>span{padding:14px 3px;font-size:10px}
 .sm-bot .sm-footer{padding-inline:18px}
 [data-service-motion] .sm-footer{gap:8px}
}
@media(max-width:359px){
 .sm-direct .sm-search-window{padding:15px}
 .sm-direct .sm-search-line p{font-size:13px}
 .sm-direct .sm-test-route{padding:15px 12px;gap:8px}
 .sm-direct .sm-test-route p{font-size:13px}
 .sm-sites .sm-site-stage{height:238px}
 .sm-sites .sm-phone{width:89px;height:188px;right:8px;bottom:12px}
}
/* Guided step-by-step story rail for Sites and Bot demos */
[data-service-motion] .sm-story-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 4px;padding:7px 9px;border-radius:7px;background:#eef1e6;border:1px solid #cdd5c0}
.sm-bot .sm-story-bar{margin:8px 24px 4px}
html body [data-service-motion] .sm-story-step{appearance:none;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:5px;border:1px solid #c2cbb4;background:#faf8f1;color:#3d4d35;font:550 11px/1.3 var(--sans,sans-serif);cursor:pointer;min-height:30px}
@media(prefers-reduced-motion:no-preference){
 html body [data-service-motion] .sm-story-step{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease!important}
}
html body [data-service-motion] .sm-story-step:hover{border-color:#7d916b;background:#fff}
html body [data-service-motion] .sm-story-step.is-done{border-color:#9fb18e;background:#e4eadb;color:#2f4227}
html body [data-service-motion] .sm-story-step.is-active{border-color:#9e3d1e;background:#9e3d1e;color:#faf8f1}
[data-service-motion] .sm-story-num{font-weight:700;font-variant-numeric:tabular-nums;opacity:.78}
[data-service-motion] .sm-story-step.is-done .sm-story-num::before{content:'✓ ';color:#344b2c}
[data-service-motion] .sm-story-cta{margin-left:auto;display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:5px;background:#344b2c;color:#faf8f1;font:600 11px/1.3 var(--sans,sans-serif);text-decoration:none;min-height:30px;box-sizing:border-box}
[data-service-motion] .sm-story-cta:hover{background:#9e3d1e;color:#fff}
.sm-bot .bo-card-contact{margin:10px 0 0;padding:6px 10px;border-radius:5px;background:#e7efe1;border:1px solid #bfd0b2;color:#2f4527;font:550 11.5px/1.4 var(--sans,sans-serif)}
@media(max-width:760px){
 .sm-bot .sm-story-bar{margin-inline:18px}
}
@media(max-width:480px){
 [data-service-motion] .sm-story-bar{gap:4px;padding:6px}
 html body [data-service-motion] .sm-story-step{padding:4px 7px;font-size:10.5px}
 [data-service-motion] .sm-story-cta{margin-left:0}
}

