* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =============================================
   Design System — Cursor-inspired (DESIGN.md)
   Warm cream canvas, Cursor Orange accent, hairline depth
   ============================================= */
:root {
  /* Cursor palette — warm cream editorial */
  --ink: #26251e;
  --ink-deep: #26251e;
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface-card: #ffffff;
  --surface-soft: #fafaf7;
  --surface-dark: #201d1d;
  --surface-dark-elevated: #302c2c;
  --body: #5a5852;
  --mute: #807d72;
  --muted-soft: #a09c92;
  --stone: #807d72;
  --ash: #a09c92;
  --on-dark: #ffffff;
  --on-dark-mute: #a09c92;

  /* Brand — Cursor Orange (use scarcely, only for CTAs) */
  --accent: #f54e00;
  --accent-hover: #d04200;
  --accent-active: #d04200;
  --on-accent: #ffffff;

  /* Semantic */
  --danger: #cf2d56;
  --danger-hover: #b8264a;
  --warning: #c08532;
  --warning-hover: #a06e2a;
  --success: #1f8a65;

  /* Borders — hairline only, no shadows */
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --overlay: rgba(38, 37, 30, 0.5);

  /* Interactive surfaces */
  --surface-active: var(--accent);
  --surface-active-hover: var(--accent-hover);

  /* Typography — CursorGothic for UI, JetBrains Mono for code */
  --font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'IBM Plex Mono', 'SFMono-Regular', 'Consolas', monospace;
  --display-weight: 400;
  --body-size: 16px;
  --body-weight: 400;
  --body-lh: 1.5;
  --caption-size: 14px;
  --button-weight: 500;
  --button-lh: 1.0;
  --title-weight: 600;

  /* Spacing — 4px base */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-base: 16px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 80px;

  /* Radius — per DESIGN.md */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --radius-full: 9999px;
}

/* ===== Layout Utilities ===== */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden { display: none !important; }

/* ===== Text Utilities ===== */
.text-center { text-align: center; }
.text-sm { font-size: var(--caption-size); }
.text-muted { color: var(--mute); }
.text-ash { color: var(--ash); }
.text-ink { color: var(--ink); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ===== Component Tokens (DESIGN.md) ===== */
.badge-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.88px;
}
.badge-pill.accent {
  background: var(--accent);
  color: var(--on-accent);
}
.badge-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  animation: badgePop 0.2s ease;
}
.badge-notification.hidden {
  display: none;
}
.caption-uppercase {
  font-size: 11px;
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.88px;
}
.empty-text {
  text-align: center;
  color: var(--ash);
  font-size: var(--caption-size);
  padding: 40px 0;
}

[data-theme="dark"] {
  --ink: #f0efef;
  --ink-deep: #ffffff;
  --canvas: #1a1a1a;
  --canvas-soft: #242121;
  --surface-card: #2a2727;
  --surface-soft: #242121;
  --body: #d1d1d3;
  --mute: #9a9898;
  --muted-soft: #646262;
  --stone: #7a7878;
  --ash: #646262;
  --on-dark: #fdfcfc;
  --on-dark-mute: #9a9898;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-soft: rgba(255, 255, 255, 0.05);
  --hairline-strong: #646262;
  --overlay: rgba(0, 0, 0, 0.6);
  --surface-active: var(--accent);
  --surface-active-hover: var(--accent-hover);
}

/* =============================================
   Base
   ============================================= */
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-lh);
  background: var(--canvas);
  color: var(--body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   Login
   ============================================= */
.role-option {
  flex: 1;
  cursor: pointer;
  position: relative;
}

.role-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.role-label {
  display: block;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  font-size: var(--body-size);
  font-weight: var(--button-weight);
  background: var(--surface-soft);
  color: var(--mute);
  transition: all 0.2s;
}

.role-option input:checked + .role-label {
  background: var(--surface-active);
  color: var(--on-dark);
}

.role-option:not(:last-child) .role-label {
  border-right: 1px solid var(--hairline);
}

/* =============================================
   Form Inputs (text-input / text-input-focused)
   ============================================= */
.text-input {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-lh);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  height: 40px;
}

.text-input:focus {
  background: var(--surface-card);
  border-color: var(--ink);
}

.text-input::placeholder {
  color: var(--ash);
  opacity: 1;
}

select.text-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9898' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* =============================================
   Buttons (button-primary / button-secondary)
   ============================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--button-weight);
  line-height: var(--button-lh);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  height: 40px;
  white-space: nowrap;
}
.button:disabled {
  background: var(--surface-card);
  color: var(--muted-soft);
  cursor: not-allowed;
  pointer-events: none;
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  background: var(--surface-card);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  padding: 9px 17px;
}
.button-secondary:hover {
  background: var(--surface-soft);
}

.button-danger {
  background: var(--danger);
  color: var(--on-accent);
}

.button-danger:hover {
  background: var(--danger-hover);
}

.button-sm {
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--caption-size);
  line-height: 1.4;
  height: 40px;
}

.button-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-full {
  width: 100%;
}

/* =============================================
   Main / Conference List
   ============================================= */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--hairline);
}

.main-header h1 {
  font-size: 22px;
  font-weight: var(--display-weight);
  font-family: var(--font-display);
  letter-spacing: -0.11px;
  color: var(--ink);
}

/* Theme toggle button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--mute);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.theme-toggle svg { display: none; }
[data-theme="dark"] .theme-toggle .ic-dark,
[data-theme="light"] .theme-toggle .ic-light { display: block; }

/* Вкладки на главной (администратор) */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--hairline);
}
.tab-button {
  padding: var(--space-sm) var(--space-lg);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--mute);
  font-size: var(--body-size);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.tab-button.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.tab-button:hover {
  color: var(--ink);
}
.tab-panel.hidden {
  display: none;
}
/* Карточка пользователя в админке */
.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--hairline);
}
.user-card:hover {
  border-color: var(--hairline-strong);
}
.conference-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--hairline);
  transition: border-color 0.2s;
}

.conference-card:hover {
  border-color: var(--hairline-strong);
}

.conf-title {
  font-size: var(--body-size);
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  color: var(--ink);
}

.conf-lock {
  flex-shrink: 0;
  color: var(--ash);
  opacity: 0.6;
}

.status-active {
  background: rgba(31, 138, 101, 0.12);
  color: var(--success);
}

.status-scheduled {
  background: rgba(245, 78, 0, 0.1);
  color: var(--accent);
}

.status-completed {
  background: var(--hairline);
  color: var(--mute);
}

.status-upcoming {
  background: rgba(192, 133, 50, 0.12);
  color: var(--warning);
}

/* Collapsible completed section */
.conf-section-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  margin-bottom: var(--space-md);
  user-select: none;
}
.conf-section-toggle:hover .caption-uppercase {
  color: var(--ink);
}
.conf-section-toggle .toggle-icon {
  display: flex;
  align-items: center;
  color: var(--ash);
  transition: transform 0.2s;
}
.conf-section-toggle .toggle-icon.collapsed {
  transform: rotate(-90deg);
}
#list-completed.collapsed,
#list-hosts.collapsed,
#list-admins.collapsed {
  display: none;
}

/* Timer display */
.conf-timer {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--caption-size);
  color: var(--warning);
  font-weight: 600;
  background: var(--surface-card);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
}
.conf-timer.hidden {
  display: none;
}
.empty-state {
  text-align: center;
  padding: 60px var(--space-xl);
  color: var(--ash);
  font-size: var(--body-size);
}

/* =============================================
   Modal
   ============================================= */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.modal-content {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  width: 90%;
  max-width: 420px;
  border: 1px solid var(--hairline);
}

.modal-content h2 {
  margin-bottom: var(--space-xl);
  font-size: 18px;
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  color: var(--ink);
}

.modal-content .text-input {
  margin-bottom: var(--space-md);
}

/* =============================================
   Conference Room
   ============================================= */
.conference-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--canvas);
  position: relative;
}

.video-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Кнопка скрытия/показа боковой панели — на правой границе video-area */
.sidebar-toggle {
  position: absolute;
  right: 260px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  color: var(--mute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: right 0.25s ease, background 0.2s, color 0.2s, border-color 0.2s;
}
.sidebar-toggle:hover {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.sidebar-collapsed .sidebar-toggle {
  right: 0;
}
.sidebar-collapsed .sidebar-toggle svg {
  transform: scaleX(-1);
}

.video-main {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.video-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  position: relative;
  padding: var(--space-md);
  background: var(--surface-dark);
  overflow: hidden;
}

.conn-status {
  position: absolute;
  top: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: var(--on-dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--caption-size);
  pointer-events: none;
  z-index: 5;
}

/* Карусель фото объекта (поверх видео-сетки) */
.object-carousel {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: #000;
  display: flex;
  flex-direction: column;
}
.object-carousel.hidden {
  display: none;
}
.object-carousel-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.object-carousel-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Горизонтальная лента: все фото рядом, переключение прокруткой */
.object-carousel-stage.carousel-strip {
  flex-direction: row;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: #000;
}
.object-carousel-stage.carousel-strip::-webkit-scrollbar { display: none; }
.object-carousel-stage.carousel-strip { scrollbar-width: none; }
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  background: #000;
}
.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.carousel-stub {
  color: var(--ash);
  padding: 40px;
}
.carousel-counter {
  position: absolute;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: var(--caption-size);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  pointer-events: none;
}
.object-carousel.hidden .carousel-counter { display: none; }
/* Полупрозрачный блок информации поверх фото */
.object-carousel-info {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 3;
  max-width: 340px;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--body-size);
  pointer-events: none;   /* не мешать прокрутке фото */
}
.info-head {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.info-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.info-head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.object-carousel-info .creator-name {
  font-weight: 700;
  font-size: var(--body-size);
  line-height: 1.2;
}
.object-carousel-info .creator-role {
  font-size: var(--caption-size);
  line-height: 1.2;
}
.object-carousel-info .creator-phone {
  font-size: var(--caption-size);
  line-height: 1.2;
}
/* Блок цены */
.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-old {
  font-size: var(--caption-size);
  color: var(--ash);
  text-decoration: line-through;
  line-height: 1.2;
}
.price-new {
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--accent);
}
/* Когда цена не менялась — без увеличения */
.price-block:not(:has(.price-old)) .price-new {
  font-size: 1.1rem;
  font-weight: 700;
}
/* Адресный блок поверх карусели (сверху слева) */
.object-address-block {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  z-index: 4;
  max-width: 900px;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--body-size);
  pointer-events: none;
  line-height: 1.3;
}
.object-address-block .addr-line {
  font-weight: 600;
}
.object-address-block .metro-line {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.object-address-block .metro-item {
  display: block;
}
.object-address-block .metro-icon-wrap {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}
.object-address-block .metro-icon-wrap svg {
  display: block;
  width: 12px;
  height: 12px;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 2px;
}
.object-address-block .transport-icon {
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
}
.object-address-block .transport-icon svg {
  display: block;
  fill: #1a73e8;
}
/* PiP — уменьшенная картинка активного пользователя поверх карусели */
.carousel-pip {
  position: absolute;
  right: var(--space-md);
  bottom: 60px;
  width: auto;
  height: 150px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline-strong);
  z-index: 16;
  background: #000;
  object-fit: cover;
}

/* =============================================
   Video Grid (uses active-view base class)
   ============================================= */
#video-grid.active-view {
  display: grid;
  gap: var(--space-md);
  max-height: 100%;
  min-height: 0;
  align-content: center;
  justify-content: center;
  grid-auto-flow: row dense;
}
#video-grid.active-view[data-count="0"],
#video-grid.active-view[data-count="1"] { grid-template-columns: 1fr; }
#video-grid.active-view[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#video-grid.active-view[data-count="3"],
#video-grid.active-view[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
#video-grid.active-view[data-count="5"],
#video-grid.active-view[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
#video-grid.active-view[data-count="7"],
#video-grid.active-view[data-count="8"],
#video-grid.active-view[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr 1fr; }

#video-grid.active-view:has(.tile-screen) { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }

/* Video tile */
.video-tile {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  min-height: 0;
  display: flex;
  max-height: 100%;
}

.video-tile > * { pointer-events: none; }

.video-tile video {
  width: 100%;
  height: 100%;
  background: #000;
}

.tile-self video { transform: scaleX(-1); }

.tile-screen {
  aspect-ratio: auto;
}
.tile-screen video { object-fit: contain; background: #000; }

.tile-label {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  background: rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
  font-size: var(--caption-size);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-name {
  margin-left: 4px;
}

/* Speaking indicator — green border + glow */
.video-tile.speaking {
  outline: 3px solid var(--accent);
}
.focus-peers .video-tile.speaking {
  outline: 2px solid var(--success);
}

.tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  z-index: 1;
}

.tile-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  color: var(--on-accent);
}

/* =============================================
   Controls Bar
   ============================================= */
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}
/* Плавное схлопывание controls, когда боковая панель свёрнута */
.sidebar-collapsed .controls {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-top-color: transparent;
}
.sidebar-collapsed .controls.controls-visible {
  max-height: 80px;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  opacity: 1;
  border-top-color: var(--hairline);
}

.control-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--surface-card);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  border: 1px solid var(--hairline);
}

.control-button:hover {
  background: var(--surface-card);
}

.control-button.active {
  background: var(--surface-active);
  color: var(--on-dark);
  border-color: var(--surface-active);
}

.control-button.active:hover {
  background: var(--surface-active-hover);
}

@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.control-button.exit-btn {
  background: var(--danger);
  color: var(--on-dark);
  border-color: var(--danger);
}

.control-button.exit-btn:hover {
  background: var(--danger-hover);
}

.control-button.end-btn {
  background: var(--warning);
  color: var(--on-dark);
  border-color: var(--warning);
}

.control-button.end-btn:hover {
  background: var(--warning-hover);
}

/* =============================================
   Chat Panel
   ============================================= */
.chat-panel {
  width: 320px;
  background: var(--surface-soft);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  animation: slideIn 0.2s ease;
}

.chat-panel.hidden {
  display: none;
}

@keyframes slideIn {
  from { width: 0; opacity: 0; }
  to { width: 320px; opacity: 1; }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-lg);
  border-bottom: 1px solid var(--hairline);
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}

.chat-close-button {
  background: none;
  border: none;
  color: var(--mute);
  font-size: 18px;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  line-height: 1;
}

.chat-close-button:hover {
  color: var(--ink);
  background: var(--surface-card);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.chat-msg {
  background: var(--surface-soft);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  max-width: 100%;
  word-break: break-word;
}

.chat-msg-self {
  background: var(--surface-card);
  border-color: var(--hairline-strong);
}

.chat-msg-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.3;
}

.chat-msg-body {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-sm);
}

.chat-msg-text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--body);
  flex: 1 1 0%;
  min-width: 0;
}

.chat-msg-time {
  font-size: 10px;
  color: var(--muted-soft);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
  margin-left: auto;
}

.chat-input-area {
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid var(--hairline);
}

.chat-input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
  padding: 2px;
}
.chat-input-wrap:focus-within {
  border-color: var(--hairline-strong);
}

.chat-input-wrap .text-input {
  flex: 1;
  border: none;
  background: transparent;
  height: 36px;
  padding: 4px 12px;
  font-size: 14px;
  outline: none;
}
.chat-input-wrap .text-input:focus {
  background: transparent;
  border-color: transparent;
}

.chat-send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s, background 0.2s;
}
.chat-send-button:hover {
  background: var(--accent-hover);
}
.chat-send-button.hidden {
  opacity: 0;
  pointer-events: none;
}



/* Кнопка «Предложить объект» с текстом */
.propose-button {
  width: auto !important;
  padding: 0 var(--space-md);
  gap: var(--space-xs);
}
.propose-button svg {
  flex-shrink: 0;
}
.propose-button-text {
  font-size: var(--caption-size);
  white-space: nowrap;
}
/* =============================================
   Propose Menu (участник: выпадающая форма)
   ============================================= */
.propose-wrap {
  position: relative;
}
.propose-menu {
  position: absolute;
  bottom: calc(var(--space-lg) + 48px + 8px);
  left: 0;
  width: 260px;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 100;
  animation: badgePop 0.18s ease;
}
.propose-menu.hidden {
  display: none;
}
.propose-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.propose-field label {
  font-size: var(--caption-size);
  color: var(--ash);
  font-weight: 600;
}

/* =============================================
   Objects Panel (ведущий: список объектов)
   ============================================= */
.objects-panel {
  width: 320px;
  background: var(--surface-soft);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  animation: slideIn 0.2s ease;
}
.objects-panel.hidden {
  display: none;
}
.objects-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid var(--hairline);
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}
/* Баннер ошибки CRM */
.crm-error-banner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(207, 45, 86, 0.08);
  border-bottom: 1px solid var(--hairline);
  font-size: var(--caption-size);
  font-weight: 500;
  color: var(--danger);
}
.crm-error-banner.hidden {
  display: none;
}
.crm-error-msg {
  flex: 1;
}
.crm-retry-button {
  flex-shrink: 0;
}

.objects-search {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-bottom: 1px solid var(--hairline);
}
.objects-search .text-input {
  flex: 1;
}
.objects-search .button {
  flex-shrink: 0;
}
.objects-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md);
}

/* Категория */
.object-category {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.object-category-title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  user-select: none;
  font-size: var(--caption-size);
  font-weight: 700;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: var(--ash);
  flex-shrink: 0;
  transform: rotate(90deg);
}
.object-category.collapsed .collapse-toggle {
  transform: rotate(0deg);
}
.object-category.collapsed .object-category-items {
  display: none;
}
.category-new-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.category-new-badge.hidden {
  display: none;
}
/* Карточка объекта */
.object-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.object-card.unviewed {
  border-left: 3px solid var(--accent);
}
.object-card.viewed {
  opacity: 0.65;
}
.object-card.broadcasting {
  border-left: 3px solid var(--warning);
  opacity: 1 !important;
}
.object-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.object-card-id {
  font-weight: 700;
  font-size: var(--body-size);
}
.object-card-realtor {
  font-size: var(--caption-size);
  color: var(--body);
}
.object-card-meta {
  font-size: 11px;
  color: var(--ash);
}
.object-card.viewed .object-card-meta::after {
  content: ' · просмотрено';
}
.object-show-button {
  margin-top: 4px;
}
.object-card-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: 4px;
}
.object-card-buttons .object-show-button {
  flex: 1 1 auto;
  margin-top: 0;
}
.object-card-notfound {
  flex: 1;
  text-align: center;
  color: var(--danger);
  font-size: var(--caption-size);
  font-weight: 600;
  padding: 6px 0;
}
.object-delete-button {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ash);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.object-delete-button:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: rgba(220, 53, 69, 0.08);
}


/* Сейчас транслируется */
.objects-broadcasting {
  padding: var(--space-md);
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.objects-broadcasting.hidden {
  display: none;
}
.objects-broadcasting-label {
  font-size: var(--caption-size);
  font-weight: 700;
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.objects-broadcasting-info {
  font-size: var(--body-size);
  font-weight: 600;
}
.objects-broadcasting .button-danger {
  width: 100%;
  margin-top: 2px;
}

/* =============================================
   Sidebar
   ============================================= */
.view-mode-toggle {
    display: flex;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.view-mode-button {
    background: var(--surface-soft);
    border: none;
    color: var(--mute);
    padding: 6px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.view-mode-button:hover {
    background: var(--surface-card);
    color: var(--ink);
}
.view-mode-button.active {
    background: var(--accent);
    color: var(--on-accent);
}
.view-mode-button:not(:last-child) {
    border-right: 1px solid var(--hairline);
}   

.sidebar {
  width: 280px;
  background: var(--canvas);
  border-left: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-height: 0;
  transition: width 0.25s ease, border-color 0.25s ease;
}
.sidebar-collapsed .sidebar {
  width: 0;
  border-left-color: transparent;
  overflow: hidden;
}

.sidebar-header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--hairline);
}

.sidebar-header h3 {
  font-size: 18px;
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 6px;
}

.participants-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-xl);
}

#participant-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.participant-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  position: relative;
}

.participant-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--caption-size);
  font-weight: var(--title-weight);
  font-family: var(--font-display);
  flex-shrink: 0;
  color: var(--on-accent);
}

.participant-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.participant-name {
  font-size: var(--body-size);
  color: var(--ink);
}

/* Participant mic/cam indicators */
.participant-media {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.indicator-mic,
.indicator-cam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}
.indicator-mic { background: var(--success); }
.indicator-mic.mic-off { background: var(--danger); }
.indicator-cam { background: var(--success); }
.indicator-cam.cam-off { background: var(--danger); }

.indicator-mic svg,
.indicator-cam svg { display: none; }
.indicator-mic.mic-on .ic-on,
.indicator-mic.mic-off .ic-off,
.indicator-cam.cam-on .ic-on,
.indicator-cam.cam-off .ic-off { display: block; }

/* Host badge in the same flex row after indicators */
.host-badge {
  font-size: 11px;
  color: var(--accent);
  font-weight: var(--button-weight);
  margin-left: 2px;
}

/* Speaking highlight in participant list */
.participant-item.speaking {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  background: var(--surface-card);
}



/* =============================================
   Focus View (DESIGN.md — surface-dark TUI mockup)
   ============================================= */
.focus-view {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: var(--space-sm);
}
.focus-view.hidden { display: none !important; }

/* Speaker-view: один тайл говорящего во весь экран */
.active-view {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
#active-view.active-view {
  display: flex;
  align-items: center;
  justify-content: center;
}
.active-view.hidden { display: none !important; }
.active-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface-dark);
}
.active-view .tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark-elevated);
}
/* Видимость дочерних элементов active-view управляется классом .hidden,
   а не inline-стилем — так состояние всегда задаётся явно при каждом рендере
   и не «залипает» при переключении между участниками. */
.active-view > .hidden { display: none !important; }

.active-view .tile-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 6px var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--body-size);
  z-index: 3;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}

.focus-main-wrap {
  flex: 1;
  position: relative;
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}


.focus-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.focus-main-wrap .tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark-elevated);
}

.focus-main-wrap .tile-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
  padding: 6px var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--body-size);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

#active-main-name {
  margin-left: 4px;
}
/* Mic indicator inside tile-label — no background, icon color only */
.mic-indicator-label {
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  line-height: 1;
}
.mic-indicator-label.mic-on { color: var(--success); }
.mic-indicator-label.mic-off { color: var(--danger); }
.mic-indicator-label svg { display: none; }
.mic-indicator-label.mic-on .ic-on,
.mic-indicator-label.mic-off .ic-off { display: block; }

.focus-exit-button {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
  border: none;
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.focus-exit-button:hover { background: rgba(0, 0, 0, 0.8); }

.focus-peers-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 24px;
  background: var(--surface-dark-elevated);
  border: none;
  color: var(--on-dark-mute);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.focus-peers-toggle:hover {
  background: var(--surface-dark);
  color: var(--on-dark);
}
.focus-peers-toggle.collapsed {
  transform: rotate(180deg);
}

.focus-peers {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm);
  overflow-x: auto;
  background: var(--surface-dark-elevated);
  border-radius: var(--radius-sm);
  min-height: 100px;
  max-height: 140px;
  flex-shrink: 0;
}
.focus-peers.collapsed {
  display: none;
}

.focus-peers .video-tile {
  width: 160px;
  min-width: 160px;
  height: 100px;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-card);
  border: none;
}
.focus-peers .video-tile.speaking {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.focus-peers .video-tile:hover {
  outline: 2px solid var(--accent);
}
.focus-peers .video-tile video {
  width: 100%;
  height: 100%;
}
.focus-peers .video-tile .tile-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.focus-peers .video-tile .tile-label {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 11px;
}

/* =============================================
   Mobile / Tablet Responsive
   ============================================= */
@media (orientation: portrait) {
  .conference-container {
    flex-direction: column;
  }

  .focus-peers .video-tile {
    width: 120px;
    min-width: 120px;
    height: 76px;
  }

  .video-area {
    flex: 1;
    min-height: 0;
  }

  .sidebar {
    width: 100%;
    max-height: 100px;
    border-left: none;
    border-top: 1px solid var(--hairline);
    flex-shrink: 0;
  }

  .sidebar-header {
    padding: var(--space-sm) var(--space-lg);
  }
  .sidebar-header h3 { font-size: var(--caption-size); margin-bottom: 2px; }

  .participants-list {
    padding: var(--space-sm) var(--space-lg);
    overflow-y: hidden;
    overflow-x: auto;
  }
  .participants-list h4 { display: none; }
  #participant-items {
    flex-direction: row;
    white-space: nowrap;
  }
  .participant-item {
    flex-shrink: 0;
    padding: 6px var(--space-sm);
  }
  .participant-media { display: none; }

  .controls {
    padding: var(--space-sm) var(--space-md);
  }
  .control-button {
    width: 40px;
    height: 40px;
  }
  .control-button svg {
    width: 20px;
    height: 20px;
  }
  .propose-button {
    width: 40px !important;
    padding: 0;
    justify-content: center;
  }
  .propose-button-text { display: none; }
  .propose-menu {
    bottom: calc(var(--space-sm) + 40px + 8px);
    left: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .chat-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 20;
    border-right: none;
  }

  .objects-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 20;
    border-right: none;
  }

  .video-main {
    position: relative;
  }

  .video-content {
    padding: var(--space-sm);
  }

  #video-grid.active-view {
    gap: var(--space-sm);
  }
  #video-grid.active-view[data-count="2"],
  #video-grid.active-view[data-count="3"],
  #video-grid.active-view[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
  #video-grid.active-view[data-count="5"],
  #video-grid.active-view[data-count="6"],
  #video-grid.active-view[data-count="7"],
  #video-grid.active-view[data-count="8"],
  #video-grid.active-view[data-count="9"] { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr 1fr; }
  #video-grid.active-view:has(.tile-screen) { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }

  .tile-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .conference-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .conf-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .main-header h1 { font-size: 18px; }

  .login-card {
    padding: var(--space-xl);
  }

  .button {
    padding: var(--space-xs) var(--space-md);
  }
  .button-sm {
    padding: var(--space-xs) var(--space-sm);
  }

  .role-label {
    padding: var(--space-sm) var(--space-md);
  }

  .theme-toggle {
    padding: 0;
  }
}

@media (max-width: 480px) {
  #sidebar-toggle { display: none; }

  #video-grid.active-view[data-count="2"],
  #video-grid.active-view[data-count="3"],
  #video-grid.active-view[data-count="4"] { grid-template-columns: 1fr 1fr; }
  #video-grid.active-view[data-count="5"],
  #video-grid.active-view[data-count="6"],
  #video-grid.active-view[data-count="7"],
  #video-grid.active-view[data-count="8"],
  #video-grid.active-view[data-count="9"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }

  .controls {
    padding: var(--space-sm);
  }
  .control-button {
    width: 36px;
    height: 36px;
  }
  .propose-button {
    width: 36px !important;
    padding: 0;
    justify-content: center;
  }
  .propose-button-text { display: none; }
  .propose-menu {
    bottom: calc(var(--space-sm) + 36px + 8px);
    left: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .sidebar {
    max-height: 80px;
  }

  .tile-label {
    font-size: 10px;
    padding: 2px 6px;
  }

  .focus-peers .video-tile {
    width: 100px;
    min-width: 100px;
    height: 64px;
  }
  .focus-exit-button {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
