/* ========== Общие стили ========== */

.tarifnaya-kartochka {
  border-radius: 16px;
}

.ikonka-tarifa {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

/* Баннер cookie: фиксируется над подвалом */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.politika-tekst {
  max-width: 820px;
}

.politika-tekst section p:last-child {
  margin-bottom: 0;
}

/* Чтобы нижний контент не прятался под cookie-баннером */
.s-nizhnim-otstupom-pod-cookie {
  padding-bottom: 7rem;
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА — стили из extra_css
   ============================================ */

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 80px 0;
  border-radius: 0 0 40px 40px;
}

.card-price {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

.card-price:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.15);
}

.law-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  transition: 0.2s;
  border-left: 5px solid #3b82f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.risk-badge {
  background: #fee2e2;
  color: #b91c1c;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.fine-badge {
  background: #fff3e3;
  color: #c2410c;
  padding: 6px 12px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.punkt-table {
  margin-bottom: 0;
}

.punkt-table-status {
  width: 2rem;
  vertical-align: top;
}

.punkt-table-text {
  vertical-align: top;
}

.punkt-table-fines {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  vertical-align: top;
}

.btn-primary-custom {
  background: #3b82f6;
  border: none;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  transition: 0.2s;
}

.btn-primary-custom:hover {
  background: #2563eb;
  transform: scale(1.02);
}

.btn-outline-custom {
  border: 1px solid #3b82f6;
  color: #3b82f6;
  border-radius: 60px;
  padding: 12px 24px;
  font-weight: 500;
  background: transparent;
}

.btn-outline-custom:hover {
  background: #3b82f6;
  color: white;
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
}

.law-icon {
  width: 50px;
  height: 50px;
  background: #eef2ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Glassmorphism стили для тарифов */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), inset 0 0 0 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(31, 38, 135, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.glass-card.popular {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.15));
  border-color: rgba(59, 130, 246, 0.4);
}

.tariff-label {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tariff-headline {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

@media (max-width: 576px) {
  .tariff-headline {
    font-size: 1.25rem;
  }
}

.tariff-card {
  display: flex;
  flex-direction: column;
  padding-top: 2.5rem !important;
}

.tariff-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tariff-badge--start {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.tariff-badge--docs {
  background: rgba(245, 158, 11, 0.2);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tariff-badge--featured {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.tariff-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.tariff-icon--free {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.tariff-icon--docs {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.tariff-icon--kompleks {
  background: rgba(59, 130, 246, 0.2);
  color: #2563eb;
}

.tariff-card--free {
  border-top: 3px solid #10b981;
}

.tariff-card--docs {
  border-top: 3px solid #f59e0b;
}

.tariff-card--kompleks {
  border-top: 3px solid #3b82f6;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .tariff-card--kompleks {
    transform: none;
  }
}

.tariff-features {
  flex-grow: 1;
}

.tariff-features li {
  font-size: 0.875rem;
  line-height: 1.4;
  color: #475569;
  padding: 0.35rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tariff-features li i {
  color: #22c55e;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tariff-difference {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #475569;
}

.btn-glass--outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid rgba(37, 99, 235, 0.45);
}

.btn-glass--outline:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #1d4ed8;
  border-color: #2563eb;
  transform: scale(1.02);
}

.price-large {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.price-large--compact {
  font-size: 28px;
  line-height: 1.15;
}

.price-small {
  font-size: 18px;
  font-weight: 500;
  color: #64748b;
}

.badge-popular {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.btn-glass {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scale(1.02);
  color: white;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 14px;
}

/* Навигационные ссылки меню */
.nav-link {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
}

.nav-link:hover {
  transform: scale(1.02);
  color: white;
}

.nav-link:focus-visible,
.btn-glass:focus-visible,
.btn-export:focus-visible,
.btn-primary-action:focus-visible,
.dorabotki-modern .dorabotki-details__summary:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 2px;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.3));
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.brand-mark__icon {
  color: #1d4ed8;
  font-size: 1.05rem;
}

.field-label-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.field-label-icon__glyph {
  color: #2563eb;
  font-size: 0.85rem;
}

/* ============================================
   COMPLIANCE DASHBOARD STYLES
   ============================================ */

.dashboard-header {
  padding: 24px 0 0;
}

/* Score Card */
.score-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.score-circle-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.score-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 8;
}

.score-circle-fg {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 8;
  stroke-linecap: round;
}

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-value {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.score-label {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.status-indicator.status-good {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-indicator.status-warning {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.status-indicator.status-bad {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* Risk Grid */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

@media (min-width: 992px) {
  .risk-grid--seven {
    grid-template-columns: repeat(3, 1fr);
  }

  .risk-grid--seven .risk-card:nth-child(7) {
    grid-column: 2;
  }
}

.checks-intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.checks-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #3b82f6;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.checks-compact-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.checks-compact-item:last-child {
  border-bottom: none;
}

.checks-compact-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e0e7ff;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.checks-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  font-size: 0.85rem;
}

.checks-summary-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}

.checks-summary-title {
  font-weight: 600;
  color: #0f172a;
  line-height: 1.25;
}

.checks-summary-status {
  font-size: 0.75rem;
  color: #64748b;
}

.checks-summary-item--ok {
  border-left: 3px solid #22c55e;
}

.checks-summary-item--warn {
  border-left: 3px solid #ef4444;
}

.checks-summary-item--unknown {
  border-left: 3px solid #f59e0b;
}

.checks-summary-item--neutral {
  border-left: 3px solid #94a3b8;
}

.risk-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.risk-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.risk-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.risk-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.risk-badge.risk-low {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.risk-badge.risk-medium {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.risk-badge.risk-high {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.risk-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.risk-progress {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.risk-progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.risk-percent {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  min-width: 32px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 16px;
}

.timeline-dot {
  position: absolute;
  top: 4px;
  left: -30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #94a3b8;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #e2e8f0;
}

.timeline-item.completed .timeline-dot {
  background: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.timeline-item.active .timeline-dot {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.timeline-content {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 4px;
}

.timeline-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 8px;
}

.timeline-time {
  font-size: 12px;
  color: #94a3b8;
}

/* Results */
.result-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.result-category {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.result-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 12px;
}

.result-badge.result-compliant {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.result-badge.result-noncompliant {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.result-badge.result-review {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.result-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-item {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.result-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

.result-item-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* History Table */
.history-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.history-header {
  display: grid;
  grid-template-columns: 120px 1fr 140px 100px;
  gap: 16px;
  padding: 16px 20px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-row {
  display: grid;
  grid-template-columns: 120px 1fr 140px 100px;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
}

.history-date {
  color: #0f172a;
}

.history-change {
  color: #334155;
}

.history-user {
  color: #64748b;
}

.history-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.history-status.status-success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.history-status.status-pending {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

/* Monitoring Card */
.monitoring-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.monitoring-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 4px;
}

.monitoring-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.monitoring-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  margin-right: 12px;
}

.monitoring-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.monitoring-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cbd5e1;
  transition: 0.2s;
  border-radius: 22px;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: white;
  transition: 0.2s;
  border-radius: 50%;
}

.monitoring-toggle input:checked + .toggle-slider {
  background: #3b82f6;
}

.monitoring-toggle input:checked + .toggle-slider::before {
  transform: translateX(18px);
}

/* Alert Modern */
.alert-modern {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.alert-error {
  border-color: rgba(239, 68, 68, 0.2);
}

.btn-outline-modern {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-modern:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Buttons */
.btn-export {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-export:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary-action {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary-action {
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.actions-bar {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Section Title */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

/* Disclaimer */
.result-section-lead {
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.result-card--sootvetstvuet {
  border-left: 4px solid #22c55e;
}

.result-card--trebuet_vnimaniya,
.result-card--ne_sootvetstvuet {
  border-left: 4px solid #ef4444;
}

.result-card--ne_udalos_proverit,
.result-card--ruchnaya_proverka {
  border-left: 4px solid #f59e0b;
}

.result-header-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.result-card-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #e0e7ff;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 700;
}

.result-header {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.punkt-board {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.punkt-board__head {
  display: none;
}

.punkt-board__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.punkt-board__row:last-child {
  border-bottom: none;
}

.punkt-board__row--ok {
  border-left: 3px solid #22c55e;
}

.punkt-board__row--warn {
  border-left: 3px solid #ef4444;
}

.punkt-board__row--unknown {
  border-left: 3px solid #f59e0b;
}

.punkt-board__row--neutral {
  border-left: 3px solid #94a3b8;
}

.punkt-board__status {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
}

.punkt-board__status-label {
  flex: 1;
  min-width: 0;
}

.punkt-board__text {
  font-size: 0.9rem;
  color: #0f172a;
  line-height: 1.45;
}

.punkt-board--legacy .punkt-board__row {
  grid-template-columns: 1fr;
}

.result-tip {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.875rem;
  color: #78350f;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .punkt-board__head {
    display: grid;
    grid-template-columns: minmax(7.5rem, 9.5rem) 1fr;
    gap: 0.75rem 1rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 575.98px) {
  .punkt-board__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .punkt-board__status {
    font-size: 0.75rem;
  }
}

.result-details {
  padding: 0 0 4px;
  margin-top: 0.25rem;
}

.result-desc {
  font-size: 14px;
  color: #334155;
  margin: 0 0 12px;
}

.result-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
}

.result-source,
.result-confidence {
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
}

.confidence-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.punkt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: #64748b;
}

.punkt-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.status-legend__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.status-legend__pill--ok {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

.status-legend__pill--warn {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.status-legend__pill--unknown {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

.status-chip--ok {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.status-chip--warn {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.status-chip--unknown {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.dashboard-url__text {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9rem;
  word-break: break-all;
  line-height: 1.35;
}

.form-control-url {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 1.05rem;
  word-break: break-all;
}

.punkt-compact__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.punkt-compact__row:last-child {
  border-bottom: none;
}

.punkt-compact__label {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.35;
}

.punkt-compact__row--warn .punkt-compact__label {
  font-weight: 600;
  color: #0f172a;
}

.result-dorabotki-cta {
  margin-top: 32px;
  text-align: center;
}

.dorabotki-details {
  display: inline-block;
  max-width: 100%;
  text-align: left;
}

.dorabotki-details__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.dorabotki-details__summary::-webkit-details-marker {
  display: none;
}

.dorabotki-details__summary::marker {
  content: "";
}

.dorabotki-panel {
  margin-top: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.dorabotki-empty {
  font-size: 15px;
  color: #475569;
}

.dorabotki-table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: collapse;
  font-size: 14px;
}

.dorabotki-table th,
.dorabotki-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.dorabotki-gruppa {
  margin-bottom: 24px;
}

.dorabotki-gruppa__title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
}

.dorabotki-gruppa__note {
  font-size: 13px;
  margin: 0 0 10px;
}

.dorabotki-table th {
  font-weight: 600;
  color: #334155;
  text-align: left;
}

.dorabotki-table__foot th,
.dorabotki-table__foot td {
  font-weight: 600;
  background: #f8fafc;
  border-bottom: none;
}

.dorabotki-table__col-price {
  white-space: nowrap;
  text-align: right;
  font-weight: 500;
  color: #0f172a;
}

.dorabotki-table__title {
  font-weight: 500;
}

.dorabotki-table__desc {
  font-size: 13px;
  margin-top: 4px;
}

.dorabotki-total {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

/* Тарифы на главной */
.tarify-page-block {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.tarify-intro {
  font-size: 1.05rem;
  color: #475569;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.tarify-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.tarify-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tarify-steps__num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tarify-steps__item--active .tarify-steps__num {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.tarify-steps__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.tarify-steps__arrow {
  color: #94a3b8;
  font-size: 0.75rem;
  padding: 0 0.25rem;
}

@media (max-width: 575px) {
  .tarify-steps__arrow {
    display: none;
  }

  .tarify-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .tarify-steps__item:not([aria-hidden]) {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
  }
}

.tarify-footnote {
  font-size: 0.875rem;
  color: #64748b;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.tarify-katalog-header {
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.tarify-cards-row .col-lg-4 {
  display: flex;
}

.tarify-katalog-details {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.tarify-katalog-details__summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 18px;
  list-style: none;
}

.tarify-katalog-details__summary::-webkit-details-marker {
  display: none;
}

.tarify-katalog-details__summary::after {
  content: '+';
  float: right;
  font-weight: 400;
  color: #64748b;
}

.tarify-katalog-details[open] .tarify-katalog-details__summary::after {
  content: '−';
}

.tarify-katalog-details__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.tarify-dorabotok-table th,
.tarify-dorabotok-table td {
  vertical-align: top;
}

.tarify-dorabotok-table thead th {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.tarify-dorabotok-table tfoot th,
.tarify-dorabotok-table tfoot td {
  border-top: 2px solid rgba(15, 23, 42, 0.08);
}

.tarify-legal-note {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.tarify-legal-note__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.tarify-legal-note__list {
  padding-left: 1.1rem;
  color: #334155;
}

.tarify-legal-note__list li + li {
  margin-top: 0.35rem;
}

.tarify-legal-note__text {
  font-size: 0.95rem;
  color: #475569;
}

.dorabotki-note {
  font-size: 13px;
  color: #64748b;
}

.how-we-work {
  margin-top: 40px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.how-we-work__title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 16px;
}

.how-we-work__list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

.svyaz-section {
  padding-top: 16px;
}

.svyaz-section__title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
  text-align: center;
}

.svyaz-section--compact {
  margin-top: 40px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  text-align: center;
}

.svyaz-section--compact .d-flex {
  justify-content: center;
}

.svyaz-messenger-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.svyaz-messenger-btn:hover {
  transform: scale(1.02);
  color: #fff;
}

.svyaz-messenger-btn--vk {
  background: #0077ff;
}

.svyaz-messenger-btn--max {
  background: linear-gradient(135deg, #5b6cf0, #8b5cf6);
}

.svyaz-messenger-btn--mail {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.svyaz-messenger-btn--stub {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.kontakty-list dt {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 4px;
}

.kontakty-list dd {
  color: #0f172a;
  font-size: 15px;
}

.disclaimer-section {
  margin-top: 32px;
}

.disclaimer-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 16px;
  padding: 24px;
}

.disclaimer-title {
  font-size: 18px;
  font-weight: 600;
  color: #92400e;
  margin: 0 0 16px;
}

.disclaimer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer-text {
  font-size: 14px;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}

/* Check progress page */
.check-progress-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.check-progress-card {
  padding: 28px 32px;
}

.check-progress-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}

.check-progress-url {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 0 4px;
}

.check-progress-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.check-progress-meter {
  margin: 24px 0 20px;
}

.check-progress-percent-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}

.check-progress-percent {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #0ea5e9;
  font-variant-numeric: tabular-nums;
}

.check-progress-percent-suffix {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
}

.check-progress-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.check-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9 0%, #06b6d4 100%);
  transition: width 0.15s ease-out;
}

.check-progress-fill.is-complete {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.check-progress-fill.is-error {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.check-progress-status {
  font-size: 0.875rem;
  color: #64748b;
  margin: 12px 0 0;
}

.check-law-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-law-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
  color: #94a3b8;
  background: #f8fafc;
  transition: background 0.2s, color 0.2s;
}

.check-law-item.is-wait {
  color: #94a3b8;
}

.check-law-item.is-active {
  color: #0f172a;
  background: #e0f2fe;
  font-weight: 500;
}

.check-law-item.is-done {
  color: #475569;
  background: #f0fdf4;
}

.check-law-icon {
  width: 18px;
  text-align: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.check-law-item.is-active .check-law-icon {
  color: #0ea5e9;
  animation: check-law-spin 1.2s linear infinite;
}

.check-law-item.is-done .check-law-icon {
  color: #10b981;
}

@keyframes check-law-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.check-progress-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.punkt-list {
  margin: 0;
  padding: 0;
}

.punkt-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
}

.punkt-icon {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 1rem;
}

.punkt-icon.punkt-ok {
  color: #16a34a;
}

.punkt-icon.punkt-warn {
  color: #ef4444;
}

.punkt-icon.punkt-unknown,
.punkt-icon.punkt-muted {
  color: #64748b;
}

.punkt-inline-map {
  font-size: 0.9rem;
  vertical-align: middle;
}

/* ============================================
   MODERN UI: REPORT + DORABOTKI (result page)
   ============================================ */

.report-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.report-header-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.report-main-grid .score-card {
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.report-main-grid .score-circle-fg {
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--score-accent), transparent 65%));
}

.score-hint {
  opacity: 0.85;
}

.risk-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.risk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.risk-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.risk-progress {
  height: 8px;
  border-radius: 999px;
}

.risk-progress-bar {
  border-radius: 999px;
  transition: width 0.35s ease;
}

.report-section-head {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.report-section-head::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.report-section .status-legend {
  justify-content: flex-start;
}

.result-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.result-card-num {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.result-card .status-chip {
  margin-left: auto;
}

.punkt-compact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.punkt-compact__row {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border-bottom: none;
  transition: background 0.2s ease;
}

.punkt-compact__row:hover {
  background: rgba(148, 163, 184, 0.12);
}

.kp-hub {
  max-width: 820px;
  margin: 2.5rem auto;
  padding: 2rem;
  text-align: center;
}

.kp-hub__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kp-hub__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.16);
}

.kp-hub__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  color: #0f172a;
}

.kp-hub__lead {
  margin: 0.25rem 0 0;
  color: #64748b;
}

.kp-hub__totals {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.5rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.1);
  font-weight: 800;
}

.kp-hub__cta-wrap {
  margin-top: 1.35rem;
}

.kp-hub__cta {
  width: min(100%, 460px);
  justify-content: center;
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.26);
}

.kp-hub__contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.kp-hub .result-dorabotki-cta.dorabotki-modern {
  margin-top: 1.2rem;
}

.kp-hub .dorabotki-panel {
  text-align: left;
}

.kp-hub .kp-svyaz-preview__text {
  text-align: left;
  white-space: pre-wrap;
}

.result-dorabotki-cta.dorabotki-modern {
  margin-top: 36px;
  text-align: left;
}

.dorabotki-modern .dorabotki-details {
  display: block;
  width: 100%;
}

.dorabotki-modern .dorabotki-details__summary {
  cursor: pointer;
  list-style: none;
}

.dorabotki-modern .dorabotki-details__summary::-webkit-details-marker {
  display: none;
}

.dorabotki-modern .dorabotki-card__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(241, 245, 249, 0.9));
}

.dorabotki-modern .dorabotki-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.dorabotki-modern .dorabotki-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
}

.dorabotki-modern .dorabotki-card__title {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.dorabotki-modern .dorabotki-card__subtitle {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
}

.dorabotki-modern .dorabotki-card__arrow {
  color: #64748b;
  transition: transform 0.2s ease;
}

.dorabotki-modern .dorabotki-details[open] .dorabotki-card__arrow {
  transform: rotate(180deg);
}

.dorabotki-modern .dorabotki-panel {
  margin-top: 12px;
  border-radius: 18px;
}

.dorabotki-empty-state {
  text-align: center;
  padding: 0.25rem 0;
}

.dorabotki-empty-state__icon {
  color: #16a34a;
  margin-bottom: 0.35rem;
}

.dorabotki-gruppa {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.6);
}

.dorabotki-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: auto;
}

.dorabotki-table {
  min-width: 620px;
}

.dorabotki-table th {
  background: #f8fafc;
}

.dorabotki-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.6);
}

.dorabotki-table__col-price {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-variant-numeric: tabular-nums;
}

.dorabotki-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dorabotki-mobile-card {
  padding: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.dorabotki-mobile-card--total {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.18);
}

.dorabotki-mobile-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.dorabotki-mobile-card__desc {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #64748b;
}

.dorabotki-mobile-prices {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
}

.dorabotki-mobile-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.dorabotki-mobile-price-row dt,
.dorabotki-mobile-price-row dd {
  margin: 0;
}

.dorabotki-mobile-price-row dt {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.dorabotki-mobile-price-row dd {
  color: #0f172a;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dorabotki-note {
  margin-top: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

/* ============================================
   MOBILE: удобство и компактность (до 768px)
   ============================================ */

@media (max-width: 767.98px) {
  main.container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-navbar {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .site-navbar__inner {
    align-items: center;
    gap: 0.5rem;
  }

  .site-navbar .navbar-brand {
    font-size: 1.05rem !important;
    max-width: calc(100% - 56px);
    line-height: 1.25;
  }

  .site-navbar__toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-navbar__toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.25);
  }

  #siteNavMenu {
    width: 100%;
    margin-top: 0.45rem;
  }

  .site-navbar__menu {
    width: 100%;
    margin-left: 0 !important;
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .site-navbar .nav-link {
    font-size: 0.88rem;
    min-height: 44px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
  }

  .brand-mark {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand-mark__icon {
    font-size: 0.9rem;
  }

  .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .glass-card {
    padding: 1rem !important;
    border-radius: 16px;
  }

  .glass-card:hover {
    transform: none;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: left;
  }

  .hero {
    padding: 2.5rem 0;
    border-radius: 0 0 24px 24px;
  }

  .report-header-card {
    padding: 0.85rem 1rem;
    border-radius: 16px;
  }

  .report-header-card .h3 {
    font-size: 1.15rem;
  }

  .report-header-card .btn-export {
    width: 100%;
    justify-content: center;
  }

  .score-card {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .score-circle-wrapper {
    width: 120px;
    height: 120px;
  }

  .score-value {
    font-size: 2.25rem;
  }

  .risk-grid,
  .risk-grid--seven {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .risk-grid--seven .risk-card:nth-child(7) {
    grid-column: auto;
  }

  .risk-card {
    position: relative;
    padding: 2.6rem 0.9rem 0.85rem;
  }

  .risk-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .risk-title {
    font-size: 0.88rem;
    padding-right: 5.75rem;
    -webkit-line-clamp: 3;
  }

  .risk-card .status-chip {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
  }

  .status-legend {
    justify-content: flex-start;
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }

  .status-legend__pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
  }

  .report-section .status-legend {
    justify-content: flex-start;
  }

  .result-card {
    position: relative;
    padding: 1rem;
    padding-top: 2.8rem;
    margin-bottom: 0.75rem;
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .result-card .status-chip {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    margin-left: 0;
  }

  .result-category {
    font-size: 1rem;
  }

  .result-header-main {
    padding-right: 5.75rem;
  }

  .punkt-compact__row {
    padding: 0.45rem 0.5rem;
  }

  .dorabotki-modern .dorabotki-card__trigger {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .dorabotki-modern .dorabotki-card__title-wrap {
    align-items: flex-start;
  }

  .dorabotki-modern .dorabotki-card__title {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .dorabotki-modern .dorabotki-card__arrow {
    align-self: flex-end;
  }

  .dorabotki-modern .dorabotki-panel {
    padding: 0.85rem 0.9rem;
  }

  .dorabotki-gruppa {
    padding: 0.65rem;
  }

  .dorabotki-table {
    min-width: 520px;
    font-size: 0.82rem;
  }

  .dorabotki-table th,
  .dorabotki-table td {
    padding: 0.55rem 0.5rem;
  }

  .dorabotki-total {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .dorabotki-note {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .how-we-work,
  .svyaz-section--compact {
    padding: 1rem 1.1rem;
    margin-top: 1.5rem;
  }

  .actions-bar {
    flex-direction: column;
  }

  .actions-bar .btn {
    width: 100%;
  }

  .disclaimer-card {
    padding: 1rem;
  }

  .cookie-banner .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  footer .container {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .site-navbar .navbar-brand {
    font-size: 0.95rem !important;
  }

  .tarify-intro,
  .tarify-footnote {
    text-align: left !important;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .tarify-cards-row--mobile-list {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    gap: 0;
    margin-bottom: 1.15rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
  }

  .tarify-cards-row--mobile-list > [class*="col-"] {
    width: 50%;
    flex: 0 0 50%;
    padding: 0;
  }

  .tarify-cards-row--mobile-list .tariff-card {
    align-items: flex-start;
    height: 100%;
    min-height: auto;
    padding: 0.6rem 0.75rem 0.65rem !important;
    border-radius: 0;
    border: 0;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: left !important;
  }

  .tarify-cards-row--mobile-list > [class*="col-"]:last-child .tariff-card {
    border-right: 0;
  }

  .tarify-cards-row--mobile-list .tariff-card::before {
    display: none;
  }

  .tarify-cards-row--mobile-list .tariff-badge {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.2rem;
    transform: none;
    font-size: 0.58rem;
    padding: 0.18rem 0.45rem;
  }

  .tarify-cards-row--mobile-list .tariff-icon {
    display: none;
  }

  .tarify-cards-row--mobile-list .tariff-label {
    font-size: 0.66rem;
    margin-bottom: 0.05rem !important;
  }

  .tarify-cards-row--mobile-list .tariff-headline {
    font-size: 0.86rem;
    line-height: 1.25;
    margin-bottom: 0.25rem !important;
  }

  .tarify-cards-row--mobile-list .tariff-difference {
    margin-bottom: 0.35rem;
    font-size: 0.64rem;
    line-height: 1.2;
  }

  .tarify-cards-row--mobile-list .tariff-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.16rem;
    margin-bottom: 0 !important;
  }

  .tarify-cards-row--mobile-list .tariff-features li {
    display: flex;
    font-size: 0.66rem;
    padding: 0;
    line-height: 1.2;
  }

  .tarify-cards-row--mobile-list .tariff-features li i {
    margin-top: 0.12rem;
    font-size: 0.62rem;
  }

  .tarify-cards-row--mobile-list .tariff-features li:last-child {
    grid-column: auto;
  }

  .tarify-cards-row--mobile-list .tariff-features li br {
    display: none;
  }

  .tarify-cards-row--mobile-list .tariff-card--kompleks {
    transform: none;
  }

  .tarify-cards-row--mobile-list .tariff-card.popular {
    border-left: 2px solid rgba(37, 99, 235, 0.5);
  }

  .tarify-cards-row--mobile-list .tariff-card--free {
    border-left-width: 2px;
  }

  .tarify-cards-row--mobile-list .tariff-card--docs {
    border-left-width: 2px;
  }

  .status-chip {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 359.98px) {
  .tarify-cards-row--mobile-list .tariff-features {
    grid-template-columns: 1fr;
  }

  .tarify-cards-row--mobile-list .tariff-features li:last-child {
    grid-column: auto;
  }
}

/* ============================================
   Unified UI polish
   ============================================ */

:root {
  --ui-primary: #3b82f6;
  --ui-primary-dark: #2563eb;
  --ui-primary-soft: rgba(59, 130, 246, 0.12);
  --ui-bg-card: rgba(255, 255, 255, 0.82);
  --ui-border: rgba(15, 23, 42, 0.08);
  --ui-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  --ui-shadow-hover: 0 18px 44px rgba(37, 99, 235, 0.18);
  --ui-radius: 20px;
  --ui-radius-sm: 12px;
}

.site-navbar,
footer.bg-white {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(226, 232, 240, 0.75) !important;
}

.site-navbar {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07) !important;
}

.site-navbar .nav-link {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: #0f172a;
  font-weight: 700;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-dark));
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.card,
.alert,
.table-responsive,
.dashboard-section,
.report-header-card,
.score-card,
.risk-card,
.result-card,
.disclaimer-card,
.svyaz-section--compact,
.check-progress-card,
.kp-hub {
  border-radius: var(--ui-radius) !important;
  border-color: var(--ui-border) !important;
  box-shadow: var(--ui-shadow);
}

.card,
.dashboard-section,
.report-header-card,
.score-card,
.risk-card,
.result-card,
.disclaimer-card,
.check-progress-card {
  background: var(--ui-bg-card);
}

.glass-card,
.card,
.dashboard-section,
.report-header-card,
.score-card,
.risk-card,
.result-card,
.disclaimer-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.risk-card:hover,
.result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ui-shadow-hover);
  border-color: rgba(59, 130, 246, 0.18) !important;
}

.form-control,
.form-select {
  border-radius: var(--ui-radius-sm);
  border-color: rgba(148, 163, 184, 0.42);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ui-primary);
  background: #fff;
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.16);
}

.form-label {
  color: #334155;
  font-weight: 700;
}

.btn,
.svyaz-messenger-btn {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.svyaz-messenger-btn:hover {
  transform: translateY(-2px);
}

.btn-success,
.btn-primary,
.btn-glass,
.btn-primary-action {
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-dark)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.btn-success:hover,
.btn-primary:hover,
.btn-glass:hover,
.btn-primary-action:hover {
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.32);
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-glass--outline,
.btn-secondary-action {
  color: var(--ui-primary-dark) !important;
  border-color: rgba(59, 130, 246, 0.28) !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover,
.btn-glass--outline:hover,
.btn-secondary-action:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-dark)) !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.alert {
  border: 1px solid var(--ui-border);
  background: rgba(255, 255, 255, 0.86);
}

.alert-success {
  color: #166534;
  background: rgba(220, 252, 231, 0.78);
}

.alert-warning {
  color: #92400e;
  background: rgba(254, 243, 199, 0.78);
}

.alert-danger {
  color: #991b1b;
  background: rgba(254, 226, 226, 0.78);
}

.alert-info {
  color: #1e40af;
  background: rgba(219, 234, 254, 0.78);
}

.table {
  overflow: hidden;
  border-radius: var(--ui-radius-sm);
}

.table > :not(caption) > * > * {
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

.table-light,
.table thead th,
.dorabotki-table th {
  color: #334155;
  background: rgba(248, 250, 252, 0.92) !important;
}

.table-hover tbody tr:hover,
.dorabotki-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.07) !important;
}

.badge,
.status-chip,
.status-legend__pill,
.risk-badge,
.fine-badge {
  border-radius: 999px;
}

.bg-light,
.kp-svyaz-preview__text {
  background: rgba(248, 250, 252, 0.86) !important;
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.actions-bar {
  justify-content: center;
}

@media (max-width: 576px) {
  .card,
  .glass-card,
  .dashboard-section,
  .report-header-card,
  .score-card,
  .risk-card,
  .result-card,
  .disclaimer-card,
  .check-progress-card,
  .kp-hub {
    border-radius: 16px !important;
  }

  .btn,
  .svyaz-messenger-btn {
    width: 100%;
    justify-content: center;
  }
}