/* Фирменные иконки вкладок: те же SVG и движения на десктопе, телефоне и плитках. */
:is(.sdi, .qnav button, .tile):is(:hover, .hov) { background: color-mix(in srgb, var(--brand) 18%, transparent); }
:is(.sdi, .qnav button, .tile):is(:hover, .hov) .i { color: var(--brand); animation: icow .38s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="home"] .i rect { transform-box: fill-box; }
:is(.sdi, .qnav button, .tile)[data-v="home"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="home"]:is(:hover, .hov) .i rect { animation: cubeSpr .55s cubic-bezier(.34, 1.56, .64, 1) both; }
:is(.sdi, .qnav button, .tile)[data-v="home"] .i rect:nth-child(1) { --dx: -1.8px; --dy: -1.8px; }
:is(.sdi, .qnav button, .tile)[data-v="home"] .i rect:nth-child(2) { --dx: 1.8px; --dy: -1.8px; }
:is(.sdi, .qnav button, .tile)[data-v="home"] .i rect:nth-child(3) { --dx: -1.8px; --dy: 1.8px; }
:is(.sdi, .qnav button, .tile)[data-v="home"] .i rect:nth-child(4) { --dx: 1.8px; --dy: 1.8px; }

:is(.sdi, .qnav button, .tile)[data-v="objects"] .i path { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="objects"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="objects"]:is(:hover, .hov) .o-slab { animation: oSlab .28s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="objects"]:is(:hover, .hov) .o-walls { animation: oDrop .32s .07s cubic-bezier(.2, .85, .35, 1.25) both; }
:is(.sdi, .qnav button, .tile)[data-v="objects"]:is(:hover, .hov) .o-door { animation: oDrop .28s .18s cubic-bezier(.2, .85, .35, 1.25) both; }
:is(.sdi, .qnav button, .tile)[data-v="objects"]:is(:hover, .hov) .o-roof { animation: oRoof .38s .3s cubic-bezier(.2, .85, .35, 1.25) both; }

:is(.sdi, .qnav button, .tile)[data-v="estimates"] .i { transform-box: fill-box; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"] .es-page,
:is(.sdi, .qnav button, .tile)[data-v="estimates"] .es-fold { transform-box: fill-box; transform-origin: 50% 100%; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"] .es-l1 { stroke-dasharray: 7; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"] .es-l2 { stroke-dasharray: 5; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"]:is(:hover, .hov) .es-page { animation: esLay .5s cubic-bezier(.3, .85, .35, 1) both; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"]:is(:hover, .hov) .es-fold { animation: esFold .24s .3s cubic-bezier(.2, .85, .35, 1.2) both; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"]:is(:hover, .hov) .es-l1 { animation: esDraw .22s .42s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="estimates"]:is(:hover, .hov) .es-l2 { animation: esDrawSm .22s .52s ease both; }

:is(.sdi, .qnav button, .tile)[data-v="staff"] .st-c,
:is(.sdi, .qnav button, .tile)[data-v="staff"] .st-l,
:is(.sdi, .qnav button, .tile)[data-v="staff"] .st-r { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="staff"] .st-l,
:is(.sdi, .qnav button, .tile)[data-v="staff"] .st-r { opacity: .9; }
:is(.sdi, .qnav button, .tile)[data-v="staff"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="staff"]:is(:hover, .hov) .st-c { animation: icoPop .34s cubic-bezier(.34, 1.56, .64, 1) both; }
:is(.sdi, .qnav button, .tile)[data-v="staff"]:is(:hover, .hov) .st-l { animation: icoPop .34s .14s cubic-bezier(.34, 1.56, .64, 1) both; }
:is(.sdi, .qnav button, .tile)[data-v="staff"]:is(:hover, .hov) .st-r { animation: icoPop .34s .22s cubic-bezier(.34, 1.56, .64, 1) both; }

:is(.sdi, .qnav button, .tile)[data-v="cps"] .cp-b1,
:is(.sdi, .qnav button, .tile)[data-v="cps"] .cp-b2 { transform-box: fill-box; transform-origin: 50% 100%; }
:is(.sdi, .qnav button, .tile)[data-v="cps"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="cps"]:is(:hover, .hov) .cp-b1 { animation: cpGrow .4s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="cps"]:is(:hover, .hov) .cp-b2 { animation: cpGrow .4s .18s ease both; }

:is(.sdi, .qnav button, .tile)[data-v="letters"] .lt-paper { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="letters"] .lt-t1,
:is(.sdi, .qnav button, .tile)[data-v="letters"] .lt-t2 { stroke-dasharray: 7; }
:is(.sdi, .qnav button, .tile)[data-v="letters"] .lt-t3 { stroke-dasharray: 4; }
:is(.sdi, .qnav button, .tile)[data-v="letters"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="letters"]:is(:hover, .hov) .lt-paper { animation: ltRise .38s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="letters"]:is(:hover, .hov) .lt-t1 { stroke-dashoffset: 7; animation: lnDraw .25s .3s ease forwards; }
:is(.sdi, .qnav button, .tile)[data-v="letters"]:is(:hover, .hov) .lt-t2 { stroke-dashoffset: 7; animation: lnDraw .25s .42s ease forwards; }
:is(.sdi, .qnav button, .tile)[data-v="letters"]:is(:hover, .hov) .lt-t3 { stroke-dashoffset: 4; animation: lnDraw .22s .54s ease forwards; }

:is(.sdi, .qnav button, .tile)[data-v="requests"] .rq-d1,
:is(.sdi, .qnav button, .tile)[data-v="requests"] .rq-d2,
:is(.sdi, .qnav button, .tile)[data-v="requests"] .rq-cart { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="requests"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="requests"]:is(:hover, .hov) .rq-cart { animation: rqIn .3s ease-out both, rqDip .26s .82s ease; }
:is(.sdi, .qnav button, .tile)[data-v="requests"]:is(:hover, .hov) .rq-d1 { animation: rqFall2 .45s .34s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="requests"]:is(:hover, .hov) .rq-d2 { animation: rqFall2 .45s .52s cubic-bezier(.3, .7, .4, 1.1) both; }

:is(.sdi, .qnav button, .tile)[data-v="stock"] .wh-rack,
:is(.sdi, .qnav button, .tile)[data-v="stock"] [class*="wh-b"] { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b1 { animation: whDrop1 .42s .04s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b2 { animation: whDrop1 .42s .18s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b3 { animation: whDrop1 .42s .32s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b4 { animation: whDrop1 .42s .46s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b5 { animation: whDrop1 .42s .6s cubic-bezier(.3, .7, .4, 1.1) both; }
:is(.sdi, .qnav button, .tile)[data-v="stock"]:is(:hover, .hov) .wh-b6 { animation: whDrop1 .42s .74s cubic-bezier(.3, .7, .4, 1.1) both; }

:is(.sdi, .qnav button, .tile)[data-v="moves"] .mv-truck,
:is(.sdi, .qnav button, .tile)[data-v="moves"] .mv-o1,
:is(.sdi, .qnav button, .tile)[data-v="moves"] .mv-o2,
:is(.sdi, .qnav button, .tile)[data-v="moves"] .mv-o3 { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="moves"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="moves"]:is(:hover, .hov) .mv-truck { animation: mvIn .32s ease-out both; }
:is(.sdi, .qnav button, .tile)[data-v="moves"]:is(:hover, .hov) .mv-o1 { animation: mvOut .34s .36s ease-in both; }
:is(.sdi, .qnav button, .tile)[data-v="moves"]:is(:hover, .hov) .mv-o2 { animation: mvOut .34s .5s ease-in both; }
:is(.sdi, .qnav button, .tile)[data-v="moves"]:is(:hover, .hov) .mv-o3 { animation: mvOut .34s .64s ease-in both; }

:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-r1,
:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-r2,
:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-r3 { transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-k1,
:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-k2,
:is(.sdi, .qnav button, .tile)[data-v="tasks"] .tk-k3 { stroke-dasharray: 5; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-r1 { animation: icoPop .3s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-r2 { animation: icoPop .3s .15s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-r3 { animation: icoPop .3s .3s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-k1 { stroke-dashoffset: 5; animation: lnDraw .26s .45s ease forwards; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-k2 { stroke-dashoffset: 5; animation: lnDraw .26s .58s ease forwards; }
:is(.sdi, .qnav button, .tile)[data-v="tasks"]:is(:hover, .hov) .tk-k3 { stroke-dashoffset: 5; animation: lnDraw .26s .71s ease forwards; }

:is(.sdi, .qnav button, .tile)[data-v="acts"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="acts"]:is(:hover, .hov) .ac-stamp { animation: acStamp .38s ease both; transform-box: fill-box; transform-origin: center; }
:is(.sdi, .qnav button, .tile)[data-v="acts"]:is(:hover, .hov) .ac-line { stroke-dasharray: 8; animation: acLine .3s .12s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="refs"] .i line { --dash: 16; stroke-dasharray: 16; }
:is(.sdi, .qnav button, .tile)[data-v="refs"] .i line:nth-child(3) { --dash: 10; stroke-dasharray: 10; }
:is(.sdi, .qnav button, .tile)[data-v="refs"]:is(:hover, .hov) .i { animation: none; }
:is(.sdi, .qnav button, .tile)[data-v="refs"]:is(:hover, .hov) .i line { animation: refsDraw .36s ease both; }
:is(.sdi, .qnav button, .tile)[data-v="refs"]:is(:hover, .hov) .i line:nth-child(2) { animation-delay: .08s; }
:is(.sdi, .qnav button, .tile)[data-v="refs"]:is(:hover, .hov) .i line:nth-child(3) { animation-delay: .16s; }

@keyframes icow { 0% { transform: rotate(0) scale(1); } 35% { transform: rotate(-10deg) scale(1.16); } 70% { transform: rotate(6deg) scale(1.13); } 100% { transform: rotate(-3deg) scale(1.12); } }
@keyframes cubeSpr { 0% { transform: translate(0, 0); } 45% { transform: translate(var(--dx), var(--dy)); } 75% { transform: translate(calc(var(--dx) * -.25), calc(var(--dy) * -.25)); } 100% { transform: none; } }
@keyframes oSlab { from { transform: translateY(5px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes oDrop { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes oRoof { from { transform: translate(-6px, -8px) rotate(-7deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes esLay { 0% { transform: perspective(48px) rotateX(-84deg); opacity: .3; } 55% { transform: perspective(48px) rotateX(12deg); opacity: 1; } 75% { transform: perspective(48px) rotateX(-5deg); } 100% { transform: perspective(48px) rotateX(0); } }
@keyframes esFold { from { transform: rotate(-40deg) scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes esDraw { from { stroke-dashoffset: 7; } to { stroke-dashoffset: 0; } }
@keyframes esDrawSm { from { stroke-dashoffset: 5; } to { stroke-dashoffset: 0; } }
@keyframes icoPop { from { transform: scale(.3) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cpGrow { from { transform: scaleY(.2); opacity: .3; } to { transform: none; opacity: 1; } }
@keyframes ltRise { from { transform: translateY(5px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lnDraw { to { stroke-dashoffset: 0; } }
@keyframes rqIn { from { transform: translateX(-12px); opacity: 0; } 55% { opacity: 1; } to { transform: none; } }
@keyframes rqFall2 { from { transform: translateY(-9px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(0); } }
@keyframes rqDip { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(1.3px); } }
@keyframes whDrop1 { from { transform: translateY(-9px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(0); } }
@keyframes mvIn { from { transform: translateX(-15px); opacity: 0; } 55% { opacity: 1; } to { transform: none; } }
@keyframes mvOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-7.5px); opacity: 0; } }
@keyframes acStamp { 0% { transform: translateY(-3px); opacity: .3; } 55% { transform: translateY(1px); } 100% { transform: none; opacity: 1; } }
@keyframes acLine { from { stroke-dashoffset: 8; } to { stroke-dashoffset: 0; } }
@keyframes refsDraw { from { stroke-dashoffset: var(--dash); } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  :is(.sdi, .qnav button, .tile) .i, :is(.sdi, .qnav button, .tile) .i * { animation: none !important; transition: none !important; }
}
