@font-face{font-family:'Roboto';src:url('fonts/Roboto-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:'Roboto';src:url('fonts/Roboto-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}html,body{margin:0;padding:0;overflow-x:auto;background-color:#f1f1f1}h1{font-size:24px;margin:0;font-weight:550;color:#000}body{font-family:'Roboto',sans-serif}strong,b{font-weight:700}main{position:relative}.header-image{width:100%;height:240px;background-color:#262626}@media(max-width:720px){.header-image{height:215px}}@media(min-width:768px){.header-image{height:240px}}.header-container{height:auto;position:relative}.header-text{position:absolute;top:50%;left:5%;transform:translateY(-50%);color:#fff;z-index:2;max-width:90%}.header-text__title{display:block;font-size:clamp(1.4rem,4vw,2.8rem);font-weight:700;line-height:1.1;text-transform:uppercase;letter-spacing:0.02em;margin-bottom:0.1em}.header-text__subtitle{display:block;font-size:clamp(1rem,2.8vw,1.8rem);font-weight:400;line-height:1.2;margin-bottom:0.15em}.header-text__company{display:block;font-size:clamp(0.95rem,2.5vw,1.6rem);font-weight:400;line-height:1.2}@media(max-width:720px){.header-text{left:4%}.header-text__title{font-size:1.9rem}.header-text__subtitle{font-size:1.4rem}.header-text__company{font-size:1.35rem}}#title h1{color:#000;font-size:24px;margin-top:0;font-weight:550;margin-bottom:10px;padding-left:18px;padding-right:18px}#title h2{color:#000;font-size:23px;margin-top:0;font-weight:600;margin-bottom:10px;padding-left:18px;padding-right:18px}.text{background:#fff;border-radius:14px;padding:14px;margin:8px 8px 20px 8px;box-shadow:6px 6px 18px rgba(0,0,0,0.16);font-size:14px;line-height:1.4;color:#222}.text a{color:#0a58ca;text-decoration:none;font-weight:500}.text a:hover{text-decoration:underline}#nav{background-color:#f1f1f1;color:#313131;padding:5px;padding-bottom:35px}#nav h2{margin-left:10px;margin-top:20px;margin-right:0;font-weight:600}#contact{background-color:#373737a2;padding:5px;padding-bottom:35px}#contact h2{color:#fff}.contact-info{display:grid;grid-template-columns:2fr 3fr;grid-gap:1px;margin-bottom:-20px}.contact-item,.contact-item2,.contact-item a{color:#fff;text-decoration:none}.contact-item{margin:-15px 0 0 24px;font-size:14px}.contact-item2{font-size:14px;margin-top:-12px}.contact-item p,.contact-item2 p{margin-top:-15px}.contact-title{margin:12px 0 12px 24px;font-size:22px;color:#fff}.buttons-container{margin:10px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;justify-content:center;align-items:stretch;max-width:520px;margin-left:auto;margin-right:auto;padding:2px 10px;margin-bottom:12px}.breadcrumbs{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 10px;font-size:16px;color:#212121;opacity:1}.breadcrumbs a{color:#212121;text-decoration:underline;text-underline-offset:3px}.breadcrumbs a:first-child{font-size:20px;font-weight:500;margin:0 0 0 10px}.breadcrumbs-sep{opacity:.8}.button{position:relative;padding:0 9px;margin:4px;background-color:#262626;color:#fff;text-decoration:none;border-radius:8px;font-size:16px;min-width:0;white-space:nowrap;display:flex;justify-content:center;align-items:center;text-align:center;overflow:hidden;text-shadow:0 2px 3px rgba(0,0,0,0.6);box-shadow:0 0 8px #fff,0 0 15px #fff;height:44px;width:100%;margin:0}.buttons-container .button{box-shadow:0 2px 10px rgba(0,0,0,0.28)}.button-max{animation:maxBlink 0.8s infinite;background-color:#7c3aed}.button-telegram{background-color:#229ED9;animation:telegramBlink 1s infinite}.button-telegram::before{content:"";display:inline-block;width:18px;height:18px;margin-right:6px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.287 5.906c-.778.324-2.334.994-4.666 2.01-.378.15-.577.298-.595.442-.03.243.275.339.69.47l.175.055c.408.133.958.288 1.243.294.26.006.549-.1.868-.32 2.179-1.471 3.304-2.214 3.374-2.23.05-.012.12-.026.166.016.047.041.042.12.037.141-.03.129-1.227 1.241-1.846 1.817-.193.18-.33.307-.358.336a8.154 8.154 0 0 1-.188.186c-.38.366-.664.64.015 1.088.327.216.589.393.85.571.284.194.568.387.936.629.093.06.183.125.27.187.331.236.63.448.997.414.214-.02.435-.22.547-.82.265-1.417.786-4.486.906-5.751a1.426 1.426 0 0 0-.013-.315.337.337 0 0 0-.114-.217.526.526 0 0 0-.31-.093c-.3.005-.763.166-2.984 1.09z'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;vertical-align:middle}.button-max{background-color:#7C3AED;animation:maxBlink 1s infinite}.button-max::before{content:"";display:inline-block;width:18px;height:18px;margin-right:6px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 322 320' fill='white'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M164 319c-31.5 0-46.2-4.6-71.6-23c-16.1 20.7-67.1 36.9-69.3 9.2c0-20.8-4.6-38.3-9.8-57.5C7 224 0 197.6 0 159.5C0 68.5 74.7 0 163.2 0c88.6 0 158 71.8 158 160.3C321.4 247.4 251.1 318.4 164 319zm1.3-240.3c-43.1-2.2-76.7 27.6-84.1 74.4c-6.1 38.7 4.8 85.9 14 88.3c4.4 1.1 15.6-8 22.6-15c11.5 8 25 12.8 39 13.9c44.6 2.1 82.8-31.8 85.8-76.4c1.7-44.7-32.6-82.6-77.3-85.1z'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;vertical-align:middle}@keyframes maxBlink{0%,100%{background-color:#7C3AED}50%{background-color:#6D28D9}}.button-call{background-color:#4b5563;flex-direction:column;gap:4px;height:auto;min-height:44px;padding-top:4px;padding-bottom:8px}.button-call::after{content:"+7 961 914 6000";font-size:19px;line-height:1;font-weight:500}.buttons-container .button-call{order:0}@media(max-width:720px){.buttons-container{max-width:520px;padding-left:8px;padding-right:18px;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}}.buttons-container .button{padding:0 6px;font-size:13px}.button-call::after{font-size:14px}@keyframes telegramBlink{0%,100%{background-color:#229ED9}50%{background-color:#38bdf8}}.site-sections{padding:10px 20px;text-align:center}.sections-list{list-style:none;padding:0;margin:0;display:inline-flex;gap:12px;flex-wrap:wrap;justify-content:center}.sections-list li{margin:0}.sections-list a{text-decoration:none;color:#333;font-weight:500;display:inline-block}.sections-list a:hover{text-decoration:underline;color:#000}.site-footer{background:#262626;color:#fff;padding:24px 16px;text-align:center}.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:12px}.footer-nav a{color:#ffcc00;text-decoration:none}@media(min-width:900px){.buttons-container{max-width:780px}.buttons-container .button,.buttons-container2 .button{height:auto;min-height:42px}.layout-content{display:grid;grid-template-columns:316px minmax(0,1fr);gap:25px;max-width:2500px;margin:0 auto;padding-left:20px;padding-right:20px;align-items:start}.layout-content>*{min-width:0}#nav{grid-column:1;grid-row:1/-1;align-self:start;position:sticky;height:fit-content;background:#fff;border-radius:14px;padding:14px;margin:10px 0 20px;box-shadow:6px 6px 18px rgba(0,0,0,0.16);font-size:14px;line-height:1.4;color:#222}.layout-content>section:not(#nav){grid-column:2}.text{grid-column:2}#contact{grid-column:2}header,#title,.text,.text-comment,#services,#contact{grid-column:2}#services{border-radius:15px;box-shadow:6px 6px 18px rgba(0,0,0,0.16);line-height:1.4;color:#222;margin-right:0}#nav h2{color:#212121;font-size:30px;font-weight:650;margin:5px 0 0 6px}#contact{border-radius:15px;box-shadow:6px 6px 18px rgba(0,0,0,0.16);line-height:1.4;color:#222;margin:0 0 20px}.button{transition:1s}.contact-item p,.contact-item2 p{margin-top:-15px;margin-bottom:12px}.contact-item{font-size:18px;transition:1s}.contact-item2{font-size:18px;transition:1s}.contact-title{font-size:28px;transition:1s}.sections-list{list-style:none;padding:0;margin:0;display:block;transition:1s}#title h1{color:#212121;font-size:24px;font-weight:550}#title h2{color:#212121;font-size:26px;font-weight:650}#title{margin:15px 0 0 330px}.text{margin:10px 0 0;font-size:18px;line-height:1.6}.sections-list li{margin:7px -20px 7px -20px;transition:1s}.sections-list a{display:block;text-align:left;padding:9px 16px;font-size:17px;color:#2a2a2a;text-decoration:none;background:linear-gradient(#eee,#d8d8d8);border:2px solid #7a7a7a;border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.6),0 3px 6px rgba(0,0,0,0.15);transition:background .3s ease,box-shadow .3s ease,transform .2s ease;transition:1s}.sections-list a:hover{background:#d5d5d5;box-shadow:inset 0 1px 0 rgba(255,255,255,0.7),0 5px 10px rgba(0,0,0,0.2);transform:translateY(-1px)}.sections-list a:active{transform:translateY(1px);box-shadow:inset 0 3px 6px rgba(0,0,0,0.25)}.sections-list a{padding-left:6px;padding-right:2px}}.sections-list a,.sections-list a:hover,.sections-list a:focus,.sections-list a:active{text-decoration:none}.site-footer{background:#262626;color:#fff;padding:24px 16px;text-align:center}.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:12px}.footer-nav a{color:#ffcc00;text-decoration:none}.footer-nav a:hover{text-decoration:underline}.footer-copy{margin:0;font-size:14px;opacity:.8}.license-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1);border:1px solid #ccc}.license-table th{padding:12px 16px;background:#262626;color:#fff;font-weight:600;text-align:left;border:1px solid #444}.license-table td{padding:12px 16px;border:1px solid #ddd;vertical-align:top}.license-table tr:nth-child(even){background:#f9f9f9}.license-table tr:hover{background:#f0f0f0}.license-table td:first-child{font-weight:600}.license-table td p{margin:4px 0}.license-table a{color:#0066cc}.license-table a:hover{text-decoration:underline}@media(max-width:768px){.license-table{font-size:13px;table-layout:fixed;width:100%}.license-table th,.license-table td{padding:8px 10px;word-wrap:break-word;overflow-wrap:break-word}}#faq{background:#fff;border-radius:14px;padding:20px;margin:20px 8px;box-shadow:6px 6px 18px rgba(0,0,0,0.16)}#faq h2{margin:0 0 20px;color:#262626;font-size:1.5rem;font-weight:600}.faq-item{border:1px solid #e0e0e0;border-radius:12px;margin-bottom:12px;overflow:hidden;background:#fafafa;transition:box-shadow .3s ease}.faq-item:last-child{margin-bottom:0}.faq-item:hover{box-shadow:0 4px 12px rgba(0,0,0,0.1)}.faq-item summary{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;cursor:pointer;list-style:none;background:#fff;font-weight:500;font-size:16px;color:#262626;transition:background .2s ease;-webkit-tap-highlight-color:transparent}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary::after{content:"";width:10px;height:10px;border-right:2px solid #666;border-bottom:2px solid #666;transform:rotate(45deg);transition:transform .3s ease;flex-shrink:0;margin-left:16px}.faq-item[open] summary::after{transform:rotate(-135deg)}.faq-item summary:hover{background:#f5f5f5}.faq-item[open] summary{border-bottom:1px solid #e0e0e0}.faq-answer{padding:16px 20px;color:#444;line-height:1.6;font-size:15px;background:#fafafa}.faq-answer p{margin:0}.faq-answer a{color:#0066cc;text-decoration:none}.faq-answer a:hover{text-decoration:underline}@media(max-width:768px){#faq{padding:14px;margin:20px 8px}#faq h2{font-size:1.3rem}.faq-item summary{padding:14px 16px;font-size:15px}.faq-answer{padding:14px 16px;font-size:14px}}@media(min-width:900px){#faq{margin:20px 0}.faq-item summary{font-size:17px;padding:18px 24px}.faq-answer{padding:18px 24px;font-size:16px}}
/* knowledge:start */
/* База знаний Амедика Дагестан: дополнения без изменения сетки и меню услуг. */
body.knowledge-page .header-image { background-image: url('/assets/header4.webp'); }
.knowledge-page .breadcrumbs { flex-wrap: wrap; box-sizing: border-box; padding: 0 12px; }
.knowledge-content { overflow-wrap: anywhere; }
.knowledge-content ul { list-style: disc; padding-left: 1.5em; }
.knowledge-content ol { padding-left: 1.5em; }
.article-meta, .knowledge-list time { color: #555; font-size: .9em; }
.article-figure { display: block; margin: 16px auto 24px; max-width: 560px; width: 100%; float: none; text-align: center; }
.article-figure img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; margin: 0 auto; border-radius: 14px; }
.article-figure figcaption { margin-top: 8px; font-size: 13px; color: #666; text-align: center; }
@media (max-width: 640px) {
    .article-figure { max-width: 100%; margin: 16px 0 24px; }
}
.knowledge-group { border-top: 1px solid #ddd; margin-top: 24px; padding-top: 8px; }
.knowledge-group h3 { margin-bottom: 4px; }
#related-articles { border-top: 1px solid #ddd; margin-top: 20px; padding-top: 4px; }
#related-articles ul { padding-left: 1.5em; }

/* Кнопка «База знаний» в меню: слегка бирюзовая заливка, форма и рамка как у соседних серых (≥900px) */
.sections-list a.nav-baza-all { background: #d6eef0; border-radius: 8px; padding: 2px 8px; }
@media (min-width: 900px) {
  .sections-list a.nav-baza-all { background: linear-gradient(#d6eef0, #b8dce0); border-radius: 12px; padding: 9px 2px 9px 6px; }
  .sections-list a.nav-baza-all:hover { background: #b5d6da; }
}

/* Таблицы в статьях (раздел J, 09.11.2026): тонкие скруглённые границы, бледно-бирюзовые названия столбцов и строк */
.knowledge-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 24px; }
.knowledge-content table.kb-table { width: 100%; min-width: 520px; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid #b7d5d9; border-radius: 10px; overflow: hidden; font-size: .95em; line-height: 1.45; }
.knowledge-content table.kb-table th, .knowledge-content table.kb-table td { padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: break-word; word-break: normal; hyphens: auto; border-right: 1px solid #b7d5d9; border-bottom: 1px solid #b7d5d9; }
.knowledge-content table.kb-table tr > :last-child { border-right: 0; }
.knowledge-content table.kb-table tbody tr:last-child > * { border-bottom: 0; }
.knowledge-content table.kb-table thead th { background: #e8f5f6; font-weight: 600; border-bottom: 2px solid #8fbfc5; }
.knowledge-content table.kb-table tbody th, .knowledge-content table.kb-table tbody th[scope="row"] { background: #f4fafb; font-weight: 600; }
.knowledge-content table.kb-table td { background: #fff; }
.knowledge-content table.kb-table thead th:first-child { width: 26%; }
/* knowledge:end */


/* Этап 3, 13.11.2026: мобильная читаемость (ориентир — главная Дагестана)
   и быстрые ссылки «База знаний» / «Справочник» под кнопками связи.
   Кнопки «Позвонить», Telegram, Max и хедер не менялись. */
.quick-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 12px 6px;
}
.quick-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 140px;
    max-width: 320px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-sizing: border-box;
}
.quick-nav a.nav-baza-all {
    background: linear-gradient(#d6eef0, #b8dce0);
    color: #123;
    border: 2px solid #7aa3a8;
}
.quick-nav a.nav-spravochnik {
    background: linear-gradient(#117A80, #0D7377);
    color: #ffffff;
    border: 2px solid #0A5C60;
}
.quick-nav a:hover,
.quick-nav a:focus-visible {
    text-decoration: none;
    filter: brightness(0.97);
}
@media (max-width: 899px) {
    .text {
        font-size: 17px;
        line-height: 1.55;
    }
    .text a {
        display: inline;
        padding: 0;
        margin: 0;
        min-height: 0;
        min-width: 0;
    }
    .text ul {
        list-style: disc;
        padding-left: 1.25em;
        margin: 0.35em 0 0.8em;
    }
    .text li {
        margin: 0 0 0.35em;
        padding: 0;
        line-height: 1.45;
    }
}

/* t707u / t698u: единый стиль таблиц на всех страницах, включая старые.
   Тонкие границы ячеек, скругление 8px, первая строка #d9f2f0,
   разделитель 2px под первой строкой, горизонтальный скролл на мобильном. */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.table-scroll > table { margin: 0; }

main table,
article table,
.sp-wrap table,
.knowledge-content table,
.license-table,
.kb-table,
.sp-table,
.content table,
.table-scroll table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #b7d5d9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin: 16px 0;
  box-shadow: none;
}
main table th,
main table td,
article table th,
article table td,
.sp-wrap table th,
.sp-wrap table td,
.knowledge-content table th,
.knowledge-content table td,
.license-table th,
.license-table td,
.kb-table th,
.kb-table td,
.sp-table th,
.sp-table td,
.table-scroll table th,
.table-scroll table td {
  border-right: 1px solid #b7d5d9;
  border-bottom: 1px solid #b7d5d9;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  color: inherit;
}
main table tr > *:last-child,
article table tr > *:last-child,
.sp-wrap table tr > *:last-child,
.knowledge-content table tr > *:last-child,
.license-table tr > *:last-child,
.kb-table tr > *:last-child,
.sp-table tr > *:last-child,
.table-scroll table tr > *:last-child { border-right: none; }

main table tr:last-child > *,
article table tr:last-child > *,
.sp-wrap table tr:last-child > *,
.knowledge-content table tr:last-child > *,
.license-table tr:last-child > *,
.kb-table tr:last-child > *,
.sp-table tr:last-child > *,
.table-scroll table tr:last-child > * { border-bottom: none; }

/* Первая строка: thead или первая tr, если thead нет */
main table thead th,
main table thead td,
article table thead th,
article table thead td,
.sp-wrap table thead th,
.knowledge-content table thead th,
.license-table thead th,
.kb-table thead th,
.sp-table thead th,
.table-scroll table thead th,
main table:not(:has(thead)) > tbody > tr:first-child > th,
main table:not(:has(thead)) > tbody > tr:first-child > td,
main table:not(:has(thead)) > tr:first-child > th,
main table:not(:has(thead)) > tr:first-child > td,
article table:not(:has(thead)) > tbody > tr:first-child > th,
article table:not(:has(thead)) > tbody > tr:first-child > td,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > td,
.license-table:not(:has(thead)) > tbody > tr:first-child > th,
.license-table:not(:has(thead)) > tbody > tr:first-child > td,
.license-table:not(:has(thead)) > tr:first-child > th,
.license-table:not(:has(thead)) > tr:first-child > td,
.kb-table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-table:not(:has(thead)) > tbody > tr:first-child > th,
.sp-table:not(:has(thead)) > tbody > tr:first-child > td,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > th,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > td,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > th,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > td {
  background: #d9f2f0 !important;
  color: #1a2f2e !important;
  font-weight: 600;
}

main table thead tr:last-child > *,
article table thead tr:last-child > *,
.sp-wrap table thead tr:last-child > *,
.knowledge-content table thead tr:last-child > *,
.license-table thead tr:last-child > *,
.kb-table thead tr:last-child > *,
.table-scroll table thead tr:last-child > *,
main table:not(:has(thead)) > tbody > tr:first-child > *,
main table:not(:has(thead)) > tr:first-child > *,
article table:not(:has(thead)) > tbody > tr:first-child > *,
.sp-wrap table:not(:has(thead)) > tbody > tr:first-child > *,
.license-table:not(:has(thead)) > tbody > tr:first-child > *,
.license-table:not(:has(thead)) > tr:first-child > *,
.sp-table:not(:has(thead)) > tbody > tr:first-child > *,
.kb-table:not(:has(thead)) > tbody > tr:first-child > *,
.knowledge-content table:not(:has(thead)) > tbody > tr:first-child > *,
.table-scroll table:not(:has(thead)) > tbody > tr:first-child > * {
  border-bottom: 2px solid #7eb8b4;
}

/* Левая колонка характеристик (не первая строка) — без бирюзовой заливки всей колонки */
.sp-table th { width: 42%; background: transparent; font-weight: 600; }

/* t707u: аккордеоны FAQ на details/summary, без тяжёлого JS */
.sp-faq details,
.sp-acc details,
details.faq-item {
  margin: 0 0 10px;
  border: 1px solid #b7d5d9;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.sp-faq details:last-child,
.sp-acc details:last-child,
details.faq-item:last-child { margin-bottom: 0; }

.sp-faq summary,
.sp-acc summary,
details.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  background: #d9f2f0;
  font-weight: 600;
  color: #1a2f2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.sp-faq summary::-webkit-details-marker,
.sp-acc summary::-webkit-details-marker,
details.faq-item > summary::-webkit-details-marker { display: none; }
.sp-faq summary::marker,
.sp-acc summary::marker,
details.faq-item > summary::marker { content: ""; }

.sp-faq summary::after,
.sp-acc summary::after,
details.faq-item > summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.4em;
  text-align: center;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1;
  color: #0D7377;
}
.sp-faq details[open] > summary::after,
.sp-acc details[open] > summary::after,
details.faq-item[open] > summary::after { content: "\2212"; }

.sp-faq details > *:not(summary),
.sp-acc details > *:not(summary),
details.faq-item > *:not(summary) {
  padding: 12px 16px 16px;
  margin: 0;
}
.sp-faq details > *:not(summary) + *,
.sp-acc details > *:not(summary) + * { padding-top: 0; }

/* Старые FAQ на div+JS: тот же вид, без тяжёлой синей заливки активного пункта */
.faq-item {
  border: 1px solid #b7d5d9 !important;
  border-radius: 8px;
  margin-bottom: 10px !important;
  overflow: hidden;
  box-shadow: none !important;
}
.faq-item.active { border-color: #7eb8b4 !important; }
.faq-question {
  padding: 12px 16px !important;
  background: #d9f2f0 !important;
  color: #1a2f2e !important;
}
.faq-item.active .faq-question {
  background: #c5ebe8 !important;
  color: #1a2f2e !important;
}
.faq-icon {
  background: transparent !important;
  border: none !important;
  color: #0D7377 !important;
  width: auto !important;
  height: auto !important;
  font-size: 1.15em !important;
  font-weight: 700 !important;
}
.faq-item.active .faq-icon { transform: none !important; color: #0D7377 !important; }

@media (max-width: 640px) {
  .table-scroll { margin: 12px 0; }
  main table th, main table td,
  .sp-table th, .sp-table td,
  .license-table th, .license-table td,
  .knowledge-content table th, .knowledge-content table td {
    padding: 8px 8px;
    font-size: 15px;
  }
}

/* 1.02 (Дагестан, М-06): блок «Коротко» вне справочника */
.sp-korotko{background:#F7F9FA;border-left:4px solid #0D7377;padding:12px 16px;margin:0 0 20px}
.sp-korotko p{margin:0}

/* 1.02 (Дагестан, М-18): уведомление о cookie */
.cookie-note{position:fixed;left:12px;right:12px;bottom:12px;z-index:100;max-width:720px;margin:0 auto;display:flex;gap:12px;align-items:center;padding:12px 16px;background:#262626;color:#fff;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.3);font-size:14px;line-height:1.4}
.cookie-note p{margin:0;flex:1 1 auto}
.cookie-note a{color:#9fd8ff}
.cookie-note__ok{flex:0 0 auto;min-height:44px;padding:0 16px;border:0;border-radius:8px;background:#0E6FA3;color:#fff;font-size:15px;cursor:pointer}
/* 1.02 (Дагестан, М-17): контраст кнопки Telegram с белым текстом (#229ED9 → #0E6FA3), мигание сохранено */
.button-telegram{background-color:#0E6FA3}
@keyframes telegramBlink{0%,100%{background-color:#0E6FA3}50%{background-color:#1479B0}}

/* 1.03 (Дагестан, Рентген 2): контраст ссылок в строке NAP подвала */
.footer-nap a{color:#ffcc00}
/* 1.03 (Дагестан, Рентген 2): длинные адреса ссылок переносятся на узком экране */
.text a,#faq a{overflow-wrap:anywhere}
