/* ============================================================
   reference.css — общие стили для статей и публикаций
   Единственная авторитетная версия, без дублей
============================================================ */

/* ── Оглавление (TOC) ────────────────────────────────────── */
.table-of-contents-modern {
  background: #fff;
  border-radius: 24px;
  padding: 30px 25px;
  margin: 25px 0 35px;
  box-shadow: 0 15px 35px -10px rgba(44,82,130,.15);
  border: 1px solid rgba(226,232,240,.6);
}
.toc-title-modern {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c5282;
  margin: 0 0 25px;
  padding: 0 0 15px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  font-family: Montserrat, sans-serif;
}
.toc-title-modern .icon { color: #4299e1; font-size: 1.6rem; }
.toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.toc-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 20px 16px;
  text-decoration: none;
  color: #1e293b;
  border: 1px solid #e9edf4;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fafcff, #f0f5fd);
}
.toc-card:nth-child(3n+1) { background: linear-gradient(145deg, #f7faff, #e9f0f9); }
.toc-card:nth-child(3n+2) { background: linear-gradient(145deg, #fafeff, #edf4fc); }
.toc-card:nth-child(3n+3) { background: linear-gradient(145deg, #f5f9ff, #e8eff8); }
.toc-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: #4299e1;
  box-shadow: 0 12px 25px -8px rgba(66,153,225,.3);
}
.toc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #4299e1, #2c5282);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.toc-card:hover::before { transform: scaleX(1); }
.toc-card-number {
  font-size: .8rem;
  font-weight: 600;
  color: #2c5282;
  margin-bottom: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .8;
}
.toc-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #1e293b;
}
.toc-card:hover .toc-card-title { color: #2c5282; }
.toc-card-description { font-size: .85rem; color: #5f6b7a; line-height: 1.4; margin: 0; }

/* ── Заголовки ───────────────────────────────────────────── */
.content-subtitle {
  color: #2d3748;
  font-size: 1.6rem;
  margin: 40px 0 20px;
  font-weight: 600;
  padding-top: 10px;
  font-family: Montserrat, sans-serif;
}
.content-subtitle-2 { color: #4a5568; font-size: 1.5rem; margin: 30px 0 15px; font-weight: 500; }
.content-subtitle-3 { color: #2c5282; font-size: 1.3rem; margin: 25px 0 15px; font-weight: 500; padding-left: 15px; }
h2.content-subtitle + .conclusion-box { margin-top: 16px; }

/* ── Ключевые метрики ────────────────────────────────────── */
.key-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
}
.metric-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  border: 1px solid #e2e8f0;
  transition: transform .2s, box-shadow .2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  word-break: break-word;
}
.metric-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(66,153,225,.12); border-color: #bee3f8; }
.metric-icon { width: 44px; height: 44px; border-radius: 12px; background: #ebf8ff; display: flex; align-items: center; justify-content: center; color: #2b6cb0; margin-bottom: 4px; }
.metric-icon svg { width: 24px; height: 24px; }
.metric-card:nth-child(1) .metric-icon { background: #f0fff4; color: #276749; }
.metric-card:nth-child(2) .metric-icon { background: #fffaf0; color: #c05621; }
.metric-card:nth-child(3) .metric-icon { background: #ebf8ff; color: #2b6cb0; }
.metric-card:nth-child(4) .metric-icon { background: #faf5ff; color: #6b46c1; }
.metric-card:nth-child(5) .metric-icon { background: #fff5f5; color: #c53030; }
.metric-value { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 700; color: #1a202c; line-height: 1.2; }
.metric-desc { font-size: .85rem; color: #4a5568; line-height: 1.4; max-width: 160px; }

/* ── SVG-диаграммы ───────────────────────────────────────── */
.dg-wrap {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44,82,130,.10);
}
.dg-hd {
  background: linear-gradient(90deg, #ebf4ff, #f0f7ff);
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e4e8c;
  border: 1px solid #c3dafe;
  border-bottom: none;
  display: flex;
  align-items: center;
  border-radius: 12px 12px 0 0;
  letter-spacing: .01em;
}
.dg-hd .icon { margin-right: 7px; color: #4299e1; flex-shrink: 0; }
.article-svg-dark {
  background: #060c14;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  border: 1px solid #c3dafe;
  border-top: none;
}
.article-svg-dark .dg { padding: 10px; }
.article-svg-dark .dg svg, .article-svg-dark svg { display: block; max-width: 100%; height: auto; }

/* ── Врезки: note, warn, success ─────────────────────────── */
.note {
  background: #ebf8ff;
  border: 1px solid #bee3f8;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.55;
}
.warn {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.55;
}
.success-note, .success {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ── Блоки с фоном ───────────────────────────────────────── */
.intro-box {
  background: #f0f7ff;
  border: 1px solid #c3dafe;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0;
}
.region-mega-block {
  background: #f0f7ff;
  border: 1px solid #c3dafe;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
}
.highlight-box {
  background: #f0fff4;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  border: 1px solid #c6f6d5;
  overflow: hidden;
}
.highlight-box-blue {
  background: linear-gradient(135deg, #ebf8ff, #e0f0ff);
  border: 1px solid #bee3f8;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 22px 0;
}
.article-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #2d3748;
  font-weight: 500;
  background: #f7fafc;
  padding: 18px 22px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 25px;
}

/* ── Заключение ──────────────────────────────────────────── */
.conclusion-box {
  background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 20px 0 24px;
  border: 1px solid #b2dfc5;
}
.conclusion-box p { margin-bottom: 12px; line-height: 1.65; }
.conclusion-box p:last-of-type { margin-bottom: 16px; }
.conclusion-box ul, .conclusion-box ol { padding-left: 22px; margin-bottom: 14px; }
.conclusion-box li { margin-bottom: 7px; line-height: 1.6; }
.conclusion-box a { color: #2c5282; font-weight: 500; text-decoration: none; }
.conclusion-box a:hover { color: #1a365d; }

/* ── Связанные статьи (info-block) ───────────────────────── */
.info-block {
  background: linear-gradient(135deg, #ebf8ff 0%, #dbeafe 100%);
  border: 1px solid #90cdf4;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 25px 0;
  width: 100%;
  overflow: hidden;
}
.conclusion-box .info-block { margin: 20px 0 0; }
.info-title {
  color: #1a56a8;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-title .icon { font-size: 20px; }
.info-block ul, .info-block .pts { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.info-block ul li, .info-block .pts li {
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: 10px;
  line-height: 1.55;
}
.info-block ul li:last-child, .info-block .pts li:last-child { margin-bottom: 0; }
.info-block ul li::before, .info-block .pts li::before { content: "→"; position: absolute; left: 0; color: #1565c0; font-weight: 600; }
.info-block ul li a, .info-block .pts li a { color: #1a56a8; text-decoration: none; font-size: .95rem; font-weight: 500; }
.info-block ul li a:hover, .info-block .pts li a:hover { color: #0d3b8a; }

/* ── Списки и компоненты ─────────────────────────────────── */
.feature-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
  overflow: hidden;
}
.feature-list ul, .feature-list ol { margin: 0; padding-left: 20px; }
.feature-list li { font-size: 16px; margin-bottom: 10px; line-height: 1.6; color: #2d3748; }

.application-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 25px;
  margin: 25px 0;
}
.application-list ul { margin: 0; padding-left: 20px; }
.application-list li { font-size: 16px; margin-bottom: 15px; line-height: 1.6; color: #2d3748; }
.application-list li:before { content: "•"; color: #4299e1; font-weight: 700; display: inline-block; width: 1em; margin-left: -1em; }

.smart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.smart-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
}
.smart-item h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #2c5282; margin-bottom: 8px; }
.smart-item p { font-size: 13px; color: #4a5568; margin: 0; line-height: 1.6; }
.smart-item .save { display: inline-block; background: #f0fff4; color: #276749; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 600; margin-top: 8px; }

/* ── Советы (tips) ───────────────────────────────────────── */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 20px 0; }
.tip { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid #e2e8f0; transition: box-shadow .3s; }
.tip:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.ti { font-size: 28px; margin-bottom: 10px; display: block; }
.tip h4 { font-size: 16px; font-weight: 600; color: #2d3748; margin-bottom: 10px; }
.tip p { font-size: 14px; color: #4a5568; line-height: 1.55; }

/* ── Рекомендации ────────────────────────────────────────── */
.recs { display: grid; gap: 14px; margin: 20px 0; }
.rec { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #f8fafc; border-radius: 10px; padding: 16px; border: 1px solid #e2e8f0; align-items: start; }
.rec-icon { width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.rec-icon.new { background: #f0fff4; }
.rec-icon.old { background: #fffaf0; }
.rec-icon.glass { background: #fff5f5; }
.rec h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #2d3748; margin-bottom: 6px; }
.rec p { font-size: 13px; color: #4a5568; margin: 0; line-height: 1.6; }

/* ── Gen-cards ───────────────────────────────────────────── */
.gen-cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 20px 0; }
.gen-card { border-radius: 10px; padding: 22px 24px; border: 1px solid #e2e8f0; background: #fff; }
.gen-card-full { grid-column: 1/-1; }
.gen-card.g1 { border-left: 5px solid #dc3c3c; background: #fff5f5; }
.gen-card.g2 { border-left: 5px solid #d08c16; background: #fffaf0; }
.gen-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.gen-card.g1 .gen-badge { background: #fed7d7; color: #9b2c2c; }
.gen-card.g2 .gen-badge { background: #feebc8; color: #7c5a0a; }

/* ── Pros-cons ───────────────────────────────────────────── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.pros, .cons { border-radius: 10px; padding: 20px 22px; }
.pros { background: #f0fff4; border: 1px solid #c6f6d5; }
.cons { background: #fff5f5; border: 1px solid #fed7d7; }
.pros h5, .cons h5 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.pros h5 { color: #22543d; }
.cons h5 { color: #9b2c2c; }
.pros ul, .cons ul { padding-left: 22px; margin: 0; }
.pros li, .cons li { margin-bottom: 7px; font-size: 15px; line-height: 1.5; color: #2d3748; }

/* ── Ссылки на PDF ───────────────────────────────────────── */
.pdf-link, .ref-pdf-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding: 8px 16px; border-radius: 4px; transition: all .2s ease; margin-top: auto; justify-content: center; text-decoration: none; }
.pdf-link { color: #2c5282 !important; background: #fff !important; border: 1px solid #2c5282 !important; }
.pdf-link:hover { background: #2c5282 !important; color: #fff !important; border-color: #2c5282 !important; }
.ref-pdf-btn { color: #fff !important; background: #2c5282 !important; border: 2px solid #2c5282 !important; }
.ref-pdf-btn:hover { background: #1a365d !important; color: #e3f2fd !important; }
.pdf-link .icon, .ref-pdf-btn .icon { fill: currentColor; width: 1em; height: 1em; }

/* ── Быстрые карточки ────────────────────────────────────── */
.qc { background: #f8fafc; border-radius: 12px; padding: 14px 10px; text-align: center; border: 1px solid #e2e8f0; transition: all .2s; text-decoration: none; color: #2d3748; display: block; }
.qc:hover { background: #ebf8ff; border-color: #4299e1; box-shadow: 0 4px 12px rgba(66,153,225,.12); }
.qc .icon { font-size: 22px; color: #4299e1; margin-bottom: 6px; display: block; }
.qc span { display: block; font-size: 12px; font-weight: 500; line-height: 1.3; }

/* ── Таблица: цветовые маркеры ───────────────────────────── */
.td-bad  { color: #e53e3e !important; font-weight: 600; background: rgba(229,62,62,.07); }
.td-mid  { color: #d69e2e !important; font-weight: 600; background: rgba(214,158,46,.07); }
.td-good { color: #38a169 !important; font-weight: 600; background: rgba(56,161,105,.07); }

/* ── Литература ──────────────────────────────────────────── */
.literature-mega { background: #f0f7ff; border-radius: 8px; padding: 25px; margin: 30px 0; border: 1px solid #c3dafe; }
.literature-mega p { margin: 0 0 10px; font-style: italic; font-size: .95rem; }

/* ── Глобальные списки в статьях ─────────────────────────── */
.content-text ul, .content-text ol,
.article-guide ul, .article-guide ol,
.feature-list ul, .feature-list ol,
.info-block ul, .info-block ol,
.problems ul, .problems ol { padding-left: 24px; margin-bottom: 18px; }
.content-text li, .article-guide li,
.feature-list li, .info-block li,
.problems li { margin-bottom: 6px; line-height: 1.55; }

/* ── Comparison block ────────────────────────────────────── */
.comparison-block { margin: 24px 0; border-radius: 12px; overflow: hidden; border: 1px solid #dce6f0; }
.comparison-badge { background: linear-gradient(90deg, #2c5282, #2b6cb0); color: #fff; font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 10px 20px; }
.comparison-title { background: #f5f8fd; font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 600; color: #2c5282; padding: 14px 20px 10px; border-bottom: 1px solid #dce6f0; }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.comparison-card { padding: 18px 20px; border-right: 1px solid #dce6f0; border-top: 1px solid #dce6f0; }
.comparison-card:last-child { border-right: none; }
.comparison-card__name { font-family: 'Montserrat', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid currentColor; }
.comparison-card--neutral .comparison-card__name { color: #718096; border-color: #cbd5e0; }
.comparison-card--mid     .comparison-card__name { color: #b7791f; border-color: #f6ad55; }
.comparison-card--good    .comparison-card__name { color: #276749; border-color: #48bb78; }
.comparison-card--neutral { background: #f7fafc; }
.comparison-card--mid     { background: #fffbf0; }
.comparison-card--good    { background: #f0fff4; }
.comparison-card dl { margin: 0; }
.comparison-card dt { font-size: .75rem; color: #718096; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 2px; }
.comparison-card dt:first-of-type { margin-top: 0; }
.comparison-card dd { font-size: .95rem; font-weight: 600; color: #2d3748; margin: 0 0 4px; }
.comparison-card .verdict { margin-top: 12px; font-size: .82rem; line-height: 1.5; color: #4a5568; border-top: 1px solid #e2e8f0; padding-top: 10px; }

/* Comparison-block: таблица внутри */
.comparison-block .table-wrapper { margin: 0 !important; border-radius: 0 0 11px 11px !important; box-shadow: none !important; border: none !important; border-top: 1px solid #dce6f0 !important; }
.comparison-block .site-table { min-width: 500px; }
.comparison-block .site-table td:first-child { background: #f5f8fd; color: #4a5568; font-weight: 600; border-right: 1px solid #d0dcea; }
.comparison-block .site-table tr.section-header td { background: #2c5282 !important; color: #e2ecf6 !important; font-weight: 700; font-size: .85rem; padding: 10px 12px; }
.comparison-block .site-table tr.section-header td:first-child { background: #2c5282 !important; color: #e2ecf6 !important; }

/* ── Компоненты из статей ────────────────────────────────── */

/* Example box */
.article-guide .example { background: #f0fff4; border: 1px solid #c6f6d5; border-radius: 12px; padding: 22px 26px; margin: 25px 0; }
.article-guide .example h4 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 600; color: #276749; margin-bottom: 12px; }

/* Formula */
.article-guide .formula { font-family: 'Courier New', monospace; font-size: 1.05rem; background: #edf2f7; padding: 8px 16px; display: inline-block; border-radius: 6px; margin: 10px 0; color: #2c5282; font-weight: 600; }

/* Errors list */
.article-guide .errs { list-style: none; padding: 0; margin: 20px 0; }
.article-guide .errs li { padding: 11px 14px 11px 40px; position: relative; background: #fff5f5; margin-bottom: 8px; border-radius: 8px; border: 1px solid #fed7d7; color: #4a5568; font-size: .95rem; line-height: 1.5; }
.article-guide .errs li::before { content: '✗'; position: absolute; left: 13px; top: 11px; color: #e53e3e; font-weight: 700; font-size: 1rem; }

/* Timeline (ekspluatatsiya) */
.to-timeline { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.to-row { display: grid; grid-template-columns: 90px 1fr; gap: 0; border-bottom: 1px solid #e2e8f0; }
.to-row:last-child { border-bottom: none; }
.to-badge { padding: 12px 14px; font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-align: center; display: flex; align-items: center; justify-content: center; border-right: 1px solid #e2e8f0; color: #fff; }
.to-badge.daily   { background: #2c5282; }
.to-badge.weekly  { background: #2b6cb0; }
.to-badge.monthly { background: #3182ce; }
.to-badge.half    { background: #4299e1; }
.to-badge.annual  { background: #63b3ed; color: #1a365d; }
.to-row > div:last-child { padding: 12px 16px; font-size: .9rem; color: #2d3748; }
.to-row > div:last-child ul { margin: 4px 0 0; padding-left: 18px; }
.to-row > div:last-child li { margin-bottom: 4px; }

/* Algorithm steps (igloprobivnye) */
.algo-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.algo-step:last-child { border-bottom: none; }
.algo-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #2c5282; color: #fff; font-family: 'Montserrat', sans-serif; font-size: .85rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.algo-step .yes { color: #276749; font-weight: 600; }
.algo-step .no  { color: #c53030; font-weight: 600; }

/* Calc table (ekonomicheskaya) */
.calc-block { margin: 24px 0; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 14px; border-bottom: 1px solid #e2e8f0; align-items: center; font-size: .9rem; }
.calc-row:nth-child(even) { background: #f8fafc; }
.calc-total { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 14px; background: #ebf8ff; border: 1px solid #bee3f8; border-radius: 8px; font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: .95rem; color: #2c5282; margin-top: 4px; }

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .table-of-contents-modern { padding: 20px 15px; }
  .toc-title-modern { font-size: 1.2rem; }
  .toc-grid { grid-template-columns: 1fr; gap: 12px; }
  .content-subtitle { font-size: 1.3rem; }
  .content-subtitle-2 { font-size: 1.2rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-card { border-right: none; }
}
@media (max-width: 600px) {
  .key-metrics { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-card { padding: 14px 10px 12px; }
  .metric-value { font-size: 1.4rem; }
  .metric-desc { font-size: .8rem; max-width: none; }
}
@media (max-width: 480px) {
  .feature-list { padding: 15px; }
  .key-metrics { grid-template-columns: 1fr; gap: 10px; }
  .metric-card { padding: 16px 14px 14px; }
  .metric-icon { width: 38px; height: 38px; }
  .metric-icon svg { width: 20px; height: 20px; }
  .metric-value { font-size: 1.3rem; }
  .metric-desc { font-size: .8rem; }
}
