.section-index { --section-accent: #007d83; }
.section-index__heading { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0 28px; border-top: 3px solid var(--section-accent); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.section-index__heading > div { min-width: 0; }
.section-index__symbol { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 6px; background: #eaf4f3; color: var(--section-accent); }
.section-index__symbol .icon { width: 26px; height: 26px; }
.section-index__heading h1 { font-size: 32px; line-height: 1.2; }
.section-index__intro { max-width: 850px; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.section-index__entrance-band { padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-index__entrances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.section-entrance { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); min-width: 0; padding-block: 8px; }
.section-entrance:hover { text-decoration: none; }
.section-entrance:hover strong { color: var(--blue); text-decoration: underline; }
.section-entrance > span:nth-child(2) { flex: 1; min-width: 0; }
.section-entrance strong { display: block; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.section-entrance small { display: block; color: var(--muted); margin-top: 6px; font-size: 13px; overflow-wrap: anywhere; }
.section-entrance__icon, .section-entrance > .icon { color: var(--section-accent); }
.section-entrance > .icon { width: 18px; flex-basis: 18px; }
.section-index__opening--illustrated { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px 48px; padding-block: 22px; margin-bottom: 24px; border-top: 3px solid var(--section-accent); border-bottom: 1px solid var(--line); }
.section-index__opening--illustrated .section-index__heading { grid-column: 1; padding: 0; margin: 0; border: 0; }
.section-index__opening--illustrated .section-index__entrance-band { grid-column: 1; padding: 0; margin: 0; border: 0; }
.section-index__opening--illustrated .section-index__source { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.section-index--quality .section-index__entrances { grid-template-columns: minmax(0, 1fr); gap: 0; }
.section-index--quality .section-entrance { padding: 14px 0; }
.section-index--quality .section-entrance + .section-entrance { border-top: 1px solid var(--line); }
.section-index__source { margin: 0; }
.section-index__source img { display: block; width: 100%; height: 240px; object-fit: contain; border-radius: 4px; }
.section-index__source figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; }
.section-index__list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-index__list-heading h2 { font-size: 21px; }
.section-index .result-count { flex-shrink: 0; margin: 0; font-size: 13px; color: var(--muted); }
.section-index__note { max-width: 880px; margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.section-index__filters { padding: 16px 0; margin-bottom: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-index__filters label { flex: 0 1 180px; }
.section-index__filters label:first-child { flex: 1 1 240px; }
.section-index__filters .button-link { background: var(--blue); color: #fff; border-color: var(--blue); }
.section-index__filters .button-link:hover { background: var(--blue-dark); }
.section-index__reset { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; }
.section-index__list { list-style: none; padding: 0; margin: 0; }
.section-record { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.section-record__symbol { padding-top: 3px; color: var(--section-accent); }
.section-record__content { min-width: 0; }
.section-record h3 { font-size: 18px; line-height: 1.4; }
.section-record__title { color: var(--ink); overflow-wrap: anywhere; }
.section-record__title:hover { color: var(--blue); }
.section-record__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.section-record__meta time, .section-registry__date { font-variant-numeric: tabular-nums; }
.section-record__summary { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 8px 0 0; max-width: 850px; overflow-wrap: anywhere; font-weight: 400; }
.section-record__detail { display: inline-flex; align-items: center; gap: 8px; align-self: start; min-height: 36px; font-size: 13px; font-weight: 600; }
.section-record__detail .icon { width: 17px; flex-basis: 17px; }
.section-record__files { margin-top: 10px; }
.section-file { display: flex; align-items: baseline; gap: 8px; width: fit-content; max-width: 100%; min-height: 32px; padding-block: 4px; font-size: 13px; }
.section-file .icon { width: 16px; height: 16px; flex-basis: 16px; align-self: flex-start; margin-top: 3px; }
.section-file span { min-width: 0; overflow-wrap: anywhere; }
.section-file small { flex-shrink: 0; color: var(--muted); font-size: 10px; font-weight: 650; }
.section-files-more { margin-top: 4px; font-size: 13px; }
.section-files-more summary { cursor: pointer; color: var(--blue); padding-block: 6px; overflow-wrap: anywhere; }
.section-files-more summary:hover { text-decoration: underline; }
.section-index--services .section-index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 8px; }
.section-index--services .section-record { grid-template-columns: 32px minmax(0, 1fr); height: 100%; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 6px; padding: 24px; background: #fff; }
.section-index--services .section-record__detail { grid-column: 2; align-self: end; }
.section-index--services .section-index__list > li:nth-child(even) .section-record { border-top-color: var(--blue); }
.section-index--documents .section-record { padding-block: 16px; }
.section-index--documents .section-record__symbol { color: #65617a; }
.section-index--tariffs { --section-accent: #075da8; }
.section-index--tariffs .section-record__symbol { color: #687d7a; }
.section-registry { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
.section-registry th, .section-registry td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.section-registry thead { background: #f2f6f6; color: var(--muted); }
.section-registry thead th { font-size: 12px; font-weight: 600; }
.section-registry thead th:first-child { width: 120px; }
.section-registry thead th:nth-child(3) { width: 160px; }
.section-registry thead th:last-child { width: 27%; }
.section-registry tbody th { font-size: 16px; line-height: 1.5; font-weight: 600; }
.section-registry tbody tr:hover { background: #fafbfb; }
.section-registry__status { color: #5c596a; }
.section-registry__mobile-label { display: none; }
.section-registry .section-file:first-child { padding-top: 0; }
.section-index__empty { padding: 32px 0; color: var(--muted); }
.section-index__empty > .icon { margin-bottom: 12px; }
.section-index .pagination { flex-wrap: wrap; }
@media (max-width: 900px) {
    .section-index__entrances { gap: 18px; }
    .section-entrance__icon { display: none; }
    .section-index__opening--illustrated { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px 28px; }
    .section-registry thead th:nth-child(3) { width: 120px; }
    .section-registry th, .section-registry td { padding-inline: 10px; }
}
@media (max-width: 680px) {
    .section-index__heading { gap: 12px; padding-block: 20px; margin-bottom: 20px; }
    .section-index__heading h1 { font-size: 26px; }
    .section-index__symbol { width: 38px; height: 38px; flex-basis: 38px; }
    .section-index__symbol .icon { width: 22px; height: 22px; }
    .section-index__list-heading { flex-wrap: wrap; gap: 8px; }
    .section-index__list-heading h2 { font-size: 20px; }
    .section-index__entrances { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .section-index__opening--illustrated { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .section-index__opening--illustrated .section-index__source { grid-column: 1; grid-row: auto; }
    .section-entrance { padding: 14px 0; }
    .section-entrance + .section-entrance { border-top: 1px solid var(--line); }
    .section-entrance__icon { display: inline; }
    .section-index__source { width: min(100%, 220px); margin-top: 0; }
    .section-index__source img { height: auto; aspect-ratio: 777 / 583; }
    .section-index__filters label { flex: 1 1 120px; }
    .section-index__filters label:first-child { flex-basis: 100%; }
    .section-index__filters .button-link { padding-inline: 12px; }
    .section-record { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
    .section-record h3 { font-size: 17px; }
    .section-record__detail { grid-column: 2; }
    .section-index--services .section-index__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .section-index--services .section-record { padding: 18px; gap: 12px; }
    .section-registry, .section-registry tbody { display: block; }
    .section-registry thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .section-registry tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 18px; border-bottom: 1px solid var(--line); }
    .section-registry th, .section-registry td { padding: 4px 0; border: 0; }
    .section-registry__date { font-size: 12px; color: var(--muted); }
    .section-registry__mobile-label { display: inline; }
    .section-file { min-height: 38px; }
}

/* Documents library: a card per document, file pills with size, numbered pagination. */
.section-index--documents .section-index__filters :is(input, select) { min-height: 44px; border-radius: 6px; }
.section-index--documents .section-index__filters .button-link { min-height: 44px; }
.doc-library__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.section-index--documents .doc-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px 18px; align-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.section-index--documents .doc-card:hover { border-color: #b8d3d5; }
.doc-card__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e8f1ff; color: #1d4f9c; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; overflow: hidden; }
.doc-card__badge .icon { width: 22px; height: 22px; }
.doc-card__body { min-width: 0; }
.doc-card__title { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 600; }
.doc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef4f4; color: #0b5c61; font-size: 12px; font-weight: 600; }
.doc-card__summary { margin: 6px 0 0; max-width: 780px; font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.doc-card__files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.doc-card__files .section-file { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; max-width: 100%; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; }
.doc-card__files .section-file:hover { border-color: var(--blue); text-decoration: none; }
.doc-card__files .section-file .icon { width: 15px; height: 15px; flex-basis: 15px; margin-top: 0; }
.doc-card__files .section-files-more summary { padding-block: 4px; }
.doc-card__detail { align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 600; white-space: nowrap; }
.doc-card__detail:hover { border-color: var(--blue); background: #f3f8fb; text-decoration: none; }
.section-index--documents .pagination { justify-content: space-between; gap: 12px; margin-top: 24px; }
.pagination__pages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination__page { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; }
a.pagination__page:hover { border-color: var(--blue); text-decoration: none; }
.pagination__page.is-current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pagination__gap { display: inline-grid; place-items: center; min-width: 24px; min-height: 40px; color: var(--muted); }
@media (max-width: 680px) {
    .section-index--documents .doc-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .doc-card__badge { width: 44px; height: 44px; font-size: 10px; }
    .doc-card__badge .icon { width: 20px; height: 20px; }
    .doc-card__detail { grid-column: 2; justify-self: start; }
    .doc-card__files .section-file { width: 100%; border-radius: 10px; align-items: flex-start; }
}
