.t3 {
                background: #eef4fb;
            }

            .t3 .page-core {
                max-width: 1160px;
                margin: 0 auto;
                padding: 8px 18px 60px;
            }

            .t3 .wrap {
                display: grid;
                grid-template-columns: 246px 1fr;
                gap: 30px;
                align-items: start;
            }

            .t3 .toc {
                position: sticky;
                top: 14px;
                background: #fff;
                border: 1px solid #e3ecf7;
                border-radius: 16px;
                padding: 14px;
                box-shadow: 0 6px 20px rgba(25,50,110,.08);
            }

            .t3 .toc h4 {
                margin: 0 0 8px;
                font-size: 13px;
                text-transform: uppercase;
                letter-spacing: .6px;
                color: #64748b;
                padding: 0 8px;
            }

            .t3 .toc a {
                display: block;
                padding: 7px 10px;
                border-radius: 9px;
                color: #243b55;
                text-decoration: none;
                font-size: 13.5px;
                margin: 2px 0;
            }

            .t3 .toc a:hover {
                background: #e8f1fe;
                color: #0b57d0;
            }

            .t3 .toc a .n {
                color: #0b57d0;
                font-weight: 700;
                margin-right: 7px;
            }

            .t3 .rightcol {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }

            .t3 .sect {
                background: #fff;
                border-radius: 18px;
                padding: 24px 26px;
                position: relative;
                overflow: hidden;
                border: 1px solid #e7edf5;
                box-shadow: 0 6px 22px rgba(25,50,110,.06);
            }

            .t3 .wm {
                position: absolute;
                right: -10px;
                top: -10px;
                width: 40%;
                height: 100%;
                background-repeat: no-repeat;
                background-position: 100% 0;
                background-size: cover;
                opacity: .32;
                pointer-events: none;
            }

            .t3 .sect>* {
                position: relative;
            }

            .t3 .sh {
                display: flex;
                align-items: center;
                gap: 12px;
                margin-bottom: 15px;
                padding-bottom: 12px;
                border-bottom: 2px solid #eaf1fa;
            }

            .t3 .sh .ic {
                width: 40px;
                height: 40px;
                flex: none;
                border-radius: 11px;
                color: #fff;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: linear-gradient(145deg,#0b57d0,#2f7fe0);
            }

            .t3 .sh h2 {
                margin: 0;
                font-size: 19px;
                color: #12305a;
            }

            .t3 .sh .k {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 1px;
                color: #0b57d0;
                margin-left: auto;
            }

            .t3 .who-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }

            .t3 .who-blue {
                background: #e9f2fd;
                border: 1px solid #cfdef5;
                border-radius: 14px;
                padding: 16px 18px;
            }

            .t3 .who-pink {
                background: #fbeef2;
                border: 1px solid #f3d2dc;
                border-radius: 14px;
                padding: 16px 18px;
            }

            .t3 .who-h {
                margin-bottom: 6px;
            }

            .t3 .badge {
                display: inline-block;
                font-size: 11px;
                font-weight: 700;
                border-radius: 20px;
                padding: 2px 10px;
                margin-bottom: 6px;
            }

            .t3 .badge.sv {
                background: #dbe7fb;
                color: #0b4aa0;
            }

            .t3 .badge.fm {
                background: #f4d7e0;
                color: #9d3151;
            }

            .t3 .who h3 {
                margin: 0 0 6px;
                font-size: 15px;
                color: #12305a;
            }

            .t3 .intro {
                font-size: 13px;
                color: #4a617f;
                margin: 0 0 8px;
            }

            .t3 ul {
                margin: 6px 0;
                padding-left: 20px;
            }

            .t3 li {
                margin: 6px 0;
            }

            .t3 ol.ways {
                list-style: none;
                counter-reset: w;
                margin: 0;
                padding: 0;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }

            .t3 ol.ways>li {
                counter-increment: w;
                position: relative;
                background: #f5f9ff;
                border: 1px solid #e3ecf7;
                border-radius: 12px;
                padding: 12px 14px 12px 46px;
            }

            .t3 ol.ways>li:before {
                content: counter(w);
                position: absolute;
                left: 12px;
                top: 50%;
                transform: translateY(-50%);
                width: 26px;
                height: 26px;
                background: #0b57d0;
                color: #fff;
                font-weight: 700;
                border-radius: 50%;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 13px;
            }

            .t3 ol.ways b {
                color: #12305a;
            }

            .t3 ol.ways .sdesc {
                display: block;
                font-size: 12.5px;
                color: #4a617f;
            }

            .t3 .notice {
                border-radius: 12px;
                padding: 13px 16px;
                margin: 14px 0 4px;
                font-size: 14px;
            }

            .t3 .notice-red {
                background: #fdeaea;
                border-left: 5px solid #d93025;
            }

            .t3 .notice-blue {
                background: #e4eefb;
                border-left: 5px solid #0b57d0;
            }

            .t3 .res-tiles {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 14px;
            }

            .t3 .rt {
                border-radius: 12px;
                padding: 14px 16px;
                display: flex;
                gap: 10px;
                align-items: flex-start;
            }

            .t3 .rt.ok {
                background: #e9f7ee;
                border: 1px solid #bfe6cd;
            }

            .t3 .rt.no {
                background: #fdecec;
                border: 1px solid #f3c3c5;
            }

            .t3 .ri {
                font-weight: 800;
            }

            .t3 .terms {
                display: flex;
                gap: 14px;
                flex-wrap: wrap;
            }

            .t3 .tbig {
                flex: 1;
                min-width: 200px;
                background: #eaf3fe;
                border-radius: 14px;
                padding: 14px 16px;
            }

            .t3 .tbig.tgreen {
                background: #e9f6ee;
            }

            .t3 .tbig b {
                font-size: 30px;
                color: #0b57d0;
                margin-right: 7px;
            }

            .t3 .tbig.tgreen b {
                color: #188038;
            }

            .t3 .tbig span {
                font-weight: 700;
            }

            .t3 .tbig p {
                margin: 6px 0 0;
                color: #4a617f;
                font-size: 13px;
            }

            .t3 .mock {
                margin: 16px 0 4px;
                background: #fbfdff;
                border: 1px solid #dfe8f2;
                border-radius: 14px;
                padding: 20px 26px 16px;
                font-family: Georgia,'Times New Roman',serif;
            }

            .t3 .mock .m-gerb {
                display: block;
                width: 62px;
                height: auto;
                margin: 0 auto 4px;
            }

            .t3 .mock .m-title {
                text-align: center;
                font-size: 26px;
                font-weight: 700;
                letter-spacing: .35em;
                text-indent: .35em;
                line-height: 1.15;
                margin: 0 0 2px;
                color: #111;
            }

            .t3 .mock .m-sub {
                text-align: center;
                font-size: 13.5px;
                font-weight: 700;
                line-height: 1.5;
                margin: 0 0 16px;
                color: #111;
            }

            .t3 .mock .m-meta {
                display: flex;
                justify-content: space-between;
                align-items: baseline;
                gap: 12px;
                padding: 0 8%;
                margin: 0 0 10px;
            }

            .t3 .mock .m-meta b {
                font-size: 14.5px;
                white-space: nowrap;
            }

            .t3 .mock .m-meta span {
                font-size: 11.5px;
                color: #222;
            }

            .t3 .mock .m-about {
                font-size: 13px;
                color: #111;
            }

            .t3 .mock p {
                text-align: justify;
                line-height: 1.75;
                font-size: 13.2px;
                text-indent: 3.2em;
                margin: 4px 0 6px;
            }

            .t3 .mock figcaption {
                margin-top: 8px;
            }

            .t3 mark.m652,.t3 mark.m81 {
                -webkit-box-decoration-break: clone;
                box-decoration-break: clone;
            }

            .t3 mark.m652 {
                color: rgb(102 102 102);
                background: #fdecec;
                box-shadow: 0 0 0 3px #d93025;
            }

            .t3 mark.m81 {
                color: rgb(102 102 102);
                background: #e9eefb;
                box-shadow: 0 0 0 3px #8190c9;
            }

            /* tabs */
            .t3 .sec {
                overflow: hidden;
                border-radius: 16px;
                border: 1px solid #e7edf5;
                background: #f8fbfe;
            }

            .t3 .tabs {
                display: flex;
                background: #0b2e63;
                padding: 6px;
            }

            .t3 .tab-btn {
                flex: 1;
                border: 0;
                background: transparent;
                color: #cdd9ec;
                font-weight: 700;
                font-size: 14px;
                padding: 11px 12px;
                border-radius: 11px;
                cursor: pointer;
            }

            .t3 .tab-btn.active {
                background: #0b57d0;
                color: #fff;
            }

            .t3 .tab-panel {
                display: none;
                padding: 6px 0;
            }

            .t3 .tab-panel.active {
                display: block;
            }

            .t3 details.acc {
                background: #fff;
                border: 1px solid #e7edf5;
                border-radius: 12px;
                margin: 8px 14px;
            }

            .t3 details.acc>summary {
                cursor: pointer;
                list-style: none;
                padding: 12px 16px;
                font-weight: 700;
                color: #12305a;
                position: relative;
                font-size: 14px;
            }

            .t3 details.acc>summary::-webkit-details-marker {
                display: none;
            }

            .t3 details.acc>summary:after {
                content: "+";
                position: absolute;
                right: 16px;
                top: 50%;
                transform: translateY(-50%);
                color: #0b57d0;
                font-weight: 800;
            }

            .t3 details.acc[open]>summary:after {
                content: "\2212";
            }

            .t3 details.acc .gintro {
                margin: 0;
                padding: 0 16px;
                font-size: 13px;
                color: #4a617f;
            }

            .t3 details.acc ul {
                padding: 0 16px 14px 34px;
                margin: 6px 0 0;
            }

            .t3 .dfiles {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }

            .t3 .dfile {
                display: flex;
                gap: 14px;
                align-items: center;
                background: #fff;
                border: 1px solid #e3ecf7;
                border-radius: 14px;
                padding: 14px 16px;
                text-decoration: none;
                color: #243b55;
                transition: .2s;
            }

            .t3 .dfile:hover {
                box-shadow: 0 10px 22px rgba(11,87,208,.15);
                transform: translateY(-2px);
            }

            .t3 .fico {
                flex: none;
                width: 50px;
                height: 52px;
                border-radius: 10px;
                background: #e5484d;
                color: #fff;
                font-weight: 800;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .t3 .ftx b {
                display: block;
                color: #12305a;
            }

            .t3 .ftx em {
                font-style: normal;
                font-size: 12px;
                color: #7a8aa0;
                display: block;
                margin-top: 4px;
            }

            .t3 ol.nlist {
                padding-left: 22px;
            }

            .t3 ol.nlist li {
                margin: 8px 0;
            }

            .t3 ol.nlist a {
                text-decoration: none;
                border-bottom: 1px solid #9cc0ef;
                padding-bottom: 1px;
            }

            .t3 ol.nlist a:hover {
                color: #0b57d0;
                border-bottom-color: #0b57d0;
            }

            @media(max-width: 960px) {
                .t3 .wrap {
                    grid-template-columns:1fr;
                }

                .t3 .toc {
                    position: static;
                }

                .t3 .toc .tlinks {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 6px;
                }

                .t3 .toc a {
                    flex: 0 0 auto;
                }
            }

            @media(max-width: 820px) {
                .t3 .who-grid,.t3 .res-tiles,.t3 .dfiles {
                    grid-template-columns:1fr;
                }
            }
.page-content {
                padding: 36px 0 56px;
                background: #fbfcfe;
            }
* {
                box-sizing: border-box
            }
.memobar {
                display: flex;
                align-items: center;
                gap: 10px;
                flex-wrap: wrap;
                margin: 0 0 14px;
            }
.btn-memo {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                border: 1px solid #c9d9ec;
                background: #fff;
                color: #0b57d0;
                border-radius: 20px;
                padding: 8px 16px;
                cursor: pointer;
                font-size: 13px;
                font-weight: 700;
            }
.btn-memo:hover {
                border-color: #0b57d0;
                background: #e8f1fe;
            }
@media print {
                body {
                    background: #fff;
                }

                .page-head,.mainnav,.crumbs-bar,.hero-banner,.partners,.page-foot,.toc,.memobar, #toTop,#readbar,.lawbar,.rolebar {
                    display: none !important;
                }

                .view {
                    display: block !important;
                }

                #view-home,#view-uslugi,#view-kadastr {
                    display: none !important;
                }

                main.page-content {
                    padding: 0 !important;
                }

                .t3f .wrap {
                    display: block !important;
                }
html {
    scroll-behavior: smooth;
}
                .t3f .sect {
                    box-shadow: none;
                    border: 1px solid #c9d6e8;
                    break-inside: avoid;
                    page-break-inside: avoid;
                }

                .t3f .sit[data-role] .drole {
                    display: block !important;
                }

                .t3f .tab-panel {
                    display: block !important;
                }

                .t3f .wm {
                    display: none;
                }

                a {
                    color: #000;
                    text-decoration: none;
                }
            }
#labSwitch {
                position: fixed;
                right: 14px;
                bottom: 14px;
                z-index: 1200;
                background: #fff;
                border: 1px solid #d7e3f4;
                border-radius: 14px;
                box-shadow: 0 10px 30px rgba(18,48,90,.18);
                padding: 10px 14px 11px;
                font-size: 12.5px;
                line-height: 1.55;
                color: #12305a;
                max-width: 250px;
            }

            #labSwitch b {
                display: block;
                margin-bottom: 4px;
                font-size: 12.5px;
            }

            #labSwitch label {
                display: block;
                cursor: pointer;
            }

            #labSwitch input {
                vertical-align: -2px;
                margin-right: 5px;
            }

            /* ═══ QR-коды в блоке «Как подать заявление» ═══ */
            .qrlay {
                position: relative;
            }

            .qrlay .qrrow {
                display: none;
            }

            .qritem {
                display: flex;
                align-items: center;
                gap: 14px;
                background: #fff;
                border: 1px solid #e3ecf7;
                border-radius: 12px;
                padding: 12px 16px;
                text-decoration: none;
                transition: border-color .2s ease, box-shadow .2s ease;
            }

            .qritem:hover {
                border-color: #9dbce8;
                box-shadow: 0 8px 20px rgba(18,48,90,.10);
            }

            .qritem img {
                width: 92px;
                height: 92px;
                flex: none;
            }

            .qrcap b {
                display: block;
                color: #12305a;
                font-size: 14px;
                line-height: 1.45;
            }

            /* D — строгий ряд под карточками (по умолчанию) */
            .qrlay[data-qrlay="D"] .qrrow {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 10px;
                margin: 12px 0 6px;
            }

            /* E — коды внутри карточки «на Госуслугах» */
            .qrlay[data-qrlay="E"] ol.ways>li:first-child {
                grid-column: 1/-1;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 16px;
                min-height: 176px;
                padding-right: 252px;
            }

            .qrlay[data-qrlay="E"] .qrrow {
                position: absolute;
                top: 0;
                right: 0;
                width: 236px;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }

            .qrlay[data-qrlay="E"] .qritem {
                gap: 12px;
                padding: 8px 12px;
            }

            .qrlay[data-qrlay="E"] .qritem img {
                width: 56px;
                height: 56px;
            }

            .qrlay[data-qrlay="E"] .qrcap b {
                font-size: 11.5px;
                line-height: 1.35;
            }

            /* F — боковая колонка справа от способов */
            .qrlay[data-qrlay="F"] {
                display: grid;
                grid-template-columns: 1fr 192px;
                gap: 10px;
                align-items: start;
            }

            .qrlay[data-qrlay="F"] ol.ways {
                grid-template-columns: 1fr;
            }

            .qrlay[data-qrlay="F"] .qrrow {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            .qrlay[data-qrlay="F"] .qritem {
                flex-direction: column;
                text-align: center;
                gap: 10px;
                padding: 12px 10px;
            }

            .qrlay[data-qrlay="F"] .qritem img {
                width: 84px;
                height: 84px;
            }

            .qrlay[data-qrlay="F"] .qrcap b {
                font-size: 12px;
            }

            @media (max-width: 900px) {
                .qrlay[data-qrlay="D"] .qrrow {
                    grid-template-columns:1fr;
                }

                .qrlay[data-qrlay="F"] {
                    grid-template-columns: 1fr;
                }

                .qrlay[data-qrlay="E"] ol.ways>li:first-child {
                    min-height: 0;
                    padding-right: 16px;
                    flex-direction: column;
                    align-items: flex-start;
                }

                .qrlay[data-qrlay="E"] .qrrow {
                    position: static;
                    width: auto;
                    flex-direction: row;
                    flex-wrap: wrap;
                    margin-top: 10px;
                }
            }

            #labSwitch {
                bottom: 196px;
            }

            #qrSwitch {
                position: fixed;
                right: 14px;
                bottom: 14px;
                z-index: 1200;
                background: #fff;
                border: 1px solid #d7e3f4;
                border-radius: 14px;
                box-shadow: 0 10px 30px rgba(18,48,90,.18);
                padding: 10px 14px 11px;
                font-size: 12.5px;
                line-height: 1.55;
                color: #12305a;
                max-width: 250px;
            }

            #qrSwitch b {
                display: block;
                margin-bottom: 4px;
                font-size: 12.5px;
            }

            #qrSwitch label {
                display: block;
                cursor: pointer;
            }

            #qrSwitch input {
                vertical-align: -2px;
                margin-right: 5px;
            }
/* ═══ Финальные правки по ТЗ «Доработка сайта» (только для вида «выплата») ═══ */
            /* п.4 и финальное примечание: градиентная линия слева у каждой карточки */
            .t3f .sect {
                padding-left: 32px;
            }

            .t3f .sect::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 7px;
                background: linear-gradient(180deg,#0d5cd2 0%,#2fa2ed 100%);
            }

            /* п.4/6/7.1/8.1/9/10.1/11.1/12.1: белые семафоры на синем градиентном квадрате */
            .t3f .sh .ic svg {
                display: block;
            }

            /* п.7.3: ссылки, вшитые в слова предложения (с нижним подчёркиванием) */
            .t3f a.inl {
                color: #0b57d0;
                text-decoration: underline;
                text-underline-offset: 3px;
                font-weight: 700;
            }

            .t3f a.inl:hover {
                color: #083b8f;
                background: #e8f1fe;
                border-radius: 4px;
            }

            .t3f .lead2 {
                margin: 0 0 10px;
                font-size: 14.5px;
                color: #243b55;
            }

            /* конструктор документов: закон + ситуация */
            .t3f .sit {
                border: 1px solid #e3ecf7;
                border-radius: 14px;
                overflow: hidden;
                margin: 10px 0 4px;
                background: #fff;
            }

            .t3f .lawbar {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
                background: #0b2e63;
                padding: 8px 12px;
            }

            .t3f .lb-l {
                color: #c6d7f0;
                font-weight: 600;
                font-size: 13px;
                margin-right: 6px;
            }

            .t3f .lawbar .tab-btn {
                flex: 0 0 auto;
                border: 0;
                background: transparent;
                color: #cdd9ec;
                font-weight: 700;
                padding: 8px 18px;
                border-radius: 9px;
                cursor: pointer;
                font-size: 14px;
            }

            .t3f .lawbar .tab-btn.active {
                background: #0b57d0;
                color: #fff;
            }

            .t3f .rolebar {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
                padding: 10px 14px;
                background: #eef3fb;
                border-bottom: 1px solid #e3ecf7;
            }

            .t3f .rolebar b {
                font-size: 13px;
                color: #33415c;
                margin-right: 6px;
            }

            .t3f .rb {
                border: 1px solid #c9d9ec;
                background: #fff;
                color: #243b55;
                border-radius: 20px;
                padding: 6px 14px;
                cursor: pointer;
                font-size: 13px;
                font-weight: 600;
            }

            .t3f .rb:hover {
                border-color: #0b57d0;
            }

            .t3f .rb.active,.t3f .rb.on {
                background: #0b57d0;
                color: #fff;
                border-color: #0b57d0;
            }

            .t3f .dgrp2 {
                border: 1px solid #e7edf5;
                border-radius: 12px;
                margin: 10px 4px;
                padding: 12px 16px;
                background: #fbfdff;
            }

            .t3f .dgti {
                font-weight: 700;
                color: #12305a;
                font-size: 14px;
                margin-bottom: 6px;
            }

            .t3f .dgrp2 ul {
                margin: 0;
                padding-left: 20px;
            }

            .t3f .dgrp2 .gintro {
                margin: 0 0 6px;
                font-size: 13px;
                color: #4a617f;
            }

            .t3f .sit[data-role="sv"] .drole:not(.sv), .t3f .sit[data-role="fm"] .drole:not(.fm), .t3f .sit[data-role="repr"] .drole:not(.repr) {
                display: none;
            }

            .t3f .sit .tab-panel {
                padding: 4px 0;
            }

            .t3f .rb:focus-visible,.t3f .tab-btn:focus-visible {
                outline: 3px solid #8ab4f8;
                outline-offset: 2px;
            }

            @media (max-width: 640px) {
                .t3f .sect {
                    padding:18px 14px 18px 24px;
                }

                .t3f .sect::before {
                    width: 5px;
                }

                .t3f .lawbar .tab-btn {
                    flex: 1 1 auto;
                }
            }
