:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0d9488;
  --secondary-light: #ccfbf1;
  --accent: #f59e0b;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --success: #10b981;
  --success-light: #d1fae5;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.2s ease-in-out;
  --bottom-bar-height: 64px;
}

[data-theme="dark"] {
  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --primary-light: rgba(56, 189, 248, 0.15);
  --secondary: #2dd4bf;
  --secondary-light: rgba(45, 212, 191, 0.15);
  --bg-main: #090d16;
  --bg-card: #131b2e;
  --bg-header: #0f172a;
  --border: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 20px -3px rgb(0 0 0 / 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom, 12px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding-top: env(safe-area-inset-top, 0);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.clinic-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.logo-area:hover .clinic-logo-img {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.logo-text h1 {
  font-size: 1.0rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
}

.logo-sub-tag {
  font-size: 0.72rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 5px;
}

.logo-text p {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 40px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ai {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.btn-ai:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  color: var(--text-main);
  background: var(--primary-light);
}

/* Banner / Golden Rule */
.hero-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0f766e 100%);
  color: #ffffff;
  padding: 20px 16px;
  margin-bottom: 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

.clinic-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-main h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.25;
}

.hero-main p {
  font-size: 0.9rem;
  opacity: 0.92;
  margin-bottom: 12px;
}

.golden-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  backdrop-filter: blur(4px);
}

.golden-pill i {
  color: #fde047;
}

.hero-quick-stats {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero-quick-stats {
    justify-content: flex-end;
  }
}

.stat-box {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  text-align: center;
  min-width: 80px;
  flex: 1;
}

@media (min-width: 768px) {
  .stat-box {
    flex: initial;
  }
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  opacity: 0.9;
}

/* Mission & Vision Interactive Card with Language Switcher */
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.mission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.mission-title {
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.lang-switch {
  display: flex;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.mission-content-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .mission-content-box {
    grid-template-columns: 1fr 1fr;
  }
}

.mission-item {
  background: var(--bg-main);
  border-left: 4px solid var(--primary);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  padding: 10px 14px;
}

.mission-item.vision {
  border-left-color: var(--secondary);
}

.mission-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mission-item.vision .mission-label {
  color: var(--secondary);
}

.mission-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-main);
}

/* Quick Bar / Buttons */
.quick-bar-section {
  max-width: 1280px;
  margin: 0 auto 12px;
  padding: 0 16px;
  width: 100%;
}

.quick-chips-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.quick-chips-wrapper::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  min-height: 38px;
}

.quick-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.quick-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}


/* =======================================================
   ВЕРХНЯЯ ПАНЕЛЬ БЫСТРЫХ ДЕЙСТВИЙ (после Миссии/Видения)
   ======================================================= */
.top-quick-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 20px;
}

.quick-action-btn {
  flex: 1;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.quick-action-btn.warning-action {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.quick-action-btn.warning-action:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

.quick-action-btn.danger-action {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
}
.quick-action-btn.danger-action:hover {
  border-color: #ef4444;
  color: #ef4444;
  transform: translateY(-1px);
}

.quick-action-btn.primary-action {
  background: var(--bg-card);
  color: var(--secondary);
  border-color: var(--border);
}
.quick-action-btn.primary-action:hover {
  border-color: var(--secondary);
  background: rgba(13, 148, 136, 0.08);
  transform: translateY(-1px);
}

/* =======================================================
   БЛОК НАВИГАЦИИ И ПОИСКА (внизу у раздела вопросов)
   ======================================================= */
.nav-control-panel {
  margin-bottom: 16px;
}

.section-nav-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.tabs-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.tabs-title-group h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.search-inline-wrapper {
  flex: 2;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  transition: var(--transition);
  min-height: 44px;
}

.search-inline-wrapper:focus-within {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-main);
  -webkit-appearance: none;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.clear-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 6px;
  display: none;
}
.clear-search-btn:hover {
  color: var(--text-main);
}

.category-select-wrapper {
  width: 100%;
}

@media (min-width: 768px) {
  .category-select-wrapper {
    max-width: 280px;
  }
}

.category-select {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
}

.role-tabs-bar {
  margin-bottom: 12px;
}

.role-tabs {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
}
.role-tabs::-webkit-scrollbar {
  display: none;
}

.role-btn {
  border: none;
  background: none;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
  flex: 1;
  text-align: center;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.role-btn:hover {
  color: var(--text-main);
  background: var(--bg-main);
}

.role-btn.active {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.role-count-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text-main);
  line-height: 1.2;
}

.role-btn.active .role-count-badge {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

[data-theme="dark"] .role-count-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}
/* Main Layout */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 20px;
  width: 100%;
  flex: 1;
}

/* Notice Cards */
.auditor-rules-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.rules-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}

.rules-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rules-content {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .rules-content {
    grid-template-columns: 1fr 1fr;
  }
}

.rules-list {
  list-style: none;
}

.rules-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.4;
}

.rules-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.stop-list li::before {
  content: "✕";
  color: var(--danger);
  font-weight: 800;
}

/* Safety Codes Grid */
.safety-codes-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.code-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--primary);
}

.code-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.code-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.code-desc {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.code-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Questions List & Cards */
.results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.questions-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.q-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.q-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.q-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.q-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.q-number {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.q-category-tag {
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.q-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.role-doctor {
  background: #e0e7ff;
  color: #4338ca;
}

.role-nurse {
  background: #fce7f3;
  color: #be185d;
}

.role-formulary {
  background: #fef3c7;
  color: #b45309;
}

.role-all {
  background: #f1f5f9;
  color: #475569;
}

.q-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-card-action {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-card-action:hover,
.btn-card-action:active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-card-action.favorited {
  color: var(--accent);
}

.q-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.q-answer-box {
  background: var(--bg-main);
  border-left: 4px solid var(--secondary);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.answer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.q-answer-text {
  font-size: 0.92rem;
  color: var(--text-main);
  white-space: pre-line;
  line-height: 1.5;
}

.q-tips-box {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.q-tips-box i {
  color: var(--primary);
  margin-top: 2px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--border);
}

/* Mobile Bottom Navigation Bar (iOS / Android Style) */
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom, 0));
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  z-index: 50;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 6px 2px;
  transition: var(--transition);
}

.bottom-nav-item i {
  font-size: 1.25rem;
  transition: var(--transition);
}

.bottom-nav-item.active,
.bottom-nav-item:active {
  color: var(--primary);
}

.bottom-nav-item.highlight {
  color: var(--secondary);
}

.bottom-nav-item.highlight i {
  font-size: 1.35rem;
}

/* Modal Windows (Full screen on mobile, dialog on desktop) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
    padding: 16px;
  }
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalSlideUp 0.25s ease-out;
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

@media (min-width: 768px) {
  .modal-window {
    border-radius: var(--radius-lg);
    max-height: 90vh;
    padding-bottom: 0;
    animation: modalIn 0.2s ease-out;
  }
}

@keyframes modalSlideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  min-width: 36px;
  min-height: 36px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* AI Assistant Modal */
.ai-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  background: var(--bg-main);
}

.ai-tab-btn {
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 44px;
}

.ai-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.chat-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px 2px;
  -webkit-overflow-scrolling: touch;
}

.chat-message {
  display: flex;
  gap: 10px;
  max-width: 88%;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-message.user .chat-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 2px;
}

.chat-message.bot .chat-bubble {
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-bottom-left-radius: 2px;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--bg-card);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  color: var(--text-main);
  outline: none;
  font-size: 0.92rem;
  min-height: 44px;
}

.chat-input:focus {
  border-color: var(--primary);
}

/* Exam Simulator */
.simulator-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.simulator-header-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 600px) {
  .simulator-header-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.simulator-q-card {
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.simulator-answer-field {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  margin-top: 8px;
}

.simulator-answer-field:focus {
  border-color: var(--primary);
}

/* Clinic Info Modal */
.clinic-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .clinic-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.branch-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.branch-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.branch-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.branch-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Badge Print View */
.badge-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.badge-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--bg-main);
}

.badge-card h4 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  font-weight: 700;
}

.badge-card ul {
  padding-left: 16px;
  font-size: 0.82rem;
}

/* Floating AI Button (Desktop) */
.floating-ai-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .floating-ai-btn {
    display: flex;
  }
}

.floating-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.5);
}

/* Toast Notifications */
.toast-box {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #0f172a;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 90%;
  text-align: center;
}

.toast-box.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Print styles */
@media print {

  .site-header,
  .quick-bar-section,
  .search-container,
  .floating-ai-btn,
  .mobile-bottom-nav,
  .site-footer,
  .q-actions,
  .filters-bar {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    padding-bottom: 0 !important;
  }

  .q-card {
    border: 1px solid #ccc !important;
    break-inside: avoid;
    box-shadow: none !important;
  }
}

/* Mobile responsive enhancements */
@media (max-width: 640px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom)) !important;
  }

  .header-container {
    padding: 6px 12px;
  }

  .clinic-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .logo-text h1 {
    font-size: 0.95rem;
  }

  .logo-text p {
    font-size: 0.65rem;
  }

  .search-input,
  .category-select,
  .chat-input-field {
    font-size: 16px !important;
    /* Предотвращает нежелательный авто-зум в iOS Safari */
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(58px + env(safe-area-inset-bottom));
  }

  .header-actions .btn {
    padding: 6px 10px;
    min-height: 34px;
    font-size: 0.8rem;
  }

  .d-none-mobile {
    display: none !important;
  }

  .hero-banner {
    padding: 16px 12px;
  }

  .stat-box {
    padding: 8px 12px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .quick-chips-wrapper {
    gap: 6px;
    padding-bottom: 4px;
  }

  .quick-chip {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .q-card {
    padding: 14px;
  }

  .q-title {
    font-size: 0.98rem;
  }

  .q-answer-text {
    font-size: 0.88rem;
  }
}

/* --- Секция поиска, ролей и вкладок внизу перед вопросами --- */
.bottom-search-and-nav-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0 12px;
  box-shadow: var(--shadow-sm);
}

.tabs-nav-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 10px;
}

.tabs-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.search-inline-wrapper {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.search-inline-wrapper:focus-within {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* --- Кнопка Отзывы СППиВА в хедере --- */
.btn-feedback {
  background: var(--bg-card);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.btn-feedback:hover {
  background: var(--secondary-light);
  color: #0f766e;
}

/* --- Секция поиска и ролей --- */
.search-and-roles-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}

.role-selection-bar {
  margin-top: 10px;
}

.role-tabs {
  display: flex;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.role-tabs::-webkit-scrollbar {
  display: none;
}

.role-btn {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 1;
  text-align: center;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.role-btn:hover {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.06);
}

.role-btn.active {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.role-badge {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.role-btn.active .role-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* --- Быстрые кнопки действий (Код Желтый, Отзывы, 8 Кодов) --- */
.quick-action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.action-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 36px;
}

.action-strip-btn:active {
  transform: scale(0.97);
}

.action-strip-btn.yellow-btn {
  background: #fef3c7;
  color: #92400e;
  border-color: #f59e0b;
}

.action-strip-btn.yellow-btn:hover {
  background: #fde68a;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.action-strip-btn.feedback-btn {
  background: #ccfbf1;
  color: #0f766e;
  border-color: #0d9488;
}

.action-strip-btn.feedback-btn:hover {
  background: #99f6e4;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.action-strip-btn.codes-btn {
  background: var(--bg-main);
  color: var(--text-main);
  border-color: var(--border);
}

.action-strip-btn.codes-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- Секция вкладок тем внизу перед вопросами --- */
.tabs-bottom-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0 10px;
  box-shadow: var(--shadow-sm);
}

.tabs-section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .tabs-section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.tabs-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.quick-chips-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.quick-chip.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.35);
  font-weight: 700;
}

.quick-chip.active i {
  color: #ffffff !important;
}


/* --- Информационная плашка активного выбора --- */
.active-selection-indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(13, 148, 136, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.indicator-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.indicator-sep {
  color: var(--text-muted);
}

.indicator-count {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.btn-reset-filters,
.reset-filter-link-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-reset-filters:hover,
.reset-filter-link-btn:hover {
  background: var(--danger-light);
  border-color: var(--danger);
}

/* --- AI быстрые подсказки в окне чата --- */
.ai-quick-prompts-bar {
  padding: 8px 12px;
  background: var(--bg-main);
  border-top: 1px solid var(--border);
}

.quick-prompts-hint {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.ai-prompts-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.ai-prompts-scroll::-webkit-scrollbar {
  display: none;
}

.ai-prompt-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ai-prompt-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.ai-prompt-chip:active {
  transform: scale(0.96);
}

/* =======================================================
   НОВЫЕ УЛУЧШЕНИЯ И МОБИЛЬНАЯ АДАПТАЦИЯ (v3.6)
   ======================================================= */

/* Индикатор прогресса изучения вопросов персоналом */
.user-study-progress {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.progress-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.progress-numbers {
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Быстрые подсказки поиска (search-keywords-pills) */
.search-keywords-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
}

.search-keywords-pills::-webkit-scrollbar {
  display: none;
}

.keywords-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.keyword-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 5px 11px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.keyword-pill:hover,
.keyword-pill:active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Плавающая кнопка возврата наверх / к поиску */
.scroll-top-btn {
  position: fixed;
  bottom: 78px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.scroll-top-btn:active {
  transform: scale(0.92);
}

@media (min-width: 1024px) {
  .scroll-top-btn {
    bottom: 24px;
    right: 24px;
  }
}

/* Действия на карточках вопросов: Изучено, Поделиться */
.btn-card-action.learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-action.learn-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border-color: var(--success);
}

.btn-card-action.learn-btn.learned {
  background: rgba(16, 185, 129, 0.14);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.35);
}

.btn-card-action.share-btn {
  font-size: 0.75rem;
  cursor: pointer;
}

.btn-card-action.share-btn:hover {
  color: var(--secondary);
}

/* Сворачивание и разворачивание длинных ответов */
.q-answer-text.collapsed {
  max-height: 140px;
  overflow: hidden;
  position: relative;
}

.q-answer-text.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  pointer-events: none;
}

.btn-expand-answer {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-expand-answer:hover {
  text-decoration: underline;
}

/* Анимация пульсации при переходе по прямой ссылке на вопрос */
@keyframes cardGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

.highlight-card {
  animation: cardGlowPulse 1.8s ease-in-out infinite;
  border-color: #f59e0b !important;
}
