
/* IA 28: a compact bar (Astra review 19.10 P1). Desktop: the bottom right corner, phones: a strip at the bottom. Its room goes to
   html --stdk-cb-h, so the bottom actions («Применить» of the filter drawer, the list sheet of the map page) and the end of the page
   stay above it until «Принять». */
.stdk-cb { position: fixed; right: 16px; bottom: 16px; z-index: 10000; box-sizing: border-box; display: flex; align-items: center; gap: 12px;
  width: calc(100% - 32px); max-width: 520px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #fff; color: #1d2433;
  font: 13px/1.4 var(--sans, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif);
  box-shadow: 0 10px 32px rgba(16, 24, 40, .16), 0 0 0 1px rgba(16, 24, 40, .06); animation: stdk-cb-in .35s cubic-bezier(.16, 1, .3, 1) both; }
/* W1 19.10 №18: v3 type and the hub accent (a soft wash on the left edge, the button and the links) */
.stdk-cb.v3-pop { color: var(--text); font-family: var(--sans); border-radius: 16px; background: linear-gradient(90deg, var(--accent-soft) 0, #fff 120px);
  box-shadow: 0 10px 32px rgba(16, 24, 40, .16), 0 0 0 1px var(--line), inset 3px 0 0 var(--accent); }
.stdk-cb[hidden] { display: none; }
@keyframes stdk-cb-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stdk-cb { animation: none; } }
.stdk-cb__text { flex: 1; min-width: 0; margin: 0; }
.stdk-cb a { color: var(--accent, #0061af); text-decoration: underline; text-underline-offset: 2px; }
.stdk-cb__actions { flex: none; display: flex; }
.stdk-cb__btn { min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--accent, #0061af);
  background: transparent; color: var(--accent, #0061af); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.stdk-cb__btn:hover { transform: translateY(-1px); }
.stdk-cb__btn--main { background: var(--accent, #0061af); color: #fff; }
.stdk-cb__btn:focus-visible, .stdk-cb a:focus-visible { outline: 3px solid var(--accent, #0061af); outline-offset: 2px; }
@media (max-width: 640px) { .stdk-cb { right: 8px; bottom: 8px; width: calc(100% - 16px); max-width: none; padding: 8px 8px 8px 12px; font-size: 12px; } }
/* #60 stage 0: on phones a short two-line text flush with the bottom edge, so the bar no longer covers the second button of the first screen (/advisers) */
.stdk-cb__short { display: none; }
@media (max-width: 640px) { .stdk-cb:not(.stdk-cb--tg) { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)) 14px; line-height: 1.35; }
  .stdk-cb__long { display: none; } .stdk-cb__short { display: inline; } }
/* #17: the Mini App strip, one line flush with the bottom edge */
.stdk-cb.stdk-cb--tg { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; gap: 8px; border-radius: 0; animation: none;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) 12px; font-size: 12px; line-height: 1.3;
  background: #fff; box-shadow: 0 -1px 0 var(--line, rgba(16, 24, 40, .1)); }
.stdk-cb--tg .stdk-cb__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stdk-cb--tg .stdk-cb__btn { min-height: 30px; padding: 4px 14px; font-size: 13px; }
/* the reserved room while the bar is shown */
html.stdk-cb-on body { padding-bottom: var(--stdk-cb-h, 0px); }
html.stdk-cb-on .sf-drawer-foot { padding-bottom: calc(12px + var(--stdk-cb-h, 0px)); }
@media (max-width: 999px) { html.stdk-cb-on .mp-results { bottom: var(--stdk-cb-h, 0px); } }
