/*
 * Кабинет «Ронда» — экран '/dashboard'.
 *
 * Свёрстано ТОЧЬ-В-ТОЧЬ по макету Figma Make («Дизайн для сервиса Ронд»,
 * src/pages/Dashboard.tsx). Числа взяты из макета, а утилиты Tailwind без
 * явного значения — по вычисленным стилям поднятого эталона.
 *
 * УСТРОЙСТВО ЭКРАНА. Слева панель на 248 px (свёрнутая — 68 px), справа
 * оранжевое поле с градиентом, поверх которого «всплывает» тёмная плита со
 * списком проектов. Плита заходит на градиент отрицательным отступом — из-за
 * этого порядок слоёв важен: пятна и затемнение лежат ПОД содержимым (z-index),
 * иначе они перекрыли бы кнопки.
 *
 * База макета — 16px/1.5: наша дизайн-система задаёт корню 13px, и без явной
 * базы всё наследование (строчные боксы, отступы) уезжает на несколько
 * пикселей.
 */

.z-dash {
  display: flex;
  height: 100%;
  background: #171716;
  color: #f4f4f5;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
}

/* ─────────────────────────── боковая панель ─────────────────────────── */

.z-dash__side {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 248px;
  background: #171716;
  border-right: 1px solid #1a1a1e;
  overflow: hidden;
  transition: width 0.3s ease-out;
}

.z-dash__side[data-collapsed='true'] {
  width: 68px;
}

.z-dash__side-in {
  display: flex;
  flex-direction: column;
  width: 248px;
  height: 100%;
}

.z-dash__side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
}

.z-dash__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.z-dash__brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  background: linear-gradient(135deg, #ff7a45, #f96332);
}

.z-dash__brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.z-dash__icon-btn {
  border: 0;
  background: transparent;
  color: #52525b;
  padding: 0.25rem;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__icon-btn:hover {
  color: #d4d4d8;
  background: #1a1a1e;
}

/* ── поиск ── */

.z-dash__search-wrap {
  padding-inline: 0.75rem;
  margin-bottom: 0.25rem;
}

.z-dash__search {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #0f0f0e;
  border: 1px solid #2a2a2c;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  transition: border-color 0.15s ease;
}

.z-dash__search:focus-within {
  border-color: #3a3a3c;
}

.z-dash__search-icon {
  color: #9a9aa3;
  flex-shrink: 0;
  display: flex;
}

.z-dash__search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

.z-dash__search input::placeholder {
  color: #8a8a92;
}

.z-dash__search input:focus {
  outline: none;
}

.z-dash__kbd {
  font-size: 10px;
  color: #bfbfc7;
  background: #2a2a2c;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: var(--k-mono);
  flex-shrink: 0;
}

/* ── навигация ── */

.z-dash__nav {
  padding-inline: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.z-dash__nav--top {
  margin-top: 0.5rem;
}

.z-dash__nav--recent {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.z-dash__nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: #e4e4ea;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__nav-item:hover {
  color: #fff;
  background: #2b2b31;
}

.z-dash__nav-item[aria-current='page'] {
  background: #33333a;
  color: #fff;
  font-weight: 500;
}

.z-dash__nav-icon {
  display: flex;
  opacity: 0.7;
}

.z-dash__nav-item[aria-current='page'] .z-dash__nav-icon {
  opacity: 1;
  color: #fff;
}

.z-dash__nav-label {
  flex: 1;
  text-align: left;
}

.z-dash__section {
  padding: 1.25rem 1rem 0.375rem;
}

.z-dash__section span {
  font-size: 11px;
  font-weight: 600;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.z-dash__recent {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-align: left;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: #e4e4ea;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__recent:hover {
  color: #fff;
  background: #1a1a1e;
}

.z-dash__recent-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #3f3f46;
  flex-shrink: 0;
}

.z-dash__recent-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── низ панели ── */

.z-dash__side-foot {
  padding: 0.75rem;
  margin-top: auto;
  border-top: 1px solid #1a1a1e;
}

.z-dash__plan {
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #1a1210, #141416);
  border: 1px solid #2a1a12;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.z-dash__plan-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff7a45, #e8521f);
}

.z-dash__plan-text {
  flex: 1;
  min-width: 0;
}

.z-dash__plan-title {
  font-size: 14px;
  font-weight: 600;
  color: #f4f4f5;
  line-height: 1.25;
  margin: 0;
}

.z-dash__plan-note {
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.25;
  margin: 0.125rem 0 0;
}

.z-dash__side-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0.25rem;
}

.z-dash__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #4338ca);
  border: 0;
  cursor: pointer;
}

.z-dash__side-tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.z-dash__bell {
  position: relative;
}

.z-dash__bell-dot {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: 2px solid #171716;
  background: #f96332;
}

/* ── свёрнутая панель ── */

.z-dash__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  height: 100%;
  padding-block: 1rem;
  gap: 0.375rem;
}

.z-dash__rail-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #8a8a92;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__rail-btn:hover {
  color: #fff;
  background: #1f1f23;
}

.z-dash__rail-btn[aria-current='page'] {
  background: #33333a;
  color: #fff;
}

.z-dash__rail-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin: 0.25rem 0 0.5rem;
  background: linear-gradient(135deg, #ff7a45, #f96332);
}

.z-dash__rail-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

/* ─────────────────────────── правое поле ─────────────────────────── */

.z-dash__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  background-color: #ff9a5f;
  background-image: linear-gradient(180deg, #c2430f 0px, #e8521f 130px, #f96332 320px, #ff7a45 560px, #ff9a5f 820px);
}

/* Пятна и затемнение — только фон: перехватывать мышь им нечем. */
.z-dash__blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.z-dash__blob {
  position: absolute;
  border-radius: 9999px;
}

.z-dash__blob--center {
  left: 50%;
  top: 240px;
  transform: translateX(-50%);
  width: 560px;
  height: 340px;
  filter: blur(90px);
  background: radial-gradient(ellipse at center, #ffb489 0%, #ff7a45cc 45%, transparent 74%);
  animation: z-dash-float 6s ease-in-out infinite;
}

.z-dash__blob--a {
  left: 22%;
  top: 120px;
  width: 300px;
  height: 300px;
  filter: blur(80px);
  background: radial-gradient(circle at center, #ff9a5fcc 0%, transparent 68%);
  animation: z-dash-drift-a 9s ease-in-out infinite, z-dash-hue 5s ease-in-out infinite;
}

.z-dash__blob--b {
  right: 18%;
  top: 260px;
  width: 320px;
  height: 320px;
  filter: blur(85px);
  background: radial-gradient(circle at center, #f96332dd 0%, transparent 68%);
  animation: z-dash-drift-b 11s ease-in-out infinite, z-dash-hue 5s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes z-dash-float {
  0%,
  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -28px) scale(1.12);
    opacity: 0.8;
  }
}

@keyframes z-dash-drift-a {
  0%,
  100% {
    transform: translate(-16%, -4%) scale(1);
  }
  50% {
    transform: translate(20%, 16%) scale(1.28);
  }
}

@keyframes z-dash-drift-b {
  0%,
  100% {
    transform: translate(12%, 8%) scale(1.15);
  }
  50% {
    transform: translate(-20%, -12%) scale(0.85);
  }
}

@keyframes z-dash-hue {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Движение — украшение. Кому оно мешает, тому его быть не должно. */
@media (prefers-reduced-motion: reduce) {
  .z-dash__blob {
    animation: none;
  }
}

.z-dash__topshade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.2) 72%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* ── герой ── */

.z-dash__hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 5rem;
  min-height: 560px;
}

.z-dash__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 82%);
}

.z-dash__banner {
  position: relative;
  z-index: 10;
  margin-bottom: 2rem;
}

.z-dash__banner button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(20, 20, 22, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid #26262b;
  border-radius: 9999px;
  padding: 0.375rem 1rem 0.375rem 0.5rem;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  color: #d4d4d8;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.z-dash__banner button:hover {
  border-color: #3a3a42;
}

.z-dash__banner-dots {
  display: flex;
}

.z-dash__banner-dots span {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 2px solid #141416;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -0.375rem;
}

.z-dash__banner-dots span:last-child {
  margin-right: 0;
}

.z-dash__banner-arrow {
  color: #71717a;
  display: flex;
  transition: color 0.15s ease;
}

.z-dash__banner button:hover .z-dash__banner-arrow {
  color: #d4d4d8;
}

.z-dash__title {
  position: relative;
  z-index: 10;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  padding-inline: 0.5rem;
}

/* ── поле запроса ── */

.z-dash__composer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
}

/* Рамка-градиент делается подложкой в 1 px, как в макете. */
.z-dash__composer-frame {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(to bottom, #3a3a42, #1e1e22);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7);
}

.z-dash__composer-in {
  background: #141416;
  border-radius: 19px;
  overflow: hidden;
}

.z-dash__field {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 1.25rem 0.5rem;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.625;
  color: #f4f4f5;
  resize: none;
  min-height: 92px;
}

.z-dash__field::placeholder {
  color: #52525b;
}

.z-dash__field:focus {
  outline: none;
}

.z-dash__composer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.75rem 0.75rem;
}

.z-dash__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.z-dash__tool {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__tool:hover {
  color: #e4e4e7;
  background: #1f1f23;
}

.z-dash__send {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem 0.5rem 0.875rem;
  border-radius: 0.75rem;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7a45, #f96332);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.z-dash__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.z-dash__send:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px #f9633255;
}

/* ── плита проектов ── */

.z-dash__panel {
  position: relative;
  z-index: 10;
  flex: 1;
  margin: -3.5rem 1.25rem 0;
  border-radius: 32px 32px 0 0;
  background: #17171a;
  border-top: 1px solid #2a2a2c;
  border-left: 1px solid #2a2a2c;
  border-right: 1px solid #2a2a2c;
  box-shadow: 0 -30px 70px -20px rgba(0, 0, 0, 0.55);
  padding: 2.25rem 2.5rem 5rem;
}

.z-dash__panel-in {
  margin-inline: auto;
  width: 100%;
  max-width: 72rem;
}

.z-dash__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.z-dash__tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #171716;
  border: 1px solid #26262b;
  border-radius: 9999px;
  padding: 0.25rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.z-dash__tabs::-webkit-scrollbar {
  display: none;
}

.z-dash__tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  color: #bfbfc7;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.z-dash__tab:hover {
  color: #fff;
}

.z-dash__tab[aria-selected='true'] {
  background: #2a2a2f;
  color: #fff;
}

.z-dash__all {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #171716;
  border: 1px solid #26262b;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #e4e4ea;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.z-dash__all:hover {
  color: #fff;
  border-color: #3a3a42;
}

.z-dash__grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .z-dash__grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .z-dash__grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── карточка проекта ── */

.z-dash__card {
  text-align: left;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #26262b;
  background: #1c1c1f;
  padding: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.z-dash__card:hover {
  border-color: #3a3a42;
  box-shadow: 0 16px 48px -14px rgba(0, 0, 0, 0.7);
  transform: translateY(-4px);
}

.z-dash__card-cover {
  height: 12rem;
  position: relative;
  overflow: hidden;
}

.z-dash__card-net {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  transition: transform 0.5s ease;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 24px 24px;
}

.z-dash__card:hover .z-dash__card-net {
  transform: scale(1.1);
}

.z-dash__card-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 700;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1));
}

.z-dash__card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.z-dash__card-foot {
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.z-dash__card-name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z-dash__card-when {
  font-size: 12px;
  color: #bfbfc7;
  margin: 0.125rem 0 0;
}

.z-dash__card-arrow {
  flex-shrink: 0;
  color: #52525b;
  display: flex;
  transition: color 0.15s ease;
}

.z-dash__card:hover .z-dash__card-arrow {
  color: #d4d4d8;
}

/* ── пусто и загрузка ── */

.z-dash__empty {
  border: 1px dashed #2a2a2c;
  border-radius: 1rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #a1a1aa;
  font-size: 14px;
  line-height: 20px;
}

.z-dash__empty strong {
  display: block;
  color: #f4f4f5;
  font-size: 16px;
  margin-bottom: 0.5rem;
}

/* ── появление ── */

@keyframes z-dash-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.z-dash__rise {
  animation: z-dash-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .z-dash__rise {
    animation: none;
  }
}

/* ── телефон ── */

.z-dash__burger {
  display: none;
}

@media (max-width: 767px) {
  .z-dash__side {
    position: fixed;
    inset-block: 0;
    left: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
  }

  .z-dash[data-nav='open'] .z-dash__side {
    transform: translateX(0);
  }

  .z-dash__backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 0;
  }

  .z-dash__burger {
    display: flex;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(20, 20, 22, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #26262b;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
  }

  .z-dash__hero {
    padding: 6rem 1rem 3.5rem;
    min-height: 480px;
  }

  .z-dash__title {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }

  .z-dash__panel {
    margin-inline: 0.5rem;
    padding: 2.25rem 1rem 4rem;
  }
}


/* ── полосы прокрутки макета: прячутся, пока на них не смотрят ── */

.z-dash *,
.z-dash {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.z-dash *:hover {
  scrollbar-color: #2e2e34 transparent;
}

.z-dash ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.z-dash ::-webkit-scrollbar-track {
  background: transparent;
}

.z-dash ::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.z-dash *:hover::-webkit-scrollbar-thumb {
  background: #2e2e34;
  background-clip: padding-box;
}

/* Сколько файлов прикреплено к запросу — рядом с кнопкой отправки. */
.z-dash__attached {
  font-size: 12px;
  color: #a1a1aa;
  align-self: center;
}
