/* Extracted from original inline styles. Values are unchanged. */

.fpill-wrap { position: relative; }
.fpill-wrap .fdrop { display: none; }
.fpill-wrap.is-open .fdrop { display: block; }
.thumb-btn.is-active { border-color: var(--blue-500); }
.page-btn.is-current {
  border-color: var(--blue-500);
  background: var(--blue-soft);
  color: var(--blue-600);
  font-weight: 700;
  cursor: default;
}
.legal-banner { z-index: 400; }
.exporter-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.shell-root {
  --shell-top-offset: 0px;
  --shell-side-w: 72px;
}

.app-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: padding-left 0.18s;
  padding-left: 72px;
}

.app-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.legal-banner {
  display: none;
}

.legal-banner-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--warning-soft);
  color: var(--warning-2);
  display: grid;
  place-items: center;
}

.legal-banner-text {
  flex: 1 1 0%;
  min-width: 200px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.legal-banner-btn {
  height: 38px;
  padding: 0px 18px;
  white-space: nowrap;
  text-decoration: none;
}

.sidebar-collapsed {
  top: 0px;
}

.shell-sidebar {
  width: 72px;
}

.shell-sidebar.peeking,
.shell-sidebar:not(.collapsed) {
  width: 240px;
}

.shell-sidebar.collapsed.peeking .shell-sidebar-head {
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 18px;
}

.shell-sidebar.collapsed.peeking .shell-nav-item-label,
.shell-sidebar.collapsed.peeking .shell-brand-label,
.shell-sidebar.collapsed.peeking .shell-nav-lock {
  display: revert;
}

.shell-sidebar.collapsed.peeking .shell-toggle {
  display: flex;
}

.shell-sidebar.collapsed.peeking .shell-nav-item {
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
}

.shell-sidebar:not(.collapsed) .shell-toggle svg {
  transform: rotate(180deg);
}

.link-plain {
  text-decoration: none;
}

.btn-reset-block {
  background: transparent;
  border: 0px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.top-0 {
  top: 0px;
}

.notif-wrap {
  position: relative;
  flex-shrink: 0;
}

.notif-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0px 4px;
  border-radius: 9px;
  background: var(--danger, #e5484d);
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}

.user-copy {
  line-height: 1.2;
  min-width: 0px;
}

.page-main {
  padding-top: 60px;
  min-height: 100vh;
  background: var(--bg);
}

.wrap-top {
  max-width: 1280px;
  margin: 0px auto;
  padding: 20px 16px 0px;
}

.row-16 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0%;
  min-width: 280px;
}

.flex-1 {
  flex: 1 1 0%;
}

.search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn-create {
  white-space: nowrap;
  height: 44px;
  gap: 7px;
}

.wrap-filters {
  max-width: 1280px;
  margin: 0px auto;
  padding: 14px 16px 0px;
}

.filters-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
}

.field-label {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}

.select-kit {
  padding: 7px 30px 7px 12px;
  border-radius: var(--radius-control);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-position: right 10px center;
  background-repeat: no-repeat;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
}

.select-kit-2 {
  padding: 7px 30px 7px 12px;
  border-radius: var(--radius-control);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-position: right 10px center;
  background-repeat: no-repeat;
  color: var(--text);
  cursor: pointer;
  outline: none;
  appearance: none;
  opacity: 0.5;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.range-input {
  width: 100%;
  padding: 6px 10px;
  border-radius: var(--radius-control);
  font-size: 0.8rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.range-sep {
  color: var(--text-faint);
  font-size: 0.85rem;
}

.filters-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 4px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  cursor: pointer;
  color: var(--blue-600);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 0px;
}

.chev {
  transform: rotate(0deg);
  transition: transform 0.2s;
}

.wrap-grid {
  max-width: 1280px;
  margin: 0px auto;
  padding: 20px 16px 48px;
}

.sort-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.sort-label {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

.select-kit-3 {
  padding: 7px 30px 7px 12px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-position: right 10px center;
  background-repeat: no-repeat;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}

.badge-dark {
  gap: 4px;
  background: rgba(12, 28, 48, 0.72);
  color: rgb(255, 255, 255);
}

.card-fav-pos {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.icon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: 0.15s;
  padding: 0px;
  flex-shrink: 0;
}

.pager-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.page-btn:disabled,
.page-btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.c-text {
  padding: 7px 14px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.page-btn {
  min-width: 36px;
  padding: 7px 10px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.85rem;
}

.range-sep-2 {
  padding: 0px 4px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.page-btn-2 {
  min-width: 36px;
  padding: 7px 10px;
  border-radius: var(--radius-control);
  border: 1px solid var(--blue-500);
  background: var(--blue-soft);
  color: var(--blue-600);
  font-weight: 700;
  cursor: default;
  font-size: 0.85rem;
}

.pager-size {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.pager-size-label {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.select-kit.select-kit--sm {
  padding: 6px 28px 6px 12px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-position: right 8px center;
  background-repeat: no-repeat;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
}

.pager-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 10px;
  white-space: nowrap;
}

.hairline {
  padding: 20px 24px 28px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
  margin-top: auto;
  background: transparent;
}

.site-footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.dot-sep {
  opacity: 0.4;
}

.footer-copy {
  opacity: 0.6;
}

.wrap-exporters {
  max-width: 1280px;
  margin: 0px auto;
  padding: 24px 24px 0px;
}

.page-lead {
  margin: 0px 0px 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.kpi-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.kpi-card {
  flex: 1 1 0%;
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 14px 18px;
}

.kpi-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.kpi-num.kpi-num--blue {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-600);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi-num.kpi-num--warn {
  font-size: 26px;
  font-weight: 700;
  color: var(--warning);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.wrap-exporters-grid {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0px 24px 48px;
}

.exporter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.exporter-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.16s, transform 0.16s;
  box-shadow: var(--shadow-sm);
  transform: none;
}

.row-14 {
  display: flex;
  gap: 14px;
  align-items: center;
}

.exporter-logo {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: var(--surface);
  color: rgb(255, 255, 255);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.grow {
  flex: 1 1 0%;
  min-width: 0px;
}

.row-2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.exporter-title {
  margin: 0px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.gap-5 {
  gap: 5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentcolor;
}

.exporter-person {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-faint {
  margin: 0px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-faint);
  font-style: italic;
}

.stat-row {
  display: flex;
  gap: 8px;
}

.mini-stat {
  background: var(--surface-2);
  border-radius: 9px;
  padding: 10px 12px;
  flex: 1 1 0%;
  min-width: 0px;
}

.mini-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kpi-label-2 {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.mini-stat.mini-stat--blue {
  background: var(--blue-soft);
  border-radius: 9px;
  padding: 10px 12px;
  flex: 1 1 0%;
  min-width: 0px;
}

.mini-stat-num.mini-stat-num--blue {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-600);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.mini-stat.mini-stat--warn {
  background: var(--warning-soft);
  border-radius: 9px;
  padding: 10px 12px;
  flex: 1 1 0%;
  min-width: 0px;
}

.mini-stat-num.mini-stat-num--warn {
  font-size: 22px;
  font-weight: 700;
  color: var(--warning);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.fts-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  background: rgba(15, 157, 110, 0.1);
  color: rgb(10, 143, 99);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.hairline-2 {
  border-top: 1px solid var(--border);
  border-right: 0px;
  border-bottom: 0px;
  border-left: 0px;
  margin: 0px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-count {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.open-link {
  color: var(--blue-500);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.sx-502873 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.exporter-card-2 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: box-shadow 0.16s, transform 0.16s;
}

.exporter-logo.exporter-logo--fallback {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: rgb(255, 255, 255);
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.open-link.open-link--muted {
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.wrap-car {
  max-width: 1280px;
  margin: 0px auto;
  padding: 24px 24px 32px;
}

.car-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.car-title {
  margin: 0px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.car-trim {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.car-facts {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tnum-inline {
  font-variant-numeric: tabular-nums;
}

.gallery-col {
  min-width: 0px;
  overflow: hidden;
}

.gallery-col-2 {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 460px;
  position: relative;
  max-height: 60vh;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-nav.gallery-nav--prev {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 28, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.gallery-nav.gallery-nav--next {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 28, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.gallery-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 28, 48, 0.7);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.72rem;
  color: rgb(255, 255, 255);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gallery-download {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(12, 28, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  cursor: pointer;
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.mt-10 {
  margin-top: 10px;
}

.media-cap {
  font-size: 0.65rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.thumbs-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-btn {
  width: 80px;
  height: 56px;
  border-radius: var(--radius-control);
  overflow: hidden;
  flex-shrink: 0;
  padding: 0px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s;
}

.img-cover-2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn-2 {
  width: 80px;
  height: 56px;
  border-radius: var(--radius-control);
  overflow: hidden;
  flex-shrink: 0;
  padding: 0px;
  border: 2px solid var(--blue-500);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s;
}

.video-thumb {
  width: 80px;
  height: 56px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-cover-3 {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vin-card {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-faint-2 {
  color: var(--text-faint);
}

.vin-cap {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.vin-value {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-top: 2px;
}

.vin-lock {
  margin-left: auto;
  gap: 5px;
}

.specs-card {
  margin-top: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.block-title {
  margin: 0px 0px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}

.spec-ico {
  color: var(--text-faint);
  flex-shrink: 0;
}

.spec-label {
  font-size: 13px;
  color: var(--muted);
}

.spec-value {
  margin-left: auto;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  color: var(--text);
}

.specs-card-2 {
  margin-top: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.supplier-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.supplier-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.badge-sm {
  height: 22px;
}

.supplier-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.price-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: rgb(255, 255, 255);
  padding: 22px;
}

.row-3 {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tnum-inline-2 {
  font-size: 34px;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.price-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 12.5px;
  opacity: 0.85;
  flex-wrap: wrap;
}

.inline-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-body {
  padding: 12px 22px 22px;
}

.price-body-cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 6px;
  margin-top: 4px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-faint-3 {
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 4px;
  text-align: right;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  gap: 12px;
}

.min-0 {
  min-width: 0px;
}

.c-text-2 {
  color: var(--text);
}

.price-hint {
  font-size: 0.65rem;
  margin-top: 1px;
  color: var(--muted-2);
}

.price-val {
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
}

.price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
}

.price-total-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.tnum-inline-3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.price-actions {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-plain-2 {
  width: 100%;
  height: 48px;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
}

.btn-wide {
  width: 100%;
  display: inline-flex;
}

.btn-wide-2 {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-wide-3 {
  width: 100%;
  text-decoration: none;
  display: inline-flex;
}

.price-note {
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
}

.broker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.broker-card-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.broker-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.broker-avatar-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 13px;
  object-fit: contain;
  background: var(--surface-2);
}

.broker-card-meta {
  min-width: 0px;
}

.broker-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.broker-card-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.broker-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-top: 4px;
}

.broker-row-label {
  color: var(--muted);
  min-width: 96px;
  flex-shrink: 0;
}

.broker-row-value {
  color: var(--text);
  overflow-wrap: anywhere;
}

.broker-write {
  margin-top: 14px;
  width: 100%;
  height: 38px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  color: rgb(255, 255, 255);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  box-sizing: border-box;
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

.page-main-sel {
  padding-bottom: 48px;
}

.sel-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.sel-search-wrap {
  position: relative;
  flex: 1 1 320px;
  min-width: 240px;
}

.sel-check-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sel-check-label {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.sel-input-sm {
  width: 78px;
  height: 42px;
}

.sel-dash {
  color: var(--text-faint);
}

.sel-select {
  height: 42px;
  padding: 0px 10px;
  border-radius: var(--radius-control);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.sel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sel-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sel-select-sm {
  height: 36px;
  padding: 0px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  max-width: 240px;
}

.sel-bar-right {
  display: flex;
  gap: 10px;
}

.sel-new-btn {
  text-decoration: none;
}

.sel-pick-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding-left: 4px;
}

.sel-pick-all {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.sel-check {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
  cursor: pointer;
}

.sel-pick-all-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.sel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}

.sel-check-card {
  width: 17px;
  height: 17px;
  accent-color: var(--blue-500);
  cursor: pointer;
  flex-shrink: 0;
}

.sel-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0px;
  flex: 1 1 0%;
}

.sel-thumbs {
  display: flex;
  flex-shrink: 0;
}

.sel-thumb {
  width: 54px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 0 0 2px var(--surface);
  margin-left: -12px;
}

.sel-thumb:first-child {
  margin-left: 0px;
}

.sel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sel-body {
  min-width: 0px;
  flex: 1 1 0%;
}

.sel-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sel-owner-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-faint);
}

.sel-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sel-title {
  margin: 0px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 100px);
}

.sel-views-badge {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-600);
  white-space: nowrap;
}

.sel-views-badge.muted {
  background: var(--surface-2);
  color: var(--muted);
}

.sel-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.sel-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sel-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.sel-avg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.sel-avg-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.sel-avg-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sel-btn-sm {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.sel-btn-sm.icon-only {
  width: 34px;
  padding: 0;
}

.sel-btn-sm.danger {
  color: var(--danger, #e5484d);
}

.wrap-clients {
  max-width: 1440px;
  margin: 0px auto;
  padding: 24px 24px 0px;
}

.clients-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.clients-lead {
  margin: 0px;
  font-size: 13.5px;
  color: var(--muted);
}

.clients-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.clients-btn {
  height: 40px;
  padding: 0px 16px;
}

.clients-btn-add {
  height: 40px;
  padding: 0px 18px;
}

.clients-filters {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.clients-search-wrap {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.clients-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.clients-search {
  width: 100%;
  height: 42px;
  padding: 0px 14px 0px 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.wrap-clients-empty {
  max-width: 1280px;
  margin: 0px auto;
  padding: 20px 24px 48px;
}

.clients-empty {
  color: var(--muted);
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  text-align: center;
}

.page-main-kb {
  padding-bottom: 0px;
}

.kb-wrap {
  padding: 14px 24px;
  height: calc(-60px + 100vh);
  display: flex;
  flex-direction: column;
  min-height: 0px;
}

.kb-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.kb-search-wrap {
  flex: 0 1 300px;
  min-width: 190px;
}

.kb-search {
  height: 38px;
  width: 100%;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}

.kb-select {
  height: 38px;
  min-width: 150px;
  padding: 0px 10px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.kb-spacer {
  flex: 1 1 0%;
  min-width: 8px;
}

.kb-count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.kb-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.kb-card-wrap {
  position: relative;
}

.kb-board {
  display: flex;
  gap: 16px;
  align-items: stretch;
  overflow-x: auto;
  flex: 1 1 0%;
  min-height: 0px;
}

.kb-col {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  min-height: 0px;
  padding-left: 0px;
}

.kb-col--deal {
  border-left: 2px solid var(--border);
  padding-left: 8px;
}

.kb-col--stage {
  border-left: 1px dashed var(--border);
  padding-left: 8px;
}

.kb-group {
  height: 16px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding: 0px 4px;
  white-space: nowrap;
}

.kb-col-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0px 4px 10px;
  flex-shrink: 0;
  min-height: 46px;
}

.kb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.kb-dot--lead {
  background: rgb(47, 111, 237);
}

.kb-dot--deal {
  background: rgb(239, 68, 68);
}

.kb-col-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kb-col-count {
  height: 20px;
  font-size: 11.5px;
  flex-shrink: 0;
}

.kb-col-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1 1 0%;
  min-height: 0px;
  overflow-y: auto;
  border-radius: 14px;
  padding: 4px;
  outline: none;
  outline-offset: 2px;
  background: transparent;
  transition: background 0.12s;
}

.kb-empty {
  font-size: 12.5px;
  text-align: center;
  padding: 22px 8px;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  color: var(--text-faint);
}

.wrap-tasks {
  max-width: 1320px;
  margin: 0px auto;
  padding: 20px 24px 60px;
}

.tasks-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tasks-seg {
  display: inline-flex;
  background: var(--seg-track);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.tasks-seg-btn {
  background: transparent;
  color: var(--muted);
  border: 0px;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  font-family: inherit;
}

.tasks-seg-btn.on {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.tasks-search-wrap {
  position: relative;
  min-width: 220px;
  flex: 0 1 300px;
}

.tasks-search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.tasks-search {
  width: 100%;
  height: 38px;
  padding: 0px 12px 0px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.tasks-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.tasks-refresh {
  height: 38px;
  padding: 0px 12px;
}

.tasks-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

.tasks-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 2px 10px;
  margin-bottom: 12px;
}

.tasks-col-head--overdue {
  border-bottom: 2px solid var(--danger);
}

.tasks-col-head--today {
  border-bottom: 2px solid var(--blue-500);
}

.tasks-col-head--tomorrow {
  border-bottom: 2px solid var(--muted);
}

.tasks-col-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text);
}

.tasks-col-count {
  height: 20px;
  font-size: 11.5px;
}

.tasks-col-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tasks-empty {
  font-size: 12.5px;
  text-align: center;
  padding: 20px 8px;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  color: var(--text-faint);
}

.page-main-chats {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.chats-wrap {
  flex: 1 1 0%;
  min-height: 0px;
  max-width: 1400px;
  width: 100%;
  margin: 0px auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.chats-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: var(--seg-track);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  align-self: flex-start;
}

.chats-tab {
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.chats-tab.on {
  background: var(--seg-on);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.chats-card {
  flex: 1 1 0%;
  min-height: 0px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: minmax(0px, 1fr);
}

.chats-list-col {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0px;
  min-width: 0px;
}

.chats-list-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chats-h {
  margin: 0px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.chats-add {
  width: 28px;
  height: 28px;
  padding: 0px;
  border-radius: 7px;
  border: none;
  background: var(--blue-500);
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chats-list-body {
  flex: 1 1 0%;
  overflow-y: auto;
  min-height: 0px;
}

.chats-list-empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
}

.chats-list-empty-ico {
  margin: 0px auto 12px;
  display: block;
}

.chats-list-empty-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.chats-list-empty-text {
  font-size: 0.75rem;
  color: var(--muted);
}

.chats-content-col {
  min-width: 0px;
  min-height: 0px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.chats-pane-empty {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 40px;
  gap: 12px;
}

.chats-pane-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.chats-pane-text {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.5;
}

.bchat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  width: 100%;
  background: transparent;
  font-family: inherit;
}

.bchat-row.on {
  border-left-color: var(--blue-500);
  background: var(--surface-2);
}

.bchat-ava,
.bchat-ava-img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex-shrink: 0;
}

.bchat-ava {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: rgb(255, 255, 255);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.bchat-ava-img {
  object-fit: contain;
  background: var(--surface-2);
}

.bchat-row-copy {
  min-width: 0;
  flex: 1 1 0%;
}

.bchat-row-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.bchat-row-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bchat-row-preview {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bchat-conv {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.bchat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.bchat-head .bchat-ava,
.bchat-head .bchat-ava-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.bchat-back {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  display: none;
}

.bchat-head-btn {
  min-width: 0;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.bchat-head-name {
  font-weight: 700;
  color: var(--text);
}

.bchat-head-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.bchat-media {
  order: 9;
  margin-left: auto;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bchat-thread {
  flex: 1 1 0%;
  overflow-y: auto;
  padding: 16px 18px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bchat-thread-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  line-height: 1.5;
}

.bchat-msg {
  display: flex;
  justify-content: flex-start;
}

.bchat-msg.is-me {
  justify-content: flex-end;
}

.bchat-bubble {
  max-width: min(78%, 520px);
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.bchat-msg.is-me .bchat-bubble {
  background: var(--blue-500);
  color: #fff;
}

.bchat-time {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.72;
}

.bchat-file {
  font-weight: 600;
}

.bchat-compose {
  padding: 10px 18px 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.bchat-compose-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.bchat-tool,
.bchat-send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bchat-tool {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
}

.bchat-input {
  flex: 1 1 0%;
  resize: none;
  padding: 9px 14px;
  min-height: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  line-height: 20px;
  max-height: 100px;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
}

.bchat-send {
  border: 0;
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 1px 2px #2f80ed59;
}

.bchat-send:disabled {
  background: var(--text-faint);
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .chats-card {
    grid-template-columns: 1fr;
  }
  .chats-content-col {
    display: none;
  }
  .chats-card.has-active .chats-list-col {
    display: none;
  }
  .chats-card.has-active .chats-content-col {
    display: flex;
  }
  .bchat-back {
    display: block;
  }
}

.wrap-marketing {
  max-width: 1100px;
  margin: 0px auto;
  padding: 28px 16px 60px;
}

.mkt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mkt-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0px 0px 6px;
}

.mkt-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 0px 0px 20px;
  max-width: 640px;
}

.mkt-templates {
  flex-shrink: 0;
}

.mkt-url-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.mkt-url {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  flex: 1 1 0%;
}

.mkt-load {
  padding: 0px 22px;
}

.mkt-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0px 0px 18px;
}

.wrap-zn {
  padding: 18px 22px 40px;
  max-width: 1280px;
  margin: 0px auto;
}

.zn-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.zn-head-copy {
  flex: 1 1 320px;
  min-width: 0px;
}

.zn-h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.zn-lead {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.zn-hints {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.zn-hints-ico {
  font-size: 14px;
}

.wrap-zn .seg.zn-seg {
  display: inline-flex;
  background: var(--surface-2);
  border: 0;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 18px;
}

.wrap-zn .seg.zn-seg > button {
  background: transparent;
  color: var(--muted);
  border: 0px;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  font-family: inherit;
  height: auto;
}

.wrap-zn .seg.zn-seg > button.on {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.zn-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  align-items: stretch;
}

@media (max-width: 900px) {
  .zn-grid {
    grid-template-columns: 1fr;
  }
}

.zn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}

.zn-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.zn-h2 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin: 0px;
}

.zn-h2-lead {
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0px 0px;
}

.zn-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.zn-meta b {
  color: var(--text);
}

.zn-all {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.zn-all-btn {
  border: 0px;
  background: transparent;
  padding: 2px 4px;
  cursor: default;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
}

.zn-filter {
  margin-bottom: 10px;
}

.zn-brands-scroll {
  max-height: 480px;
  overflow: auto;
}

.zn-brands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 6px;
}

.zn-brand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  font-family: inherit;
}

.zn-brand:hover,
.zn-brand.on {
  border-color: var(--blue-400);
  background: var(--blue-soft);
}

.zn-brand__name {
  font-weight: 600;
}

.zn-brand__n {
  color: var(--muted);
  font-size: 11.5px;
}

.zn-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 28px 8px;
  text-align: center;
}

.zn-rates {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 10px;
}

.zn-result {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.zn-result-miss {
  font-size: 13px;
  color: var(--muted);
}

.zn-result-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zn-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.zn-result-name {
  color: var(--text);
  font-weight: 600;
}

.zn-result-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

.zn-result-val {
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.zn-result-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.zn-result-total-sum {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.зн-заголовок-группы {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.зн-группа {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

@media (max-width: 560px) {
  .зн-группа {
    grid-template-columns: 1fr;
  }
}

.зн-метка {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.зн-метка__имя {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.зн-поле {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.зн-поле:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px #2f80ed26;
}

select.зн-поле {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7280' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
}

.зн-пара {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.зн-поле--составное {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px 0 0;
}

.зн-поле__ввод {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 10px;
  outline: none;
  font-size: 13.5px;
  font-family: inherit;
}

.зн-поле__единица {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

.зн-выпадалка__кнопка {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.зн-выпадалка {
  position: relative;
}

.зн-выпадалка__список {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 4px;
}

.зн-выпадалка__список[hidden] {
  display: none;
}

.зн-выпадалка__пункт {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.зн-выпадалка__пункт:hover,
.зн-выпадалка__пункт.on {
  background: var(--surface-2);
}

.zn-tour-on [data-тур] {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 10px;
}

.admin-login {
  display: flex;
  justify-content: center;
  padding: 48px 0 24px;
}

.admin-login[hidden] {
  display: none !important;
}

.admin-login-card {
  width: min(420px, 100%);
  padding: 22px;
  display: grid;
  gap: 12px;
}

.admin-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-status.is-bad {
  color: var(--danger, #ef4444);
}

.admin-app .support-fab,
.admin-app .support-panel,
.admin-app footer.hairline {
  display: none !important;
}

.admin-app .page-main {
  min-height: calc(100vh - 60px);
}

.admin-app .wrap-zn.admin-wrap {
  max-width: none;
  padding: 12px 16px 12px;
  height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.admin-top .zn-h1 {
  margin-bottom: 2px;
}

.admin-top-lead {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-seg {
  flex-shrink: 0;
  margin: 10px 0 12px;
}

.admin-desk {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.admin-desk[hidden] {
  display: none !important;
}

.admin-pane {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 14px;
}

.admin-pane[hidden] {
  display: none !important;
}

.admin-side,
.admin-editor {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.admin-side {
  padding: 12px;
}

.admin-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.admin-toolbar .admin-input {
  flex: 1;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.admin-chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.admin-chip.on {
  border-color: var(--blue-500);
  background: var(--blue-soft);
  color: var(--blue-600);
  font-weight: 650;
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 6px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 280px;
  padding-right: 2px;
}

.admin-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  flex-shrink: 0;
}

.admin-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.admin-row:hover {
  border-color: var(--blue-500);
}

.admin-row.is-on {
  border-color: var(--blue-500);
  background: var(--blue-soft);
}

.admin-row-title {
  font-weight: 650;
  font-size: 14px;
}

.admin-thumb {
  width: 52px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}

.admin-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  font-size: 14px;
  line-height: 1;
}

.admin-icon.is-danger {
  color: #ef4444;
}

.admin-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.admin-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 8px;
  flex-shrink: 0;
}

.admin-editor-head .zn-h2 {
  margin: 0;
}

.admin-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 16px;
}

.admin-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 0 0 12px;
  padding: 12px 14px 14px;
}

.admin-block legend {
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.admin-span-2 {
  grid-column: 1 / -1;
}

@media (min-width: 1280px) {
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .admin-span-2 {
    grid-column: span 2;
  }
}

.admin-input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 9px 11px;
  border-radius: var(--radius-control);
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-family: inherit;
}

.admin-input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: var(--blue-500);
}

.admin-form textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 10px;
}

.admin-logo {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.admin-logo-preview {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.admin-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.admin-logo-preview span {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 8px;
  line-height: 1.3;
}

.admin-logo-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-drop-logo {
  flex: 1;
  margin-bottom: 8px;
  text-align: center;
  padding: 12px;
}

.admin-drop:hover,
.admin-drop.is-over {
  border-color: var(--blue-500);
  color: var(--text);
}

.admin-logo-side .btn-kit {
  align-self: flex-start;
}

.admin-drop input {
  display: none;
}

.admin-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-photo {
  position: relative;
  width: 112px;
  height: 80px;
}

.admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.admin-photo button {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.admin-sticky {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .admin-pane {
    grid-template-columns: 1fr;
  }
  .admin-side {
    max-height: 42vh;
  }
  .admin-app .wrap-zn.admin-wrap {
    height: auto;
    min-height: calc(100vh - 60px);
  }
  .admin-pane {
    height: auto;
  }
  .admin-editor {
    min-height: 70vh;
  }
  .admin-logo {
    flex-direction: column;
    align-items: flex-start;
  }
}
