warnш
/* ==========================================================================
   Article CSS System — ".prose"
   Author: you
   Purpose: beautiful, accessible, SEO-friendly article typography
   ========================================================================== */

/* ------------------------------
   CSS Variables / Theme
---------------------------------*/
/* ============================================
   GLOBAL ROOT VARIABLES — FiveBBC Brand Theme
   ============================================ */
:root {
  --prose-font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --prose-font-serif: 'Inter', system-ui, sans-serif;
  --prose-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --prose-max-w: 1320px;
  --prose-lh: 1.75;

  /* LIGHT THEME COLORS */
  --prose-bg: #ffffff;
  --prose-fg: #334155;
  --prose-muted: #64748b;
  --prose-border: #e2e8f0;
  --prose-accent: #0ea5e9;
  --prose-accent-underline: rgba(14,165,233,0.3);
  --prose-quote: #0f172a;
  --prose-mark: #e0f2fe;
  --prose-code-bg: #0b1022;
  --prose-code-fg: #f8fafc;

  --prose-callout-info: #e5f1f9;
  --prose-callout-tip: #e9f9f1;
  --prose-callout-warn: #fffbe9;

  --prose-table-head-bg: #f8fafc;
  --prose-table-row-alt: #f9fafb;
  --prose-figcaption: #64748b;

  --prose-radius: 12px;
  --prose-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --prose-bg: #0b1220;
    --prose-fg: #e5e7eb;
    --prose-muted: #94a3b8;
    --prose-border: #1e293b;
    --prose-accent: #38bdf8;
    --prose-accent-underline: rgba(56,189,248,0.3);
    --prose-quote: #cbd5e1;
    --prose-mark: #1e3a8a;
    --prose-code-bg: #0a0f1d;
    --prose-code-fg: #e2e8f0;

    --prose-callout-info: #082f49;
    --prose-callout-tip: #052e16;
    --prose-callout-warn: #422006;

    --prose-table-head-bg: #0f172a;
    --prose-table-row-alt: #0a101f;
    --prose-figcaption: #9ca3af;
  }
}

/* ============================================
   BASE TYPOGRAPHY — Main Prose Container
   ============================================ */
.prose {
  color: var(--prose-fg);
  font-family: var(--prose-font-sans);
  font-size: 1.08rem;
  line-height: var(--prose-lh);
  background: transparent;
  max-width: var(--prose-max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Margins */
.prose > *:first-child { margin-top: 0 !important; }
.prose > *:last-child  { margin-bottom: 0 !important; }

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose blockquote,
.prose pre,
.prose figure,
.prose .callout,
.prose .toc,
.prose details,
.prose hr,
.prose .faq,
.prose .references {
  margin-block: 1.4em;
}

/* ============================================
   HEADINGS
   ============================================ */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-family: var(--prose-font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  scroll-margin-top: 90px;
}

.prose h1 {
  font-size: clamp(2.2rem, 2.8vw, 2.6rem);
  color: #0c4a6e;
  margin: .3em 0 .6em;
}

.prose h2 {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  margin: 1.5em 0 .7em;
  color: #0f172a;
}
.prose h3 {
  font-size: clamp(1.4rem, 1.9vw, 1.5rem);
  margin: 1.2em 0 .5em;
}
.prose h4 { font-size: 1.15rem; margin: 1em 0 .4em; color: #1e293b; }
.prose h5 { font-size: 1rem; text-transform: uppercase; color: #0284c7; letter-spacing: .05em; }
.prose h6 { font-size: .95rem; opacity: .8; color: #64748b; }

.prose h2::after,
.prose h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: .4em;
  background: linear-gradient(90deg, var(--prose-accent), transparent);
  border-radius: 2px;
}

/* ============================================
   PARAGRAPHS
   ============================================ */
.prose p {
  color: var(--prose-fg);
  text-wrap: pretty;
}
.prose strong { color: #0c4a6e; font-weight: 700; }
.prose em { color: #1e293b; font-style: italic; }
.prose mark {
  background: var(--prose-mark);
  color: #075985;
  padding: .1em .3em;
  border-radius: .25em;
}

/* ============================================
   LINKS
   ============================================ */
.prose a {
  color: var(--prose-accent);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: 3px;
  transition: all .2s ease;
}
.prose a:hover {
  color: #0284c7;
  text-decoration-thickness: .14em;
}

/* ============================================
   LISTS
   ============================================ */
.prose ul { list-style: disc inside; }
.prose ol { list-style: decimal inside; }
.prose li { margin: .25em 0; color: var(--prose-fg); }
.prose li::marker { color: var(--prose-accent); }

/* Checklist */
.prose .checklist {
  list-style: none;
  padding-left: 0;
}
.prose .checklist li {
  position: relative;
  padding-left: 1.8em;
}
.prose .checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: .1em;
  color: #16a34a;
  background: rgba(22,163,74,.06);
  border: 1px solid #bbf7d0;
  border-radius: 50%;
  font-size: .8em;
  width: 1.3em; height: 1.3em;
  display: inline-grid; place-items: center;
}

/* ============================================
   TABLES
   ============================================ */
.prose .table-wrap {
  overflow-x: auto;
  margin: 36px 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .97rem;
  text-align: left;
}
.prose table thead {
  background: linear-gradient(90deg, #e0f2fe 0%, #f0f9ff 100%);
}
.prose table th {
  padding: 14px 16px;
  font-weight: 700;
  color: #252629;
  border-bottom: 2px solid #93c5fd;
  text-transform: uppercase;
  font-size: .9rem;
}
.prose table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.prose table tbody tr:nth-child(even) { background: #f9fafb; }
.prose table tbody tr:hover { background: #eff6ff; }

/* ============================================
   CALLOUT BLOCKS
   ============================================ */
.callout {
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 5px solid var(--prose-accent);
  box-shadow: var(--prose-shadow);
  background: #f8fafc;
}
.callout.info {
  border-left-color: #0ea5e9;
  background: var(--prose-callout-info);
}
.callout.tip {
  border-left-color: #16a34a;
  background: var(--prose-callout-tip);
}
.callout.warn {
  border-left-color: #f59e0b;
  background: var(--prose-callout-warn);
}


/* ============================================
   FAQ SECTION
   ============================================ */
.prose .faq {
  margin-top: 60px;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.prose .faq .faq-item {
  margin: 1rem 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  transition: all 0.25s ease;
  overflow: hidden;
}
.prose .faq .faq-item:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.06); border-color: #bae6fd; }
.prose .faq .q {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 12px;
  transition: all 0.25s ease;
}
.prose .faq .q::after {
  content: "＋";
  position: absolute;
  right: 20px;
  font-weight: 600;
  color: #0ea5e9;
  transition: transform 0.3s, color 0.3s;
}
.prose .faq .faq-item.active .q {
  background: #e0f2fe;
  color: #0c4a6e;
  border-radius: 12px 12px 0 0;
}
.prose .faq .faq-item.active .q::after {
  content: "–";
  transform: rotate(180deg);
  color: #0284c7;
}
.prose .faq .a {
  display: none;
  padding: 18px 22px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  line-height: 1.7;
  animation: fadeIn 0.35s ease;
}
.prose .faq .faq-item.active .a { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ============================================
   FIGURES & QUOTES
   ============================================ */
.prose figure img {
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem; /* Отступ снизу для корректного расположения */
}

.prose figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--prose-figcaption);
  margin-top: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid var(--prose-accent);
  padding: .6em 1em;
  background: linear-gradient(90deg, rgba(14,165,233,.08), transparent 60%);
  border-radius: 0 var(--prose-radius) var(--prose-radius) 0;
  color: var(--prose-quote);
  font-style: italic;
  margin-bottom: 1.5rem; /* Отступ снизу для цитат */
}

/* ============================================
   TEXT HIGHLIGHTING AND SEO
   ============================================ */
.prose mark {
  background-color: rgba(14, 165, 233, 0.2); /* Легкое подсвечивание */
  color: var(--prose-highlight);
  padding: 0.1em;
  border-radius: 4px;
  font-weight: 600;
}

.prose .callout.info {
  background-color: #e5f3f9;
  color: #0e65a6;
  padding: 10px;
  border-left: 5px solid #0e65a6;
  margin-bottom: 1.5rem;
}

.prose .callout.tip {
  background-color: #edfaea;
  color: #4e8b2d;
  padding: 10px;
  border-left: 5px solid #4e8b2d;
  margin-bottom: 1.5rem;
}

.prose .callout.warn {
  background-color: #faf1e7;
  color: #d88f3f;
  padding: 10px;
  border-left: 5px solid #d88f3f;
  margin-bottom: 1.5rem;
}

/* ============================================
   NAVIGATION & TOC
   ============================================ */
.toc {
  margin: 2rem 0;
  background: #f5f7fb;
  padding: 20px;
  border-radius: 8px;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.toc ul {
  list-style-type: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc li a {
  text-decoration: none;
  color: #0066cc;
  font-weight: 500;
  transition: color 0.3s;
}

.toc li a:hover {
  color: #005bb5;
}


/* ============================================
   CODE BLOCKS
   ============================================ */
.prose code {
  font-family: var(--prose-font-mono);
  font-size: .95em;
  background: rgba(14,165,233,.08);
  padding: .15em .4em;
  border-radius: .4em;
  color: #0369a1;
}
.prose pre {
  background: var(--prose-code-bg);
  color: var(--prose-code-fg);
  border-radius: var(--prose-radius);
  padding: 1rem 1.1rem;
  overflow: auto;
  box-shadow: var(--prose-shadow);
}


/* ------------------------------
   Images / Figures
---------------------------------*/
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--prose-radius);
  box-shadow: var(--prose-shadow);
}
.prose figure { margin: 1.2em 0; text-align: center; }
.prose figure img { margin-inline: auto; }
.prose figcaption {
  margin-top: .5em;
  font-size: .9em;
  color: var(--prose-figcaption);
}

/* ------------------------------
   ToC / Anchors
---------------------------------*/
.prose .toc {
  border: 1px solid var(--prose-border);
  border-radius: var(--prose-radius);
  padding: .9rem 1rem;
  background: linear-gradient(180deg, rgba(2,6,23,.02), transparent 60%);
}
.prose .toc .toc-title {
  font-weight: 700;
  margin-bottom: .4em;
}
.prose .toc ul { list-style: none; padding-left: 0; }
.prose .toc li { margin: .35em 0; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }

/* Anchor link icon on headings (use <a class="h-anchor">#</a>) */
.prose .h-anchor {
  visibility: hidden;
  margin-left: .3em;
  text-decoration: none;
  opacity: .6;
}
.prose h2:hover .h-anchor,
.prose h3:hover .h-anchor,
.prose h4:hover .h-anchor { visibility: visible; }

/* ------------------------------
   Breadcrumbs
---------------------------------*/
.prose .breadcrumbs {
  font-size: .95rem;
  color: var(--prose-muted);
}
.prose .breadcrumbs a { text-decoration: none; }
.prose .breadcrumbs a:hover { text-decoration: underline; }
.prose .breadcrumbs .sep { opacity: .5; margin: 0 .35em; }

/* ------------------------------
   Footnotes / References
---------------------------------*/
.prose sup,
.prose sup a {
  font-size: .75em;
  line-height: 1;
  text-decoration: none;
}
.prose .footnotes, .prose .references {
  border-top: 1px solid var(--prose-border);
  padding-top: 1rem;
  font-size: .95rem;
}
.prose .footnotes ol { list-style: decimal; padding-left: 1.2rem; }
.prose .footnotes li { margin: .5em 0; }
.prose .backref { text-decoration: none; opacity: .7; margin-left: .35em; }

/* ------------------------------
   Details / Summary (expanders)
---------------------------------*/
.prose details {
  border: 1px solid var(--prose-border);
  border-radius: var(--prose-radius);
  padding: .7rem .9rem;
  background: rgba(0,0,0,.02);
}
@media (prefers-color-scheme: dark) { .prose details { background: rgba(255,255,255,.03); } }
.prose details[open] { box-shadow: var(--prose-shadow); }
.prose details > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.prose details > summary::-webkit-details-marker { display: none; }
.prose details > summary::before {
  content: "▸";
  display: inline-block; margin-right: .4em; transition: transform .2s ease;
}
.prose details[open] > summary::before { transform: rotate(90deg); }


/* ------------------------------
   FAQ / Q&A / HowTo
---------------------------------*/
.prose .faq { border-top: 1px solid var(--prose-border); padding-top: .8rem; }
.prose .faq .faq-item { margin: .9rem 0; }
.prose .faq .q { font-weight: 700; }
.prose .faq .a { margin-top: .25rem; }

/* ------------------------------
   Time / Meta
---------------------------------*/
.prose time { color: var(--prose-muted); font-size: .95em; }

/* ------------------------------
   HR
---------------------------------*/
.prose hr {
  border: none;
  border-top: 1px solid var(--prose-border);
  margin-block: 2rem;
}

/* ------------------------------
   Accessibility helpers
---------------------------------*/
.prose .sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ------------------------------
   Responsive helpers
---------------------------------*/
@media (max-width: 720px) {
  .prose { font-size: 1rem; }
  .prose h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
  .prose h2 { font-size: clamp(1.4rem, 5vw, 1.7rem); }
}

/* ------------------------------
   Print styles
---------------------------------*/
@media print {
  .prose a {
  color: #0ea5e9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: #0284c7;
}
  color: #0ea5e9;
  .prose .toc,
  .prose .breadcrumbs { page-break-inside: avoid; }
  .prose img, .prose table, .prose pre, .prose blockquote { page-break-inside: avoid; }
}

p {
    color: #334155;
}
/* ------------------------------
   новое Print styles
---------------------------------*/
/* ============================================
   ARTICLE BASE STYLES — FiveBBC Theme 2025
   ============================================ */

.prose {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px 100px;
  font-family: "Inter", system-ui, sans-serif;
  color: #334155;
  line-height: 1.7;
  font-size: 1rem;
}

/* ===== Headings ===== */
.prose h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
  margin: 60px 0 20px;
  position: relative;
}
.prose h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0f172a;
  margin: 40px 0 15px;
}
.h-anchor {
  text-decoration: none;
  color: #0ea5e9;
  opacity: 0;
  margin-left: 6px;
  transition: opacity 0.3s ease;
}
.prose h2:hover .h-anchor,
.prose h3:hover .h-anchor {
  opacity: 1;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 0.9rem;
  margin: 20px 0 35px;
  color: #64748b;
}
.breadcrumbs a {
  color: #0ea5e9;
  text-decoration: none;
}
.sep {
  margin: 0 6px;
  color: #cbd5e1;
}

/* ===== Table of Contents ===== */
.toc {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  padding: 24px 32px;
  margin: 50px auto;
  max-width: 750px;
}
.toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}
.toc ul {
  list-style: none;
  padding-left: 0;
}
.toc a {
  color: #0ea5e9;
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}

/* ===== Figures / Images ===== */
figure {
  margin: 40px 0;
  text-align: center;
}
figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
figcaption {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 8px;
  font-style: italic;
}
.fig-left {
  float: left;
  margin: 10px 25px 20px 0;
  width: 40%;
  max-width: 420px;
}
.fig-right {
  float: right;
  margin: 10px 0 20px 25px;
  width: 40%;
  max-width: 420px;
}
@media (max-width: 850px) {
  .fig-left,
  .fig-right {
    float: none;
    display: block;
    margin: 20px auto;
    width: 100%;
  }
}


/* ===== Checklists ===== */
.checklist ul {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}


/* ============================================
   TABLE STYLE FOR .prose — unified with site theme
   ============================================ */

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  background: #ffffff;
  margin: 36px 0;
}

.prose thead {
  background: linear-gradient(90deg, #e0f2fe 0%, #f0f9ff 100%);
}

.prose th {
  padding: 14px 16px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #93c5fd;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: left;
}

.prose td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.prose tbody tr:nth-child(even) {
  background: #f9fafb;
}

.prose tbody tr:hover {
  background: #eff6ff;
}

.prose .td-good {
  color: #16a34a;
  font-weight: 600;
}

.prose .td-bad {
  color: #dc2626;
  font-weight: 600;
}

.prose .td-neutral {
  color: #64748b;
  font-weight: 600;
}

/* wrapper for mobile scroll */
.prose .table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 36px 0;
}

}
/* ===== FAQ Section ===== */
.faq {
  margin-top: 60px;
  border-top: 2px solid #f1f5f9;
  padding-top: 20px;
}
.faq-item {
  margin-bottom: 22px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.faq-item .q {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 12px 12px 0 0;
}
.faq-item .a {
  display: none;
  padding: 18px 22px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.7;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
}
.faq-item.active .a {
  display: block;
}
.faq-item.active .q {
  background: #e0f2fe;
  color: #0c4a6e;
}

/* Simple JS-free accordion behaviour */
.faq-item .q::after {
  content: "＋";
  float: right;
  color: #0ea5e9;
  transition: transform 0.3s;
}
.faq-item.active .q::after {
  content: "–";
  transform: rotate(180deg);
}

/* ===== References Section ===== */
.references {
  background: #f9fafb;
  padding: 35px 30px;
  border-radius: 12px;
  margin-top: 70px;
  border: 1px solid #e2e8f0;
}
.references h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 15px;
}
.references ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.6;
}
.references li {
  margin-bottom: 10px;
}
.references a {
  color: #0ea5e9;
  text-decoration: none;
}
.references a:hover {
  text-decoration: underline;
}

/* ===== Video Embed ===== */
.video-embed {
  margin: 40px 0;
  text-align: center;
}
.video-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.video-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Links ===== */
.prose a {
  color: #0ea5e9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: #0284c7;
}

/* ===== Highlight / Mark ===== */
mark {
  background: #e0f2fe;
  color: #0c4a6e;
  padding: 0 4px;
  border-radius: 4px;
}

/* ===== Footnotes ===== */
.footnotes {
  margin-top: 60px;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}
.backref {
  display: inline-block;
  margin-top: 10px;
  color: #0ea5e9;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .prose {
    padding: 0 16px 80px;
  }
  .toc {
    padding: 20px;
  }
  th, td {
    padding: 12px 10px;
  }
}



.pros {
  background-color: black !important;
}





.table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.quality-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.quality-table thead {
  background: linear-gradient(90deg, #e0f2fe 0%, #f0f9ff 100%);
}
.quality-table th {
  padding: 14px 16px;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #93c5fd;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.quality-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.quality-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.quality-table tbody tr:hover {
  background: #eff6ff;
}
.callout.tip.promo-top {
  max-width: 780px;              /* чтобы ширина совпадала с основным текстом */
  margin: 2rem auto;             /* центрирует по горизонтали */
  padding: 1.5rem 1.75rem;       /* выравнивает внутренние отступы */
  text-align: center;            /* визуально уравновешивает текст и ссылки */
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(14,165,233,0.02));
  border: 1px solid rgba(14,165,233,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  line-height: 1.6;
}

.promo-top strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.promo-top .promo-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}

.promo-top .promo-link:hover {
  text-decoration: underline;
}

.promo-top .promo-note {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.75rem;
  line-height: 1.4;
}

/* ======== FLOATING FIGURES ======== */
figure.fig-left,
figure.fig-right {
  max-width: 45%;                /* не шире половины текста */
  margin: 1rem 2rem 1rem 0;      /* отступы вокруг */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

figure.fig-left {
  float: left;
  margin-right: 1.75rem;
}

figure.fig-right {
  float: right;
  margin-left: 1.75rem;
}

figure.fig-left img,
figure.fig-right img {
  display: block;
  width: 100%;
  height: auto;
}

figure.fig-left figcaption,
figure.fig-right figcaption {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b;
  padding: 0.5rem 0.75rem;
}

/* ======== MOBILE RESET ======== */
@media (max-width: 768px) {
  figure.fig-left,
  figure.fig-right {
    float: none;
    max-width: 100%;
    margin: 1.25rem auto;
  }
}
/* ===== INLINE / FLOATING SCREENSHOTS ===== */
figure.inline-img {
  max-width: 420px;
  float: right;
  margin: 1rem 0 1.25rem 1.75rem;  /* отступы сверху, снизу и слева */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: #fff;
}

figure.inline-img img {
  display: block;
  width: 100%;
  height: auto;
}

figure.inline-img figcaption {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* ===== Адаптация для мобильных ===== */
@media (max-width: 768px) {
  figure.inline-img {
    float: none;
    display: block;
    margin: 1.25rem auto;
    max-width: 100%;
  }
}
