:root {
  --ink: #141414; --muted: #7a756c; --line: #ebe6dc; --bg: #f5f1ea; --card: #fff;
  --amber: #e39b2d; --amber-soft: #fbefd9; --amber-ink: #8a5a10; --err: #c0392b; --ok: #2f7d4f;
  --r: 16px; --shadow: 0 1px 2px rgba(20,20,20,.05), 0 4px 16px rgba(20,20,20,.04);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif; }
body.has-tabs { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
a { color: inherit; }
h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; margin: 6px 0 16px; }
h2 { font-size: 18px; margin: 26px 0 10px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .error { color: var(--err); } .ok { color: var(--ok); }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px;
       padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--ink); color: #fff; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.brand__cat { width: 28px; height: 28px; filter: invert(1); }
.who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; opacity: .8; text-decoration: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px 16px 28px; }

/* нижняя панель */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: rgba(255,255,255,.96);
          backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
          padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px;
            font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--ink); } .tabbar a.on svg { stroke: var(--amber); }
.tabbar__badge { position: absolute; top: 3px; left: 54%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
                 background: var(--amber); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* карточки и списки */
.card { background: var(--card); border-radius: var(--r); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }
.narrow { max-width: 420px; margin: 28px auto; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { margin-bottom: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card);
       border-radius: var(--r); text-decoration: none; box-shadow: var(--shadow); }
.row__title { font-weight: 650; }
.row__right { text-align: right; flex-shrink: 0; }
.sum { font-weight: 750; white-space: nowrap; }
.badge { display: inline-block; margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: #efe9de; font-size: 12px; font-weight: 600; white-space: nowrap; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.kv > span:first-child { color: var(--muted); }
.kv b { white-space: nowrap; }
.big { font-size: 24px; }
.inv { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; }
.pos { list-style: none; margin: 0; padding: 0; }
.pos li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.pos__name { font-weight: 600; }
.pos__calc { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 15px; }
.pos__calc b { white-space: nowrap; }
.total { padding-top: 12px; font-size: 18px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.banner { background: var(--amber-soft); color: var(--amber-ink); border-radius: var(--r); padding: 14px 16px; margin-bottom: 14px; font-weight: 600; }
.dev { background: #fff7d6; padding: 8px 12px; border-radius: 10px; }

/* формы и кнопки */
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0; }
input, textarea, select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid #d9d2c5;
        border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 80px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--amber); border-color: transparent; }
input.code { letter-spacing: 6px; font-size: 22px; text-align: center; }
button, .btn { display: block; width: 100%; padding: 14px 16px; margin-top: 12px; border: 0; border-radius: 14px; background: var(--ink);
               color: #fff; font: inherit; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
button:disabled { opacity: .5; }
.btn.amber, button.amber { background: var(--amber); color: #fff; }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.pick button { text-align: left; }

/* каталог */
.search { position: relative; margin-bottom: 10px; }
.search input { margin: 0; padding-left: 40px; border-radius: 14px; border-color: transparent; box-shadow: var(--shadow); }
.search svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px;
        font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; margin: 0; width: auto; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.tune { display: inline-flex; align-items: center; gap: 6px; }
.chip.tune i { font-style: normal; background: var(--amber); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 12px; }
.count { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.prod { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.prod__img { position: relative; aspect-ratio: 1; background: #faf7f2; cursor: pointer; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.prod__tag { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(20,20,20,.82); color: #fff; font-size: 11px; font-weight: 700; }
.prod__body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.prod__brand { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-ink); }
.prod__title { font-size: 14px; font-weight: 650; line-height: 1.3; margin: 3px 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod__meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.prod__foot { margin-top: auto; }
.price { font-size: 17px; font-weight: 800; }
.price s { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price__unit { font-size: 12px; color: var(--muted); }
.add { margin-top: 8px; padding: 10px; border-radius: 12px; font-size: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; background: var(--amber-soft); border-radius: 12px; }
.stepper button { width: 40px; margin: 0; padding: 9px 0; background: transparent; color: var(--amber-ink); font-size: 20px; line-height: 1; }
.stepper span { font-weight: 750; font-size: 14px; color: var(--amber-ink); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* шторка фильтров и карточка товара */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; }
.sheet.open { display: block; }
.sheet__bg { position: absolute; inset: 0; background: rgba(20,20,20,.45); }
.sheet__box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: var(--bg); border-radius: 22px 22px 0 0;
              padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .sheet__box { left: 50%; transform: translateX(-50%); width: 560px; bottom: 5vh; border-radius: 22px; } }
.sheet__grip { width: 40px; height: 5px; border-radius: 3px; background: #d6cfc2; margin: 0 auto 10px; }
.sheet h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 8px; }
.sheet .chips { flex-wrap: wrap; overflow: visible; }
.detail__img { background: #fff; border-radius: var(--r); aspect-ratio: 1; max-height: 46vh; width: 100%; object-fit: contain; }

/* корзина */
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: #faf7f2; border-radius: 12px; }
.cart-line .stepper { width: 140px; }
.cart-line__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.day { flex-shrink: 0; width: auto; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sticky-total { position: sticky; bottom: calc(68px + env(safe-area-inset-bottom)); margin: 0 -16px; padding: 12px 16px; background: rgba(245,241,234,.96);
                backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }

/* реквизиты в корзине */
.req { background: var(--amber-soft); border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px; }
.req__name { font-weight: 700; margin: 2px 0; }
label.check { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; margin: 10px 0 4px; }
label.check input { width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--amber); flex-shrink: 0; }

/* заявка на подключение */
.join { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.join .btn { margin-top: 8px; }
.join--hot { background: var(--amber-soft); border: 0; border-radius: 12px; padding: 14px; }
label.check span { color: var(--ink); font-weight: 400; }
label.check { align-items: flex-start; }

/* уведомления */
.top__right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bell { position: relative; display: flex; color: #fff; flex-shrink: 0; }
.bell svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell__badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.push-box__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.push-btn { width: auto; margin: 0; padding: 10px 16px; }
.prefs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 4px; }
.prefs label.check { margin: 4px 0; }
.note { display: grid; gap: 3px; padding: 14px 16px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); text-decoration: none; }
.note--new { box-shadow: inset 4px 0 0 var(--amber), var(--shadow); }
.note__cat { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-ink); }
.note__cat--payments { color: #2f5d8a; } .note__cat--info { color: var(--ok); }
.note__body { color: #3d3a35; font-size: 15px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .two .btn { margin: 0; }
.price-dl { color: var(--muted); white-space: nowrap; }
.pick-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; margin-bottom: 8px; }
.pick-list label.check { margin: 6px 0; }
select { appearance: auto; }

.auto-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.auto-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 4px; }
.auto-table td { padding: 8px 4px; border-top: 1px solid var(--line); }
.auto-table td:not(:first-child), .auto-table th:not(:first-child) { text-align: center; width: 120px; }
.auto-table input { width: 20px; height: 20px; margin: 0 auto; accent-color: var(--amber); }

.mgr__name { display: block; font-size: 18px; margin: 2px 0 4px; }
.mgr__links { display: grid; gap: 8px; } .mgr__links .btn { margin: 0; }
@media (min-width: 640px) { .mgr__links { grid-template-columns: 1fr 1fr; } }

.mtable { overflow-x: auto; }
.mtable input:not([type=checkbox]):not([type=radio]) { margin: 0; padding: 8px 10px; font-size: 14px; min-width: 120px; }
.auto-table select { margin: 0; padding: 8px; font-size: 14px; }
.auto-table td.mgr-col, .auto-table th.mgr-col { text-align: left; width: auto; }

/* приложение менеджера */
.m-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-bottom: 6px; }
.m-top > a { order: -1; flex: 1 1 100%; text-align: right; }
.m-nav { padding-bottom: 0; }
.sum-table td:not(:first-child), .sum-table th:not(:first-child) { text-align: right; width: 150px; }

.m-sync { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -6px 0 12px; }
.m-btn-s { width: auto; margin: 0; padding: 8px 14px; font-size: 14px; }
.m-dl { margin-bottom: 12px; } .m-dl button { margin: 0; font-size: 14px; padding: 12px 10px; }
.m-owner { color: var(--amber-ink); font-weight: 600; } .m-owner--grp { color: #2f5d8a; }
.sum-table tr.on td { background: var(--amber-soft); }
.m-btn-all { margin: 0 0 8px; }
.progress { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; } .progress i { display: block; height: 100%; background: var(--amber); }

.fresh-card { box-shadow: inset 4px 0 0 #2f7d4f, var(--shadow); }
.fresh-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.prod__fresh { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: #2f7d4f; color: #fff; font-size: 11px; font-weight: 700; }

/* заказ менеджера */
.ord { padding: 12px 14px; margin-bottom: 8px; }
.ord--on { box-shadow: inset 4px 0 0 var(--amber), var(--shadow); }
.ord--fresh .ord__head b { color: #2f7d4f; }
.fresh-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #2f7d4f; color: #fff; font-size: 11px; font-weight: 700; }
.ord__in { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; align-items: end; margin-top: 8px; }
.ord__in label { margin: 0; font-size: 12px; } .ord__in input { padding: 10px; }
.ord__sum { text-align: right; font-weight: 750; padding-bottom: 6px; }
.m-total { bottom: 0; }
@media (max-width: 520px) { .ord__in { grid-template-columns: 1fr 1fr; } .ord__sum { grid-column: span 2; } }

.add-line { margin: 0 0 14px; }
.ord__head { display: flex; gap: 12px; align-items: flex-start; }
.ord__img { width: 64px; height: 64px; object-fit: contain; background: #faf7f2; border-radius: 10px; flex-shrink: 0; }
.ord__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ord__del { width: 32px; height: 32px; margin: 0; padding: 0; border-radius: 50%; background: #efe9de; color: var(--ink); font-size: 20px; line-height: 1; flex-shrink: 0; }
.pick-row { display: flex; gap: 12px; align-items: flex-start; width: 100%; margin: 0 0 8px; padding: 10px 12px; text-align: left; background: var(--card);
            color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); font-weight: 400; font-size: 15px; }
.pick-row b { font-weight: 650; } .pick-row--in { opacity: .55; }
.sheet__box { max-height: 92vh; }
.brand__harpy { width: 30px; height: 27px; }

.chip-badge { font-style: normal; display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--amber); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.ev--payment { color: var(--ok); } .ev--overdue { color: var(--err); } .ev--shipment, .ev--assembly { color: #2f5d8a; } .ev--arrival { color: #2f7d4f; }

/* иконки на кнопках */
.ic { width: 18px; height: 18px; margin: -3px 8px 0 0; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chip .ic { width: 15px; height: 15px; margin-right: 5px; }
.thumbs { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.thumbs img { width: 40px; height: 40px; object-fit: contain; background: #faf7f2; border-radius: 8px; }
.thumbs__more { font-size: 12px; color: var(--muted); font-weight: 600; }
.pos--img { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start; }
.pos__img { width: 56px; height: 56px; object-fit: contain; background: #faf7f2; border-radius: 10px; display: block; }

.kpis { display: grid; gap: 10px; margin-bottom: 12px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { display: flex; flex-direction: column; gap: 4px; background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.kpi b { font-size: 24px; letter-spacing: -.01em; }
.sum-total td { font-weight: 750; border-top: 2px solid var(--ink); }
.m-sync .btn { flex-shrink: 0; }

/* меню приложения менеджера на телефоне — снизу, как в кабинете клиента */
@media (max-width: 640px) {
  body:has(.m-nav) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .m-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 0; padding: 0 0 env(safe-area-inset-bottom);
           overflow: visible; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .m-nav .chip { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; border: 0; border-radius: 0;
                 background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .m-nav .chip .ic { width: 24px; height: 24px; margin: 0; stroke-width: 1.8; }
  .m-nav .chip.on { background: transparent; color: var(--ink); } .m-nav .chip.on .ic { stroke: var(--amber); }
  .m-nav .chip-badge { position: absolute; top: 3px; left: 54%; margin: 0; }
  .m-total { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .m-top > a { order: 0; }
}

a.chip { text-decoration: none; }

/* лента событий: иконка вида события слева */
.note.ev { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.ev__ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f1ece3; }
.ev__ic .ic { width: 22px; height: 22px; margin: 0; }
.ev__text { display: grid; gap: 3px; min-width: 0; }
.ev__ic.ev--payment { background: #e6f4e1; } .ev__ic.ev--overdue { background: #fde2df; } .ev__ic.ev--arrival { background: #e6f4e1; }
.ev__ic.ev--shipment, .ev__ic.ev--assembly, .ev__ic.ev--assembled, .ev__ic.ev--planned { background: #e3ecf5; }
.ev--assembled, .ev--planned { color: #2f5d8a; } .ev--bank { color: var(--amber-ink); }
.pref .ic { width: 16px; height: 16px; margin: -2px 4px 0 0; }

.fresh-item { align-items: flex-start; justify-content: flex-start; }
.fresh-img { width: 72px; height: 72px; object-fit: contain; background: #faf7f2; border-radius: 10px; flex-shrink: 0; }
.fresh-info { flex: 1; min-width: 0; }
.kpi { position: relative; padding-left: 68px; }
.kpi__ic { position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f1ece3; }
.kpi__ic.ev--shipment { background: #e3ecf5; } .kpi__ic.ev--payment { background: #e6f4e1; }
.kpi__ic .ic { width: 22px; height: 22px; margin: 0; }
h2 .ic { width: 20px; height: 20px; margin: -3px 8px 0 0; }

/* ---------- анимация ---------- */
@keyframes ai-up { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes sheet-up { from { translate: 0 100%; } to { translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.35; } 100% { scale: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,155,45,.55), var(--shadow); } 100% { box-shadow: 0 0 0 14px rgba(227,155,45,0), var(--shadow); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ai { animation: ai-up .35s cubic-bezier(.2,.8,.2,1) both; }
.sheet.open .sheet__box { animation: sheet-up .3s cubic-bezier(.2,.8,.2,1); }
.sheet.open .sheet__bg { animation: fade-in .2s ease; }
.bump { animation: bump .35s ease; }
.pulse { animation: pulse .6s ease-out; }
button, .btn, .row, .note, .chip, .pick-row, .day, .tabbar a, .m-nav .chip { transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease; }
button:active:not(:disabled), .btn:active, .row:active, .note:active, .chip:active, .pick-row:active, .day:active { transform: scale(.97); }
.tabbar a:active, .m-nav .chip:active { transform: scale(.92); }
/* галочка «заказ отправлен» */
.okcheck { display: inline-flex; vertical-align: middle; margin: -4px 8px 0 0; }
.okcheck svg { width: 26px; height: 26px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.okcheck circle { stroke-dasharray: 64; stroke-dashoffset: 64; animation: draw .45s ease-out forwards; }
.okcheck path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .3s .4s ease-out forwards; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .okcheck circle, .okcheck path { stroke-dashoffset: 0; }
}
