/* Кнопки, панели и инструменты для первого шага. Цвета те же, что на остальном сайте. */
.cc-nav-download{display:inline-flex;align-items:center;padding:8px 16px;border-radius:8px;background:#f77b00;color:#161616!important;font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none}
.cc-nav-download:hover{background:#ff9a2e}
.cc-intro{margin:10px 0 18px;font-size:15px;line-height:1.6;color:#b9b9c0}
.cc-intro a{color:#ffb15c;white-space:nowrap}
.cc-inline-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:28px 0;padding:14px 18px;border:1px solid #795125;border-radius:12px;background:#211a15;font-size:15px;line-height:1.5;color:#e6e6ea}
.cc-inline-cta a{font-weight:700;color:#ffb15c;white-space:nowrap}

.cc-sticky{position:fixed;right:16px;bottom:16px;z-index:40;display:flex;align-items:center;gap:14px;max-width:560px;padding:10px 12px 10px 18px;border:1px solid #795125;border-radius:12px;background:#211a15;box-shadow:0 10px 30px rgba(0,0,0,.5);font-size:14px;line-height:1.4;color:#f0f0f0}
.cc-sticky[hidden]{display:none}
.cc-sticky .btn{padding:8px 14px;font-size:14px;white-space:nowrap}
.cc-sticky-close{flex:none;width:30px;height:30px;border:0;border-radius:6px;background:none;color:#a0a0a0;font-size:20px;line-height:1;cursor:pointer}
.cc-sticky-close:hover{background:#2c2520;color:#fff}

.cc-os-note,.cc-after,.cc-poll{margin:20px 0;padding:18px 20px;border:1px solid #795125;border-radius:12px;background:#211a15;color:#e6e6ea}
.cc-os-note p,.cc-after p,.cc-poll p{margin:0 0 10px;font-size:15px;line-height:1.6;color:#e6e6ea}
.cc-os-note p:last-child,.cc-after p:last-child,.cc-poll p:last-child{margin-bottom:0}
.cc-os-note a,.cc-after a,.cc-poll a{color:#ffb15c}
.cc-note-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 10px}
.cc-note-status{font-size:14px;color:#c9c9cf;overflow-wrap:anywhere}
.cc-after h3,.cc-poll h3{margin:0 0 10px;font-size:18px;line-height:1.35;color:#fff}
.cc-after ol{margin:0 0 12px;padding-left:22px;font-size:15px;line-height:1.7;color:#e6e6ea}
.cc-after li{margin-bottom:4px;color:#e6e6ea}
.cc-after code{color:#f0b77f;background:rgba(255,255,255,.05);padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}
.cc-poll{border-color:#39393e;background:#19191d}
.cc-poll-note{font-size:14px!important;color:#a0a0a0!important}
.cc-poll-options{display:flex;flex-wrap:wrap;gap:8px}
.cc-poll-options button{padding:8px 14px;border:1px solid #4a4a50;border-radius:8px;background:none;color:#f0f0f0;font:inherit;font-size:14px;cursor:pointer}
.cc-poll-options button:hover{border-color:#f77b00;color:#ffb15c}

/* Сначала сами кнопки, пояснения под ними: человек пришёл скачать. */
.free-download{display:flex;flex-direction:column}
.article-body>.free-download{margin:0;padding-top:0}
.article-body>.free-download>h2{order:0;margin-top:16px}
.free-download>h2{order:0}
.free-download>.dl-cards{order:1;margin-top:0}
.free-download>p{order:2}
.free-download>.free-download-note{order:3}
/* Кнопка скачивания сразу под названием сборки, характеристики ниже. */
.dl-card .dl-card-head{order:0}
.dl-card .dl-btn{order:1;margin-top:0}
.dl-card .dl-sha{order:3;margin-top:0}
.dl-card .dl-specs{order:2}

.cc-live{padding:56px 0;background:#121214;border-top:1px solid #2a2a2a;border-bottom:1px solid #2a2a2a}
.cc-live h2{margin:0 0 10px}
.cc-live>.container>p{max-width:760px;margin:0 0 22px;color:#a0a0a0;line-height:1.7}
.en-home .cc-live .container{max-width:1160px;margin:auto;padding:0 24px}
.cc-tool{margin:24px 0}
.cc-live-grid,.cc-try-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.cc-tool h3{margin:0 0 10px;font-size:16px;color:#fff}
.cc-live-status{display:inline-block;margin:0 0 10px;padding:3px 10px;border-radius:6px;background:rgba(61,186,110,.15);color:#7fdca0;font-family:Consolas,monospace;font-size:14px}
.cc-live-json{margin:0;padding:14px 16px;max-height:340px;overflow:auto;border:1px solid #2f2f34;border-radius:10px;background:#0c0c0e;color:#d5d5da;font-family:Consolas,monospace;font-size:14px;line-height:1.55}
.cc-report{margin:0}
.cc-report-summary{margin:0 0 12px;padding:10px 14px;border-radius:8px;font-weight:700;line-height:1.45}
.cc-report-summary.is-ok{background:rgba(61,186,110,.14);color:#8fe3ad}
.cc-report-summary.is-bad{background:rgba(229,83,83,.14);color:#ff9d9d}
.cc-report-lines{margin:0;padding:0;list-style:none;font-size:15px;line-height:1.5}
.cc-report-lines li{display:block;padding:7px 0;border-bottom:1px solid #26262a;color:#d5d5da;overflow-wrap:anywhere}
.cc-report-lines strong{color:#fff}
.cc-report-mark{display:inline-block;width:20px;font-weight:700}
.cc-report-lines .is-ok .cc-report-mark{color:#7fdca0}
.cc-report-lines .is-bad .cc-report-mark{color:#ff8a8a}
.cc-report-note{margin:12px 0 0;font-size:14px;line-height:1.6;color:#a0a0a0}
.cc-tool-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}
.cc-tool .btn{white-space:normal;text-align:center}

.cc-json-input{display:block;box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #3a3a40;border-radius:10px;background:#0c0c0e;color:#e6e6ea;font-family:Consolas,monospace;font-size:14px;line-height:1.5;resize:vertical}
.cc-rule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 32px;gap:6px;margin-bottom:6px}
.cc-rule input,.cc-rule select{box-sizing:border-box;width:100%;min-width:0;padding:8px 10px;border:1px solid #3a3a40;border-radius:8px;background:#0c0c0e;color:#e6e6ea;font:inherit;font-size:14px}
.cc-rule input[hidden]{display:none}
.cc-rule .cc-rule-remove{grid-column:4;grid-row:1;padding:0;border:0;border-radius:6px;background:none;color:#a0a0a0;font-size:20px;line-height:1;cursor:pointer}
.cc-rule .cc-rule-remove:hover{background:#2c2520;color:#fff}
/* Кнопки на страницах статей иначе наследуют серый стиль служебных кнопок. */
.cc-tool button.btn-primary,.cc-after button.btn-primary,.cc-os-note button.btn-primary{background:#f77b00;border:1px solid #f77b00;color:#161616}
.cc-tool button.btn-primary:hover,.cc-os-note button.btn-primary:hover{background:#ff9a2e}
.cc-tool button.btn-ghost,.cc-os-note button.btn-ghost{background:none;border:1px solid #4a4a50;color:#f0f0f0}
.cc-tool button.btn-ghost:hover,.cc-os-note button.btn-ghost:hover{border-color:#f77b00;color:#ffb15c}
.cc-tool a.btn-ghost{color:#f0f0f0;border-color:#4a4a50}
.cc-try-error{margin:8px 0;font-size:14px;line-height:1.5;color:#ffb15c}
.cc-try-error:empty{display:none}
.cc-try-after{margin:16px 0;padding:16px 18px;border:1px solid #795125;border-radius:12px;background:#211a15}
.cc-try-after[hidden]{display:none}
.cc-try-after p{margin:0;line-height:1.6;color:#e6e6ea}
.cc-try-after .cc-tool-actions{margin:12px 0 0}

#cc-audit-file{position:absolute;width:1px;height:1px;opacity:0}
#cc-audit-file:focus-visible+.cc-drop{outline:3px solid #ffab49;outline-offset:3px}
.cc-drop{display:flex;flex-direction:column;gap:6px;padding:28px 20px;border:2px dashed #4a4a50;border-radius:12px;text-align:center;line-height:1.5;color:#a0a0a0;cursor:pointer}
.cc-drop strong{font-size:17px;color:#fff}
.cc-drop:hover,.cc-drop.is-over{border-color:#f77b00;background:#211a15}
.cc-audit-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.cc-audit-facts div{padding:12px 14px;border:1px solid #2f2f34;border-radius:10px;background:#19191d}
.cc-audit-facts dt{margin:0 0 4px;font-size:13px;line-height:1.35;color:#a0a0a0}
.cc-audit-facts dd{margin:0;font-size:24px;font-weight:700;color:#fff}
.cc-audit-notes{margin:0 0 14px;padding-left:20px;line-height:1.6;color:#d5d5da}
.cc-audit-notes li{margin-bottom:6px;color:#d5d5da}

/* Таблицы в статьях: на телефоне прокручиваются внутри своего блока, а не всей страницей. */
.cc-table{margin:16px 0 24px;overflow-x:auto;border:1px solid #2f2f34;border-radius:10px}
.cc-table table{width:100%;min-width:640px;border-collapse:collapse;font-size:14px;line-height:1.5}
.cc-table th,.cc-table td{padding:10px 12px;border-bottom:1px solid #26262a;text-align:left;vertical-align:top;color:#d5d5da}
.cc-table th{background:#19191d;color:#fff;font-weight:700}
.cc-table tr:last-child td{border-bottom:0}

@media(max-width:800px){
  .cc-live-grid,.cc-try-grid{grid-template-columns:minmax(0,1fr)}
  .cc-audit-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cc-live{padding:36px 0}
}
@media(max-width:700px){
  .guide-nav .cc-nav-download{align-self:flex-start}
  .cc-sticky{left:12px;right:12px;bottom:56px;max-width:none;padding-left:14px;font-size:13px}
  /* На телефоне главная длиной в десятки экранов: показываем главное, ссылки остаются доступными. */
  .hero .hero-offer,.hero .hero-note,.hero .hero-proof{display:none}
}
@media(min-width:380px) and (max-width:700px){
  .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
  #guides .features-grid>*:nth-child(n+4){display:none}
}
@media(max-width:560px){
  .cc-sticky>span{display:none}
  .cc-sticky .btn{flex:1;text-align:center;justify-content:center}
  .cc-rule{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;padding-bottom:6px;border-bottom:1px solid #26262a}
  .cc-rule .cc-rule-remove{grid-column:3;grid-row:1}
  .cc-rule input:nth-child(3){grid-column:1/3;grid-row:2}
}
/* Фрагмент строки с ошибкой и указатель на символ: моноширинный, чтобы ^ стоял под нужной позицией. */
.cc-json-snippet{margin:12px 0 0;padding:12px 14px;overflow:auto;border:1px solid #5a2f2f;border-radius:10px;background:#0c0c0e;color:#e6e6ea;font-family:Consolas,monospace;font-size:14px;line-height:1.5;white-space:pre}
/* Просмотр JSON деревом и поле выражения JSONPath. */
.cc-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cc-visually-hidden:focus-visible+label{outline:3px solid #ffab49;outline-offset:3px}
.cc-tool label.btn{cursor:pointer}
.cc-path-input{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #3a3a40;border-radius:8px;background:#0c0c0e;color:#e6e6ea;font-family:Consolas,monospace;font-size:14px}
.cc-tree{margin:8px 0 0;padding:12px 14px;max-height:520px;overflow:auto;border:1px solid #2f2f34;border-radius:10px;background:#0c0c0e;font-family:Consolas,monospace;font-size:14px;line-height:1.6;color:#d5d5da}
.cc-tree details>details,.cc-tree details>.cc-tree-leaf{margin-left:18px}
.cc-tree summary{cursor:pointer;overflow-wrap:anywhere}
.cc-tree-leaf{cursor:pointer;overflow-wrap:anywhere}
.cc-tree-leaf:hover,.cc-tree summary:hover{background:#1c1c20}
.cc-tree-key{color:#ffb15c}
.cc-tree-type{color:#8a8a92}
.cc-tree-string{color:#8fe3ad}
.cc-tree-integer,.cc-tree-number{color:#7fb6ff}
.cc-tree-boolean,.cc-tree-null{color:#d59bff}
.cc-tree-path{margin:10px 0 0;font-size:14px;color:#a0a0a0}
.cc-tree-path[hidden]{display:none}
.cc-tree-path code{color:#fff;overflow-wrap:anywhere}
.cc-tool-actions[hidden]{display:none}
.cc-tool-actions select.cc-path-input{width:auto;min-width:220px;max-width:100%;font-family:inherit}
.cc-tool-actions label{display:inline-flex;align-items:center;gap:6px;color:#d5d5da;font-size:15px}
.cc-table-scroll{margin:10px 0 0;max-height:420px;overflow:auto;border:1px solid #2f2f34;border-radius:10px;background:#0c0c0e}
.cc-csv-preview{border-collapse:collapse;width:100%;font-family:Consolas,monospace;font-size:13px;color:#d5d5da}
.cc-csv-preview th,.cc-csv-preview td{padding:6px 10px;border-bottom:1px solid #2a2a2f;text-align:left;white-space:nowrap}
.cc-csv-preview th{position:sticky;top:0;background:#16161a;color:#ffb15c}
.cc-polygon-docs{margin:0 0 18px;padding-left:22px;color:#d5d5da;font-size:15px;line-height:1.55}
.cc-polygon-endpoints{list-style:none;margin:0 0 12px;padding:0}
.cc-polygon-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #2a2a2f;color:#d5d5da;font-size:14px}
.cc-polygon-row code{font-family:Consolas,monospace;color:#ffb15c;word-break:break-all}
.cc-polygon-row .btn{padding:4px 12px;font-size:13px}
.cc-tool .cc-json-snippet{max-height:360px;overflow:auto;white-space:pre-wrap;word-break:break-word}
.cc-polygon-bug{margin:12px 0;padding:12px 14px;border:1px solid #2f5f3a;border-radius:10px;background:#0f1a12}
.cc-polygon-bug h4{margin:0 0 6px;color:#7ee08f;font-size:15px}
.cc-polygon-bug p{margin:6px 0;color:#d5d5da;font-size:14px;line-height:1.5}
