:root {
    --blue-900: #06336f;
    --blue-800: #073f8f;
    --blue-700: #0a55b5;
    --blue-600: #1167d4;
    --blue-100: #eaf3ff;
    --red: #ef233c;
    --ink: #092b61;
    --muted: #587098;
    --line: #d9e5f5;
    --soft: #f5f9ff;
    --white: #ffffff;
    --shadow: 0 14px 34px rgba(6, 51, 111, .12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 64px, 1440px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 78px;
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
    padding-inline: max(44px, calc((100vw - 1440px) / 2));
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #ecf2fb;
    backdrop-filter: blur(14px);
}

.brand img {
    width: min(218px, 100%);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 2.6vw, 44px);
    min-width: 0;
}

.main-nav a {
    position: relative;
    padding: 29px 0 25px;
    color: #0b3779;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav a.active {
    color: var(--blue-700);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--red);
    border-radius: 3px 3px 0 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--blue-800);
    font-size: 13px;
    white-space: nowrap;
}

.header-egrn-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid #d71930;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(180deg, #f03245, #d71930);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(239, 35, 60, .2);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.header-egrn-btn:hover {
    transform: translateY(-1px);
    border-color: #b90f24;
    background: linear-gradient(180deg, #ff4053, #bf1026);
    box-shadow: 0 14px 26px rgba(239, 35, 60, .28);
}

.header-egrn-btn:active {
    transform: translateY(0);
    box-shadow: 0 7px 14px rgba(239, 35, 60, .2);
}

.header-action-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.icon-link,
.login-link {
    border: 0;
    background: transparent;
    color: var(--blue-800);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    cursor: pointer;
    white-space: nowrap;
}

.login-link {
    border-left: 1px solid var(--line);
    padding-left: 14px;
}

.icon-link {
    border-right: 1px solid var(--line);
    padding-right: 18px;
}

.icon-eye,
.icon-login {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 2px solid currentColor;
}

.icon-eye {
    border-radius: 50% 50% 45% 45%;
    transform: scaleX(1.3) rotate(45deg);
}

.icon-login {
    border-left: 0;
    position: relative;
}

.icon-login::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 7px;
    width: 13px;
    height: 2px;
    background: currentColor;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    padding: 9px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-800);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 43% 35%, rgba(255,255,255,.9) 0 2px, transparent 3px),
        linear-gradient(90deg, #eef6ff 0%, #f7fbff 44%, #eaf4ff 100%);
    background-size: 48px 48px, auto;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, rgba(11, 85, 168, .08) 1px, transparent 1px),
        linear-gradient(35deg, rgba(11, 85, 168, .07) 1px, transparent 1px);
    background-size: 86px 86px;
    opacity: .5;
}

.hero-building {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52vw;
    height: auto;
    background: linear-gradient(90deg, rgba(245,249,255,0), rgba(245,249,255,.2)), var(--hero-building-image, url("../img/hero-building.png")) right top / 100% 100% no-repeat;
    opacity: .95;
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 250px;
    padding: 22px 0 18px;
}

.hero-copy {
    max-width: 610px;
}

.site-partner-strip {
    flex-shrink: 0;
    padding: 8px 0;
    border-bottom: 1px solid #dce7f5;
    background: #f5f9ff;
}

.site-partner-strip .container {
    display: flex;
    justify-content: flex-start;
}

.site-partner-strip noindex {
    display: block;
    width: auto;
    max-width: 100%;
}

.site-partner-button {
    position: relative;
    isolation: isolate;
    width: auto;
    max-width: 100%;
    min-height: 52px;
    display: inline-grid;
    grid-template-columns: 62px max-content;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, rgba(40, 135, 230, .84), rgba(5, 91, 183, .9) 52%, rgba(2, 61, 139, .82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58), inset 0 -14px 24px rgba(0, 41, 105, .15), 0 6px 18px rgba(4, 52, 118, .2);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.site-partner-button::before {
    position: absolute;
    z-index: -1;
    top: 1px;
    right: 35%;
    bottom: 48%;
    left: 1px;
    border-radius: 8px 0 28px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
    content: "";
    pointer-events: none;
}

.site-partner-button:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .95);
    background: linear-gradient(135deg, rgba(53, 151, 244, .88), rgba(3, 82, 169, .94) 52%, rgba(1, 51, 124, .86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -14px 24px rgba(0, 37, 96, .18), 0 9px 24px rgba(4, 52, 118, .26);
}

.site-partner-button img {
    width: 48px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-partner-logo {
    align-self: stretch;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, .28);
}

.site-partner-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
}

.site-partner-copy strong {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 4px;
    color: var(--blue-800);
    background: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.site-partner-copy > span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.22;
    white-space: nowrap;
}

.hero h1 {
    margin: 0 0 12px;
    color: var(--blue-900);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p,
.page-hero p {
    margin: 0;
    color: #214574;
    font-size: 18px;
}

.search-panel {
    width: min(930px, 100%);
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 210px;
    gap: 20px;
    align-items: end;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e5edf8;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

label span,
.form-stack label span,
.admin-form label span {
    display: block;
    margin-bottom: 7px;
    color: #0b3779;
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd9ef;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%230A55B5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 30px center;
    padding-right: 58px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(17, 103, 212, .12);
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--blue-700);
    border-radius: 6px;
    padding: 12px 22px;
    color: var(--blue-800);
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(6, 51, 111, .12);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(180deg, #0759b7, #003d86);
    border-color: #003d86;
}

.btn.ghost {
    background: #fff;
}

.btn.small {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 14px;
}

.btn.wide {
    width: 100%;
}

.btn.danger {
    color: #b10d22;
    border-color: #f0b8c1;
    background: #fff6f8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.stat-card,
.region-card,
.list-panel,
.doc-card,
.news-card,
.service-card,
.engineer-card,
.contact-card,
.form-card,
.faq-panel,
.admin-panel,
.admin-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.stat-card {
    min-height: 84px;
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    align-items: center;
    padding: 16px 24px;
}

.editable-stat {
    min-height: 96px;
    align-content: center;
}

.stat-image {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.editable-stat p {
    margin: 0;
    line-height: 1.28;
    white-space: pre-line;
}

.stat-card strong {
    align-self: end;
    color: var(--blue-700);
    font-size: 25px;
    line-height: 1.08;
}

.stat-card p {
    grid-column: 2;
    align-self: start;
    margin: 0;
    color: #294a75;
    font-size: 13px;
    line-height: 1.28;
}

.stat-card.is-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stat-card.is-link:hover {
    border-color: #73a6e7;
    box-shadow: 0 10px 24px rgba(16, 74, 153, .12);
    transform: translateY(-2px);
}

.stat-card.is-link:focus-visible {
    outline: 3px solid rgba(36, 109, 211, .24);
    outline-offset: 3px;
}

.stat-icon {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border: 2px solid var(--blue-600);
    border-radius: 6px;
    position: relative;
}

.stat-icon.people {
    border-radius: 50%;
    box-shadow: 18px 6px 0 -11px #fff, 18px 6px 0 -9px var(--blue-600), -18px 6px 0 -11px #fff, -18px 6px 0 -9px var(--blue-600);
}

.stat-icon.map::before,
.stat-icon.doc::before,
.stat-icon.shield::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid var(--blue-600);
}

.stat-icon.map {
    transform: skewY(-8deg);
}

.stat-icon.doc::before {
    border-right: 0;
}

.stat-icon.shield {
    border-radius: 50% 50% 44% 44%;
}

.section-block {
    margin-top: 20px;
}

.section-head,
.panel-head,
.admin-panel-head,
.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.section-head h2,
.panel-head h2,
.admin-panel-head h2,
.results-head h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 24px;
}

.section-head a,
.panel-head a,
.news-card a,
.subtle-link,
.back-link {
    color: var(--blue-700);
    font-weight: 700;
}

.region-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.region-card {
    position: relative;
    min-height: 144px;
    overflow: hidden;
    padding: 18px;
    color: var(--blue-800);
    transition: transform .18s ease, box-shadow .18s ease;
}

.region-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.region-card span {
    position: relative;
    z-index: 1;
    display: block;
    color: #31547f;
    font-size: 13px;
}

.region-card .region-title {
    margin-bottom: 6px;
    color: var(--blue-700);
    font-size: 16px;
    font-weight: 800;
}

.region-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 10px;
    color: var(--blue-700);
    font-size: 18px;
}

.region-card img {
    position: absolute;
    right: 8px;
    bottom: 6px;
    width: 60%;
    opacity: .95;
}

.region-card.large {
    min-height: 190px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.25fr;
    gap: 18px;
    margin-top: 26px;
    align-items: stretch;
}

.about-panel {
    padding-right: 20px;
}

.about-panel h2,
.list-panel h2 {
    margin: 0 0 12px;
    color: var(--blue-900);
    font-size: 22px;
}

.about-panel p {
    color: #294a75;
    font-size: 15px;
}

.list-panel {
    padding: 14px 16px;
}

.document-row,
.news-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px 14px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #e9eff8;
    line-height: 1.22;
}

.news-row {
    grid-template-columns: 112px 1fr auto;
}

.document-row:first-of-type,
.news-row:first-of-type {
    border-top: 0;
}

.document-row strong,
.news-row strong {
    display: block;
    color: var(--blue-800);
    font-size: 14px;
    line-height: 1.22;
}

.document-row small,
.news-row small,
.date-badge {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.news-row small {
    white-space: nowrap;
}

.file-badge {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 48px;
    border: 2px solid var(--red);
    border-radius: 5px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.document-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.document-icon.small {
    width: 42px;
    height: 48px;
}

.cta-band {
    min-height: 92px;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 18px 46px 18px 30px;
    border: 1px solid #dfe9f8;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #eef6ff, #f8fbff);
}

.cta-band h2 {
    margin: 0 0 4px;
    color: var(--blue-900);
    font-size: 24px;
}

.cta-band p {
    margin: 0;
    color: #294a75;
}

.cta-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--blue-100);
    position: relative;
}

.cta-icon::before,
.cta-icon::after {
    content: "";
    position: absolute;
    border: 2px solid var(--blue-600);
}

.cta-icon::before {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 12px;
    left: 19px;
}

.cta-icon::after {
    width: 30px;
    height: 18px;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    left: 13px;
    bottom: 13px;
}

.cta-icon-img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--blue-100);
}

.page-hero {
    background: linear-gradient(90deg, #eef6ff, #f7fbff);
    border-bottom: 1px solid #e6eef9;
}

.page-hero.compact .container {
    padding: 38px 0;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 8px;
    color: var(--blue-900);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 0 38px;
}

.filter-panel {
    position: sticky;
    top: 98px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
}

.form-stack {
    display: grid;
    gap: 14px;
}

.results-head span {
    color: var(--muted);
}

.engineer-search-fallback-head {
    margin: 0 0 14px;
}

.engineer-search-fallback-head h2 {
    margin: 4px 0 0;
    color: var(--blue-900);
    font-size: 24px;
    line-height: 1.25;
}

.engineer-search-not-found {
    margin: 0;
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.engineer-list {
    display: grid;
    gap: 14px;
}

.engineer-card {
    display: grid;
    grid-template-columns: 116px 1fr 190px;
    gap: 18px;
    padding: 18px;
}

.engineer-visual {
    width: 116px;
    display: grid;
    gap: 7px;
    align-self: start;
    justify-items: center;
}

.engineer-avatar-link {
    display: block;
    width: 116px;
    height: 116px;
    border-radius: 8px;
    background: var(--soft);
    overflow: hidden;
}

.engineer-avatar-link img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .2s ease;
}

.engineer-avatar-link:hover img,
.engineer-avatar-link:focus-visible img {
    transform: scale(1.035);
}

.engineer-avatar-link:focus-visible,
.engineer-name-link:focus-visible {
    outline: 3px solid rgba(25, 101, 205, .28);
    outline-offset: 3px;
}

.engineer-name-link {
    color: inherit;
    text-decoration: none;
}

.engineer-name-link:hover {
    color: var(--blue-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.engineer-recommendation {
    width: 100%;
    display: grid;
    gap: 2px;
    justify-items: center;
    color: var(--blue-700);
    text-align: center;
    line-height: 1.18;
}

.engineer-recommendation span {
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.engineer-recommendation strong {
    max-width: 116px;
    font-size: 11px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.engineer-card.plan-standard .engineer-recommendation {
    color: #1965cd;
}

.engineer-card.plan-maximum .engineer-recommendation {
    color: #c51f35;
}

.engineer-card.plan-premium .engineer-recommendation {
    color: #a86f00;
}

.engineer-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.engineer-title h3,
.engineer-title h1 {
    margin: 0;
    color: var(--blue-900);
}

.engineer-title p,
.engineer-main p,
.profile-copy p {
    margin: 4px 0;
    color: #34557f;
}

.engineer-location {
    font-weight: 700;
}

.verified {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--blue-700);
    background: var(--blue-100);
    font-size: 12px;
    font-weight: 800;
}

.engineer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.placement-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(180deg, #ef233c, #b80f24);
    box-shadow: 0 8px 18px rgba(239, 35, 60, .18);
    font-size: 12px;
    font-weight: 800;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chips span {
    padding: 6px 9px;
    border: 1px solid #d5e2f4;
    border-radius: 6px;
    color: var(--blue-800);
    background: #f7fbff;
    font-size: 13px;
}

.engineer-side {
    display: grid;
    gap: 7px;
    align-content: center;
    justify-items: start;
}

.engineer-side strong {
    color: var(--blue-700);
    font-size: 20px;
}

.engineer-side span {
    color: var(--muted);
    font-size: 14px;
}

.empty-state {
    padding: 32px;
    border: 1px dashed #b8cbea;
    border-radius: var(--radius);
    background: #f8fbff;
}

.profile-hero {
    padding: 30px 0;
    background: linear-gradient(90deg, #eef6ff, #fbfdff);
}

.profile-grid {
    display: grid;
    grid-template-columns: 220px 1fr 310px;
    gap: 26px;
    align-items: start;
}

.profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.profile-copy h1 {
    margin: 0;
    color: var(--blue-900);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.profile-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.profile-metrics span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.profile-metrics strong {
    color: var(--blue-700);
    font-size: 20px;
}

.placement-public-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.placement-public-options strong,
.placement-public-options span {
    padding: 8px 10px;
    border: 1px solid #d5e2f4;
    border-radius: 6px;
    background: #fff;
    color: var(--blue-800);
    font-size: 13px;
}

.placement-public-options strong {
    border-color: rgba(239,35,60,.24);
    color: #b10d22;
    background: #fff6f8;
}

.contact-card {
    padding: 20px;
    display: grid;
    gap: 10px;
}

.contact-card h2 {
    margin: 0 0 4px;
    color: var(--blue-900);
}

.contact-card a {
    color: var(--blue-700);
    font-weight: 700;
}

.contact-card .profile-contact-trigger,
.contact-card .profile-contact-static {
    display: block;
    overflow-wrap: anywhere;
}

.contact-card .profile-contact-trigger {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-card .profile-contact-static {
    color: var(--blue-700);
    font-weight: 700;
}

.contact-card strong {
    color: var(--blue-700);
    font-size: 22px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    padding: 18px;
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--blue-900);
}

.service-card p {
    color: #34557f;
}

.service-card strong {
    color: var(--blue-700);
}

.work-types-page {
    display: grid;
    gap: 14px;
    padding: 30px 0 46px;
}

.work-type-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(255,255,255,.98), rgba(245,249,255,.94)),
        radial-gradient(circle at 94% 20%, rgba(239,35,60,.12), transparent 28%);
}

.work-type-card span {
    color: var(--blue-700);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.work-type-card h2 {
    margin: 3px 0 8px;
    color: var(--blue-900);
    font-size: 24px;
}

.work-type-card p {
    margin: 0;
    color: #34557f;
}

.text-page {
    padding: 32px 0 50px;
}

.text-panel {
    max-width: 940px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.text-panel h2 {
    margin: 22px 0 8px;
    color: var(--blue-900);
    font-size: 22px;
}

.text-panel h2:first-child {
    margin-top: 0;
}

.text-panel p {
    margin: 0 0 12px;
    color: #294a75;
}

.region-grid-full,
.docs-page,
.news-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 28px 0 40px;
}

.region-request-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 42px;
    padding: 26px;
    border: 1px solid #d8e7f7;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.9) 0 2px, transparent 3px),
        linear-gradient(120deg, rgba(234,243,255,.96), rgba(255,255,255,.68) 45%, rgba(226,240,255,.92)),
        radial-gradient(circle at 86% 12%, rgba(239,35,60,.14), transparent 30%),
        radial-gradient(circle at 78% 88%, rgba(10,85,181,.18), transparent 34%);
    background-size: 38px 38px, auto, auto, auto;
}

.region-request-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, rgba(10,85,181,.08) 1px, transparent 1px),
        linear-gradient(35deg, rgba(10,85,181,.06) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: .75;
}

.region-request-band > * {
    position: relative;
    z-index: 1;
}

.region-request-band h2 {
    margin: 0 0 8px;
    color: var(--blue-900);
    font-size: 28px;
}

.region-request-band p {
    margin: 0;
    color: #34557f;
}

.region-request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.region-request-form.editable-public-form {
    background: transparent;
    border-color: transparent;
}

.region-request-form input,
.region-request-form textarea {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(8px);
}

.region-request-form h3 {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--blue-900);
    font-size: 22px;
}

.region-request-form .request-form-intro {
    padding-bottom: 0;
    border-bottom: 0;
}

.region-request-form .btn {
    grid-column: 1 / -1;
}

.engineers-lp-hero {
    background:
        linear-gradient(90deg, rgba(234,243,255,.94), rgba(255,255,255,.82)),
        radial-gradient(circle at 88% 12%, rgba(239,35,60,.16), transparent 30%);
    border-bottom: 1px solid #e6eef9;
}

.engineers-lp-hero-inner {
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: center;
    padding: 48px 0;
}

.engineers-lp-hero h1 {
    margin: 0 0 12px;
    color: var(--blue-900);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
}

.engineers-lp-hero .lead {
    max-width: 760px;
    color: var(--blue-800);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.22;
}

.engineers-lp-hero p {
    max-width: 780px;
    color: #34557f;
}

.engineers-lp-economy {
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(10,85,181,.18);
    border-radius: var(--radius);
    background: rgba(255,255,255,.78);
    box-shadow: var(--shadow);
}

.engineers-lp-economy span {
    color: var(--muted);
    font-weight: 700;
}

.engineers-lp-economy strong {
    margin-bottom: 10px;
    color: var(--blue-900);
    font-size: 30px;
}

.engineers-lp-section {
    margin-top: 34px;
}

.engineers-lp-section .section-head p {
    margin: 6px 0 0;
    color: #34557f;
}

.engineers-channel-grid,
.tariff-grid,
.engineers-lp-value {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.engineers-channel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.engineers-channel-grid article,
.tariff-card,
.engineers-lp-value article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.engineers-channel-grid span,
.tariff-card span {
    color: var(--blue-700);
    font-weight: 900;
}

.engineers-channel-grid p,
.engineers-lp-value p {
    margin: 8px 0 0;
    color: #34557f;
}

.engineers-lp-value {
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.engineers-lp-value h2,
.engineers-lp-final h2 {
    margin: 0 0 10px;
    color: var(--blue-900);
}

.tariff-card {
    display: grid;
    gap: 14px;
}

.tariff-card strong {
    color: var(--blue-900);
    font-size: 32px;
}

.tariff-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #34557f;
}

.tariff-premium {
    border-color: rgba(239,35,60,.28);
    background: linear-gradient(180deg, #fff, #fff7f8);
    box-shadow: 0 16px 34px rgba(239,35,60,.08);
}

.engineers-lp-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    margin-bottom: 44px;
    padding: 24px;
    border: 1px solid #d8e7f7;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #eef7ff, #fff);
}

.doc-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
}

.doc-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.doc-card h2,
.news-card h2 {
    margin: 0 0 8px;
    color: var(--blue-900);
    font-size: 20px;
}

.news-card {
    padding: 20px;
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 14px;
}

.article-page {
    padding: 38px 0 56px;
    max-width: 900px;
}

.article-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 18px 0 22px;
}

.article-page h1 {
    color: var(--blue-900);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.lead {
    color: #294a75;
    font-size: 20px;
}

.article-content {
    color: #2f4d73;
    font-size: 18px;
}

.split-page {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    padding: 34px 0 48px;
}

.split-page article {
    color: #294a75;
    font-size: 18px;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list a {
    color: var(--blue-700);
    font-size: 20px;
    font-weight: 700;
}

.faq-panel {
    padding: 20px;
}

.faq-panel details {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.faq-panel summary {
    cursor: pointer;
    color: var(--blue-900);
    font-weight: 800;
}

.form-page {
    padding: 32px 0 50px;
}

.form-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    padding: 22px;
}

.editable-public-form {
    background: var(--form-bg, #fff);
    border-color: color-mix(in srgb, var(--form-accent, #0a55b5) 26%, #d9e5f5);
}

.editable-public-form .btn.primary {
    border-color: var(--form-accent, var(--blue-700));
    background: linear-gradient(180deg, color-mix(in srgb, var(--form-accent, #0a55b5) 86%, #fff), var(--form-accent, var(--blue-700)));
}

.antispam-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.request-form-intro {
    grid-column: 1 / -1;
    display: grid;
    gap: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid color-mix(in srgb, var(--form-accent, #0a55b5) 16%, #e9eff8);
}

.request-form-intro h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 24px;
    line-height: 1.2;
}

.request-form-intro p {
    margin: 0;
    color: #34557f;
}

.personal-data-note {
    grid-column: 1 / -1;
    margin: -2px 0 0;
    color: #587098;
    font-size: 12px;
    line-height: 1.35;
}

.personal-data-note a {
    color: var(--blue-700);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.personal-data-consents {
    grid-column: 1 / -1;
    min-width: 0;
    display: grid;
    gap: 9px;
    margin: 2px 0 0;
    padding: 13px 14px;
    border: 1px solid color-mix(in srgb, var(--form-accent, #0a55b5) 18%, #d9e5f5);
    border-radius: 6px;
    background: color-mix(in srgb, var(--form-accent, #0a55b5) 3%, #fff);
}

.personal-data-consents legend {
    padding: 0 6px;
    color: #34557f;
    font-size: 12px;
    font-weight: 700;
}

.personal-data-consents label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin: 0;
    color: #526b8c;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}

.personal-data-consents input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--form-accent, var(--blue-700));
}

.personal-data-consents label > span,
.site-widget-panel .personal-data-consents label > span {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
}

.personal-data-consents a {
    color: var(--blue-700);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.order-form {
    max-width: 100%;
}

.full {
    grid-column: 1 / -1;
}

.flash {
    width: min(100% - 64px, 1440px);
    margin: 14px auto;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 700;
}

.flash-success {
    color: #0e6b37;
    background: #ecfff4;
    border: 1px solid #bbe8cd;
}

.flash-error {
    color: #9b1227;
    background: #fff3f5;
    border: 1px solid #f0b8c1;
}

.site-widgets {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: grid;
    justify-items: end;
    --widget-accent: #ffffff;
    --widget-button-color: #ef233c;
    --widget-border-width: 8px;
    pointer-events: none;
}

.site-engineer-cta {
    right: auto;
    left: 22px;
    justify-items: start;
}

.site-context-widget {
    right: 22px;
    left: auto;
}

.site-context-widget .site-widget-orb {
    box-shadow:
        0 0 0 1px rgba(255,255,255,.46) inset,
        0 11px 24px rgba(0, 68, 150, .25),
        0 0 22px rgba(117, 199, 255, .44);
}

.site-context-widget .site-widget-orb:hover {
    box-shadow:
        0 16px 34px rgba(0, 68, 150, .32),
        0 0 28px rgba(117, 199, 255, .52),
        inset 0 1px 0 rgba(255,255,255,.62);
}

.site-widget-orb {
    position: relative;
    width: 228px;
    min-height: 64px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 1px 34px;
    align-items: center;
    gap: 10px;
    border: var(--widget-border-width) solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background:
        radial-gradient(circle at 28% 12%, rgba(255,255,255,.5), rgba(255,255,255,0) 28%) padding-box,
        linear-gradient(180deg, color-mix(in srgb, var(--widget-button-color), #ffffff 18%), color-mix(in srgb, var(--widget-button-color), #64000d 28%)) padding-box,
        linear-gradient(135deg, rgba(255,255,255,.88), color-mix(in srgb, var(--widget-accent), transparent 12%), rgba(255,255,255,.18), rgba(255,255,255,.66)) border-box;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.4) inset,
        0 11px 24px rgba(126, 6, 20, .24),
        0 0 22px color-mix(in srgb, var(--widget-accent), transparent 42%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    font-weight: 800;
    pointer-events: auto;
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.site-widget-orb::before {
    content: "";
    position: absolute;
    inset: calc(var(--widget-border-width) * -0.45);
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 42%),
        linear-gradient(120deg, rgba(255,255,255,.44), rgba(255,255,255,0) 34% 72%, rgba(255,255,255,.34));
    border: 1px solid rgba(255,255,255,.36);
    z-index: 1;
    pointer-events: none;
}

.site-widget-orb::after {
    content: "";
    position: absolute;
    inset: -35% -15%;
    background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.35) 45%, transparent 54% 100%);
    opacity: .72;
    animation: widgetGlassSweep 3.2s ease-in-out infinite;
    z-index: 0;
}

.site-widget-orb:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 34px rgba(126, 6, 20, .32), 0 0 28px color-mix(in srgb, var(--widget-accent), transparent 34%), inset 0 1px 0 rgba(255,255,255,.62);
}

.site-widget-orb-ring {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: 0 0 16px color-mix(in srgb, var(--widget-accent), transparent 30%) inset;
    animation: widgetOrbPulse 3.2s ease-in-out infinite;
}

.site-widget-number,
.site-widget-orb-label,
.site-widget-divider,
.site-widget-icon {
    position: relative;
    z-index: 2;
}

.site-widget-number {
    color: rgba(255,255,255,.78);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

.site-widget-orb-label {
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.15;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 40, 92, .5);
}

.site-widget-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.5);
    box-shadow: 0 0 10px rgba(255,255,255,.42);
}

.site-widget-icon {
    color: rgba(255,255,255,.84);
    font-size: 21px;
    line-height: 1;
    text-align: center;
}

.widget-theme-light .site-widget-orb {
    color: #fff;
    background:
        radial-gradient(circle at 30% 8%, rgba(255,255,255,.6), rgba(255,255,255,0) 30%) padding-box,
        linear-gradient(180deg, color-mix(in srgb, var(--widget-button-color), #ffffff 24%), color-mix(in srgb, var(--widget-button-color), #72000f 24%)) padding-box,
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(233,239,250,.64), rgba(255,255,255,.3), rgba(255,255,255,.82)) border-box;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.72) inset,
        0 14px 30px rgba(126, 6, 20, .2),
        0 0 20px rgba(255,255,255,.52);
}

.widget-theme-light .site-widget-number,
.widget-theme-light .site-widget-icon {
    color: rgba(255,255,255,.88);
}

.widget-theme-light .site-widget-orb-label {
    text-shadow: 0 1px 8px rgba(80, 0, 12, .34);
}

.widget-no-glow .site-widget-orb,
.widget-no-glow .site-widget-orb:hover {
    box-shadow: 0 10px 22px rgba(126, 6, 20, .18), 0 0 0 1px rgba(255,255,255,.28) inset;
}

.widget-shape-circle .site-widget-orb {
    width: 88px;
    min-height: 88px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 9px;
    text-align: center;
}

.widget-shape-circle .site-widget-number,
.widget-shape-circle .site-widget-divider,
.widget-shape-circle .site-widget-icon {
    display: none;
}

.widget-shape-circle .site-widget-orb-label {
    text-align: center;
    font-size: 13px;
}

.site-engineer-cta-link {
    width: min(330px, calc(100vw - 44px));
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    border-radius: 15px;
    padding: 9px 14px 9px 18px;
    color: #fff;
    text-decoration: none;
}

.site-context-widget-button {
    font: inherit;
    text-align: inherit;
}

.site-engineer-cta-copy,
.site-engineer-cta-arrow {
    position: relative;
    z-index: 2;
}

.site-engineer-cta-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding-left: 5px;
    text-align: left;
}

.site-engineer-cta-copy strong {
    font-size: 15px;
    line-height: 1.15;
}

.site-engineer-cta-copy small {
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.site-engineer-cta-arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
    color: transparent;
    background: rgba(255, 255, 255, .12);
    font-size: 20px;
    line-height: 1;
}

.site-engineer-cta-arrow::before {
    content: "\2192";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: inherit;
    line-height: 1;
    transform: translate(-50%, calc(-50% + 1px));
}

@keyframes widgetGlassSweep {
    to {
        transform: translateX(28%);
    }
}

@keyframes widgetOrbPulse {
    50% {
        transform: scale(.9);
        opacity: .72;
    }
}

.site-widget-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 16px);
    width: min(360px, calc(100vw - 28px));
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    pointer-events: auto;
    max-height: min(78vh, 720px);
    overflow-y: auto;
}

.site-widget-panel.is-open {
    display: block;
}

.site-widget-panel h2 {
    margin: 0 34px 6px 0;
    color: var(--blue-900);
    font-size: 20px;
}

.site-widget-panel p {
    margin: 0 0 12px;
    color: #294a75;
}

.site-widget-panel form {
    display: grid;
    gap: 10px;
}

.site-widget-panel label span {
    display: block;
    margin-bottom: 5px;
    color: var(--blue-800);
    font-size: 13px;
    font-weight: 700;
}

.site-widget-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--blue-800);
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.site-engineer-widget-panel {
    --form-accent: #0866c7;
}

.site-engineer-widget-panel .personal-data-consents {
    padding: 10px;
    gap: 7px;
}

.site-engineer-widget-panel .personal-data-consents label {
    font-size: 10.5px;
}

.profile-contact-actions {
    display: grid;
    gap: 9px;
    margin-top: 8px;
}

.profile-contact-actions .btn {
    width: 100%;
    justify-content: center;
}

#engineer-request {
    scroll-margin-top: 120px;
}

.request-form-intro {
    grid-column: 1 / -1;
}

.request-form-intro h2 {
    margin: 0 0 6px;
}

.request-form-intro p {
    margin: 0;
    color: var(--text-muted);
}

.engineer-reviews .section-head {
    align-items: end;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.review-card,
.cabinet-review-list > article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.review-card-head,
.cabinet-review-head,
.cabinet-review-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-stars {
    color: #f4a900;
    letter-spacing: 2px;
    white-space: nowrap;
}

.review-card p,
.cabinet-review-list article > p {
    color: #34567f;
    line-height: 1.55;
}

.review-card time,
.cabinet-review-head time {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.review-form {
    margin-top: 18px;
}

.review-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.review-status-pending { color: #8a5a00; background: #fff3d3; }
.review-status-approved { color: #0e6b37; background: #e7f8ee; }
.review-status-rejected { color: #a11229; background: #fff0f3; }

.cabinet-review-list {
    display: grid;
    gap: 12px;
}

.cabinet-review-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 14px;
}

.cabinet-review-actions form {
    margin: 0;
}

.review-moderation-table td:first-child {
    min-width: 320px;
}

.review-moderation-table td p {
    max-width: 680px;
    margin: 10px 0 0;
    line-height: 1.45;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    color: #fff;
    background: linear-gradient(135deg, #06336f, #0057ae);
}

.sro-showcase {
    flex-shrink: 0;
    padding: 30px 0 34px;
    border-top: 1px solid #e1e8f2;
    background: #f7f9fc;
}

.sro-showcase h2 {
    margin: 0 0 20px;
    color: var(--blue-900);
    font-size: 24px;
    text-align: center;
}

.sro-logo-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
}

.sro-logo-item {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #e0e6ef;
    border-radius: 8px;
    background: #fff;
}

.sro-logo-item img {
    width: 100%;
    height: 66px;
    object-fit: contain;
    opacity: .94;
}

.footer-grid {
    width: min(100% - 64px, 1440px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.1fr 1.1fr 1.9fr;
    gap: 40px;
    padding: 22px 0;
}

.footer-publication-notice {
    width: min(100% - 64px, 1440px);
    margin: 0 auto;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.site-footer .footer-publication-notice p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.footer-brand img {
    width: 185px;
}

.site-footer h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 4px 0;
    color: rgba(255,255,255,.9);
}

.socials {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    overflow: hidden;
}

.socials a span {
    border: 0;
}

.socials a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-legal-links {
    display: grid;
    gap: 5px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.site-footer .footer-legal-links h4 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.site-footer .footer-legal-links a {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.35;
}

.site-footer .footer-legal-links a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-section {
    margin-top: -18px;
    margin-bottom: 42px;
}

.map-section iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.install-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #eaf3ff, #fff);
}

.install-card {
    width: min(100%, 480px);
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.install-logo {
    width: 210px;
    margin-bottom: 16px;
}

.install-card h1 {
    margin: 0 0 10px;
    color: var(--blue-900);
}

.install-card .flash {
    width: 100%;
    margin: 12px 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 264px 1fr;
    background: #f5f8fd;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 18px;
    color: #fff;
    background: linear-gradient(180deg, #06336f, #0057ae);
}

.admin-brand img {
    width: 200px;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar nav a,
.admin-exit {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(255,255,255,.9);
}

.admin-nav-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    opacity: .9;
}

.admin-nav-label {
    min-width: 0;
    flex: 1;
}

.admin-nav-badge {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 8px 18px rgba(239, 35, 60, .28);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover,
.admin-exit:hover {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.admin-exit {
    margin-top: auto;
}

.admin-exit + .admin-exit {
    margin-top: 0;
}

.admin-main {
    padding: 28px;
    min-width: 0;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.admin-import-form {
    display: inline-flex;
}

.admin-inline-form {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.widgets-admin-layout {
    display: grid;
    gap: 16px;
}

.widget-admin-panel {
    display: grid;
    gap: 16px;
}

.widget-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.widget-design-card {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #eef7ff, #f8fbff);
}

.widget-design-preview {
    width: min(100%, 242px);
    min-height: 68px;
    display: grid;
    grid-template-columns: 42px 1fr 34px;
    align-items: center;
    gap: 9px;
    border: var(--widget-border-width, 8px) solid transparent;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background:
        radial-gradient(circle at 28% 12%, rgba(255,255,255,.5), rgba(255,255,255,0) 28%) padding-box,
        linear-gradient(180deg, color-mix(in srgb, var(--widget-button-color, #ef233c), #ffffff 18%), color-mix(in srgb, var(--widget-button-color, #ef233c), #64000d 28%)) padding-box,
        linear-gradient(135deg, rgba(255,255,255,.88), color-mix(in srgb, var(--widget-accent, #fff), transparent 12%), rgba(255,255,255,.18), rgba(255,255,255,.66)) border-box;
    box-shadow: 0 12px 28px rgba(126, 6, 20, .22), 0 0 22px color-mix(in srgb, var(--widget-accent, #fff), transparent 40%);
}

.widget-design-preview.widget-theme-light {
    color: #fff;
    background:
        radial-gradient(circle at 30% 8%, rgba(255,255,255,.6), rgba(255,255,255,0) 30%) padding-box,
        linear-gradient(180deg, color-mix(in srgb, var(--widget-button-color, #ef233c), #ffffff 24%), color-mix(in srgb, var(--widget-button-color, #ef233c), #72000f 24%)) padding-box,
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(233,239,250,.64), rgba(255,255,255,.3), rgba(255,255,255,.82)) border-box;
}

.widget-design-preview.widget-shape-circle {
    width: 88px;
    min-height: 88px;
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 50%;
}

.widget-design-preview.widget-shape-circle .widget-preview-number,
.widget-design-preview.widget-shape-circle .widget-preview-icon {
    display: none;
}

.widget-preview-number {
    color: rgba(255,255,255,.78);
    font-size: 27px;
    font-weight: 500;
}

.widget-preview-label {
    min-width: 0;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.widget-preview-icon {
    color: rgba(255,255,255,.84);
    font-size: 21px;
    text-align: center;
}

.widget-engineer-preview {
    width: min(100%, 330px);
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 12px;
    padding-inline: 18px 13px;
}

.widget-preview-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.widget-preview-copy strong {
    font-size: 15px;
    line-height: 1.15;
}

.widget-preview-copy small {
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.widget-preview-arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: 20px;
}

.widget-design-controls {
    display: grid;
    gap: 12px;
}

.widget-design-controls h3 {
    margin: 0;
    color: var(--blue-900);
}

.design-toggle {
    align-self: end;
    min-height: 34px;
}

.widget-admin-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fbff;
}

.widget-admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3edf9;
}

.widget-admin-card h3 {
    margin: 0 0 4px;
    color: var(--blue-900);
    font-size: 18px;
}

.widget-admin-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
}

.widget-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue-700);
    font-weight: 800;
    white-space: nowrap;
}

.widget-toggle input {
    width: auto;
}

.settings-admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #d8e7f7;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(10,85,181,.12), rgba(255,255,255,.86)),
        radial-gradient(circle at 85% 20%, rgba(98,233,255,.32), transparent 34%);
}

.settings-admin-hero h2 {
    margin: 0 0 6px;
    color: var(--blue-900);
    font-size: 28px;
}

.settings-admin-hero p {
    margin: 0;
    color: #294a75;
}

.settings-admin-hero > span {
    align-self: center;
    padding: 10px 14px;
    border: 1px solid rgba(10,85,181,.18);
    border-radius: 999px;
    color: var(--blue-700);
    background: rgba(255,255,255,.62);
    font-weight: 800;
}

.settings-admin-form {
    display: grid;
    gap: 18px;
}

.settings-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-card {
    display: grid;
    gap: 14px;
}

.settings-card-head h2 {
    margin: 0 0 4px;
}

.settings-card-head p,
.settings-file-group p {
    margin: 0;
    color: var(--muted);
}

.settings-file-groups {
    display: grid;
    gap: 18px;
}

.settings-file-group {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e1ebf7;
    border-radius: var(--radius);
    background: #f8fbff;
}

.settings-file-group h3 {
    margin: 0;
    color: var(--blue-900);
}

.settings-save-bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding: 14px 0 0;
    background: linear-gradient(180deg, rgba(245,248,253,0), #f5f8fd 42%);
}

.menu-settings-list {
    display: grid;
    gap: 10px;
}

.menu-settings-list.compact {
    margin-top: 12px;
}

.menu-settings-row {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    align-items: end;
    padding: 10px;
    border: 1px solid #dce8f7;
    border-radius: 6px;
    background: #f8fbff;
}

.menu-footer-settings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #d8e7f7;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(239,35,60,.1), rgba(255,255,255,.9)),
        radial-gradient(circle at 86% 20%, rgba(10,85,181,.18), transparent 34%);
}

.seo-admin-hero h2 {
    margin: 0 0 6px;
    color: var(--blue-900);
    font-size: 28px;
}

.seo-admin-hero p {
    margin: 0;
    color: #294a75;
}

.seo-admin-hero > span {
    align-self: center;
    padding: 10px 14px;
    border: 1px solid rgba(239,35,60,.18);
    border-radius: 999px;
    color: #b10d22;
    background: rgba(255,255,255,.68);
    font-weight: 800;
}

.seo-admin-layout {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 18px;
    align-items: start;
}

.seo-page-list-panel {
    position: sticky;
    top: 18px;
}

.seo-page-list {
    display: grid;
    gap: 8px;
}

.seo-page-item {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid #e1ebf7;
    border-radius: 6px;
    background: #f8fbff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.seo-page-item:hover,
.seo-page-item.active {
    border-color: rgba(239,35,60,.32);
    background: #fff;
    box-shadow: 0 10px 24px rgba(6, 51, 111, .08);
    transform: translateY(-1px);
}

.seo-page-item strong {
    color: var(--blue-900);
}

.seo-page-item span {
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 800;
}

.seo-page-item small {
    color: var(--muted);
    line-height: 1.35;
}

.seo-editor-panel {
    gap: 16px;
}

.seo-editor-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 14px;
    border-bottom: 1px solid #e1ebf7;
}

.seo-editor-head h2 {
    margin: 0 0 4px;
    color: var(--blue-900);
}

.seo-editor-head span {
    color: var(--muted);
}

.seo-preview {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid #dce8f6;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, #fff, #f7fbff),
        radial-gradient(circle at 90% 0, rgba(239,35,60,.12), transparent 28%);
}

.seo-preview span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.seo-preview strong {
    color: #1a0dab;
    font-size: 20px;
}

.seo-preview em {
    color: #188038;
    font-style: normal;
    font-size: 13px;
}

.seo-preview p {
    margin: 0;
    color: #3c4043;
}

.admin-user-badge {
    color: #31547f;
    font-weight: 700;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.admin-topbar h1 {
    margin: 0;
    color: var(--blue-900);
    font-size: 34px;
}

.admin-main .flash {
    width: 100%;
    margin: 12px 0;
}

.admin-incoming-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 35, 60, .22);
    border-radius: var(--radius);
    color: #8d1020;
    background: linear-gradient(135deg, #fff6f8, #fff);
    box-shadow: 0 10px 24px rgba(239, 35, 60, .08);
}

.admin-incoming-alert .admin-nav-icon {
    width: 22px;
    height: 22px;
    color: var(--red);
}

.admin-incoming-alert strong,
.admin-incoming-alert span {
    display: block;
}

.admin-incoming-alert span {
    color: #6f3240;
    font-size: 13px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.admin-card {
    padding: 18px;
}

.admin-card span {
    color: var(--muted);
}

.admin-card strong {
    display: block;
    color: var(--blue-700);
    font-size: 30px;
}

.admin-panel {
    padding: 18px;
    margin-bottom: 18px;
}

.admin-panel.nested {
    margin-top: 18px;
    background: #f8fbff;
}

.admin-panel.narrow {
    max-width: 860px;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: #31547f;
    font-size: 13px;
    text-transform: uppercase;
}

.admin-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-person img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.admin-person small,
.admin-table small {
    color: var(--muted);
}

.admin-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fbff;
}

.admin-thumb.wide {
    width: 88px;
    height: 52px;
}

.admin-preview {
    width: 100%;
    max-width: 260px;
    height: 120px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fbff;
}

.admin-icon-preview {
    width: 42px;
    height: 42px;
    margin-top: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.form-hint {
    margin: -6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-actions form {
    display: inline-flex;
}

.admin-grid-two {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 18px;
    align-items: start;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.form-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.checkbox-row label,
.service-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #294a75;
    font-weight: 700;
}

.checkbox-row input,
.service-check input {
    width: auto;
}

.service-editor-list {
    display: grid;
    gap: 12px;
}

.service-editor {
    display: grid;
    grid-template-columns: 230px 160px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.service-editor.is-disabled {
    opacity: .64;
}

.placement-options.is-disabled {
    opacity: .58;
}

.placement-options.is-disabled label {
    cursor: not-allowed;
}

.request-form-editor {
    gap: 18px;
}

.request-form-editor .admin-panel-head {
    margin-bottom: 0;
}

.request-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.request-field-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dce8f7;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.request-field-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.request-field-card-head strong {
    color: var(--blue-900);
}

.request-field-card-head div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.request-field-card-head label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #294a75;
    font-size: 13px;
    font-weight: 800;
}

.request-field-card-head input {
    width: auto;
}

.admin-body {
    font-size: 15.4px;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
    min-height: 34px;
    padding: 9px 10px;
    border-radius: 4px;
    font-size: 15.4px;
}

.admin-body select {
    background-position: right 18px center;
    padding-right: 40px;
}

.admin-body label span,
.admin-body .form-stack label span,
.admin-body .admin-form label span {
    margin-bottom: 5px;
    font-size: 13.6px;
}

.admin-body .btn {
    min-height: 31px;
    gap: 7px;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 11.2px;
}

.admin-body .btn.small {
    min-height: 25px;
    padding: 6px 10px;
    font-size: 9.8px;
}

.admin-body .eyebrow {
    font-size: 12.5px;
}

.admin-body h2,
.admin-body .section-head h2,
.admin-body .panel-head h2,
.admin-body .admin-panel-head h2,
.admin-body .results-head h2 {
    font-size: 23.2px;
}

.admin-body .admin-sidebar {
    gap: 11px;
    padding: 15px 13px;
}

.admin-body .admin-brand img {
    width: 150px;
}

.admin-body .admin-sidebar nav {
    gap: 4px;
}

.admin-body .admin-sidebar nav a,
.admin-body .admin-exit {
    padding: 7px 8px;
    border-radius: 4px;
}

.admin-body .admin-nav-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}

.admin-body .admin-nav-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
}

.admin-body .admin-main {
    padding: 20px;
}

.admin-body .admin-topbar {
    gap: 14px;
    margin-bottom: 14px;
}

.admin-body .admin-topbar h1 {
    font-size: 32.9px;
}

.admin-body .admin-stat-grid {
    gap: 11px;
    margin-bottom: 13px;
}

.admin-body .admin-card {
    padding: 13px;
}

.admin-body .admin-card strong {
    font-size: 29px;
}

.admin-body .admin-panel {
    padding: 13px;
    margin-bottom: 13px;
}

.admin-body .admin-table th,
.admin-body .admin-table td {
    padding: 8px 7px;
}

.admin-body .admin-table th {
    font-size: 12.5px;
}

.admin-body .form-hint,
.admin-body .admin-table small {
    font-size: 13.6px;
}

.admin-body .table-actions {
    gap: 6px;
}

.admin-body .admin-grid-two {
    grid-template-columns: 330px 1fr;
    gap: 13px;
}

.admin-body .admin-form,
.admin-body .form-grid,
.admin-body .service-editor-list {
    gap: 10px;
}

.admin-body .checkbox-row {
    gap: 10px;
}

.admin-body .service-editor {
    grid-template-columns: 170px 120px 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 4px;
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: minmax(170px, 1fr) auto auto;
        gap: 12px;
        padding-inline: 24px;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
        order: 3;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px max(24px, calc((100vw - 1440px) / 2));
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
    }

    .main-nav a.active::after {
        display: none;
    }

    .header-actions {
        display: flex;
        gap: 8px;
        justify-self: end;
        order: 2;
    }

    .header-egrn-btn {
        min-height: 38px;
        padding: 9px 12px;
        font-size: 12px;
    }

    .login-link {
        width: 38px;
        height: 38px;
        justify-content: center;
        padding: 0;
        border-left: 0;
    }

    .login-link > span:first-child {
        display: none;
    }

    .search-panel,
    .stats-grid,
    .region-strip,
    .info-grid,
    .service-grid,
    .region-grid-full,
    .docs-page,
    .news-page,
    .engineers-channel-grid,
    .tariff-grid,
    .admin-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-layout,
    .profile-grid,
    .split-page,
    .region-request-band,
    .engineers-lp-hero-inner,
    .engineers-lp-value,
    .admin-grid-two,
    .widget-admin-grid,
    .widget-design-card,
    .settings-card-grid,
    .seo-admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-body .admin-grid-two {
        grid-template-columns: 1fr;
    }

    .request-field-grid {
        grid-template-columns: 1fr;
    }

    .seo-page-list-panel {
        position: static;
    }

    .filter-panel {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sro-logo-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .engineers-lp-final {
        align-items: flex-start;
        flex-direction: column;
    }

    .work-type-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container,
    .footer-grid,
    .footer-publication-notice,
    .flash {
        width: min(100% - 28px, 1440px);
    }

    .site-header {
        height: 68px;
        grid-template-columns: minmax(128px, 1fr) auto auto;
        gap: 8px;
        padding: 0 14px;
    }

    .brand img {
        width: min(154px, 44vw);
    }

    .main-nav {
        top: 68px;
        padding-inline: 14px;
    }

    .site-widgets {
        bottom: max(10px, env(safe-area-inset-bottom));
        --widget-border-width: 5px !important;
    }

    .site-engineer-cta {
        right: auto;
        left: 10px;
    }

    .site-context-widget {
        right: 10px;
        left: auto;
    }

    .site-widgets .site-engineer-cta-link {
        width: min(184px, calc(50vw - 15px));
        min-height: 58px;
        grid-template-columns: minmax(0, 1fr) 25px;
        gap: 7px;
        padding: 6px 8px 6px 10px;
    }

    .site-engineer-cta-copy {
        gap: 2px;
    }

    .site-engineer-cta-copy strong {
        font-size: 11.5px;
        line-height: 1.12;
    }

    .site-engineer-cta-copy small {
        display: -webkit-box;
        overflow: hidden;
        font-size: 9px;
        line-height: 1.12;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-engineer-cta-arrow {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }

    .site-context-widget .site-widget-panel {
        position: fixed;
        right: 10px;
        bottom: calc(max(10px, env(safe-area-inset-bottom)) + 68px);
        left: 10px;
        width: auto;
        max-height: calc(100dvh - 96px);
    }

    .site-widget-orb:hover {
        transform: none;
    }

    .widget-shape-circle .site-widget-orb {
        width: 78px;
        min-height: 78px;
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .widget-shape-circle .site-widget-orb-label {
        font-size: 11px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .review-card-head,
    .cabinet-review-head,
    .cabinet-review-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-egrn-btn {
        min-height: 34px;
        padding: 8px 9px;
        font-size: 10.5px;
    }

    .login-link {
        display: none;
    }

    .hero-building {
        width: 100%;
        opacity: .28;
    }

    .hero-inner {
        min-height: auto;
        padding: 28px 0 22px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .search-panel,
    .stats-grid,
    .region-strip,
    .info-grid,
    .service-grid,
    .region-grid-full,
    .docs-page,
    .news-page,
    .engineers-channel-grid,
    .tariff-grid,
    .engineers-lp-value,
    .region-request-band,
    .region-request-form,
    .form-card,
    .footer-grid,
    .admin-stat-grid,
    .form-grid,
    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .stat-card {
        grid-template-columns: 54px 1fr;
        padding: 14px;
    }

    .sro-showcase {
        padding: 24px 0 28px;
    }

    .sro-showcase h2 {
        margin-bottom: 16px;
        font-size: 22px;
    }

    .sro-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sro-logo-item {
        height: 88px;
        padding: 10px;
    }

    .sro-logo-item img {
        height: 66px;
    }

    .site-partner-strip {
        padding: 7px 0;
    }

    .site-partner-strip .container {
        justify-content: flex-start;
    }

    .site-partner-strip noindex {
        width: 100%;
    }

    .site-partner-button {
        width: 100%;
        min-height: 64px;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 10px;
        padding: 7px 10px;
    }

    .site-partner-button img {
        width: 46px;
        height: 34px;
    }

    .site-partner-copy strong {
        font-size: 9px;
    }

    .site-partner-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .site-partner-copy > span {
        font-size: 10.5px;
        white-space: normal;
    }

    .cta-band {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .engineer-card {
        grid-template-columns: 84px 1fr;
    }

    .engineer-visual,
    .engineer-avatar-link {
        width: 84px;
    }

    .engineer-avatar-link {
        height: 84px;
    }

    .engineer-side {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-main {
        padding: 16px;
    }

    .admin-body .admin-main {
        padding: 11px;
    }

    .service-editor {
        grid-template-columns: 1fr;
    }

    .admin-body .service-editor {
        grid-template-columns: 1fr;
    }

    .table-actions {
        min-width: 220px;
    }
}

/* Global 2026 redesign */
.admin-body {
    grid-template-columns: 282px minmax(0, 1fr);
    color: #09285c;
    background:
        radial-gradient(circle at 20% 0, rgba(63, 141, 255, .22), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(244, 72, 117, .14), transparent 34%),
        linear-gradient(135deg, #eef6ff 0%, #f7fbff 42%, #edf3ff 100%);
}

.admin-sidebar {
    margin: 0;
    padding: 24px 18px;
    color: #163b78;
    background: rgba(255,255,255,.58);
    border-right: 1px solid rgba(255,255,255,.78);
    box-shadow: 18px 0 46px rgba(42, 89, 158, .12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.admin-brand {
    display: flex;
    padding: 0 8px 16px;
}

.admin-brand img {
    width: 184px;
    filter: drop-shadow(0 16px 24px rgba(36, 93, 171, .14));
}

.admin-sidebar nav {
    gap: 8px;
}

.admin-sidebar nav a,
.admin-exit {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #163b78;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover,
.admin-exit:hover {
    color: #0b55d9;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(230,241,255,.78));
    border-color: rgba(255,255,255,.86);
    box-shadow: 0 14px 30px rgba(42, 91, 170, .14), inset 3px 0 0 #1c6fff;
    transform: translateX(2px);
}

.admin-nav-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.admin-nav-badge {
    border: 0;
    background: linear-gradient(135deg, #ff3151, #d71531);
    box-shadow: 0 10px 22px rgba(239,35,60,.28);
}

.admin-main {
    padding: 28px 30px 34px;
}

.admin-topbar {
    min-height: 74px;
    align-items: center;
    margin-bottom: 18px;
}

.admin-topbar::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(10, 85, 181, .08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 58%);
}

.admin-topbar h1 {
    font-size: 34px;
    line-height: 1.05;
}

.admin-topbar-actions {
    padding: 8px;
    border: 1px solid rgba(255,255,255,.76);
    border-radius: 18px;
    background: rgba(255,255,255,.52);
    box-shadow: 0 14px 34px rgba(41, 85, 151, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.admin-user-badge {
    padding: 10px 14px;
    border-radius: 14px;
    color: #12366e;
    background: rgba(255,255,255,.68);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.82);
}

.admin-panel,
.admin-card,
.settings-card,
.widget-admin-card,
.seo-admin-hero,
.settings-admin-hero,
.page-settings-hero {
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(239,247,255,.62));
    box-shadow: 0 18px 46px rgba(42, 86, 151, .12), inset 0 1px 0 rgba(255,255,255,.84);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.admin-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-card {
    min-height: 112px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-content: center;
    gap: 8px;
    overflow: hidden;
    position: relative;
}

.admin-card::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 14px;
    width: 92px;
    height: 22px;
    background: linear-gradient(90deg, transparent, #1c6fff 18%, #28b49b 44%, #9368ff 72%, transparent);
    clip-path: polygon(0 72%, 18% 64%, 28% 34%, 42% 48%, 55% 20%, 68% 36%, 82% 18%, 100% 28%, 100% 100%, 0 100%);
    opacity: .82;
}

.admin-card span {
    grid-column: 2;
    color: #264a7e;
    font-weight: 800;
}

.admin-card strong {
    grid-column: 2;
    color: #061f4d;
    font-size: 34px;
}

.admin-card small {
    grid-column: 2;
    color: #637b9c;
}

.admin-card > .admin-nav-icon {
    grid-row: 1 / 4;
    align-self: center;
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 50%;
    color: #1c6fff;
    background: linear-gradient(135deg, rgba(28,111,255,.12), rgba(255,255,255,.88));
}

.admin-table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    color: #234a82;
    background: rgba(232, 242, 255, .72);
}

.admin-table th,
.admin-table td {
    border-top: 1px solid rgba(205, 222, 244, .72);
}

.admin-table tbody tr:hover td {
    background: rgba(255,255,255,.55);
}

.admin-body input,
.admin-body select,
.admin-body textarea {
    border: 1px solid rgba(187, 210, 238, .88);
    border-radius: 10px;
    background-color: rgba(255,255,255,.82);
}

.admin-body .btn {
    border-radius: 10px;
    font-weight: 900;
}

.admin-body .btn.primary {
    box-shadow: 0 12px 26px rgba(10,85,181,.2);
}

.page-settings-hero,
.seo-admin-hero,
.settings-admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px;
}

.page-settings-hero h2,
.seo-admin-hero h2,
.settings-admin-hero h2 {
    margin: 0 0 6px;
    color: #09285c;
    font-size: 30px;
}

.page-settings-hero p,
.seo-admin-hero p,
.settings-admin-hero p {
    margin: 0;
    color: #2d527f;
}

.page-settings-hero > span,
.seo-admin-hero > span,
.settings-admin-hero > span {
    align-self: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: #0b55d9;
    background: rgba(255,255,255,.72);
    font-weight: 900;
}

.page-settings-layout {
    display: grid;
    grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.page-settings-list-panel {
    position: sticky;
    top: 18px;
}

.page-settings-list {
    display: grid;
    gap: 8px;
}

.page-settings-item {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(210, 226, 246, .9);
    border-radius: 14px;
    background: rgba(255,255,255,.62);
}

.page-settings-item.active,
.page-settings-item:hover {
    background: #fff;
    border-color: rgba(28,111,255,.38);
    box-shadow: 0 14px 26px rgba(42, 86, 151, .1);
}

.page-settings-item strong {
    color: #09285c;
}

.page-settings-item span {
    color: #0b55d9;
    font-weight: 800;
}

.page-settings-item small {
    color: #637b9c;
}

.page-settings-editor {
    gap: 16px;
}

.page-settings-section {
    margin: 0;
}

.engineers-lp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 26%, rgba(10,85,181,.12), transparent 24%),
        linear-gradient(105deg, #fff 0%, #f7fbff 48%, #eaf4ff 100%);
}

.engineers-lp-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 100%;
    background-image:
        linear-gradient(rgba(10,85,181,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,85,181,.09) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: skewX(-22deg) translateX(12%);
    opacity: .72;
}

.engineers-lp-hero-inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    min-height: 520px;
}

.engineers-lp-copy h1 {
    max-width: 760px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
}

.engineers-lp-copy h1::first-line {
    color: #102b5c;
}

.engineers-lp-copy .lead {
    max-width: 680px;
    font-size: 26px;
}

.engineers-lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.engineer-analytics-card {
    padding: 24px;
    border: 1px solid rgba(199, 218, 242, .88);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 60px rgba(40, 86, 151, .16);
}

.engineer-analytics-head {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.engineer-analytics-head img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
}

.engineer-analytics-head strong,
.engineer-analytics-head span,
.engineer-analytics-head small {
    display: block;
}

.engineer-analytics-head b {
    padding: 12px 14px;
    border: 1px solid #dfeafa;
    border-radius: 12px;
    color: #09285c;
    background: #fff;
}

.engineer-analytics-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.engineer-analytics-stats span {
    padding: 12px;
    border: 1px solid #dfeafa;
    border-radius: 12px;
    color: #31547f;
    font-size: 12px;
}

.engineer-analytics-stats strong {
    display: block;
    color: #09285c;
    font-size: 27px;
}

.engineer-analytics-chart {
    height: 176px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dfeafa;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.engineer-analytics-chart span {
    height: 42%;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #1d73ee, #85b7ff);
}

.engineer-analytics-chart span:nth-child(2) { height: 62%; }
.engineer-analytics-chart span:nth-child(3) { height: 54%; }
.engineer-analytics-chart span:nth-child(4) { height: 76%; }
.engineer-analytics-chart span:nth-child(5) { height: 68%; }
.engineer-analytics-chart span:nth-child(6) { height: 90%; }

.section-head.centered {
    justify-content: center;
    text-align: center;
}

.engineers-lp-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.engineers-lp-mini-card,
.compare-card,
.engineers-lp-benefits article,
.tariff-card {
    border: 1px solid #dce8f7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(40, 86, 151, .07);
}

.engineers-lp-mini-card {
    min-height: 188px;
    padding: 24px;
}

.lp-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #0a55b5;
    background: #eef6ff;
    font-weight: 900;
}

.lp-icon.accent {
    color: #fff;
    background: linear-gradient(135deg, #0a55b5, #31a4ff);
}

.engineers-lp-mini-card h3 {
    margin: 0 0 10px;
    color: #102b5c;
}

.engineers-lp-mini-card p {
    margin: 0;
    color: #34557f;
}

.engineers-lp-compare {
    margin-top: 34px;
    padding: 26px;
    border: 1px solid #dce8f7;
    border-radius: 18px;
    background: #fff;
}

.engineers-lp-compare h2 {
    margin: 0 0 18px;
    color: #102b5c;
    text-align: center;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    gap: 0;
}

.compare-card {
    min-height: 190px;
    padding: 28px;
}

.compare-card.self {
    background: linear-gradient(135deg, #fff7f8, #fff);
}

.compare-card.okir {
    background: linear-gradient(135deg, #f1fff8, #fff);
}

.compare-card span {
    color: #ef233c;
    font-weight: 900;
}

.compare-card.okir span {
    color: #14965f;
}

.compare-card strong {
    display: block;
    margin: 10px 0 16px;
    color: #ef233c;
    font-size: 34px;
}

.compare-card.okir strong {
    color: #14965f;
}

.compare-card small {
    color: #102b5c;
    font-size: 18px;
}

.compare-vs {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: 1px solid #dce8f7;
    border-radius: 50%;
    color: #102b5c;
    background: #fff;
    font-weight: 900;
    z-index: 1;
}

.engineers-lp-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.engineers-lp-benefits article {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 8px;
    padding: 16px;
}

.engineers-lp-benefits span {
    color: #0a55b5;
    font-size: 26px;
}

.engineers-lp-benefits strong,
.engineers-lp-benefits small {
    display: block;
}

.engineers-lp-benefits small {
    color: #34557f;
}

.tariff-card {
    position: relative;
    padding: 28px;
}

.tariff-card em {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 18px;
    border-radius: 0 0 10px 10px;
    color: #fff;
    background: #1d73ee;
    font-style: normal;
    font-weight: 900;
}

.tariff-maximum {
    border-color: #1d73ee;
    box-shadow: 0 20px 44px rgba(29,115,238,.16);
}

.tariff-card strong small {
    color: #102b5c;
    font-size: 16px;
}

.engineers-lp-final {
    align-items: stretch;
    border-radius: 18px;
    background: linear-gradient(135deg, #f2f8ff, #fff);
}

.engineers-lp-final span {
    color: #0a55b5;
    font-weight: 900;
}

.engineers-lp-final-form {
    min-width: 360px;
    display: grid;
    align-content: center;
}

@media (max-width: 1180px) {
    .page-settings-layout,
    .engineers-lp-hero-inner,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .engineers-lp-card-grid,
    .engineers-lp-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-vs {
        margin: -12px auto;
    }
}

@media (max-width: 760px) {
    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 14px;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-stat-grid,
    .engineers-lp-card-grid,
    .engineers-lp-benefits,
    .engineer-analytics-stats {
        grid-template-columns: 1fr;
    }

    .engineers-lp-final {
        grid-template-columns: 1fr;
    }

    .engineers-lp-final-form {
        min-width: 0;
    }
}

/* Compact admin navigation and useful dashboard charts */
.admin-body {
    grid-template-columns: 238px minmax(0, 1fr);
}

.admin-sidebar {
    overflow-y: auto;
    gap: 8px;
    padding: 14px 12px;
}

.admin-brand {
    padding: 0 6px 8px;
}

.admin-brand img,
.admin-body .admin-brand img {
    width: 136px;
}

.admin-sidebar nav,
.admin-body .admin-sidebar nav {
    gap: 3px;
}

.admin-sidebar nav a,
.admin-exit,
.admin-body .admin-sidebar nav a,
.admin-body .admin-exit {
    min-height: 34px;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.08;
}

.admin-nav-icon,
.admin-body .admin-nav-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.admin-nav-label {
    overflow-wrap: anywhere;
}

.admin-nav-badge,
.admin-body .admin-nav-badge {
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 9px;
}

.admin-exit {
    margin-top: 4px;
}

.admin-exit + .admin-exit {
    margin-top: 0;
}

.admin-card {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 132px;
    padding-bottom: 48px;
}

.admin-card::after {
    display: none;
}

.admin-card > .admin-nav-icon {
    width: 38px;
    height: 38px;
    padding: 9px;
}

.admin-card-chart {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    height: 26px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    opacity: .95;
}

.admin-card-chart i {
    flex: 1;
    height: var(--h);
    min-height: 4px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #2d7cff, #25b9a8);
    box-shadow: 0 6px 14px rgba(45,124,255,.18);
}

.chart-regions i {
    background: linear-gradient(180deg, #20b86f, #85e2ad);
}

.chart-services i,
.chart-engineer_requests i {
    background: linear-gradient(180deg, #7659ff, #b89bff);
}

.chart-applications i {
    background: linear-gradient(180deg, #ff7a22, #ffc079);
}

.chart-egrn i {
    background: linear-gradient(180deg, #2d7cff, #9dc4ff);
}

.chart-specialist_requests i {
    background: linear-gradient(180deg, #ef3f93, #ffacd2);
}

/* Rebuilt landing for cadastral engineers */
.engineers-offer-hero {
    overflow: hidden;
    border-bottom: 1px solid #e3edf9;
    background:
        linear-gradient(110deg, rgba(255,255,255,.98) 0%, rgba(246,250,255,.96) 48%, rgba(232,242,255,.92) 100%),
        linear-gradient(135deg, rgba(10,85,181,.08), rgba(239,35,60,.05));
}

.engineers-offer-grid {
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
    gap: 52px;
    align-items: center;
    padding: 56px 0;
}

.engineers-offer-copy h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #102b5c;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1;
}

.engineers-offer-copy .lead {
    max-width: 720px;
    margin: 0 0 14px;
    color: #0d356f;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.22;
}

.engineers-offer-copy p:not(.eyebrow):not(.lead) {
    max-width: 700px;
    color: #34557f;
    font-size: 17px;
}

.engineers-offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.engineers-offer-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.engineers-offer-points span {
    padding: 8px 12px;
    border: 1px solid #d9e7f7;
    border-radius: 999px;
    color: #17447d;
    background: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 900;
}

.engineers-performance-card {
    padding: 24px;
    border: 1px solid #d9e7f7;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 60px rgba(35, 79, 145, .14);
}

.performance-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.performance-head img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(71, 108, 185, .18);
}

.performance-head strong,
.performance-head span {
    display: block;
}

.performance-head strong {
    color: #102b5c;
    font-size: 20px;
}

.performance-head span {
    color: #607a9f;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.performance-metrics span {
    padding: 12px;
    border: 1px solid #e1ebf7;
    border-radius: 12px;
    color: #45658e;
    background: #fbfdff;
    font-size: 12px;
    line-height: 1.25;
}

.performance-metrics b {
    display: block;
    margin-bottom: 4px;
    color: #102b5c;
    font-size: 25px;
}

.performance-chart {
    width: 100%;
    height: auto;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #e1ebf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f7fbff);
}

.performance-chart path {
    fill: none;
    stroke: #e4edf9;
    stroke-width: 1.2;
}

.performance-chart polyline {
    fill: none;
    stroke: #1d73ee;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.performance-chart circle {
    fill: #1d73ee;
}

.performance-note {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #eef6ff;
}

.performance-note strong {
    color: #102b5c;
}

.performance-note p {
    margin: 6px 0 0;
    color: #34557f;
}

.engineers-offer-section {
    margin-top: 42px;
}

.engineers-blocker-grid,
.engineers-channel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.engineers-blocker-grid article,
.engineers-channel-list article {
    min-height: 190px;
    padding: 24px;
    border: 1px solid #dfeafa;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(35, 79, 145, .06);
}

.engineers-blocker-grid h3,
.engineers-channel-list h3 {
    margin: 0 0 10px;
    color: #102b5c;
}

.engineers-blocker-grid p,
.engineers-channel-list p {
    margin: 0;
    color: #34557f;
}

.engineers-channel-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.engineers-channel-list span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #0a55b5;
    background: #eef6ff;
    font-size: 12px;
    font-weight: 900;
}

.engineers-economy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    margin-top: 42px;
    padding: 24px;
    border: 1px solid #dfeafa;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(35,79,145,.08);
}

.engineers-economy article {
    padding: 26px;
    border-radius: 14px;
}

.engineers-economy article:first-child {
    background: #fff7f8;
}

.engineers-economy article:last-child {
    background: #f2fff8;
}

.engineers-economy span {
    color: #6b7f9c;
    font-weight: 900;
}

.engineers-economy strong {
    display: block;
    margin: 10px 0 12px;
    color: #ef233c;
    font-size: 32px;
}

.engineers-economy article:last-child strong {
    color: #14965f;
}

.engineers-economy p {
    margin: 0;
    color: #34557f;
}

.engineers-economy > div {
    align-self: center;
    justify-self: center;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfeafa;
    border-radius: 50%;
    color: #102b5c;
    background: #fff;
    font-weight: 900;
    z-index: 1;
}

.engineers-benefit-band {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 42px;
    padding: 28px;
    border: 1px solid #dfeafa;
    border-radius: 18px;
    background: linear-gradient(135deg, #f4f9ff, #fff);
}

.engineers-benefit-band h2 {
    margin: 0;
    color: #102b5c;
}

.engineers-benefit-band ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.engineers-benefit-band li {
    position: relative;
    padding: 12px 12px 12px 38px;
    border: 1px solid #e1ebf7;
    border-radius: 12px;
    color: #274a78;
    background: #fff;
    font-weight: 800;
}

.engineers-benefit-band li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0a55b5;
}

.engineers-tariff-grid .tariff-card {
    min-height: 100%;
}

.engineers-tariff-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.engineers-tariff-grid .tariff-card {
    padding: 22px 18px;
    gap: 11px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.engineers-tariff-grid .tariff-card > strong {
    font-size: 27px;
}

.engineers-tariff-grid .tariff-card ul {
    flex: 1 1 auto;
    align-content: start;
    font-size: 13px;
    line-height: 1.42;
}

.engineers-tariff-grid .tariff-card > .btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    flex: 0 0 56px;
    margin-top: auto;
    padding: 10px 16px;
    line-height: 1.2;
}

.tariff-trial-period {
    width: max-content;
    padding: 3px 7px;
    border-radius: 5px;
    color: #0a55b5;
    background: #edf5ff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.tariff-card .tariff-feature-crm {
    color: #d51f36;
    font-weight: 900;
}

.engineers-final-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-top: 42px;
    margin-bottom: 48px;
    padding: 28px;
    border: 1px solid #dfeafa;
    border-radius: 18px;
    background: #102b5c;
    color: #fff;
}

.engineers-final-cta span {
    color: #8ec2ff;
    font-weight: 900;
}

.engineers-final-cta h2 {
    margin: 8px 0;
    color: #fff;
}

.engineers-final-cta p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.78);
}

@media (max-width: 1180px) {
    .engineers-offer-grid,
    .engineers-economy,
    .engineers-benefit-band {
        grid-template-columns: 1fr;
    }

    .engineers-channel-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .engineers-tariff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        max-height: none;
    }

    .engineers-offer-grid {
        min-height: auto;
        gap: 28px;
        padding: 34px 0;
    }

    .engineers-offer-copy h1 {
        font-size: 38px;
    }

    .engineers-offer-copy .lead {
        font-size: 21px;
    }

    .performance-metrics,
    .engineers-blocker-grid,
    .engineers-channel-list,
    .engineers-benefit-band ul {
        grid-template-columns: 1fr;
    }

    .engineers-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Final polish: real data dashboard, ordering controls, responsive engineer cards */
.admin-card {
    min-height: 112px;
    padding-bottom: 22px;
}

.admin-card-chart {
    display: none !important;
}

.admin-brand img,
.admin-body .admin-brand img {
    width: 148px;
    filter: none;
}

.admin-table td.price-cell {
    min-width: 118px;
    white-space: nowrap;
    font-weight: 900;
}

.engineers-admin-table .admin-person {
    min-width: 420px;
}

.engineers-admin-table .table-actions {
    min-width: 276px;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.table-actions .btn.small {
    min-width: 92px;
    justify-content: center;
    white-space: nowrap;
}

.table-move-actions {
    width: 74px;
}

.table-move-actions,
.table-move-actions form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.table-move-actions button,
.move-controls button {
    min-width: 30px;
    height: 30px;
    border: 1px solid #c7d9f2;
    border-radius: 9px;
    color: #0a55b5;
    background: #f7fbff;
    font-weight: 900;
    cursor: pointer;
}

.table-move-actions button:hover,
.move-controls button:hover {
    color: #fff;
    background: #0a55b5;
}

.move-controls {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    align-self: center;
}

.move-controls.inline {
    flex-direction: row;
    margin: 0 0 14px;
}

.move-controls.inline button {
    width: auto;
    padding: 0 10px;
}

.menu-settings-row {
    grid-template-columns: auto 92px minmax(0, 1fr);
}

.menu-settings-list.compact .menu-settings-row {
    grid-template-columns: auto 78px minmax(0, 1fr);
}

.engineer-card {
    grid-template-columns: 128px minmax(0, 1fr) minmax(180px, 220px);
    align-items: stretch;
    gap: 18px;
}

.engineer-title {
    align-items: flex-start;
    gap: 14px;
}

.engineer-badges {
    max-width: 210px;
    justify-content: flex-start;
}

.engineer-main {
    min-width: 0;
}

.engineer-main > p {
    overflow-wrap: anywhere;
}

.engineer-side {
    min-width: 180px;
    align-items: flex-start;
    justify-content: center;
    padding-left: 18px;
    border-left: 1px solid #dfeafa;
}

.engineer-side .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1120px) {
    .engineer-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .engineer-side {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(170px, auto);
        gap: 10px;
        align-items: center;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #dfeafa;
    }

    .engineer-visual,
    .engineer-avatar-link {
        width: 112px;
    }

    .engineer-avatar-link {
        height: 112px;
    }
}

@media (max-width: 720px) {
    .engineer-card {
        grid-template-columns: 1fr;
    }

    .engineer-visual,
    .engineer-avatar-link {
        width: 96px;
    }

    .engineer-avatar-link {
        height: 96px;
    }

    .engineer-recommendation strong {
        max-width: 96px;
    }

    .engineer-side {
        grid-template-columns: 1fr;
    }

    .engineer-badges {
        max-width: none;
    }
}

/* Landing page card rebuilt to match the supplied reference */
.engineers-offer-hero {
    background: linear-gradient(112deg, #ffffff 0%, #f8fbff 48%, #edf5ff 100%);
}

.engineers-offer-grid {
    grid-template-columns: minmax(420px, .82fr) minmax(660px, 1.18fr);
    gap: 44px;
    min-height: 640px;
    padding: 52px 0;
}

.engineers-offer-copy h1 {
    font-size: clamp(48px, 5.7vw, 86px);
    line-height: 1.02;
}

.engineer-showcase-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(196, 216, 244, .9);
    border-radius: 34px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 24px 70px rgba(41, 90, 160, .16);
}

.engineer-showcase-map {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.72) 50%, rgba(232,242,255,.82) 100%),
        repeating-linear-gradient(28deg, transparent 0 34px, rgba(48, 102, 190, .08) 35px 37px),
        repeating-linear-gradient(150deg, transparent 0 44px, rgba(48, 102, 190, .07) 45px 47px);
}

.engineer-showcase-head,
.engineer-showcase-metrics,
.engineer-showcase-chart {
    position: relative;
    z-index: 1;
}

.engineer-showcase-head {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 270px;
    gap: 24px;
    align-items: center;
}

.engineer-showcase-profile {
    position: relative;
    width: 170px;
    height: 170px;
}

.engineer-showcase-profile img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(41, 90, 160, .18);
}

.engineer-showcase-profile span {
    position: absolute;
    right: 10px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #2f73f6;
    box-shadow: 0 10px 20px rgba(47,115,246,.24);
}

.engineer-showcase-profile span::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 11px;
    width: 14px;
    height: 9px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg);
}

.engineer-showcase-head strong {
    display: block;
    color: #081a45;
    font-size: 38px;
    line-height: 1.05;
}

.engineer-showcase-head span,
.engineer-showcase-head small {
    display: block;
    color: #667895;
    font-size: 21px;
}

.engineer-showcase-head small {
    margin-top: 14px;
    color: #536a8e;
}

.engineer-showcase-rating {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #6f7cff, #1d57df);
    box-shadow: 0 18px 34px rgba(29,87,223,.28);
}

.engineer-showcase-rating b {
    grid-row: span 2;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffd84d;
    background: rgba(255,255,255,.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
    font-size: 38px;
}

.engineer-showcase-rating strong {
    color: #fff;
    font-size: 48px;
}

.engineer-showcase-rating span {
    color: rgba(255,255,255,.9);
    font-size: 18px;
}

.engineer-showcase-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.engineer-showcase-metrics article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
    padding: 20px;
    border: 1px solid #dce8f8;
    border-radius: 18px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 12px 28px rgba(41,90,160,.08);
}

.engineer-showcase-metrics i {
    grid-row: span 3;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #2f73f6;
    background: #eaf3ff;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
}

.engineer-showcase-metrics span {
    color: #667895;
    font-size: 17px;
}

.engineer-showcase-metrics strong {
    color: #081a45;
    font-size: 38px;
    line-height: 1;
}

.engineer-showcase-metrics b {
    color: #16a464;
    font-size: 18px;
}

.engineer-showcase-chart {
    margin-top: 26px;
    padding: 24px 28px 22px;
    border: 1px solid #dce8f8;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 30px rgba(41,90,160,.08);
}

.engineer-showcase-chart-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
}

.engineer-showcase-chart-head span {
    color: #081a45;
    font-size: 28px;
    font-weight: 900;
}

.engineer-showcase-chart-head small {
    padding: 8px 14px;
    border: 1px solid #dce8f8;
    border-radius: 12px;
    color: #667895;
    background: #fff;
    font-size: 16px;
}

.engineer-showcase-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.engineer-showcase-chart .grid {
    fill: none;
    stroke: #dce8f8;
    stroke-dasharray: 5 8;
    stroke-width: 2;
}

.engineer-showcase-chart .fill {
    fill: url(#showcaseFill);
}

.engineer-showcase-chart .line {
    fill: none;
    stroke: #2168ee;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.engineer-showcase-chart .dots circle {
    fill: #fff;
    stroke: #2168ee;
    stroke-width: 6;
}

.engineer-showcase-chart .dots circle:last-child {
    fill: #2168ee;
    stroke: #bcd5ff;
    stroke-width: 10;
}

.engineer-showcase-months {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    color: #667895;
    font-size: 15px;
}

@media (max-width: 1280px) {
    .engineers-offer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .engineer-showcase-card {
        padding: 20px;
        border-radius: 24px;
    }

    .engineer-showcase-head,
    .engineer-showcase-metrics {
        grid-template-columns: 1fr;
    }

    .engineer-showcase-profile,
    .engineer-showcase-profile img {
        width: 132px;
        height: 132px;
    }

    .engineer-showcase-rating {
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 18px;
    }

    .engineer-showcase-rating b {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    .engineer-showcase-rating strong {
        font-size: 36px;
    }

    .engineer-showcase-metrics article {
        grid-template-columns: 58px minmax(0, 1fr);
    }
}

/* Reworked compact landing engineer card */
.engineers-offer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 38px;
    min-height: auto;
    padding: 56px 0;
}

.engineers-offer-copy h1 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
}

.engineer-clean-card {
    width: 100%;
    max-width: 520px;
    justify-self: end;
    padding: 24px;
    border: 1px solid #d8e7fb;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,249,255,.92)),
        repeating-linear-gradient(35deg, transparent 0 42px, rgba(47,115,246,.05) 43px 45px);
    box-shadow: 0 22px 56px rgba(28, 84, 158, .14);
}

.engineer-clean-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 132px;
    gap: 16px;
    align-items: center;
}

.engineer-clean-head img {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 12px 26px rgba(41,90,160,.14);
}

.engineer-clean-head strong,
.engineer-clean-head span,
.engineer-clean-head small {
    display: block;
}

.engineer-clean-head strong {
    color: #081a45;
    font-size: 28px;
    line-height: 1.08;
}

.engineer-clean-head span {
    margin-top: 5px;
    color: #667895;
    font-size: 16px;
    line-height: 1.25;
}

.engineer-clean-head small {
    margin-top: 9px;
    color: #244f93;
    font-size: 14px;
    font-weight: 900;
}

.engineer-clean-rating {
    padding: 16px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #5f73ff, #1856d7);
    box-shadow: 0 14px 30px rgba(24,86,215,.22);
}

.engineer-clean-rating b {
    display: block;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.engineer-clean-rating span {
    margin-top: 7px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.engineer-clean-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.engineer-clean-metrics article {
    min-height: 124px;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 16px;
    border: 1px solid #dce8f8;
    border-radius: 16px;
    background: rgba(255,255,255,.9);
}

.engineer-clean-metrics span {
    min-height: 38px;
    color: #607492;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.28;
}

.engineer-clean-metrics strong {
    color: #071946;
    font-size: 32px;
    line-height: 1;
}

.engineer-clean-metrics small {
    color: #16a464;
    font-size: 15px;
    font-weight: 900;
}

.engineer-clean-chart {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dce8f8;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
}

.engineer-clean-chart > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 10px;
}

.engineer-clean-chart strong {
    color: #081a45;
    font-size: 20px;
}

.engineer-clean-chart span {
    padding: 7px 11px;
    border: 1px solid #dce8f8;
    border-radius: 10px;
    color: #607492;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

.engineer-clean-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.engineer-clean-chart .grid {
    fill: none;
    stroke: #d7e5f8;
    stroke-dasharray: 5 7;
    stroke-width: 2;
}

.engineer-clean-chart .fill {
    fill: rgba(33, 104, 238, .13);
}

.engineer-clean-chart .line {
    fill: none;
    stroke: #2168ee;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.engineer-clean-chart circle {
    fill: #fff;
    stroke: #2168ee;
    stroke-width: 5;
}

@media (max-width: 1180px) {
    .engineers-offer-grid {
        grid-template-columns: 1fr;
    }

    .engineer-clean-card {
        justify-self: stretch;
        max-width: 680px;
    }
}

@media (max-width: 680px) {
    .engineer-clean-card {
        padding: 18px;
    }

    .engineer-clean-head,
    .engineer-clean-metrics {
        grid-template-columns: 1fr;
    }

    .engineer-clean-head img {
        width: 86px;
        height: 86px;
    }
}

/* V42.1: secure quick card for collecting engineer profile data */
.btn.quick-card-admin-button {
    position: relative;
    min-width: 148px;
    color: #fff;
    border-color: #c91d35;
    background: #d8233d;
    box-shadow: 0 6px 14px rgba(190, 24, 48, .18);
}

.btn.quick-card-admin-button:hover {
    color: #fff;
    border-color: #a90f27;
    background: #bd1730;
}

.quick-card-notification-dot {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #f20f35;
    box-shadow: 0 3px 10px rgba(194, 10, 40, .34);
}

.quick-card-body {
    min-height: 100vh;
    margin: 0;
    color: #102d5d;
    background: #eef4fc;
}

.quick-card-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #cfdef2;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(23, 65, 120, .08);
    backdrop-filter: blur(16px);
}

.quick-card-header-inner {
    width: min(100% - 48px, 1380px);
    min-height: 76px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) minmax(180px, auto);
    gap: 24px;
    align-items: center;
}

.quick-card-header-inner > img {
    width: 190px;
    max-height: 52px;
    object-fit: contain;
}

.quick-card-header-inner > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.quick-card-header-inner > div span {
    color: #3971b7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-card-header-inner > div strong {
    color: #0c3269;
    font-size: 19px;
}

.quick-card-header-inner > b {
    max-width: 330px;
    overflow: hidden;
    color: #35577f;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-card-main {
    width: min(100% - 48px, 1380px);
    margin: 0 auto;
    padding: 26px 0 50px;
}

.quick-card-main > .flash {
    width: 100%;
    margin: 0 0 16px;
}

.quick-card-admin-bar {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr);
    gap: 14px 22px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #b9d1ee;
    border-left: 5px solid #0b5cbd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(22, 69, 130, .08);
}

.quick-card-admin-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-card-admin-title > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.quick-card-admin-title strong,
.quick-card-admin-title small {
    display: block;
}

.quick-card-admin-title strong {
    color: #0b3168;
    font-size: 16px;
}

.quick-card-admin-title small,
.quick-card-recipient {
    color: #6881a2;
    font-size: 12px;
}

.quick-card-status {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 900;
}

.quick-card-status.is-active {
    color: #086f47;
    background: #e3f7ee;
}

.quick-card-status.is-inactive {
    color: #a3132b;
    background: #fff0f3;
}

.quick-card-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.quick-card-link-row input {
    min-width: 0;
    padding: 9px 12px;
    color: #416083;
    background: #f4f8fd;
}

.quick-card-admin-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #e0e9f5;
}

.quick-card-admin-actions form,
.quick-card-access-form,
.quick-card-switch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.quick-card-switch {
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #cbdcf1;
    border-radius: 6px;
    background: #f7faff;
}

.quick-card-switch input {
    width: 18px;
    height: 18px;
}

.quick-card-switch span {
    margin: 0;
    color: #204b80;
    font-size: 13px;
    font-weight: 800;
}

.quick-card-recipient {
    margin-left: auto;
}

.quick-card-intro {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    padding: 12px 4px 20px;
}

.quick-card-intro > div > span {
    color: #d21d3a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.quick-card-intro h1 {
    margin: 4px 0 7px;
    color: #0a2f65;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.06;
}

.quick-card-intro p {
    max-width: 800px;
    margin: 0;
    color: #597597;
    line-height: 1.55;
}

.quick-card-intro nav {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid #ceddf0;
    border-radius: 7px;
    background: #fff;
}

.quick-card-intro nav a {
    padding: 8px 11px;
    border-radius: 5px;
    color: #315d91;
    font-size: 13px;
    font-weight: 800;
}

.quick-card-intro nav a:hover {
    color: #074da4;
    background: #edf5ff;
}

.quick-card-form {
    gap: 18px;
}

.quick-card-panel {
    scroll-margin-top: 100px;
    padding: 22px;
    border: 1px solid #cfdef1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(26, 70, 128, .07);
}

.quick-card-section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1eaf5;
}

.quick-card-section-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-card-section-head > div > span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #c5daf3;
    border-radius: 7px;
    color: #0a57b5;
    background: #edf5ff;
    font-weight: 900;
}

.quick-card-section-head h2,
.quick-card-section-head p {
    margin: 0;
}

.quick-card-section-head h2 {
    color: #102f63;
    font-size: 22px;
}

.quick-card-section-head p {
    margin-top: 3px;
    color: #6881a2;
    font-size: 13px;
}

.quick-card-section-head > strong {
    padding: 8px 11px;
    border: 1px solid #cfe0f4;
    border-radius: 6px;
    color: #58769b;
    background: #f7faff;
    font-size: 12px;
}

.quick-card-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-card-photo-control {
    min-height: 56px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
}

.quick-card-photo-control img {
    width: 48px;
    height: 48px;
    border: 1px solid #cbdcf2;
    border-radius: 50%;
    object-fit: cover;
}

.quick-card-photo-control input {
    min-width: 0;
}

.quick-card-panel .service-editor {
    grid-template-columns: minmax(190px, 240px) minmax(130px, 170px) minmax(280px, 1fr);
}

.quick-card-submit {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    border: 1px solid #bad2ef;
    border-radius: 8px;
    background: #eaf3ff;
}

.quick-card-submit > div {
    display: grid;
    gap: 2px;
}

.quick-card-submit strong {
    color: #0c3269;
}

.quick-card-submit span {
    color: #627d9f;
    font-size: 13px;
}

.quick-card-message {
    width: min(100% - 32px, 620px);
    margin: 12vh auto 0;
    padding: 30px;
    border: 1px solid #c9dbf1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(20, 62, 118, .12);
}

.quick-card-message img {
    width: 200px;
    max-height: 62px;
    object-fit: contain;
}

.quick-card-message h1 {
    margin: 22px 0 8px;
    color: #0c3269;
    font-size: 28px;
}

.quick-card-message p {
    margin: 0;
    color: #5f7898;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .quick-card-header {
        position: static;
    }

    .quick-card-header-inner {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 14px;
    }

    .quick-card-header-inner > img {
        width: 170px;
    }

    .quick-card-header-inner > b {
        grid-column: 1 / -1;
        max-width: none;
        padding-bottom: 12px;
    }

    .quick-card-admin-bar {
        grid-template-columns: 1fr;
    }

    .quick-card-admin-actions {
        grid-column: auto;
    }

    .quick-card-recipient {
        width: 100%;
        margin-left: 0;
    }

    .quick-card-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .quick-card-panel .service-editor {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .quick-card-header-inner,
    .quick-card-main {
        width: min(100% - 28px, 1380px);
    }

    .quick-card-header-inner {
        grid-template-columns: 1fr;
        padding: 12px 0;
    }

    .quick-card-header-inner > b {
        grid-column: auto;
        padding-bottom: 0;
        white-space: normal;
    }

    .quick-card-admin-title,
    .quick-card-section-head,
    .quick-card-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-card-link-row,
    .quick-card-form .form-grid {
        grid-template-columns: 1fr;
    }

    .quick-card-admin-actions,
    .quick-card-access-form {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-card-admin-actions form,
    .quick-card-admin-actions .btn,
    .quick-card-access-form,
    .quick-card-submit .btn {
        width: 100%;
    }

    .quick-card-intro nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .quick-card-intro nav a {
        text-align: center;
    }

    .quick-card-panel {
        padding: 18px;
    }

    .quick-card-section-head > strong {
        text-align: center;
    }
}

/* Balanced search, compact CMS filters and direct catalog ranking */
.search-panel {
    position: relative;
    isolation: isolate;
    width: min(1240px, calc(100% - 58px));
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px 14px 16px 18px;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    overflow: visible;
}

.search-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -1px;
    right: -54px;
    bottom: -1px;
    width: 56px;
    background: rgba(255, 255, 255, .94);
    clip-path: polygon(0 0, 28% 0, 100% 100%, 0 100%);
    filter: drop-shadow(10px 10px 10px rgba(29, 65, 112, .08));
    pointer-events: none;
}

.search-panel > * {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.search-panel label {
    display: grid;
    grid-template-rows: auto 48px;
}

.search-panel input,
.search-panel select,
.search-panel .btn {
    width: 100%;
    min-height: 48px;
    height: 48px;
}

.engineer-catalog-toolbar {
    position: relative;
    overflow: visible;
    padding: 16px 18px;
}

.engineer-catalog-toolbar .admin-panel-head {
    align-items: flex-end;
    margin-bottom: 14px;
}

.engineer-catalog-toolbar .admin-panel-head h2 {
    font-size: 21px;
}

.engineer-catalog-toolbar .admin-panel-head span {
    display: block;
    max-width: 720px;
    margin-top: 2px;
    color: #587092;
    font-size: 13px;
    line-height: 1.35;
}

.engineer-admin-filters {
    width: min(100%, 1500px);
    display: grid;
    grid-template-columns: minmax(240px, 1.55fr) repeat(5, minmax(128px, 1fr)) max-content;
    gap: 10px;
    align-items: end;
}

.engineer-admin-filters label {
    min-width: 0;
}

.engineer-admin-filters label > span {
    margin-bottom: 4px;
    color: #28517f;
    font-size: 12px;
}

.admin-body .engineer-admin-filters input,
.admin-body .engineer-admin-filters select {
    min-height: 42px;
    height: 42px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 9px;
}

.engineer-filter-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 0;
}

.admin-body .engineer-filter-actions .btn {
    min-height: 42px;
    height: 42px;
    padding: 8px 13px;
}

.engineer-results-head strong {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #d3e2f6;
    border-radius: 8px;
    color: #164f9e;
    background: #f5f9ff;
    font-size: 14px;
}

.engineers-admin-table .admin-person {
    min-width: 300px;
}

.engineers-admin-table th:first-child,
.engineers-admin-table td:first-child {
    min-width: 188px;
}

.catalog-position-control {
    width: 178px;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.catalog-position-form {
    display: grid;
    grid-template-columns: 14px 42px 30px;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid #c9dcf5;
    border-radius: 11px;
    background: #edf5ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.catalog-position-form > span {
    color: #35639d;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.admin-body .catalog-position-form input {
    width: 42px;
    min-height: 30px;
    height: 30px;
    padding: 3px 2px;
    border: 0;
    border-radius: 7px;
    color: #0b356f;
    background: #fff;
    box-shadow: 0 1px 3px rgba(22, 75, 141, .12);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    appearance: textfield;
}

.admin-body .catalog-position-form input::-webkit-inner-spin-button,
.admin-body .catalog-position-form input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.catalog-position-form button,
.catalog-position-arrows button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.catalog-position-save {
    color: #fff;
    background: linear-gradient(145deg, #1672df, #0a4ea9);
    box-shadow: 0 5px 12px rgba(10, 85, 181, .22);
}

.catalog-position-save span {
    width: 12px;
    height: 10px;
    display: block;
    background: #fff;
    clip-path: polygon(0 45%, 18% 27%, 42% 53%, 82% 8%, 100% 26%, 43% 91%);
    font-size: 0;
}

.catalog-position-arrows {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid #cfe0f6;
    border-radius: 11px;
    background: #edf5ff;
}

.catalog-position-arrows form {
    display: inline-flex;
}

.catalog-position-arrows button {
    color: #0a55b5;
    border-color: transparent;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 3px rgba(22, 75, 141, .1);
}

.catalog-position-step span {
    width: 11px;
    height: 7px;
    display: block;
    background: currentColor;
    clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 42%, 22% 100%);
    font-size: 0;
}

.catalog-position-step.is-down span {
    transform: rotate(180deg);
}

.catalog-position-form button:hover,
.catalog-position-arrows button:hover {
    transform: translateY(-1px);
    color: #fff;
    border-color: #0a55b5;
    background: #0a55b5;
    box-shadow: 0 6px 14px rgba(10, 85, 181, .2);
}

.catalog-position-form button:focus-visible,
.catalog-position-arrows button:focus-visible {
    outline: 3px solid rgba(26, 111, 224, .25);
    outline-offset: 2px;
}

.catalog-position-form button:disabled,
.catalog-position-arrows button:disabled,
.catalog-position-form button:disabled:hover,
.catalog-position-arrows button:disabled:hover {
    transform: none;
    color: #9aabc0;
    border-color: transparent;
    background: #edf2f8;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .62;
}

.catalog-position-unlisted {
    width: 178px;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px dashed #cbd8e8;
    border-radius: 10px;
    color: #6b7f99;
    background: #f6f8fb;
}

.catalog-position-unlisted strong {
    font-size: 18px;
}

.catalog-position-unlisted small {
    white-space: normal;
    font-size: 11px;
    line-height: 1.25;
}

.admin-empty-row {
    padding: 28px !important;
    color: #5f7390;
    text-align: center !important;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.admin-pagination > span {
    color: #617590;
    font-size: 13px;
}

.admin-page-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7d9f1;
    border-radius: 8px;
    color: #174c91;
    background: #fff;
    font-weight: 900;
}

.admin-page-link:hover,
.admin-page-link.is-active {
    border-color: #0a55b5;
    color: #fff;
    background: #0a55b5;
}

@media (max-width: 1350px) {
    .engineer-admin-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .engineer-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 980px) {
    .search-panel {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: 1px solid #e5edf8;
        border-radius: 10px;
    }

    .search-panel::after {
        display: none;
    }
}

@media (max-width: 1050px) {
    .engineer-admin-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .engineer-filter-actions {
        justify-content: stretch;
    }

    .engineer-filter-actions .btn {
        flex: 1 1 0;
    }
}

@media (max-width: 680px) {
    .search-panel,
    .engineer-admin-filters {
        grid-template-columns: 1fr;
    }

    .engineer-catalog-toolbar .admin-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .engineer-catalog-toolbar .admin-panel-head .btn {
        width: 100%;
    }
}

/* V40: partner bar, engineer cabinet and real tariff surfaces */
.site-partner-strip .container {
    justify-content: stretch;
}

.site-partner-list {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, calc(50% - 5px));
    gap: 10px;
}

.site-partner-list noindex {
    width: 100%;
    min-width: 0;
}

.site-partner-list .site-partner-button {
    width: 100%;
    max-width: none;
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 6px 14px;
}

.site-partner-list .site-partner-copy {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px;
}

.site-partner-list .site-partner-copy > span {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.site-sponsor-button {
    background: linear-gradient(135deg, rgba(13, 78, 167, .86), rgba(16, 57, 132, .94) 55%, rgba(35, 37, 106, .88));
}

.site-sponsor-button:hover {
    background: linear-gradient(135deg, rgba(20, 100, 211, .9), rgba(12, 70, 163, .96) 55%, rgba(31, 34, 107, .92));
}

.engineer-card.plan-standard {
    border-color: rgba(25, 101, 205, .4);
    background: linear-gradient(90deg, #edf5ff, #fff 52%);
    box-shadow: 0 14px 30px rgba(25, 91, 181, .1);
}

.engineer-card.plan-maximum {
    border-color: rgba(211, 43, 60, .42);
    background: linear-gradient(90deg, #fff0f2, #fff 52%);
    box-shadow: 0 15px 32px rgba(165, 29, 48, .11);
}

.engineer-card.plan-premium {
    border-color: rgba(189, 135, 18, .5);
    background: linear-gradient(90deg, #fff6d8, #fffdf6 52%);
    box-shadow: 0 17px 36px rgba(150, 105, 11, .14);
}

.engineer-card.plan-standard::before,
.engineer-card.plan-maximum::before,
.engineer-card.plan-premium::before {
    width: 4px;
    align-self: stretch;
    grid-row: 1;
    border-radius: 4px;
    background: #1965cd;
    content: "";
}

.engineer-card.plan-standard,
.engineer-card.plan-maximum,
.engineer-card.plan-premium {
    grid-template-columns: 4px 128px minmax(0, 1fr) minmax(180px, 220px);
}

.engineer-card.plan-maximum::before {
    background: #d32b3c;
}

.engineer-card.plan-premium::before {
    background: #c58a0d;
}

.profile-plan-standard {
    --profile-plan-accent: #1965cd;
    --profile-plan-border: rgba(25, 101, 205, .38);
    --profile-plan-shadow: rgba(25, 101, 205, .16);
    background: linear-gradient(100deg, #e9f3ff, #f9fcff 62%, #edf6ff);
    box-shadow: inset 0 4px 0 var(--profile-plan-accent);
}

.profile-plan-maximum {
    --profile-plan-accent: #d32b3c;
    --profile-plan-border: rgba(211, 43, 60, .38);
    --profile-plan-shadow: rgba(211, 43, 60, .16);
    background: linear-gradient(100deg, #fff0f2, #fffafb 62%, #fff2f4);
    box-shadow: inset 0 4px 0 var(--profile-plan-accent);
}

.profile-plan-premium {
    --profile-plan-accent: #b77b00;
    --profile-plan-border: rgba(183, 123, 0, .42);
    --profile-plan-shadow: rgba(183, 123, 0, .18);
    background: linear-gradient(100deg, #fff3c9, #fffdf6 62%, #fff6d8);
    box-shadow: inset 0 4px 0 var(--profile-plan-accent);
}

.profile-plan-standard .profile-photo,
.profile-plan-maximum .profile-photo,
.profile-plan-premium .profile-photo,
.profile-plan-standard .profile-metrics span,
.profile-plan-maximum .profile-metrics span,
.profile-plan-premium .profile-metrics span,
.profile-plan-standard .contact-card,
.profile-plan-maximum .contact-card,
.profile-plan-premium .contact-card {
    border-color: var(--profile-plan-border);
}

.profile-plan-standard .profile-photo,
.profile-plan-maximum .profile-photo,
.profile-plan-premium .profile-photo {
    box-shadow: 0 14px 32px var(--profile-plan-shadow);
}

.profile-plan-standard .profile-metrics span,
.profile-plan-maximum .profile-metrics span,
.profile-plan-premium .profile-metrics span,
.profile-plan-standard .contact-card,
.profile-plan-maximum .contact-card,
.profile-plan-premium .contact-card {
    background: rgba(255, 255, 255, .88);
}

.profile-plan-standard .profile-metrics strong,
.profile-plan-maximum .profile-metrics strong,
.profile-plan-premium .profile-metrics strong,
.profile-plan-standard .contact-card strong,
.profile-plan-maximum .contact-card strong,
.profile-plan-premium .contact-card strong {
    color: var(--profile-plan-accent);
}

.dashboard-income-panel {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 18px;
    overflow: hidden;
    background:
        linear-gradient(125deg, rgba(6, 51, 111, .98), rgba(9, 80, 170, .94) 56%, rgba(26, 111, 224, .82)),
        #06336f;
}

.dashboard-income-copy {
    display: grid;
    align-content: center;
    padding: 8px;
    color: #fff;
}

.dashboard-income-copy > span {
    color: #a9d4ff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-income-copy > strong {
    margin: 8px 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
}

.dashboard-income-copy > strong small {
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
}

.dashboard-income-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.dashboard-income-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-income-plans article {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    backdrop-filter: blur(14px);
}

.dashboard-income-plans span,
.dashboard-income-plans small {
    color: rgba(255, 255, 255, .72);
}

.dashboard-income-plans strong {
    margin: 4px 0;
    font-size: 28px;
}

.account-status-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #dce8f7;
    border-radius: 8px;
    color: #4b6588;
    background: #f7fbff;
    font-size: 13px;
}

.account-status-line strong {
    color: #0a55b5;
}

.plan-feature-preview article {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.plan-feature-preview article[hidden] {
    display: none;
}

.plan-feature-preview span {
    padding: 7px 10px;
    border: 1px solid #d5e2f4;
    border-radius: 6px;
    color: #174b90;
    background: #f7fbff;
    font-size: 12px;
    font-weight: 800;
}

.is-new-row td {
    background: #fffaf0;
}

.is-new-row td:first-child {
    box-shadow: inset 4px 0 0 #f3a51f;
}

.engineer-create-layout {
    display: grid;
    grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr);
    gap: 22px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 48px;
}

.engineer-create-guide,
.engineer-self-form,
.success-credentials {
    border: 1px solid #dbe7f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(25, 70, 132, .08);
}

.engineer-create-guide {
    position: sticky;
    top: 106px;
    padding: 26px;
    color: #fff;
    border-color: #0a55b5;
    background: linear-gradient(145deg, #073b83, #0a64ce);
}

.engineer-create-guide > span {
    color: #a9d4ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.engineer-create-guide h2 {
    margin: 8px 0 22px;
    color: #fff;
}

.engineer-create-guide ol {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.engineer-create-guide li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.engineer-create-guide li > b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .44);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.engineer-create-guide li strong,
.engineer-create-guide li span {
    display: block;
}

.engineer-create-guide li span {
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.engineer-create-guide li strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 15px;
}

.engineer-self-form,
.success-credentials {
    padding: 26px;
}

.engineer-self-form .request-form-intro {
    margin-bottom: 20px;
}

.engineer-self-form .request-form-intro h2,
.success-credentials h2 {
    margin: 0 0 5px;
    color: #092b61;
}

.engineer-self-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.success-credentials {
    min-height: 300px;
    display: grid;
    justify-items: start;
    align-content: center;
}

.success-mark {
    width: 54px;
    height: 54px;
    display: block;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eaf9f1;
    position: relative;
}

.success-mark::after {
    position: absolute;
    inset: 17px 14px 19px;
    border-left: 3px solid #15965f;
    border-bottom: 3px solid #15965f;
    transform: rotate(-45deg);
    content: "";
}

.cabinet-body {
    min-height: 100vh;
    display: block;
    color: #102b5c;
    background:
        radial-gradient(circle at 12% 8%, rgba(43, 124, 245, .16), transparent 32%),
        radial-gradient(circle at 92% 4%, rgba(238, 65, 112, .09), transparent 26%),
        #eef5ff;
}

.cabinet-admin-preview-bar {
    position: sticky;
    top: 0;
    z-index: 42;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px max(28px, calc((100vw - 1380px) / 2));
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
    background: rgba(8, 54, 118, .94);
    box-shadow: 0 10px 28px rgba(8, 40, 87, .18);
    backdrop-filter: blur(16px);
}

.cabinet-admin-preview-bar > div {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cabinet-admin-preview-bar strong,
.cabinet-admin-preview-bar span,
.cabinet-admin-preview-bar small {
    letter-spacing: 0;
}

.cabinet-admin-preview-bar strong {
    white-space: nowrap;
    font-size: 14px;
}

.cabinet-admin-preview-bar span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}

.cabinet-admin-preview-bar small {
    color: rgba(255, 255, 255, .72);
    white-space: nowrap;
    font-size: 12px;
}

.cabinet-admin-preview-bar form {
    flex: 0 0 auto;
}

.cabinet-admin-preview-bar .btn {
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .1);
}

.cabinet-admin-preview-bar .btn:hover {
    color: #083676;
    border-color: #fff;
    background: #fff;
}

.cabinet-body.has-admin-preview .cabinet-header {
    top: 58px;
}

.cabinet-preview-button {
    border-color: #0a55b5;
    background: #0a55b5;
    box-shadow: 0 5px 14px rgba(10, 85, 181, .18);
}

.cabinet-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 10px max(28px, calc((100vw - 1380px) / 2));
    border-bottom: 1px solid rgba(207, 222, 244, .88);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(23, 67, 126, .08);
    backdrop-filter: blur(18px);
}

.cabinet-header > a img {
    width: 190px;
    max-height: 50px;
    object-fit: contain;
}

.cabinet-header nav {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.cabinet-header nav a {
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #34557f;
    font-size: 14px;
    font-weight: 800;
}

.cabinet-header nav a:hover,
.cabinet-header nav a.active {
    color: #0a55b5;
    border-color: #cfe0f6;
    background: #eef6ff;
}

.cabinet-user {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #294c79;
    font-size: 13px;
}

.cabinet-user span {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.cabinet-user a {
    padding-left: 12px;
    border-left: 1px solid #d3e0f2;
    color: #0a55b5;
    font-weight: 800;
}

.cabinet-main {
    width: min(100% - 56px, 1380px);
    margin: 0 auto;
    padding: 28px 0 48px;
}

.cabinet-page-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.cabinet-page-head span {
    color: #1c69d4;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cabinet-page-head h1 {
    margin: 3px 0 0;
    color: #092b61;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
}

.cabinet-panel {
    padding: 22px;
    border: 1px solid rgba(206, 221, 243, .92);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 16px 36px rgba(32, 75, 135, .08);
}

.cabinet-panel-head,
.cabinet-subsection-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.cabinet-panel-head h2,
.cabinet-subsection-head h2 {
    margin: 0;
    color: #102b5c;
    font-size: 21px;
}

.cabinet-panel-head span,
.cabinet-subsection-head span {
    color: #6680a4;
    font-size: 13px;
}

.cabinet-panel-head > strong {
    min-width: 38px;
    padding: 6px 10px;
    border-radius: 7px;
    color: #0a55b5;
    background: #eef6ff;
    text-align: center;
}

.cabinet-summary-grid,
.cabinet-grid,
.cabinet-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.cabinet-plan-summary > span,
.cabinet-profile-summary > span {
    color: #6680a4;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cabinet-plan-summary h2,
.cabinet-profile-summary h2 {
    margin: 5px 0 2px;
    color: #092b61;
    font-size: 28px;
}

.cabinet-plan-summary > strong {
    color: #0a55b5;
}

.cabinet-plan-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 18px;
}

.cabinet-plan-features span,
.cabinet-trust-note {
    padding: 6px 9px;
    border: 1px solid #d7e4f5;
    border-radius: 6px;
    color: #285785;
    background: #f7fbff;
    font-size: 12px;
    font-weight: 800;
}

.cabinet-profile-summary dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 18px;
}

.cabinet-profile-summary dl div {
    padding: 10px;
    border: 1px solid #e0eafa;
    border-radius: 7px;
    background: #f9fbff;
}

.cabinet-profile-summary dt {
    color: #7085a4;
    font-size: 11px;
}

.cabinet-profile-summary dd {
    margin: 2px 0 0;
    color: #143b73;
    font-size: 13px;
    font-weight: 900;
}

.cabinet-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.cabinet-metric-grid.is-basic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cabinet-metric-grid article {
    padding: 18px;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(32, 76, 137, .06);
}

.cabinet-metric-grid span,
.cabinet-metric-grid small,
.cabinet-metric-grid strong {
    display: block;
}

.cabinet-metric-grid span,
.cabinet-metric-grid small {
    color: #6881a3;
    font-size: 12px;
}

.cabinet-metric-grid strong {
    margin: 5px 0;
    color: #092b61;
    font-size: 30px;
}

.cabinet-feature-status {
    display: grid;
    gap: 9px;
}

.cabinet-feature-status span {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #e0eafa;
    border-radius: 7px;
    color: #4f688b;
    background: #f9fbff;
    font-size: 13px;
    font-weight: 800;
}

.cabinet-feature-status b {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aebdd1;
}

.cabinet-feature-status .is-on b {
    background: #15a369;
    box-shadow: 0 0 0 4px rgba(21, 163, 105, .12);
}

.cabinet-capability-note,
.cabinet-inline-warning {
    padding: 16px;
    border: 1px solid #d6e5f7;
    border-radius: 8px;
    color: #3e5d84;
    background: #f5f9ff;
}

.cabinet-capability-note strong,
.cabinet-capability-note p {
    display: block;
}

.cabinet-capability-note p {
    margin: 5px 0 12px;
}

.cabinet-capability-note.is-locked,
.cabinet-inline-warning {
    border-color: #f0d6a6;
    background: #fffaf0;
}

.cabinet-inline-warning.is-info {
    border-color: #d6e5f7;
    background: #f5f9ff;
}

.cabinet-lead-crm-form {
    display: grid;
    grid-template-columns: minmax(150px, .36fr) minmax(240px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.cabinet-lead-crm-form label {
    display: grid;
    gap: 6px;
}

.cabinet-lead-crm-form label > span {
    color: #5a7395;
    font-size: 12px;
    font-weight: 800;
}

.cabinet-lead-crm-form textarea {
    min-height: 74px;
    resize: vertical;
}

.cabinet-lead-notes {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid #dbe7f6;
    border-radius: 7px;
    background: #f8fbff;
}

.cabinet-lead-notes > strong {
    color: #183f75;
    font-size: 12px;
}

.cabinet-lead-notes > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #e1eaf6;
}

.cabinet-lead-notes time {
    color: #7589a5;
    font-size: 11px;
}

.cabinet-lead-notes p {
    margin: 0;
    color: #294f7d;
    font-size: 13px;
    line-height: 1.45;
}

.account-password-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.account-temporary-credential {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #f0c5cc;
    border-radius: 7px;
    color: #71404a;
    background: #fff7f8;
}

.account-temporary-credential code {
    padding: 5px 8px;
    border-radius: 5px;
    color: #9f1630;
    background: #fff;
    font-size: 14px;
    font-weight: 900;
}

.account-temporary-credential small {
    flex-basis: 100%;
}

.cabinet-trend {
    min-height: 220px;
    display: flex;
    align-items: end;
    gap: 10px;
    padding: 26px 10px 4px;
    border-bottom: 1px solid #dce7f6;
    background: repeating-linear-gradient(to top, transparent 0 54px, #e7eef8 55px 56px);
}

.cabinet-trend > span {
    height: var(--value);
    min-height: 34px;
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #2d7cf4, #9bc7ff);
}

.cabinet-trend b {
    position: absolute;
    top: -24px;
    color: #174b90;
    font-size: 12px;
}

.cabinet-trend small {
    position: absolute;
    bottom: -24px;
    color: #6f84a3;
}

.cabinet-lead-list {
    display: grid;
    gap: 10px;
}

.cabinet-lead-list article {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(160px, .7fr) minmax(220px, 1.2fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #dce7f5;
    border-radius: 8px;
    background: #fff;
}

.cabinet-lead-crm-form,
.cabinet-lead-notes {
    grid-column: 1 / -1;
}

.cabinet-lead-person span {
    color: #7388a6;
    font-size: 11px;
}

.cabinet-lead-person h3,
.cabinet-lead-person p,
.cabinet-lead-message {
    margin: 2px 0;
}

.cabinet-lead-person h3 {
    color: #102b5c;
    font-size: 16px;
}

.cabinet-lead-person p,
.cabinet-lead-message {
    color: #5b7395;
    font-size: 13px;
}

.cabinet-lead-contacts {
    display: grid;
    gap: 3px;
}

.cabinet-lead-contacts a {
    color: #0a55b5;
    font-size: 13px;
    font-weight: 800;
}

.cabinet-lead-status select {
    min-height: 40px;
    padding: 8px 34px 8px 10px;
    font-size: 13px;
}

.cabinet-status-pill {
    justify-self: start;
    padding: 6px 9px;
    border-radius: 6px;
    color: #174b90;
    background: #eef6ff;
    font-size: 12px;
    font-weight: 900;
}

.cabinet-status-pill.status-closed {
    color: #126d49;
    background: #eaf9f1;
}

.cabinet-plan-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.cabinet-plan-selector label {
    cursor: pointer;
}

.cabinet-plan-selector input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cabinet-plan-selector label > span {
    min-height: 176px;
    display: grid;
    align-content: start;
    padding: 16px;
    border: 1px solid #d7e4f5;
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cabinet-plan-selector label:hover > span,
.cabinet-plan-selector label.is-current > span,
.cabinet-plan-selector input:checked + span {
    transform: translateY(-2px);
    border-color: #2168ee;
    box-shadow: 0 12px 26px rgba(33, 104, 238, .12);
}

.cabinet-plan-selector small,
.cabinet-plan-selector strong,
.cabinet-plan-selector b,
.cabinet-plan-selector em {
    display: block;
}

.cabinet-plan-selector small {
    color: #6e83a1;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.cabinet-plan-selector strong {
    margin: 6px 0 2px;
    color: #102b5c;
    font-size: 17px;
}

.cabinet-plan-selector b {
    color: #0a55b5;
    font-size: 20px;
}

.cabinet-plan-selector em {
    margin-top: 10px;
    color: #60799b;
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
}

.cabinet-password-alert {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #f0d6a6;
    border-radius: 8px;
    color: #77511a;
    background: #fffaf0;
}

.cabinet-password-alert span {
    color: #896d43;
    font-size: 13px;
}

.cabinet-profile-form .service-editor-list {
    margin-top: 0;
}

.cabinet-subsection-head {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #dfe9f6;
}

@media (max-width: 1180px) {
    .site-partner-list {
        grid-template-columns: minmax(0, calc(50% - 5px));
    }

    .engineer-card.plan-standard,
    .engineer-card.plan-maximum,
    .engineer-card.plan-premium {
        grid-template-columns: 4px 112px minmax(0, 1fr);
    }

    .engineer-card.plan-standard .engineer-side,
    .engineer-card.plan-maximum .engineer-side,
    .engineer-card.plan-premium .engineer-side {
        grid-column: 2 / -1;
    }

    .cabinet-header {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 10px;
    }

    .cabinet-user {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .cabinet-lead-list article {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dashboard-income-panel,
    .engineer-create-layout,
    .cabinet-summary-grid,
    .cabinet-grid,
    .cabinet-settings-grid {
        grid-template-columns: 1fr;
    }

    .engineer-create-guide {
        position: static;
    }

    .cabinet-metric-grid,
    .cabinet-plan-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cabinet-header {
        position: static;
        grid-template-columns: 1fr;
    }

    .cabinet-admin-preview-bar {
        position: static;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 12px 20px;
    }

    .cabinet-admin-preview-bar > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .cabinet-admin-preview-bar strong,
    .cabinet-admin-preview-bar span,
    .cabinet-admin-preview-bar small {
        white-space: normal;
    }

    .cabinet-admin-preview-bar .btn {
        width: 100%;
    }

    .cabinet-header nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .cabinet-user {
        grid-column: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .site-partner-list {
        grid-template-columns: 1fr;
    }

    .engineers-tariff-grid {
        grid-template-columns: 1fr;
    }

    .cabinet-lead-crm-form,
    .cabinet-lead-notes > div,
    .account-password-control {
        grid-template-columns: 1fr;
    }

    .site-partner-list .site-partner-copy {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .engineer-card.plan-standard,
    .engineer-card.plan-maximum,
    .engineer-card.plan-premium {
        grid-template-columns: 4px minmax(0, 1fr);
    }

    .engineer-card.plan-standard .engineer-visual,
    .engineer-card.plan-standard .engineer-main,
    .engineer-card.plan-standard .engineer-side,
    .engineer-card.plan-maximum .engineer-visual,
    .engineer-card.plan-maximum .engineer-main,
    .engineer-card.plan-maximum .engineer-side,
    .engineer-card.plan-premium .engineer-visual,
    .engineer-card.plan-premium .engineer-main,
    .engineer-card.plan-premium .engineer-side {
        grid-column: 2;
    }

    .engineer-card.plan-standard,
    .engineer-card.plan-maximum,
    .engineer-card.plan-premium {
        min-width: 0;
    }

    .dashboard-income-plans,
    .engineer-self-form .form-grid,
    .cabinet-profile-summary dl,
    .cabinet-metric-grid,
    .cabinet-metric-grid.is-basic,
    .cabinet-plan-selector,
    .cabinet-lead-list article {
        grid-template-columns: 1fr;
    }

    .cabinet-main {
        width: min(100% - 28px, 1380px);
        padding-top: 20px;
    }

    .cabinet-page-head,
    .cabinet-panel-head,
    .cabinet-subsection-head,
    .cabinet-password-alert {
        align-items: stretch;
        flex-direction: column;
    }

    .cabinet-page-head .btn {
        width: 100%;
    }

    .cabinet-panel,
    .engineer-self-form,
    .success-credentials,
    .engineer-create-guide {
        padding: 18px;
    }
}

/* V42.1.1: unified actions in the engineer catalog */
.engineers-admin-table .table-actions {
    display: table-cell;
    width: 308px;
    min-width: 308px;
    vertical-align: middle;
}

.engineer-action-grid {
    width: 300px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

.engineer-action-grid > form {
    display: block;
    min-width: 0;
    margin: 0;
}

.engineer-action-grid > .btn,
.engineer-action-grid > form > .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    justify-content: center;
    padding: 9px 12px;
    border-width: 1px;
    border-radius: 8px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.engineer-action-grid > .btn:hover,
.engineer-action-grid > form > .btn:hover {
    transform: translateY(-1px);
}

.engineer-action-grid .cabinet-preview-button {
    color: #fff;
    border-color: #0a55b5;
    background: #0a55b5;
}

.engineer-action-grid .cabinet-preview-button:hover {
    color: #fff;
    border-color: #08468f;
    background: #084c9f;
}

.engineer-action-grid .quick-card-admin-button {
    color: #fff;
    border-color: #d8233d;
    background: #d8233d;
}

.engineer-action-grid .quick-card-admin-button:hover {
    color: #fff;
    border-color: #b81730;
    background: #bd1730;
}

.engineer-action-grid .quick-card-admin-button:first-child {
    grid-column: 1 / -1;
}

.engineer-action-grid .btn.ghost {
    color: #124f9e;
    border-color: #8eb5e7;
    background: #fff;
}

.engineer-action-grid .btn.ghost:hover {
    color: #073f89;
    border-color: #1761c2;
    background: #f1f7ff;
}

.engineer-action-grid .btn.danger {
    color: #b31d33;
    border-color: #efacb7;
    background: #fff8f9;
}

.engineer-action-grid .btn.danger:hover {
    color: #941326;
    border-color: #d94a60;
    background: #fff0f2;
}

.engineer-action-grid .btn:focus-visible {
    outline: 3px solid rgba(36, 109, 211, .22);
    outline-offset: 2px;
}

.home-region-picker input[type="search"] {
    appearance: auto;
}

@media (max-width: 760px) {
    .site-engineer-cta .site-engineer-cta-link {
        width: min(310px, calc(100vw - 28px));
        min-height: 66px;
        grid-template-columns: minmax(0, 1fr) 28px;
        gap: 9px;
        padding: 8px 11px 8px 15px;
    }

    .site-engineer-cta-copy strong {
        font-size: 14px;
    }

    .site-engineer-cta-copy small {
        font-size: 10.5px;
    }

    .site-engineer-cta-arrow {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* V42.1.5.2: keep catalog pagination clear of the final engineer card */
.catalog-pagination {
    position: relative;
    z-index: 0;
    clear: both;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 0;
    padding: 2px 0 0;
}

.catalog-pagination .btn {
    flex: 0 0 auto;
    margin: 0;
}

.catalog-pagination > span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-900);
    line-height: 1.25;
    white-space: nowrap;
}

@media (max-width: 620px) {
    .catalog-pagination {
        gap: 8px;
        margin-top: 20px;
    }

    .catalog-pagination > span {
        order: -1;
        flex: 1 0 100%;
        min-height: 30px;
    }

    .catalog-pagination .btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
    }
}

/* V42.1.5.8: review editing and compact paired site widgets. */
.review-edit-form {
    display: grid;
    gap: 10px;
    min-width: 280px;
    margin: 8px 0;
}

.review-edit-form .review-edit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 10px;
}

.review-edit-form label {
    display: grid;
    gap: 5px;
    color: #284f83;
    font-size: 13px;
    font-weight: 700;
}

.review-edit-form input,
.review-edit-form select,
.review-edit-form textarea {
    width: 100%;
    min-width: 0;
}

.review-edit-form textarea {
    resize: vertical;
}

@media (max-width: 760px) {
    .site-widgets.site-engineer-cta {
        right: auto;
        bottom: 8px;
        left: 8px;
    }

    .site-widgets.site-context-widget {
        right: 8px;
        bottom: 8px;
        left: auto;
    }

    .site-widgets .site-engineer-cta-link,
    .site-widgets .site-context-widget-button {
        width: min(176px, calc(50vw - 12px));
        min-height: 56px;
        grid-template-columns: minmax(0, 1fr) 25px;
        gap: 6px;
        padding: 7px 8px 7px 10px;
    }

    .site-widgets .site-engineer-cta-copy strong {
        font-size: 11px;
        line-height: 1.08;
    }

    .site-widgets .site-engineer-cta-copy small {
        font-size: 8.5px;
        line-height: 1.15;
    }

    .site-widgets .site-engineer-cta-arrow {
        width: 25px;
        height: 25px;
        font-size: 15px;
    }

    .review-edit-form {
        min-width: 0;
    }

    .review-edit-form .review-edit-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 380px) {
    .site-widgets .site-engineer-cta-link,
    .site-widgets .site-context-widget-button {
        width: calc(50vw - 10px);
        min-height: 50px;
    }

    .site-widgets .site-engineer-cta-copy small {
        display: none;
    }
}

/* V42.1.5.5: mobile admin navigation, responsive engineer management and full pagination */
.admin-topbar-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-menu-toggle,
.admin-sidebar-close,
.admin-sidebar-backdrop {
    display: none;
}

.catalog-page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.catalog-page-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9d2f2;
    border-radius: 8px;
    color: #0a4f9f;
    background: #fff;
    font-weight: 900;
    line-height: 1;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.catalog-page-link:hover,
.catalog-page-link.is-current {
    color: #fff;
    border-color: #0a55b5;
    background: #0a55b5;
    transform: translateY(-1px);
}

.catalog-page-link.is-current {
    cursor: default;
}

@media (max-width: 900px) {
    .admin-body {
        width: 100%;
        max-width: 100vw;
        grid-template-columns: minmax(0, 1fr);
        overflow-x: hidden;
    }

    .admin-body.admin-menu-open {
        overflow: hidden;
    }

    .admin-body .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1200;
        width: min(86vw, 320px);
        height: 100dvh;
        max-height: 100dvh;
        display: flex;
        padding: 14px 12px 20px;
        overflow-y: auto;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 22px 0 48px rgba(8, 42, 91, .24);
    }

    .admin-body.admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .admin-sidebar-head .admin-brand {
        min-width: 0;
        padding-bottom: 8px;
    }

    .admin-body .admin-sidebar nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-sidebar-close,
    .admin-menu-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #c7daf3;
        border-radius: 8px;
        color: #0a55b5;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 9px 22px rgba(16, 73, 145, .12);
        cursor: pointer;
    }

    .admin-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
    }

    .admin-menu-toggle > span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .admin-sidebar-close {
        position: relative;
        display: inline-flex;
    }

    .admin-sidebar-close > span {
        position: relative;
        width: 20px;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(45deg);
    }

    .admin-sidebar-close > span::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 20px;
        height: 2px;
        display: block;
        border-radius: 2px;
        background: currentColor;
        transform: rotate(90deg);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1190;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(5, 25, 55, .48);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        transition: opacity .22s ease, visibility .22s ease;
    }

    .admin-body.admin-menu-open .admin-sidebar-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .admin-body .admin-main {
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        padding: 14px;
    }

    .admin-topbar {
        align-items: flex-start;
        gap: 12px;
    }

    .admin-topbar-heading,
    .admin-topbar-actions {
        width: 100%;
    }

    .admin-topbar-heading > div {
        min-width: 0;
    }

    .admin-topbar h1 {
        overflow-wrap: anywhere;
    }

    .admin-topbar-actions {
        justify-content: flex-start;
    }

    .engineers-admin-table,
    .engineers-admin-table tbody {
        width: 100%;
        min-width: 0;
        display: block;
    }

    .engineers-admin-table thead {
        display: none;
    }

    .engineers-admin-table tbody {
        display: grid;
        gap: 12px;
    }

    .engineers-admin-table tbody tr {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 14px;
        padding: 16px;
        border: 1px solid #d2e1f4;
        border-radius: 10px;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 10px 26px rgba(28, 78, 145, .08);
    }

    .engineers-admin-table tbody td,
    .engineers-admin-table th:first-child,
    .engineers-admin-table td:first-child,
    .engineers-admin-table .table-actions {
        width: auto;
        min-width: 0;
        max-width: 100%;
        display: block;
        padding: 0;
        border: 0;
        overflow-wrap: anywhere;
    }

    .engineers-admin-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: #5a7394;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .engineers-admin-table .engineer-admin-person-cell,
    .engineers-admin-table .table-actions,
    .engineers-admin-table .admin-empty-row {
        grid-column: 1 / -1;
    }

    .engineers-admin-table .engineer-admin-person-cell {
        grid-row: 1;
    }

    .engineers-admin-table .admin-person {
        min-width: 0;
        align-items: center;
    }

    .engineers-admin-table .admin-person span,
    .engineers-admin-table .admin-person strong,
    .engineers-admin-table .admin-person small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .catalog-position-control {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .engineers-admin-table .table-actions {
        margin-top: 2px;
        padding-top: 12px;
        border-top: 1px solid #dce8f7;
    }

    .engineer-action-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .engineer-action-grid > .btn,
    .engineer-action-grid > form,
    .engineer-action-grid > form > .btn {
        min-width: 0;
        max-width: 100%;
    }

    .engineer-action-grid > .btn,
    .engineer-action-grid > form > .btn {
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .admin-body .admin-main {
        padding: 10px;
    }

    .admin-topbar h1 {
        font-size: 27px;
    }

    .admin-topbar-actions {
        padding: 6px;
        border-radius: 10px;
    }

    .admin-user-badge {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .engineers-admin-table tbody tr {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }

    .engineers-admin-table .engineer-admin-person-cell,
    .engineers-admin-table .table-actions,
    .engineers-admin-table .admin-empty-row {
        grid-column: auto;
    }

    .engineer-action-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalog-pagination {
        align-items: stretch;
    }

    .catalog-pagination .catalog-page-status,
    .catalog-page-numbers {
        flex: 1 0 100%;
    }

    .catalog-page-numbers {
        order: 0;
    }

    .catalog-pagination .catalog-page-edge,
    .catalog-pagination .catalog-page-step {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }
}


/* V42.1.7.1: clean click affordance and repaired widget editor */
.site-engineer-cta-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    transform: none !important;
}
.site-engineer-cta-arrow::before {
    content: none !important;
}
.site-engineer-cta-arrow img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    object-fit: contain !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: .96;
    pointer-events: none;
}
.widget-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #c8daf7;
    border-radius: 10px;
    background: #f7faff;
}
.widget-editor-save-state {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #38618f;
    font-size: 14px;
    font-weight: 700;
}
.widget-editor-save-state::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #20ad69;
    box-shadow: 0 0 0 5px rgba(32, 173, 105, .12);
    content: "";
}
.widget-editor-save-state.is-dirty::before {
    background: #f1a11d;
    box-shadow: 0 0 0 5px rgba(241, 161, 29, .14);
}
.widget-editor-save-state.is-saving::before {
    background: #136fd1;
    box-shadow: 0 0 0 5px rgba(19, 111, 209, .13);
}
.widget-setting-note {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}
.widget-design-preview {
    isolation: isolate;
    transition: opacity .2s ease, filter .2s ease, background .2s ease, border-width .2s ease, box-shadow .2s ease;
}
.widget-design-preview.is-disabled {
    opacity: .42;
    filter: grayscale(.45);
}
.widget-design-preview.widget-no-glow {
    box-shadow: 0 9px 20px rgba(24, 62, 116, .16);
}
.widget-design-card[data-widget-card="search"] .widget-design-preview:not(.widget-no-glow) {
    box-shadow: 0 12px 28px rgba(0, 68, 150, .22), 0 0 22px color-mix(in srgb, var(--widget-accent, #d9efff), transparent 40%);
}
.widget-preview-arrow {
    overflow: hidden;
}
.widget-preview-arrow img {
    display: block;
    width: 20px;
    height: 20px;
    border: 0;
    background: transparent;
    object-fit: contain;
    filter: none;
    mix-blend-mode: normal;
    opacity: .96;
    pointer-events: none;
}
@media (max-width: 700px) {
    .widget-editor-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .widget-editor-toolbar .btn {
        width: 100%;
    }
}
.engineer-contact-open {
    cursor: pointer;
    text-decoration: none;
}
.engineer-contact-fade {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    vertical-align: bottom;
    white-space: nowrap;
    color: currentColor;
    opacity: 1;
    filter: none;
    user-select: none;
}
.engineer-contact-fade--phone {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 7ch), transparent calc(100% - 2ch), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 7ch), transparent calc(100% - 2ch), transparent 100%);
}
.engineer-contact-fade--email {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 2ch, #000 7ch, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, transparent 2ch, #000 7ch, #000 100%);
}
