/* Модуль «Магазин и склад»: путь заказа (телефон → склады сети → бокс выдачи) и мини-виджеты особенностей.
   Разметка — resources/views/site/modules/store.blade.php, сценарий — store.js */
.st, .stf {
    --st-ease: cubic-bezier(.2, .7, .2, 1);
    --st-spring: cubic-bezier(.3, 1.5, .5, 1);
    --st-blue: #2f5bd8; --st-blue-bg: #eaf0fd;
    --st-green: #1f7a45; --st-green-bg: #e7f5ec;
    --st-amber: #a8650b; --st-amber-bg: #fdf1dc;
    --st-red: #b23a3a; --st-red-bg: #fdf0f0;
}
.st-head { max-width: 780px; }
.st-head .lead { margin-top: 18px; }

/* ── Сцена ── */
.st-stage {
    position: relative; margin-top: 44px; display: grid; grid-template-columns: 286px minmax(0, 1fr) 292px; gap: 20px; align-items: stretch;
    padding: 22px; border: 1px solid var(--line-card); border-radius: 20px; user-select: none; font-size: 13px;
    background: linear-gradient(180deg, #fbfbfa, #f4f4f1);
}
.st-stage::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.st-col { position: relative; min-width: 0; }
.st-card { position: relative; background: #fff; border: 1px solid var(--line-card); border-radius: 16px; box-shadow: 0 1px 2px rgba(20, 20, 19, .04), 0 18px 50px rgba(20, 20, 19, .07); height: 100%; display: flex; flex-direction: column; }
.st-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); flex: none; }
.st-card-h > b { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.st-card-h > b .i { color: var(--accent); }
.st-card-h > span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-live { display: inline-flex; align-items: center; gap: 6px; }
.st-live i { width: 6px; height: 6px; border-radius: 50%; background: #22a35a; animation: st-pulse 1.6s infinite; }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 163, 90, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 163, 90, 0); } }

/* Связки между колонками: бегущие точки */
.st-col-map::before, .st-col-box::before {
    content: ''; position: absolute; top: 50%; left: -20px; width: 20px; height: 2px; z-index: 2;
    background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); background-size: 8px 2px; animation: st-flow .6s linear infinite; opacity: .5;
}
@keyframes st-flow { to { background-position: 8px 0; } }

/* ── Упаковки товаров (CSS-рисунки) ── */
.st-pic { display: grid; place-items: center; border-radius: 10px; height: 64px; background: var(--chip); }
.st-pic[data-c='blue'] { background: linear-gradient(160deg, #e3eefc, #cfe0fa); --pk: #3d7fe0; --pk2: #9cc2f5; }
.st-pic[data-c='choco'] { background: linear-gradient(160deg, #f6ebe3, #ecd8c9); --pk: #6b3f22; --pk2: #c98a52; }
.st-pic[data-c='lime'] { background: linear-gradient(160deg, #eef8dc, #ddefbd); --pk: #5c9a17; --pk2: #b6dd6f; }
.st-pic[data-c='ink'] { background: linear-gradient(160deg, #eeeeec, #dddcd8); --pk: #2b2b29; --pk2: #8e8e88; }
.st-pk { position: relative; display: block; }
.st-pk-bottle { width: 18px; height: 40px; border-radius: 6px 6px 5px 5px; background: linear-gradient(90deg, var(--pk2), #fff 45%, var(--pk2)); border: 1.5px solid var(--pk); }
.st-pk-bottle::before { content: ''; position: absolute; left: 50%; top: -8px; width: 9px; height: 7px; margin-left: -4.5px; border-radius: 2px; background: var(--pk); }
.st-pk-bottle::after { content: ''; position: absolute; left: -1.5px; right: -1.5px; top: 14px; height: 11px; background: var(--pk); opacity: .85; }
.st-pk-bar { width: 44px; height: 16px; border-radius: 4px; background: var(--pk); transform: rotate(-12deg); box-shadow: inset 0 0 0 2px var(--pk2); }
.st-pk-bar::before { content: ''; position: absolute; inset: 4px 10px; border-radius: 2px; background: var(--pk2); }
.st-pk-shaker { width: 24px; height: 36px; border-radius: 3px 3px 7px 7px; background: linear-gradient(90deg, var(--pk), #555 50%, var(--pk)); margin-top: 6px; }
.st-pk-shaker::before { content: ''; position: absolute; left: -2px; right: -2px; top: -8px; height: 8px; border-radius: 4px 4px 1px 1px; background: var(--pk2); }
.st-pk-box { width: 26px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, #e0b77d, #c9955a); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.st-pk-box::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: rgba(255, 255, 255, .55); }

/* ── Телефон ── */
.st-col-phone { display: flex; justify-content: center; }
.st-phone { width: 270px; height: 560px; padding: 9px; border-radius: 42px; background: #1a1a19; box-shadow: var(--phone-shadow), inset 0 0 0 1.5px #3a3a38; flex: none; }
.st-screen { position: relative; height: 100%; border-radius: 34px; background: var(--screen); overflow: hidden; }
.st-sbar { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 12.5px; }
.st-sbar span { display: inline-flex; gap: 3px; align-items: flex-end; }
.st-sbar span i { width: 3px; background: var(--ink); border-radius: 1px; }
.st-sbar span i:nth-child(1) { height: 5px; } .st-sbar span i:nth-child(2) { height: 8px; } .st-sbar span i:nth-child(3) { height: 11px; }
.st-scr { position: absolute; inset: 36px 0 0; padding: 4px 14px 14px; opacity: 0; transform: translateX(24px); transition: opacity .35s var(--st-ease), transform .45s var(--st-ease); pointer-events: none; }
.st-scr.is-on { opacity: 1; transform: none; }
.st-scr.is-off { transform: translateX(-24px); }
.st-ah { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; }
.st-ah b { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.st-ah span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.st-cats { display: flex; gap: 5px; margin: 4px 0 12px; }
.st-cats span { height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; display: inline-flex; align-items: center; color: var(--ink-2); white-space: nowrap; }
.st-cats span[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.st-prod { position: relative; background: #fff; border-radius: 14px; padding: 7px 7px 9px; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.st-prod > b { display: block; margin: 7px 2px 3px; font-size: 11.5px; font-weight: 550; line-height: 1.25; height: 29px; overflow: hidden; }
.st-pr { display: flex; align-items: center; justify-content: space-between; padding-left: 2px; font-size: 12.5px; font-weight: 600; }
.st-add { width: 26px; height: 26px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .15s, background .3s; }
.st-add.is-press { transform: scale(.82); }
.st-prod.is-in { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.st-prod.is-in .st-add { background: var(--accent); }
.st-qty { position: absolute; top: 4px; right: 4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/20px var(--font); text-align: center; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--st-spring); }
.st-prod.is-in .st-qty { opacity: 1; transform: none; }
.st-cartbar {
    position: absolute; left: 12px; right: 12px; bottom: 14px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 12.5px;
    transform: translateY(80px); transition: transform .45s var(--st-spring), background .2s;
}
.st-cartbar span { display: inline-flex; align-items: center; gap: 7px; }
.st-cartbar.is-on { transform: none; }
.st-cartbar.is-press { background: #333; }
.st-lines p { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; background: #fff; border-radius: 12px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); }
.st-pic-s { width: 40px; height: 40px; flex: none; border-radius: 9px; }
.st-pic-s .st-pk { transform: scale(.62); }
.st-lines span:not(.st-pic) { flex: 1; font-size: 12px; font-weight: 550; line-height: 1.25; }
.st-lines small { display: block; font-weight: 400; color: var(--muted); }
.st-lines b { font-size: 12.5px; }
.st-opt { display: flex; align-items: center; gap: 9px; margin: 8px 0; padding: 8px 10px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.st-opt > span { width: 28px; height: 28px; border-radius: 8px; background: var(--chip); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.st-opt small { display: block; font-size: 10.5px; color: var(--muted); }
.st-opt b { font-size: 12px; font-weight: 550; }
.st-tot { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 0; font-size: 13px; color: var(--ink-2); }
.st-tot b { font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.st-paybtn { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 13.5px; transition: background .3s, transform .15s; overflow: hidden; }
.st-paybtn > span { grid-area: 1 / 1; transition: opacity .25s, transform .3s var(--st-ease); }
.st-paybtn .b, .st-paybtn .c { opacity: 0; transform: translateY(10px); }
.st-paybtn.is-load .a, .st-paybtn.is-ok .a { opacity: 0; transform: translateY(-10px); }
.st-paybtn.is-load .b { opacity: 1; transform: none; }
.st-paybtn.is-ok { background: var(--ok); }
.st-paybtn.is-ok .c { opacity: 1; transform: none; }
.st-paybtn.is-press { transform: scale(.96); }
.st-spin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: st-rot .8s linear infinite; }
@keyframes st-rot { to { transform: rotate(360deg); } }
.st-ordbox { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.st-ordbox > .st-pk { transform: scale(1.4); margin: 0 8px 0 6px; flex: none; }
.st-ordbox b { display: block; font-size: 14px; }
.st-ordbox small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.st-track { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.st-track li { position: relative; display: flex; align-items: center; gap: 10px; height: 40px; color: var(--faint); font-size: 12.5px; }
.st-track li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 29px; height: 22px; width: 2px; background: var(--line-strong); }
.st-track li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; color: #fff; flex: none; transition: background .3s, border-color .3s; }
.st-track li i .i { opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--st-spring); }
.st-track li span { flex: 1; }
.st-track li time { font-size: 11px; opacity: 0; transition: opacity .3s; }
.st-track li.is-done { color: var(--ink); }
.st-track li.is-done i { background: var(--ok); border-color: var(--ok); }
.st-track li.is-done i .i { opacity: 1; transform: none; }
.st-track li.is-done time { opacity: 1; color: var(--muted); }
.st-track li.is-done:not(:last-child)::after { background: var(--ok); }
.st-track li.is-now i { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: st-now 1.4s infinite; }
@keyframes st-now { 50% { box-shadow: 0 0 0 7px rgba(47, 91, 216, .08); } }
.st-rcpt { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 11.5px; font-weight: 550; }
.st-tap { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(47, 91, 216, .28); pointer-events: none; opacity: 0; z-index: 5; }
.st-tap.is-on { animation: st-tap .55s var(--st-ease); }
@keyframes st-tap { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }

/* ── Схема складов ── */
.st-map { position: relative; aspect-ratio: 520 / 340; margin: 12px 12px 0; border-radius: 12px; background: #f6f7f4; overflow: hidden; flex: none; }
.st-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-river { fill: none; stroke: #dbe8f6; stroke-width: 18; stroke-linecap: round; }
.st-streets path { fill: none; stroke: #e7e8e3; stroke-width: 5; }
.st-streets .st-ave { stroke: #eceee8; stroke-width: 9; }
.st-blocks rect { fill: #eef0eb; }
.st-route-bg { fill: none; stroke: #d9dde6; stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; opacity: 0; transition: opacity .4s; }
.st-route { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: 0; }
.st-map.is-search .st-route-bg { opacity: 1; }
.st-radar { fill: rgba(47, 91, 216, .14); stroke: var(--accent); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.st-radar.is-on { animation: st-radar 1.4s var(--st-ease) infinite; }
.st-radar-2.is-on { animation-delay: .7s; }
@keyframes st-radar { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(6); } }

.st-node { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.st-pin {
    position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--ink-2); border: 1.5px solid var(--line-strong); box-shadow: 0 4px 10px rgba(20, 20, 19, .1); transition: background .3s, color .3s, border-color .3s, transform .3s var(--st-spring);
}
.st-node.is-home .st-pin { background: var(--ink); color: #fff; border-color: var(--ink); }
.st-node.is-hit .st-pin { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.12); }
.st-ncard {
    position: absolute; top: -14px; left: 22px; width: 152px; padding: 7px 9px 6px; border-radius: 10px; background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line-card); box-shadow: 0 6px 18px rgba(20, 20, 19, .07); font-size: 11px; transition: opacity .35s, border-color .3s, box-shadow .3s;
}
.st-node[data-node='central'] .st-ncard, .st-node[data-node='satpaev'] .st-ncard { left: auto; right: 22px; }
.st-ncard > b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ncard > small { display: block; font-size: 10px; color: var(--muted); margin: -1px 0 4px; }
.st-ncard p { display: flex; align-items: center; gap: 5px; margin: 0; height: 19px; color: var(--ink-2); }
.st-ncard p span { flex: 1; }
.st-ncard p b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); min-width: 22px; text-align: right; transition: color .3s; }
.st-ncard em { white-space: nowrap; font-style: normal; font-size: 9.5px; font-weight: 600; height: 16px; line-height: 16px; padding: 0 6px; border-radius: 999px; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--st-spring); }
.st-ncard em:empty { display: none; }
.st-ncard em.is-res { background: var(--st-green-bg); color: var(--st-green); opacity: 1; transform: none; }
.st-ncard em.is-none { background: var(--st-red-bg); color: var(--st-red); opacity: 1; transform: none; }
.st-node.is-dim .st-ncard { opacity: .45; }
.st-node.is-hit .st-ncard { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 18px rgba(20, 20, 19, .07); }
.st-ncard p.is-tick b { color: var(--accent); }
.st-truck {
    position: absolute; left: 0; top: 0; z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 9px; background: var(--accent); color: #fff;
    display: grid; place-items: center; box-shadow: 0 6px 16px rgba(47, 91, 216, .35); opacity: 0; transition: opacity .3s;
}
.st-truck.is-on { opacity: 1; }
.st-doc {
    position: absolute; left: 50%; top: 50%; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 10px; border-radius: 12px;
    background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(20, 20, 19, .25); transform: translate(-50%, -50%) scale(.85); opacity: 0;
    transition: opacity .3s, transform .45s var(--st-spring); white-space: nowrap; pointer-events: none;
}
.st-doc .i { color: #8fd6a8; flex: none; }
.st-doc b { display: block; font-size: 12px; font-weight: 600; }
.st-doc small { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .7); }
.st-doc.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.st-doc.is-low { top: 44%; }
.st-log { list-style: none; margin: 10px 12px 12px; padding: 8px 10px; border-radius: 10px; background: #141413; color: #d9d9d4; font: 11px/1.55 ui-monospace, 'SFMono-Regular', Menlo, monospace; flex: 1; min-height: 132px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.st-log li { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 0; opacity: 0; transition: max-height .35s var(--st-ease), opacity .35s; }
.st-log li.is-on { max-height: 18px; opacity: 1; }
.st-log li:last-child.is-on, .st-log li.is-new { color: #fff; }
.st-log li.is-new span { color: #8fd6a8; }
.st-log time { color: #85857f; flex: none; }
.st-log span { overflow: hidden; text-overflow: ellipsis; }

/* ── Бокс выдачи ── */
.st-cab {
    position: relative; margin: 14px 14px 0; padding: 10px; border-radius: 14px; background: linear-gradient(180deg, #2a2b2e, #1b1c1e);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 30px rgba(20, 20, 19, .18); overflow: hidden;
}
.st-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.st-cell {
    position: relative; aspect-ratio: 1 / 1.02; border-radius: 8px; background: linear-gradient(180deg, rgba(160, 200, 240, .10), rgba(160, 200, 240, .04));
    box-shadow: inset 0 0 0 1px rgba(170, 210, 250, .22); display: grid; place-items: center; overflow: hidden;
}
.st-cell small { position: absolute; top: 4px; left: 6px; font-size: 9.5px; color: rgba(255, 255, 255, .45); }
.st-door {
    position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .09));
    border: 1px solid rgba(200, 225, 255, .28); transform-origin: left center; transition: transform .6s var(--st-ease), opacity .4s;
}
.st-parcel { display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .6s var(--st-spring), opacity .4s; }
.st-parcel b { font-size: 9.5px; color: rgba(255, 255, 255, .8); font-weight: 600; letter-spacing: .02em; }
.st-parcel-o { opacity: .55; }
.st-cell.is-mine { box-shadow: inset 0 0 0 1.5px rgba(120, 170, 255, .45); }
.st-cell.is-mine .st-parcel { opacity: 0; transform: translateY(-40px); }
.st-cell.is-mine.is-in .st-parcel { opacity: 1; transform: none; }
.st-cell.is-mine.is-in { box-shadow: inset 0 0 0 2px #6aa5ff, 0 0 22px rgba(90, 150, 255, .55); animation: st-glow 1.6s infinite; }
@keyframes st-glow { 50% { box-shadow: inset 0 0 0 2px #6aa5ff, 0 0 8px rgba(90, 150, 255, .25); } }
.st-cell.is-mine.is-open .st-door { transform: perspective(200px) rotateY(-72deg); opacity: .5; }
.st-cell.is-mine.is-out .st-parcel { opacity: 0; transform: translateY(26px) scale(.8); }
.st-cell.is-mine.is-out { animation: none; box-shadow: inset 0 0 0 1.5px rgba(34, 163, 90, .6); }
.st-cell.is-mine.is-out::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, rgba(34, 163, 90, .25), transparent 70%); }
.st-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 42%, transparent 54%); }
.st-bst { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 14px 0; }
.st-bst-cell { font-size: 12px; color: var(--muted); }
.st-bst-v { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--chip); color: var(--ink-2); transition: background .3s, color .3s; }
.st-bst-v i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-bst.is-ready .st-bst-v { background: var(--st-blue-bg); color: var(--st-blue); }
.st-bst.is-ready .st-bst-v i { animation: st-pulse 1.6s infinite; }
.st-bst.is-issued .st-bst-v { background: var(--st-green-bg); color: var(--st-green); }
.st-by { display: flex; align-items: center; gap: 6px; margin: 8px 14px 0; font-size: 11.5px; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.st-by.is-on { opacity: 1; transform: none; }
.st-stock { margin: auto 14px 14px; padding: 10px 12px; border-radius: 12px; background: var(--panel); }
.st-stock > small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.st-stock p { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; height: 24px; font-size: 12px; }
.st-stock p > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.st-stock b { display: inline-flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.st-stock s { color: var(--faint); font-weight: 400; opacity: 0; transition: opacity .3s; }
.st-stock p.is-done s { opacity: 1; }
.st-stock p.is-done [data-to] { color: var(--st-green); }

.st-today { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 14px 0; }
.st-today p { margin: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; }
.st-today small { display: block; font-size: 11px; color: var(--muted); }
.st-today b { display: block; font-size: 22px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-stock s { font-size: 11px; }

/* ── Управление ── */
.st-ctl { display: flex; align-items: flex-start; gap: 16px; margin-top: 18px; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; flex: 1; }
.st-steps button { all: unset; box-sizing: border-box; position: relative; display: flex; gap: 10px; width: 100%; padding: 10px 12px 12px; border-radius: 12px; cursor: pointer; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; }
.st-steps button:hover { background: var(--hover-soft); }
.st-steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-st-n { width: 22px; height: 22px; border-radius: 50%; background: var(--chip); color: var(--ink-2); font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.st-st-t { min-width: 0; }
.st-st-t b { display: block; font-size: 13.5px; font-weight: 600; }
.st-st-t small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.st-st-bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.st-st-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.st-steps li.is-done .st-st-n { background: var(--ok-soft); color: var(--ok); }
.st-steps li.is-done .st-st-bar i { width: 100%; background: var(--line-strong); }
.st-steps li.is-now button { border-color: var(--accent); }
.st-steps li.is-now .st-st-n { background: var(--accent); color: #fff; }
.st-steps li.is-now .st-st-bar { background: var(--accent-soft); }
.st-steps li.is-now .st-st-bar i { animation: st-bar var(--dur, 4s) linear forwards; }
.st.is-hold .st-steps li.is-now .st-st-bar i { animation-play-state: paused; }
.st.is-hold .st-live i, .st.is-hold .st-radar.is-on, .st.is-hold .st-cell.is-in { animation-play-state: paused; }
@keyframes st-bar { from { width: 0; } to { width: 100%; } }
.st-ctl-btns { display: flex; flex-direction: column; gap: 8px; flex: none; }
.st-ctl-btns .btn { justify-content: flex-start; min-width: 132px; }

/* ── Особенности ── */
.stf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.stf-card { border: 1px solid var(--line-card); border-radius: 16px; background: #fff; overflow: hidden; padding-bottom: 22px; }
.stf-card h3 { display: flex; align-items: center; gap: 8px; margin: 20px 20px 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.stf-card h3 .i { color: var(--accent); flex: none; }
.stf-card > p { margin: 0 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.stf-vis {
    position: relative; height: 200px; padding: 18px; overflow: hidden; border-bottom: 1px solid var(--line); font-size: 12px;
    background: linear-gradient(180deg, #fbfbfa, #f5f5f2);
}
.stf-vis::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .7;
    background-image: linear-gradient(#ececE8 1px, transparent 1px), linear-gradient(90deg, #ececE8 1px, transparent 1px); background-size: 20px 20px; background-position: -1px -1px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 95%); mask-image: linear-gradient(180deg, #000, transparent 95%);
}
.stf-vis > * { position: relative; }
.stf .stf-vis *, .stf .stf-vis *::before, .stf .stf-vis *::after { animation-play-state: paused; }
.stf.is-on .stf-vis *, .stf.is-on .stf-vis *::before, .stf.is-on .stf-vis *::after { animation-play-state: running; }
.stf-w { background: #fff; border: 1px solid var(--line-card); border-radius: 12px; }

/* Предзаказ — цикл 7 с */
.stf-pre-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line-card); border-radius: 12px; padding: 6px 10px 6px 6px; }
.stf-pre-item .st-pic { width: 42px; height: 42px; flex: none; }
.stf-pre-item .st-pk { transform: scale(.7); margin: 0; }
.stf-pre-item > b { flex: 1; font-size: 13px; }
.stf-pre-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--st-amber-bg); color: var(--st-amber); font-weight: 600; font-size: 11.5px; animation: stf-pre-b 7s infinite; }
@keyframes stf-pre-b { 0%, 34% { opacity: 0; transform: scale(.6); } 40%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stf-pre-wh { display: flex; gap: 8px; margin: 12px 0; }
.stf-pre-wh span { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 6px 9px; border-radius: 9px; background: #fff; border: 1px solid var(--line-card); animation: stf-pre-w 7s infinite; animation-delay: calc(var(--k) * .25s); }
.stf-pre-wh small { color: var(--muted); font-size: 11px; }
.stf-pre-wh b { font-variant-numeric: tabular-nums; }
@keyframes stf-pre-w { 0%, 6% { border-color: var(--line-card); } 10%, 22% { border-color: var(--st-red); background: var(--st-red-bg); } 30%, 100% { border-color: var(--line-card); background: #fff; } }
.stf-pre-doc { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; background: var(--ink); color: #fff; animation: stf-pre-d 7s infinite; }
.stf-pre-doc .i { color: #8fd6a8; flex: none; }
.stf-pre-doc b { display: block; font-size: 12px; font-weight: 600; }
.stf-pre-doc small { display: block; font-size: 11px; color: rgba(255, 255, 255, .7); }
@keyframes stf-pre-d { 0%, 52% { opacity: 0; transform: translateY(18px); } 60%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Оплата при получении — таймер (цикл 6 с) */
.stf-cash .stf-vis { display: flex; align-items: center; gap: 22px; padding-left: 26px; }
.stf-ring { position: relative; width: 132px; height: 132px; flex: none; }
.stf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stf-ring circle { fill: none; stroke-width: 9; }
.stf-ring .bg { stroke: #ebebe7; }
.stf-ring .fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: stf-ring 6s linear infinite; }
@keyframes stf-ring { 0% { stroke-dashoffset: 0; stroke: var(--accent); } 60% { stroke: var(--accent); } 70% { stroke-dashoffset: 100; stroke: var(--st-amber); } 100% { stroke-dashoffset: 100; } }
.stf-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stf-ring small { font-size: 10.5px; color: var(--muted); }
.stf-ring b { font: 600 22px/1.1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stf-cash-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.stf-cash-rel { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--st-amber-bg); color: var(--st-amber); font-weight: 600; font-size: 11.5px; animation: stf-cash-r 6s infinite; }
@keyframes stf-cash-r { 0%, 68% { opacity: 0; transform: translateX(-8px); } 74%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stf-cash-side p { margin: 0; display: flex; align-items: baseline; gap: 10px; background: #fff; border: 1px solid var(--line-card); border-radius: 10px; padding: 8px 12px; }
.stf-cash-side p span { color: var(--muted); }
.stf-flip { position: relative; display: inline-grid; font-size: 20px; font-variant-numeric: tabular-nums; }
.stf-flip span { grid-area: 1 / 1; }
.stf-flip .a { animation: stf-fa 6s infinite; }
.stf-flip .b { color: var(--st-green); animation: stf-fb 6s infinite; }
@keyframes stf-fa { 0%, 74% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes stf-fb { 0%, 74% { opacity: 0; transform: translateY(10px); } 78%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Скрыть с витрины — цикл 6 с */
.stf-hide .stf-vis { display: flex; gap: 14px; align-items: center; }
.stf-hide-l { flex: 1; min-width: 0; }
.stf-tg { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-2); margin-bottom: 10px; }
.stf-tg i { position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--ok); flex: none; animation: stf-tg 6s infinite; }
.stf-tg i::after { content: ''; position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); animation: stf-tg-k 6s infinite; }
@keyframes stf-tg { 0%, 20% { background: var(--ok); } 26%, 88% { background: #cfcfca; } 94%, 100% { background: var(--ok); } }
@keyframes stf-tg-k { 0%, 20% { left: 14px; } 26%, 88% { left: 2px; } 94%, 100% { left: 14px; } }
.stf-mini { background: #fff; border: 1px solid var(--line-card); border-radius: 12px; padding: 5px 10px; }
.stf-mini p { display: flex; align-items: center; gap: 8px; margin: 0; height: 30px; font-size: 12px; overflow: hidden; }
.stf-mini p + p { border-top: 1px solid var(--row); }
.stf-mini p i { width: 18px; height: 18px; border-radius: 5px; background: var(--chip); flex: none; }
.stf-mini p.is-x { animation: stf-x 6s infinite; }
@keyframes stf-x { 0%, 24% { height: 30px; opacity: 1; } 30%, 88% { height: 0; opacity: 0; border-top-color: transparent; } 94%, 100% { height: 30px; opacity: 1; } }
.stf-still { display: flex; flex-direction: column; gap: 8px; width: 46%; }
.stf-still span { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 10px; background: var(--st-green-bg); color: var(--st-green); font-size: 11.5px; font-weight: 550; line-height: 1.25; animation: stf-st 6s infinite; animation-delay: calc(var(--k) * .2s); }
.stf-still .i { flex: none; }
@keyframes stf-st { 0%, 30% { box-shadow: 0 0 0 0 rgba(31, 122, 69, 0); } 36% { box-shadow: 0 0 0 4px rgba(31, 122, 69, .18); } 46%, 100% { box-shadow: 0 0 0 0 rgba(31, 122, 69, 0); } }

/* Подарок к абонементу — цикл 6 с */
.stf-gift .stf-vis { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.stf-tk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-card); }
.stf-tk > .i { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: none; }
.stf-tk small { display: block; font-size: 11px; color: var(--muted); }
.stf-tk b { display: block; font-size: 13px; }
.stf-tk em { display: flex; align-items: center; gap: 4px; font-style: normal; font-size: 10.5px; color: var(--st-green); margin-top: 2px; }
.stf-tk > div { flex: 1; min-width: 0; }
.stf-tk-a { animation: stf-tka 6s infinite; }
@keyframes stf-tka { 0%, 8% { opacity: 0; transform: translateY(-8px); } 14%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stf-gift-line { display: block; width: 2px; height: 22px; margin-left: 27px; background: repeating-linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 7px); transform-origin: top; animation: stf-gl 6s infinite; }
@keyframes stf-gl { 0%, 20% { transform: scaleY(0); } 30%, 94% { transform: none; } 100% { transform: scaleY(0); } }
.stf-tk-b { animation: stf-tkb 6s infinite; }
.stf-tk-b > .i { background: var(--st-amber-bg); color: var(--st-amber); }
@keyframes stf-tkb { 0%, 30% { opacity: 0; transform: translateY(10px) scale(.96); } 38%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.stf-zero { flex: none; font-size: 15px; font-weight: 700; color: var(--st-green); padding: 3px 9px; border: 2px solid var(--st-green); border-radius: 8px; transform: rotate(-8deg); animation: stf-zero 6s infinite; }
@keyframes stf-zero { 0%, 46% { opacity: 0; transform: rotate(-8deg) scale(2); } 52%, 94% { opacity: 1; transform: rotate(-8deg) scale(1); } 100% { opacity: 0; } }

/* Продажа с пульта — цикл 6 с */
.stf-con .stf-vis { display: flex; align-items: center; gap: 0; }
.stf-panel { width: 54%; background: #fff; border: 1px solid var(--line-card); border-radius: 12px; padding: 10px 12px; flex: none; }
.stf-panel > small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); margin-bottom: 8px; white-space: nowrap; }
.stf-panel p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: 12px; }
.stf-panel p b { white-space: nowrap; }
.stf-send { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 550; animation: stf-send 6s infinite; }
@keyframes stf-send { 0%, 14% { transform: none; } 17% { transform: scale(.9); } 20%, 100% { transform: none; } }
.stf-beam { flex: 1; height: 2px; min-width: 14px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 8px); opacity: 0; animation: stf-beam 6s infinite; }
@keyframes stf-beam { 0%, 18% { opacity: 0; } 22%, 40% { opacity: 1; } 46%, 100% { opacity: .25; } }
.stf-pos { position: relative; width: 82px; height: 132px; border-radius: 14px; background: #232322; padding: 8px; flex: none; box-shadow: 0 10px 24px rgba(20, 20, 19, .2); }
.stf-pos-scr { height: 62px; border-radius: 8px; background: #f3f6f2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 0 4px; }
.stf-pos-scr b { font-size: 13px; opacity: 0; animation: stf-pos-b 6s infinite; }
.stf-pos-scr small { font-size: 9px; line-height: 1.2; display: flex; align-items: center; gap: 3px; }
.stf-pos-scr .a { color: var(--muted); animation: stf-pos-a 6s infinite; }
.stf-pos-scr .b { color: var(--st-green); font-weight: 600; position: absolute; top: 46px; left: 8px; right: 8px; justify-content: center; animation: stf-pos-c 6s infinite; }
@keyframes stf-pos-b { 0%, 24% { opacity: 0; } 28%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stf-pos-a { 0%, 28% { opacity: 0; } 32%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes stf-pos-c { 0%, 64% { opacity: 0; } 68%, 94% { opacity: 1; } 100% { opacity: 0; } }
.stf-waves { position: absolute; left: 0; right: 0; bottom: 18px; display: grid; place-items: center; color: #6c6c68; animation: stf-wv 6s infinite; }
@keyframes stf-wv { 0%, 30% { color: #6c6c68; } 36%, 60% { color: #8fd6a8; } 64%, 100% { color: #6c6c68; } }
.stf-card-tap { position: absolute; right: -16px; bottom: -40px; width: 54px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #3d6fe8, #1f45b0); box-shadow: 0 6px 14px rgba(20, 40, 120, .3); animation: stf-ct 6s infinite; }
@keyframes stf-ct { 0%, 36% { transform: translate(24px, 30px) rotate(-14deg); opacity: 0; } 44%, 58% { transform: translate(-30px, -36px) rotate(-14deg); opacity: 1; } 66%, 100% { transform: translate(24px, 30px) rotate(-14deg); opacity: 0; } }

/* Склад по документам — цикл 7 с */
.stf-docs-h { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stf-docs-l p { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line-card); font-size: 12px; animation: stf-doc 7s infinite; animation-delay: calc(var(--k) * .9s); }
.stf-docs-l p .i { color: var(--muted); flex: none; }
.stf-docs-l p span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stf-docs-l p b { color: var(--st-red); font-variant-numeric: tabular-nums; }
.stf-docs-l p.is-plus b { color: var(--st-green); }
@keyframes stf-doc { 0% { opacity: 0; transform: translateX(-16px); } 6%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
.stf-docs-t { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--ink); color: #fff; }
.stf-docs-t span { color: rgba(255, 255, 255, .7); }
.stf-docs-t b { font-size: 18px; font-variant-numeric: tabular-nums; }

/* Инвентаризация — цикл 6 с */
.stf-tbl { position: relative; background: #fff; border: 1px solid var(--line-card); border-radius: 12px; padding: 4px 12px; overflow: hidden; }
.stf-tbl p { display: grid; grid-template-columns: 1fr 42px 62px; align-items: center; margin: 0; height: 30px; font-size: 12px; }
.stf-tbl p + p { border-top: 1px solid var(--row); }
.stf-tbl p.h { color: var(--muted); font-size: 11px; height: 26px; }
.stf-tbl p span:nth-child(2), .stf-tbl p b, .stf-tbl p.h span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.stf-tbl p b { font-weight: 600; opacity: 0; animation: stf-fact 6s infinite; animation-delay: calc(var(--k) * .55s); }
.stf-tbl p b em { font-style: normal; font-size: 10.5px; color: var(--st-amber); margin-left: 3px; }
.stf-tbl p.is-diff { animation: stf-diff 6s infinite; }
@keyframes stf-fact { 0%, 8% { opacity: 0; } 12%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stf-diff { 0%, 26% { background: transparent; } 32%, 66% { background: var(--st-amber-bg); } 74%, 100% { background: transparent; } }
.stf-scan { position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: var(--accent); box-shadow: 0 0 12px 3px rgba(47, 91, 216, .35); animation: stf-scan 6s infinite; }
@keyframes stf-scan { 0% { transform: translateY(0); opacity: 0; } 4% { opacity: 1; } 40% { transform: translateY(90px); opacity: 1; } 44%, 100% { transform: translateY(90px); opacity: 0; } }
.stf-act { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--st-green-bg); color: var(--st-green); font-size: 11.5px; font-weight: 600; animation: stf-act 6s infinite; }
@keyframes stf-act { 0%, 66% { opacity: 0; transform: scale(.7); } 72%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Ремонт — цикл 8 с */
.stf-eq { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line-card); }
.stf-eq-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--chip); display: grid; place-items: center; color: var(--ink-2); flex: none; animation: stf-eqi 8s infinite; }
@keyframes stf-eqi { 0%, 18% { background: var(--chip); color: var(--ink-2); } 22%, 46% { background: var(--st-red-bg); color: var(--st-red); } 50%, 76% { background: var(--st-amber-bg); color: var(--st-amber); } 80%, 100% { background: var(--st-green-bg); color: var(--st-green); } }
.stf-eq > div { flex: 1; min-width: 0; }
.stf-eq b { display: block; font-size: 13px; }
.stf-eq small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stf-eq-st { position: relative; display: grid; flex: none; }
.stf-eq-st span { grid-area: 1 / 1; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; opacity: 0; }
.stf-eq-st [data-k='0'] { background: var(--st-green-bg); color: var(--st-green); animation: stf-s0 8s infinite; }
.stf-eq-st [data-k='1'] { background: var(--st-red-bg); color: var(--st-red); animation: stf-s1 8s infinite; }
.stf-eq-st [data-k='2'] { background: var(--st-amber-bg); color: var(--st-amber); animation: stf-s2 8s infinite; }
.stf-eq-st [data-k='3'] { background: var(--st-green-bg); color: var(--st-green); animation: stf-s3 8s infinite; }
@keyframes stf-s0 { 0%, 18% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes stf-s1 { 0%, 19% { opacity: 0; } 22%, 46% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes stf-s2 { 0%, 47% { opacity: 0; } 50%, 76% { opacity: 1; } 79%, 100% { opacity: 0; } }
@keyframes stf-s3 { 0%, 77% { opacity: 0; } 80%, 100% { opacity: 1; } }
.stf-eq-log { margin-top: 10px; }
.stf-eq-log p { display: flex; gap: 10px; margin: 0; padding: 5px 2px; font-size: 11.5px; border-bottom: 1px dashed var(--line-strong); opacity: 0; animation: stf-el 8s infinite; animation-delay: calc(var(--k) * 1.9s); }
.stf-eq-log p span { width: 64px; flex: none; color: var(--muted); }
.stf-eq-log p b { font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes stf-el { 0%, 21% { opacity: 0; transform: translateY(6px); } 25%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Плановое ТО — цикл 7 с */
.stf-mnt-h, .stf-mnt-r { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 10px; }
.stf-mnt-h { margin-bottom: 4px; }
.stf-mnt-h small { font-size: 10.5px; color: var(--faint); }
.stf-mnt-h { grid-template-columns: 112px repeat(3, 1fr); }
.stf-mnt-r { height: 40px; border-top: 1px solid var(--line); }
.stf-mnt-r p { margin: 0; line-height: 1.2; }
.stf-mnt-r b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stf-mnt-r small { font-size: 10.5px; color: var(--muted); }
.stf-mnt-t { position: relative; height: 24px; border-radius: 6px; background: repeating-linear-gradient(90deg, #fff 0 calc(33.33% - 1px), var(--line) calc(33.33% - 1px) 33.33%); border: 1px solid var(--line-card); }
.stf-mnt-t i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); transform: scale(0); animation: stf-mt 7s infinite; animation-delay: calc(var(--k) * .35s); }
@keyframes stf-mt { 0%, 4% { transform: scale(0); } 9%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
.stf-mnt-done { position: absolute; right: 18px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 550; animation: stf-md 7s infinite; }
@keyframes stf-md { 0%, 50% { opacity: 0; transform: translateY(8px); } 56%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ── Адаптив ── */
@media (max-width: 1240px) {
    .st-stage { grid-template-columns: 286px minmax(0, 1fr); grid-template-areas: 'p m' 'p b'; }
    .st-col-phone { grid-area: p; align-items: flex-start; }
    .st-col-map { grid-area: m; }
    .st-col-box { grid-area: b; }
    .st-col-box::before { display: none; }
    .st-box-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; }
    .st-box-card .st-card-h { grid-column: 1 / -1; }
    .st-box-card { grid-template-rows: auto auto auto auto 1fr; }
    .st-cab { grid-row: 2 / 6; grid-column: 1; margin-bottom: 14px; align-self: start; }
    .st-bst, .st-by, .st-today, .st-stock { grid-column: 2; align-self: start; }
    .st-stock { margin-top: 12px; }
    .st-log { min-height: 112px; }
    .stf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .st-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'p' 'm' 'b'; padding: 14px; gap: 16px; }
    .st-col-phone { justify-content: center; }
    .st-col-map::before, .st-col-box::before { display: none; }
    .st-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
    .st-steps button { flex-direction: column; align-items: center; padding: 8px 4px 12px; text-align: center; gap: 4px; }
    .st-st-t small { display: none; }
    .st-st-t { max-width: 100%; }
    .st-st-t b { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
    .st-ctl { flex-direction: column; align-items: stretch; }
    .st-ctl-btns { flex-direction: row; }
    .st-ctl-btns .btn { flex: 1; min-width: 0; justify-content: center; }
    .stf-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .st-box-card { display: flex; }
    .st-bst, .st-by, .st-today, .st-stock { align-self: auto; }
    .st-cab { margin-bottom: 0; }
    .st-ncard { width: 112px; padding: 5px 7px 4px; font-size: 10px; top: -12px; left: 18px; }
    .st-node[data-node='central'] .st-ncard, .st-node[data-node='satpaev'] .st-ncard { right: 18px; }
    .st-ncard > small { display: none; }
    .st-ncard > b { font-size: 10.5px; }
    .st-ncard p { height: 16px; }
    .st-ncard em { display: none; }
    .st-pin { width: 24px; height: 24px; left: -12px; top: -12px; }
    .st-pin .i { width: 11px; height: 11px; }
    .st-map { margin: 10px 10px 0; aspect-ratio: 520 / 430; }
    .st-node[data-node='tole'] .st-ncard, .st-node[data-node='satpaev'] .st-ncard { display: none; }
    .st-live { display: none !important; }
    .st-doc { padding: 6px 10px 6px 8px; }
    .st-log { font-size: 10px; margin: 8px 10px 10px; }
    .stf-cash .stf-vis { padding-left: 18px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .st *, .st *::before, .st *::after, .stf *, .stf *::before, .stf *::after { animation: none !important; transition: none !important; }
    .stf-pre-badge, .stf-pre-doc, .stf-cash-rel, .stf-tk-a, .stf-tk-b, .stf-zero, .stf-pos-scr b, .stf-tbl p b, .stf-act, .stf-eq-log p, .stf-mnt-done, .stf-docs-l p, .stf-beam { opacity: 1; transform: none; }
    .stf-gift-line, .stf-mnt-t i { transform: none; }
    .stf-zero { transform: rotate(-8deg); }
    .stf-pos-scr .a, .stf-flip .a, .stf-eq-st span { opacity: 0; }
    .stf-pos-scr .b, .stf-flip .b, .stf-eq-st [data-k='3'] { opacity: 1; }
    .stf-ring .fg { stroke-dashoffset: 100; }
}
.st-stock s { text-decoration: none; }
.st-stock s::after { content: ' →'; }
