

/* Start:/upload/instruktsiya/ru/instruktsiya.css?179622247611850*/
/* Инструкция «ВЭД онлайн» — минимальные стили. Подключить один раз на страницах /ru/calculator/instruktsiya/*.
   Все правила под префиксом .instr — не конфликтуют с шаблоном сайта. */
.instr { --instr-accent:#2f9e6b; --instr-blue:#3b5bab; --instr-border:#e3e7ef; --instr-muted:#6b7385;
  --instr-tip:#eaf6f0; --instr-important:#fff6e5; --instr-limit:#fdecec; max-width:1240px; margin:0 auto; line-height:1.6; }
.instr h1 { font-size:2rem; line-height:1.25; margin:.5rem 0 .75rem; }
.instr h2 { font-size:1.5rem; margin:2.5rem 0 .75rem; scroll-margin-top:96px; }
.instr h3 { font-size:1.2rem; margin:1.75rem 0 .5rem; scroll-margin-top:96px; }
.instr h4 { font-size:1.05rem; margin:1.25rem 0 .5rem; scroll-margin-top:96px; }
.instr [id] { scroll-margin-top:96px; }
.instr-legacy-anchor { display:block; height:0; overflow:hidden; }
.instr-breadcrumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:.25rem; padding:0; margin:0; font-size:.875rem; color:var(--instr-muted); }
.instr-breadcrumbs li + li::before { content:"/"; margin-right:.25rem; }
.instr-lead { font-size:1.1rem; }
.instr-updated { color:var(--instr-muted); font-size:.875rem; }
.instr-answer { font-weight:500; }

/* Раскладка: контент + закреплённое оглавление */
.instr-layout { display:block; }
@media (min-width:1200px) {
  .instr-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:40px; align-items:start; }
  .instr-toc { position:sticky; top:24px; max-height:calc(100vh - 48px); overflow:auto; }
}
.instr-toc { border:1px solid var(--instr-border); border-radius:12px; padding:12px 16px; margin:1rem 0; background:#fff; font-size:.9rem; }
.instr-toc__title { font-weight:600; cursor:pointer; }
/* Нумерация оглавления — счётчиком внутри ссылки: номер и название всегда в одной строке,
   независимо от стилей списков шаблона сайта */
.instr .instr-toc__list, .instr .instr-toc__list ol { list-style:none !important; margin:.5rem 0 0 !important; padding:0 !important; counter-reset:toc; }
.instr .instr-toc__list li { list-style:none !important; margin:0 !important; padding:0 !important; counter-increment:toc; }
.instr .instr-toc__list li::before, .instr .instr-toc__list li::marker { content:none !important; }
.instr .instr-toc__list ol { font-size:.85rem; padding-left:2rem !important; margin-top:.15rem !important; }
.instr .instr-toc a { color:inherit; text-decoration:none; display:flex !important; gap:.4rem; padding:3px 0; line-height:1.35; }
.instr .instr-toc__list > li > a::before { content:counter(toc) "."; flex:0 0 1.6rem; color:var(--instr-muted); font-variant-numeric:tabular-nums; }
.instr-toc a:hover { color:var(--instr-blue); }
.instr-toc a.is-active { color:var(--instr-accent); font-weight:600; }

/* Шаги и маркеры */
.instr .instr-steps > li, .instr .instr-markers > li { margin:.35rem 0; }
.instr .instr-steps { padding-left:1.6rem !important; }
/* Номера маркеров со скриншотов: красный кружок в отступе пункта, текст выровнен по одной линии */
.instr .instr-markers { counter-reset:mk; list-style:none !important; padding:0 !important; margin:.75rem 0 !important; }
.instr .instr-markers > li { counter-increment:mk; position:relative; list-style:none !important; padding:0 0 0 2.25rem !important; margin:.5rem 0 !important; min-height:1.6rem; }
.instr .instr-markers > li::marker { content:none; }
.instr .instr-markers > li::before { content:counter(mk); position:absolute; left:.1rem; top:.1rem; width:1.5rem; height:1.5rem; border-radius:50%;
  background:#e53935; color:#fff; font-size:.8rem; font-weight:700; line-height:1.5rem; text-align:center; box-sizing:border-box; }

/* Выноски */
.callout { border-radius:10px; padding:12px 16px; margin:1rem 0; border-left:4px solid; }
.callout p { margin:.25rem 0; }
.callout__title { font-weight:700; }
.callout--tip { background:var(--instr-tip); border-color:var(--instr-accent); }
.callout--important { background:var(--instr-important); border-color:#f0a020; }
.callout--limit { background:var(--instr-limit); border-color:#e53935; }

/* Метки доступности */
.badge { display:inline-block; font-size:.8rem; padding:2px 10px; border-radius:999px; margin:0 .25rem .25rem 0; }
.badge--guest { background:var(--instr-tip); color:#1d6b47; }
.badge--auth { background:#eaf0fb; color:var(--instr-blue); }

.instr-prepare { background:#f6f8fb; border-radius:10px; padding:10px 16px; margin:1rem 0; }
.instr-prepare__title { font-weight:600; margin:.25rem 0; }

/* Таблицы */
.instr-table-wrap { overflow-x:auto; margin:1rem 0; -webkit-overflow-scrolling:touch; }
.instr-table { border-collapse:collapse; width:100%; min-width:560px; font-size:.92rem; }
.instr-table caption { text-align:left; font-weight:600; padding:.25rem 0 .5rem; }
.instr-table th, .instr-table td { border:1px solid var(--instr-border); padding:8px 10px; vertical-align:top; text-align:left; }
.instr-table thead th { background:#f6f8fb; }
.instr-table tbody th { white-space:nowrap; }

/* Иллюстрации */
.instr-fig { margin:1.25rem 0; }
.instr-fig img { max-width:100%; height:auto; border:1px solid var(--instr-border); border-radius:8px; }
.instr-fig figcaption { font-size:.875rem; color:var(--instr-muted); margin-top:.35rem; }

/* Раскрывающиеся блоки */
.instr-details { border:1px solid var(--instr-border); border-radius:10px; padding:0 16px; margin:.75rem 0; }
/* Своя стрелка вместо системного маркера: не выходит за рамку блока */
.instr .instr-details > summary { cursor:pointer; font-weight:600; padding:12px 0 12px 1.6rem !important; list-style:none !important; display:block; position:relative; }
.instr .instr-details > summary::-webkit-details-marker { display:none; }
.instr .instr-details > summary::marker { content:none; }
.instr .instr-details > summary::before { content:""; position:absolute; left:.2rem; top:50%; width:.5rem; height:.5rem; margin-top:-.3rem;
  border-right:2px solid var(--instr-blue); border-bottom:2px solid var(--instr-blue); transform:rotate(-45deg); transition:transform .15s; }
.instr .instr-details[open] > summary::before { transform:rotate(45deg); }
.instr-details[open] > summary { border-bottom:1px solid var(--instr-border); margin-bottom:.5rem; }

/* Глоссарий: термин выделен, пояснение с отступом */
.instr .instr-glossary { margin:1rem 0; }
.instr .instr-glossary dt { font-weight:700 !important; color:var(--instr-blue); margin:1rem 0 .15rem; }
.instr .instr-glossary dd { margin:0 0 .5rem 0 !important; padding-left:1rem; border-left:3px solid var(--instr-border); }

/* Быстрые переходы по главным разделам (кнопки под заголовком) */
.instr .instr-quicknav { display:flex; flex-wrap:wrap; gap:8px; margin:1rem 0 1.25rem !important; padding:0 !important; list-style:none !important; }
.instr .instr-quicknav li { list-style:none !important; margin:0 !important; padding:0 !important; }
.instr .instr-quicknav li::marker { content:none; }
.instr .instr-quicknav a { display:inline-block; padding:8px 16px; border:1px solid var(--instr-blue); border-radius:8px; color:var(--instr-blue);
  font-size:.92rem; font-weight:600; text-decoration:none; line-height:1.3; background:#fff; }
.instr .instr-quicknav a:hover, .instr .instr-quicknav a:focus-visible { background:var(--instr-blue); color:#fff; }
.instr .instr-quicknav a[aria-current="page"] { background:var(--instr-blue); color:#fff; }

/* Кнопка «Наверх»: закреплена справа внизу, выше кнопки чата поддержки сайта */
.instr .instr-totop { position:fixed; right:24px; bottom:96px; z-index:900; width:48px; height:48px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; background:var(--instr-blue); color:#fff !important; text-decoration:none !important;
  font-size:22px; line-height:1; box-shadow:0 4px 14px rgba(29,36,51,.25); transition:opacity .2s, visibility .2s; }
.instr .instr-totop:hover, .instr .instr-totop:focus-visible { background:#2f4a8f; }
.instr .instr-totop.is-hidden { opacity:0; visibility:hidden; }
.instr-visually-hidden { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Навигация внизу раздела */
.instr-next { display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; margin:1.5rem 0 0; padding-top:.75rem; border-top:1px dashed var(--instr-border); font-size:.92rem; }
.instr-next__link { font-weight:600; }
.instr-next__open { margin-left:auto; }
.instr-backlink { font-size:.9rem; }

@media (max-width:767px) {
  .instr h1 { font-size:1.6rem; }
  .instr h2 { font-size:1.3rem; }
  .instr-next__open { margin-left:0; }
  .instr-toc__details:not([open]) { margin-bottom:0; }
  .instr .instr-quicknav li { flex:1 1 calc(50% - 8px); display:flex; }
  .instr .instr-quicknav a { flex:1; display:flex; align-items:center; justify-content:center; text-align:center; padding:8px 10px; }
  .instr .instr-totop { right:16px; bottom:84px; width:44px; height:44px; }
}
@media print {
  .instr-toc, .instr-next, .instr-backlink, .instr-quicknav, .instr-totop { display:none !important; }
  .instr-details { border:0; padding:0; }
}
.instr-note { font-size:.85rem; color:var(--instr-muted); }

/* Внутренние блоки: видны только в полной (внутренней) версии; из клиентской сборки удаляются */
.instr-internal { background:#fff8e1; outline:1px dashed #f0a020; outline-offset:2px; }
tr.instr-internal td { background:#fff8e1; }
.instr .instr-footnote { font-size:.85rem; color:var(--instr-muted); }
.instr-internal-badge { display:inline-block; font-size:.75rem; font-weight:700; color:#8a5a00; background:#ffe9b0; border-radius:4px; padding:1px 6px; margin-right:.4rem; vertical-align:middle; }

/* 27.11.2026: на сайте стили шаблона перебивали отступ пунктов с номерами-маркерами (номер наезжал на текст).
   Повышенная специфичность через id статьи, чтобы правила темы Битрикса не обнуляли отступ. */
#instr-top ol.instr-markers, article.instr ol.instr-markers { list-style:none !important; padding:0 !important; margin:.75rem 0 !important; }
#instr-top ol.instr-markers > li, article.instr ol.instr-markers > li {
  position:relative !important; display:block !important; list-style:none !important;
  padding:0 0 0 2.25rem !important; margin:.5rem 0 !important; text-indent:0 !important; min-height:1.6rem; }
#instr-top ol.instr-markers > li::before, article.instr ol.instr-markers > li::before {
  content:counter(mk) !important; position:absolute !important; left:.1rem !important; top:.1rem !important;
  width:1.5rem !important; height:1.5rem !important; margin:0 !important; padding:0 !important; border-radius:50% !important;
  background:#e53935 !important; color:#fff !important; font-size:.8rem !important; font-weight:700 !important;
  line-height:1.5rem !important; text-align:center !important; box-sizing:border-box !important; }
/* Иконка интерфейса внутри текста (вместо символа ☰, которого нет в шрифте сайта) */
.instr .instr-ico { display:inline-block; vertical-align:-.25em; width:1.1em; height:1.1em; color:currentColor; }

/* End */
/* /upload/instruktsiya/ru/instruktsiya.css?179622247611850 */
