:root {
  --bg: #f0f2f5;
  --panel: #ffffff;
  --bubble: #ffffff;
  --border: #e2e6ea;
  --text: #1f2933;
  --muted: #6b7785;
  --muted-2: #9aa5b1;
  --secondary: #4a5563;
  --accent: #2f6fed;
  --accent-dark: #2559c4;
  --ok: #2ea44f;
  --warn: #d98324;
  --danger: #d64545;

  /* Мягкие фоны кнопок, списков и форм */
  --soft: #eaf1fe;
  --soft-hover: #dbe7fd;
  --row-line: #f0f2f5;
  --row-hover: #f7f9fc;
  --row-active: #eaf1fe;
  --row-hover-bg: #fafcff;
  --badge-bg: #eceff3;
  --badge-online-bg: #e6f5ea;
  --input-bg: #ffffff;
  --input-disabled: #f7f8fa;
  --ghost-hover: #f5f6f8;
  --hint-bg: #f5f7fa;
  --pages-bg: #fbfcfe;
  --page-line: #eef1f5;
  --danger-soft: #fdecec;
  --danger-soft-hover: #f9d9d9;
  --code-bg: #1f2933;
  --code-text: #e5e9ef;
  --rail-bg: #1f2933;
  --toast-bg: #263238;

  color-scheme: light;
}

/* ===================== Тёмная тема ===================== */
html[data-theme="dark"] {
  --bg: #14181d;
  --panel: #1b2129;
  --bubble: #232c38;
  --border: #2a3340;
  --text: #e6ebf2;
  --muted: #8b98a9;
  --muted-2: #6e7d8f;
  --secondary: #9fb0c3;
  --accent: #4d8df7;
  --accent-dark: #3b76d9;
  --ok: #3fb950;
  --warn: #e3a341;
  --danger: #f07777;

  --soft: #1e2c44;
  --soft-hover: #26365a;
  --row-line: #232b35;
  --row-hover: #20262e;
  --row-active: #1d2a42;
  --row-hover-bg: #1d2530;
  --badge-bg: #232b35;
  --badge-online-bg: #12281a;
  --input-bg: #161b22;
  --input-disabled: #141a21;
  --ghost-hover: #20262e;
  --hint-bg: #1a212b;
  --pages-bg: #171d24;
  --page-line: #232b35;
  --danger-soft: #3a1d1d;
  --danger-soft-hover: #4a2323;
  --code-bg: #0d1117;
  --code-text: #c9d4e0;
  --rail-bg: #10151b;
  --toast-bg: #2e3a46;

  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  height: 100vh;
  overflow: hidden;
}

.hidden { display: none !important; }

/* ===================== Кнопки ===================== */
.btn {
  font-family: inherit;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
  white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-soft { background: var(--soft); color: var(--accent); }
.btn-soft:hover:not(:disabled) { background: var(--soft-hover); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--ghost-hover); color: var(--text); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: var(--danger-soft-hover); }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 9px; font-size: 12px; }

/* ===================== Вход ===================== */
.login-screen {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2f6fed 100%);
}
.login-card {
  background: var(--panel); padding: 36px 32px; border-radius: 14px;
  width: 340px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.login-card h1 { font-size: 21px; margin-bottom: 6px; }
.login-sub { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.login-card label {
  display: block; font-size: 12px; color: var(--muted);
  margin-bottom: 5px; margin-top: 14px;
}
.login-card input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: inherit; outline: none;
  background: var(--input-bg); color: var(--text);
}
.login-card input:focus { border-color: var(--accent); }
.login-error {
  color: var(--danger); font-size: 13px; min-height: 18px; margin-top: 10px;
}
.login-card .btn { margin-top: 10px; padding: 11px; font-size: 14px; }

/* ===================== Каркас ===================== */
/* Верхняя полоса + две колонки: чаты слева, посетители в центре */
.app { display: flex; flex-direction: column; height: 100vh; }
.app-body { flex: 1; display: flex; min-height: 0; }

.topbar {
  height: 48px; flex: 0 0 48px;
  background: var(--panel); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
}
.topbar-title { font-weight: 600; font-size: 14px; }
.topbar-avatar {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700; user-select: none;
}
.topbar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topbar-user { font-weight: 600; font-size: 13px; }

/* Клик по имени и аватару открывает профиль */
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px; border: none; border-radius: 999px;
  background: none; cursor: pointer; font-family: inherit;
}
.user-chip:hover { background: var(--ghost-hover); }
.topbar-spacer { flex: 1; }

/* ===================== Индикаторы статуса ===================== */
.status-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
  cursor: default; white-space: nowrap;
}
#status-tunnel { cursor: pointer; }
#status-tunnel:hover { border-color: var(--accent); }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted-2); flex: 0 0 auto;
}
.status-chip.status-ok .status-dot {
  background: var(--ok); box-shadow: 0 0 0 3px rgba(46,164,79,.18);
}
.status-chip.status-down .status-dot {
  background: var(--danger); box-shadow: 0 0 0 3px rgba(214,69,69,.18);
}
.status-chip.status-down { color: var(--danger); }

.icon-btn {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 9px; background: transparent;
  color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--ghost-hover); color: var(--text); }
.icon-btn.icon-logout:hover { background: var(--danger-soft); color: var(--danger); }

.sidebar {
  width: 300px; flex: 0 0 300px;
  background: var(--panel); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: relative;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}

/* ===================== Вкладки-фильтры в одну строку ===================== */
.tabs-line {
  display: flex; align-items: center; gap: 2px;
  padding: 0 12px; border-bottom: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
}
.tab-line {
  padding: 9px 8px; border: none; background: none;
  font-family: inherit; font-size: 12px; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab-line:hover { color: var(--text); }
.tab-line-active, .tab-line-active:hover {
  color: var(--accent); border-bottom-color: var(--accent); font-weight: 600;
}

/* ===================== Фавиконки сайтов ===================== */
.site-avatar {
  position: relative; width: 24px; height: 24px; flex: 0 0 24px;
  margin-top: 1px; display: inline-block; vertical-align: middle;
}
.site-avatar-lg { width: 34px; height: 34px; flex-basis: 34px; }
.site-letter {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; border-radius: 5px;
  color: #fff; font-size: 12px; font-weight: 700;
}
.site-avatar-lg .site-letter { font-size: 16px; border-radius: 7px; }
/* Фавиконка лежит поверх запасной буквы; если не загрузилась —
   onerror удаляет её и буква проявляется */
.site-favicon {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 5px; background: #fff; padding: 2px;
  box-sizing: border-box; object-fit: contain;
}
.site-avatar-lg .site-favicon { border-radius: 7px; }

.online-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(46,164,79,.15); flex: 0 0 auto;
}
.badge-online { background: var(--badge-online-bg); color: var(--ok); }
.badge-site {
  background: var(--badge-bg); color: var(--secondary); max-width: 92px;
  overflow: hidden; text-overflow: ellipsis;
}

.visitors-list { flex: 1; overflow-y: auto; }
.visitor-item {
  padding: 12px 16px; border-bottom: 1px solid var(--row-line); cursor: pointer;
}
.visitor-item:hover { background: var(--row-hover); }
.visitor-item.active { background: var(--row-active); box-shadow: inset 3px 0 0 var(--accent); }
.visitor-row { display: flex; gap: 10px; align-items: flex-start; }
.visitor-body { flex: 1; min-width: 0; }
.visitor-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.visitor-name { font-weight: 600; font-size: 13px; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  font-size: 10px; padding: 1px 7px; border-radius: 10px;
  background: var(--badge-bg); color: var(--muted); white-space: nowrap;
}
.badge-unread { background: var(--accent); color: #fff; }
.badge-agent { background: var(--badge-online-bg); color: var(--ok); }
.badge-mine { background: var(--soft); color: var(--accent); }
.visitor-info { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.visitor-preview {
  font-size: 12px; color: var(--secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.visitor-time { font-size: 11px; color: var(--muted-2); margin-top: 3px; }


/* ===================== Главная: посетители на сайте ===================== */
.dashboard { flex: 1; overflow-y: auto; padding: 26px 30px; }
.dash-head h2 { font-size: 19px; }
.dash-head p { font-size: 13px; color: var(--muted); margin: 4px 0 20px; }
.dash-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin-bottom: 26px;
}
.stat-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 18px;
}
.stat-value { font-size: 24px; font-weight: 700; }
.stat-value.stat-online { color: var(--ok); }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dash-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.dash-online-list { display: block; }
.dash-empty {
  padding: 26px; text-align: center; color: var(--muted); font-size: 13px;
  background: var(--panel); border: 1px dashed var(--border); border-radius: 10px;
}

/* Таблица «Сейчас на сайте»: значок посетителя — фавиконка его сайта */
.vt-wrap {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.visitors-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.visitors-table th {
  text-align: left; font-size: 11px; font-weight: 600;
  color: var(--muted); background: var(--hint-bg);
  padding: 9px 14px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.visitors-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--row-line);
  vertical-align: middle;
}
.visitors-table tbody tr:last-child td { border-bottom: none; }
.vt-row { cursor: pointer; }
.vt-row:hover { background: var(--row-hover); }
.vt-visitor { display: flex; align-items: center; gap: 10px; min-width: 0; }
.vt-name { font-weight: 600; white-space: nowrap; }
.vt-chat-on {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent); font-weight: 700; font-size: 12px; white-space: nowrap;
}
.vt-chat-on svg { fill: currentColor; }
.vt-chat-off { display: inline-flex; color: var(--muted-2); }
.vt-chat-off svg { fill: currentColor; }
.vt-online, .vt-src, .vt-os {
  color: var(--secondary); font-size: 12px; white-space: nowrap;
}
.vt-page {
  color: var(--accent); font-size: 12px; max-width: 280px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.vt-muted { color: var(--muted-2); }


/* ===================== Переписка ===================== */
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; }
/* Переписка на широких экранах держится колонкой ~900px по центру,
   чтобы сообщения не расходились по углам */
.chat-header {
  padding: 16px max(20px, calc((100% - 900px) / 2)); background: var(--panel);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-header h3 { font-size: 15px; }
.chat-header p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.chat-header-actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ===================== История страниц посетителя ===================== */
.pages-toggle {
  background: none; border: none; padding: 3px 0 0;
  color: var(--accent); font-family: inherit; font-size: 12px;
  cursor: pointer; white-space: nowrap;
}
.pages-toggle:hover { text-decoration: underline; }
.pages-panel {
  padding: 8px max(20px, calc((100% - 900px) / 2)) 10px;
  background: var(--pages-bg); border-bottom: 1px solid var(--border);
  max-height: 230px; overflow-y: auto;
}
.pages-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 4px 0; font-size: 13px; border-bottom: 1px dashed var(--page-line);
}
.pages-row:last-child { border-bottom: none; }
.pages-time { font-size: 11px; color: var(--muted-2); white-space: nowrap; flex: 0 0 auto; }
.pages-link {
  color: var(--accent); text-decoration: none; font-weight: 500;
  max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pages-link:hover { text-decoration: underline; }
.pages-sub {
  font-size: 11px; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px max(20px, calc((100% - 900px) / 2));
  background: var(--bg); display: flex; flex-direction: column; gap: 10px;
}
.empty-state { margin: auto; text-align: center; color: var(--muted); }
.empty-icon { font-size: 40px; margin-bottom: 10px; opacity: .5; }
.empty-state p { font-size: 15px; margin-bottom: 4px; }
.empty-state span { font-size: 13px; }

.message { max-width: 68%; padding: 10px 14px; border-radius: 14px; word-wrap: break-word; }
.message.visitor {
  background: var(--bubble); color: var(--text); align-self: flex-start;
  border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.message.agent {
  background: var(--accent); color: #fff; align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.message-meta { font-size: 10px; opacity: .75; margin-top: 5px; }
.msg-avatar {
  width: 14px; height: 14px; border-radius: 50%; object-fit: cover;
  vertical-align: -2px; margin-right: 4px;
}

.input-area {
  padding: 14px max(20px, calc((100% - 900px) / 2)); background: var(--panel);
  border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-end;
}
.input-area textarea {
  flex: 1; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: inherit;
  resize: none; max-height: 140px; outline: none; line-height: 1.4;
  background: var(--input-bg); color: var(--text);
}
.input-area textarea:focus { border-color: var(--accent); }
.input-area textarea:disabled { background: var(--input-disabled); }


/* ===================== Настройки: во весь экран ===================== */
.settings {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: flex; flex-direction: column;
}
.settings-header {
  padding: 16px 24px; background: var(--panel);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.settings-header h3 { font-size: 16px; }

.settings-tabs {
  display: flex; border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.tab {
  padding: 12px 22px; border: none; background: none;
  font-family: inherit; font-size: 13px; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent;
}
.tab-active { color: var(--accent); border-bottom-color: var(--accent); }

.settings-scroll { flex: 1; overflow-y: auto; }
.tab-body {
  padding: 20px 24px; max-width: 760px; margin: 0 auto; width: 100%;
  box-sizing: border-box;
}
.hint {
  font-size: 11px; color: var(--muted); background: var(--hint-bg);
  padding: 9px 11px; border-radius: 8px; margin-bottom: 14px; line-height: 1.5;
}
.hint code { font-size: 10px; word-break: break-all; }

.settings-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.settings-card {
  border: 1px solid var(--border); border-radius: 9px; padding: 11px 12px;
}
.settings-card-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.settings-card-title { font-weight: 600; font-size: 13px; flex: 1; }
.settings-card-sub {
  font-size: 11px; color: var(--muted); word-break: break-all; line-height: 1.5;
}
.settings-card-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.embed-code {
  margin: 8px 0 0; padding: 9px 10px; border-radius: 7px;
  background: var(--code-bg); color: var(--code-text);
  font-family: Consolas, "Courier New", monospace; font-size: 11px; line-height: 1.6;
  white-space: pre-wrap; word-break: break-all; overflow-x: auto;
}

.settings-form { display: flex; flex-direction: column; gap: 8px; }
.settings-form h4 { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.settings-form input, .settings-form select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; font-family: inherit; background: var(--input-bg);
  color: var(--text); outline: none;
}
.settings-form input:focus, .settings-form select:focus { border-color: var(--accent); }
.settings-form .btn { margin-top: 4px; }

/* Галочка-настройка в профиле (checkbox не растягиваем на всю ширину) */
.profile-pref {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text); cursor: pointer; user-select: none;
}
.profile-pref input { width: auto; margin: 0; cursor: pointer; }

/* Масштаб интерфейса: кнопка-проценты и панель с ползунком под ней */
.zoom-wrap { position: relative; display: flex; }
.icon-btn.zoom-btn { font-size: 12px; font-weight: 600; min-width: 52px; }
.zoom-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 300;
  width: 190px; padding: 12px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  display: flex; flex-direction: column; gap: 6px;
}
.zoom-value { font-size: 15px; font-weight: 600; text-align: center; }
.zoom-pop input[type="range"] { width: 100%; cursor: pointer; accent-color: var(--accent); }
.zoom-scale {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--muted);
}
.zoom-presets { display: flex; gap: 6px; margin-top: 4px; }
.zoom-presets button {
  flex: 1; padding: 5px 0; border-radius: 7px; cursor: pointer;
  font-size: 12px; font-family: inherit;
  background: var(--hint-bg); color: var(--text); border: 1px solid var(--border);
}
.zoom-presets button:hover { background: var(--ghost-hover); }

/* Форма оформления виджета внутри карточки сайта */
.site-style { margin-top: 8px; }
.site-style summary {
  cursor: pointer; font-size: 12px; color: var(--muted); user-select: none;
}
.site-style[open] summary { margin-bottom: 4px; }
.site-style-form { margin-top: 8px; }
.site-color-row { display: flex; gap: 8px; }
.site-color-row input[type="color"] {
  flex: 0 0 48px; height: 37px; padding: 3px; cursor: pointer;
}
.site-style-hint { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ===================== Профиль: аватар и имя ===================== */
.profile-avatar-row { display: flex; gap: 14px; align-items: flex-start; }
.profile-avatar {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%;
  overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--border);
  color: #fff; font-size: 28px; font-weight: 700; user-select: none;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-avatar-side { flex: 1; min-width: 0; }
.profile-avatar-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-avatar-hint {
  font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 6px;
}

/* Аватар в карточке менеджера */
.user-avatar {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%;
  object-fit: cover; display: inline-flex; align-items: center;
  justify-content: center; color: #fff; font-size: 13px; font-weight: 700;
  user-select: none;
}
.user-avatar-letter { overflow: hidden; }

/* ===================== Уведомления ===================== */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
}
.toast {
  background: var(--toast-bg); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  animation: toast-in .2s ease-out; max-width: 320px;
}
.toast-error { background: var(--danger); }
.toast-ok { background: var(--ok); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== Переключатель темы ===================== */
/* Иконка меняется сама: в светлой теме показываем луну (переключить
   на тёмную), в тёмной — солнце (вернуть светлую) */
#theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] #theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] #theme-toggle .icon-sun { display: block; }

/* ===================== Опасная зона в настройках ===================== */
.danger-zone {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border);
}
.danger-zone h4 {
  font-size: 13px; color: var(--danger); margin-bottom: 6px;
}
.danger-zone p {
  font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.5;
}

/* Узкие экраны: убираем наименее важные колонки таблицы */
@media (max-width: 1100px) {
  .vt-src-h, td.vt-src { display: none; }
}
@media (max-width: 900px) {
  .vt-os-h, td.vt-os { display: none; }
}
@media (max-width: 700px) {
  .vt-page-h, td.vt-page { display: none; }
}
