* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f7fbf5;
    color: #263326;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 251, 245, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(95, 134, 91, 0.15);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9fca94, #dcefd5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Great Vibes', cursive;
    font-size: 30px;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(88, 126, 82, 0.25);
}

.logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 34px;
    color: #426842;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 500;
    color: #526652;
}

.nav a {
    transition: 0.25s;
}

.nav a:hover {
    color: #6e9b68;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link {
    font-size: 14px;
    font-weight: 600;
    color: #557956;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #7dad76, #a9d39f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(94, 138, 88, 0.24);
    transition: 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(94, 138, 88, 0.32);
}

.btn-small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
}

.btn-light {
    background: #ffffff;
    color: #557956;
    box-shadow: inset 0 0 0 1px rgba(93, 132, 89, 0.18);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 86px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -170px;
    top: -160px;
    background: radial-gradient(circle, rgba(171, 218, 160, 0.42), transparent 68%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(225, 241, 218, 0.95), transparent 68%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.hero-subtitle {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #edf8e9;
    color: #6b9663;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.95;
    color: #284028;
    letter-spacing: -0.05em;
}

.hero-text {
    max-width: 590px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.75;
    color: #5b6b5a;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-card {
    position: relative;
    padding: 30px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(112, 151, 107, 0.18);
    box-shadow: 0 26px 80px rgba(90, 125, 86, 0.18);
    backdrop-filter: blur(18px);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -38px;
    top: -38px;
    border-radius: 50%;
    background: #dcefd5;
    z-index: -1;
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-card-top span {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: #6d9867;
}

.hero-card-top p {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f0f8ed;
    font-size: 12px;
    color: #6b7d69;
}

.skin-card {
    padding: 24px;
    border-radius: 26px;
    background: #f8fcf6;
    border: 1px solid rgba(115, 151, 110, 0.14);
}

.skin-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #596a58;
}

.skin-line strong {
    color: #426842;
}

.progress {
    height: 10px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #e4efe0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #7dad76, #c4e5ba);
}

.fill-1 {
    width: 95%;
}

.fill-2 {
    width: 82%;
}

.fill-3 {
    width: 88%;
}

.hero-note {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #647363;
}

.about,
.services,
.news,
.contacts {
    padding: 82px 0;
}

.section-title {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-title.left {
    margin-left: 0;
    text-align: left;
}

.section-title p {
    margin-bottom: 10px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    color: #2d442d;
    letter-spacing: -0.03em;
}

.about-grid,
.services-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-card,
.service-card,
.news-card {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(104, 143, 99, 0.14);
    box-shadow: 0 18px 50px rgba(78, 116, 74, 0.08);
}

.about-card {
    padding: 30px;
}

.about-card span {
    display: inline-flex;
    margin-bottom: 24px;
    font-size: 42px;
    font-weight: 700;
    color: #d1e7c9;
}

.about-card h3,
.service-card h3,
.news-card h3 {
    margin-bottom: 14px;
    color: #2d442d;
    font-size: 20px;
}

.about-card p,
.service-card p,
.news-card p {
    font-size: 14px;
    line-height: 1.75;
    color: #647363;
}

.services {
    background: #eef7eb;
}

.service-card {
    padding: 28px;
}

.service-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #eff8eb;
    font-size: 26px;
}

.news-card {
    padding: 26px;
}

.news-card span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #7da876;
    font-size: 13px;
    font-weight: 600;
}

.news-card a {
    display: inline-flex;
    margin-top: 18px;
    color: #5f8c59;
    font-size: 14px;
    font-weight: 700;
}

.contacts {
    background: linear-gradient(135deg, #f7fbf5, #eaf6e6);
}

.contacts-inner {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 44px;
    align-items: center;
}

.contacts-text {
    max-width: 620px;
    margin-bottom: 30px;
    color: #5d6e5c;
    font-size: 16px;
    line-height: 1.8;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-list div {
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(105, 144, 100, 0.14);
}

.contact-list span {
    display: block;
    margin-bottom: 6px;
    color: #78a271;
    font-size: 13px;
    font-weight: 700;
}

.contact-list p {
    color: #304830;
    font-weight: 600;
}

.contacts-form {
    padding: 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 22px 60px rgba(78, 116, 74, 0.12);
}

.contacts-form h3 {
    margin-bottom: 10px;
    font-size: 26px;
    color: #2d442d;
}

.contacts-form p {
    margin-bottom: 22px;
    color: #647363;
    font-size: 14px;
    line-height: 1.7;
}

.contacts-form form {
    display: grid;
    gap: 14px;
}

.contacts-form input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid #d7e7d1;
    outline: none;
    background: #f8fcf6;
    color: #2d442d;
    font-family: inherit;
}

.contacts-form input:focus {
    border-color: #9fc894;
    box-shadow: 0 0 0 4px rgba(159, 200, 148, 0.18);
}

.footer {
    padding: 26px 0;
    background: #263326;
    color: #dfeadb;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.footer a {
    color: #bfe0b7;
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 16px 0;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-inner,
    .contacts-inner {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .logo {
        margin: 0 auto;
    }

    .nav {
        gap: 14px;
        font-size: 13px;
    }

    .hero {
        padding: 56px 0 60px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .contacts-form {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }


    
}
/* ============================= */
/* СТРАНИЦА РЕГИСТРАЦИИ */
/* ============================= */

.auth-section {
    min-height: calc(100vh - 82px);
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, rgba(194, 227, 185, 0.65), transparent 34%),
        radial-gradient(circle at bottom right, rgba(226, 243, 220, 0.95), transparent 38%),
        #f7fbf5;
}

.auth-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 54px;
    align-items: center;
}

.auth-info {
    max-width: 680px;
}

.auth-info h1 {
    max-width: 660px;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.98;
    color: #284028;
    letter-spacing: -0.05em;
}

.auth-info > p {
    max-width: 570px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.75;
    color: #5b6b5a;
}

.auth-steps {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.auth-steps div {
    max-width: 460px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(105, 144, 100, 0.15);
    box-shadow: 0 14px 34px rgba(78, 116, 74, 0.08);
}

.auth-steps span {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #e8f5e3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f9b68;
    font-weight: 700;
}

.auth-steps p {
    margin: 0;
    color: #304830;
    font-weight: 600;
}

.auth-card {
    width: 100%;
    padding: 34px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 28px 80px rgba(78, 116, 74, 0.14);
    backdrop-filter: blur(18px);
}

.auth-card h2 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #2d442d;
}

.auth-card-text {
    margin-bottom: 24px;
    color: #647363;
    font-size: 14px;
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 8px;
}

.auth-form label span {
    color: #4d684c;
    font-size: 14px;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid #d7e7d1;
    outline: none;
    background: #f8fcf6;
    color: #2d442d;
    font-family: inherit;
    font-size: 14px;
}

.auth-form input::placeholder {
    color: #8c9b8b;
}

.auth-form input:focus {
    border-color: #9fc894;
    box-shadow: 0 0 0 4px rgba(159, 200, 148, 0.18);
}

.auth-form .btn {
    width: 100%;
    margin-top: 8px;
}

.auth-bottom {
    margin-top: 22px;
    text-align: center;
    color: #647363;
    font-size: 14px;
}

.auth-bottom a {
    color: #5f8c59;
    font-weight: 700;
}

.message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.message-error {
    background: #fff1f1;
    color: #9d3434;
    border: 1px solid #ffd2d2;
}

.message-success {
    background: #edf8e9;
    color: #497b43;
    border: 1px solid #cfe8c7;
}

@media (max-width: 980px) {
    .auth-inner {
        grid-template-columns: 1fr;
    }

    .auth-info {
        max-width: 100%;
    }

    .auth-card {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .auth-section {
        padding: 52px 0;
    }

    .auth-info h1 {
        font-size: 40px;
    }

    .auth-card {
        padding: 24px;
    }
}


.client-section {
    padding: 70px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(194, 227, 185, 0.7), transparent 34%),
        radial-gradient(circle at bottom right, rgba(226, 243, 220, 0.95), transparent 38%),
        #f7fbf5;
}

.client-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    margin-bottom: 34px;
}

.client-hero h1 {
    max-width: 780px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    color: #284028;
    letter-spacing: -0.05em;
}

.client-hero p {
    max-width: 680px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #5b6b5a;
}

.client-hero-card {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 24px 70px rgba(78, 116, 74, 0.12);
}

.client-hero-card span {
    display: block;
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.client-hero-card strong {
    display: block;
    color: #2d442d;
    font-size: 30px;
}

.client-hero-card p {
    margin-top: 10px;
    font-size: 14px;
    color: #647363;
}

.client-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.client-action-card {
    display: block;
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(104, 143, 99, 0.14);
    box-shadow: 0 18px 50px rgba(78, 116, 74, 0.08);
    transition: 0.25s;
}

.client-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(78, 116, 74, 0.14);
}

.client-action-card.primary {
    background: linear-gradient(135deg, #edf8e9, #ffffff);
}

.client-action-card span {
    display: inline-flex;
    margin-bottom: 20px;
    color: #b4d8aa;
    font-size: 38px;
    font-weight: 700;
}

.client-action-card h3 {
    margin-bottom: 12px;
    color: #2d442d;
    font-size: 21px;
}

.client-action-card p {
    color: #647363;
    font-size: 14px;
    line-height: 1.7;
}

.client-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.client-stat-card {
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(104, 143, 99, 0.14);
}

.client-stat-card span {
    display: block;
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
}

.client-stat-card strong {
    display: block;
    color: #2d442d;
    font-size: 34px;
}

.client-stat-card p {
    margin-top: 6px;
    color: #647363;
    font-size: 14px;
}

.client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.client-panel {
    padding: 30px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 22px 60px rgba(78, 116, 74, 0.1);
}

.client-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.client-panel-top p {
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.client-panel-top h2 {
    color: #2d442d;
    font-size: 30px;
}

.empty-card {
    padding: 24px;
    border-radius: 24px;
    background: #f8fcf6;
    border: 1px dashed #cfe3c8;
}

.empty-card h3 {
    margin-bottom: 10px;
    color: #2d442d;
}

.empty-card p {
    color: #647363;
    font-size: 14px;
    line-height: 1.7;
}

.client-list {
    display: grid;
    gap: 14px;
}

.client-list-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.12);
}

.client-list-item h3 {
    margin-bottom: 6px;
    color: #2d442d;
    font-size: 17px;
}

.client-list-item p {
    color: #647363;
    font-size: 14px;
    line-height: 1.5;
}

.anketa-item {
    align-items: flex-start;
}

.status {
    display: inline-flex;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-success {
    background: #edf8e9;
    color: #497b43;
}

.status-wait {
    background: #fff8e5;
    color: #9a7229;
}

.process-panel {
    margin-top: 28px;
}

@media (max-width: 980px) {
    .client-hero,
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-actions,
    .client-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .client-section {
        padding: 48px 0 70px;
    }

    .client-panel,
    .client-hero-card {
        padding: 24px;
    }

    .client-panel-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-list-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
.disabled-card {
    opacity: 0.65;
    cursor: not-allowed;
}

.disabled-card:hover {
    transform: none;
    box-shadow: 0 18px 50px rgba(78, 116, 74, 0.08);
}

.schema-card {
    padding: 24px;
    border-radius: 26px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.14);
}

.schema-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.schema-card-header h3 {
    color: #2d442d;
    font-size: 22px;
    margin-bottom: 6px;
}

.schema-card-header p,
.schema-empty {
    color: #647363;
    font-size: 14px;
    line-height: 1.6;
}

.schema-periods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.schema-periods h4 {
    margin-bottom: 14px;
    color: #2d442d;
    font-size: 20px;
}

.schema-product {
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(105, 144, 100, 0.12);
    margin-bottom: 12px;
}

.schema-product span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #76a170;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.schema-product h5 {
    color: #2d442d;
    font-size: 17px;
    margin-bottom: 8px;
}

.schema-product p {
    color: #647363;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.schema-product a {
    color: #5f8c59;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 780px) {
    .schema-periods {
        grid-template-columns: 1fr;
    }
}
/* ============================= */
/* АНКЕТА КЛИЕНТА */
/* ============================= */

.anketa-form {
    display: grid;
    gap: 24px;
}

.defekti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.defekt-check {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.14);
    cursor: pointer;
    transition: 0.25s;
}

.defekt-check:hover {
    transform: translateY(-2px);
    border-color: #9fc894;
    box-shadow: 0 14px 34px rgba(78, 116, 74, 0.1);
}

.defekt-check input {
    width: 18px;
    height: 18px;
    accent-color: #7dad76;
    cursor: pointer;
}

.defekt-check span {
    color: #2d442d;
    font-size: 15px;
    font-weight: 600;
}

.defekt-check:has(input:checked) {
    background: #edf8e9;
    border-color: #9fc894;
    box-shadow: 0 12px 30px rgba(78, 116, 74, 0.12);
}

@media (max-width: 700px) {
    .defekti-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================= */
/* ПАНЕЛЬ АДМИНИСТРАТОРА */
/* ============================= */

.admin-section {
    padding: 70px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(194, 227, 185, 0.7), transparent 34%),
        radial-gradient(circle at bottom right, rgba(226, 243, 220, 0.95), transparent 38%),
        #f7fbf5;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    margin-bottom: 34px;
}

.admin-hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    color: #284028;
    letter-spacing: -0.05em;
}

.admin-hero p {
    max-width: 720px;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #5b6b5a;
}

.admin-hero-card {
    padding: 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 24px 70px rgba(78, 116, 74, 0.12);
}

.admin-hero-card span {
    display: block;
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-hero-card strong {
    display: block;
    color: #2d442d;
    font-size: 30px;
}

.admin-hero-card p {
    margin-top: 10px;
    font-size: 14px;
    color: #647363;
}

.admin-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    margin-bottom: 28px;
}

.admin-panel {
    padding: 30px;
    margin-bottom: 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(105, 144, 100, 0.16);
    box-shadow: 0 22px 60px rgba(78, 116, 74, 0.1);
}

.admin-workspace .admin-panel {
    margin-bottom: 0;
}

.admin-main-panel {
    min-height: 100%;
}

.admin-side-panel {
    background: linear-gradient(135deg, #edf8e9, #ffffff);
}

.admin-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-panel-top p {
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-panel-top h2 {
    color: #2d442d;
    font-size: 30px;
}

.admin-task-list {
    display: grid;
    gap: 14px;
}

.admin-task {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(104, 143, 99, 0.14);
    transition: 0.25s;
}

.admin-task:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(78, 116, 74, 0.1);
}

.admin-task > span {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #e8f5e3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f9b68;
    font-weight: 700;
}

.admin-task h3 {
    margin-bottom: 6px;
    color: #2d442d;
    font-size: 16px;
}

.admin-task p {
    color: #647363;
    font-size: 14px;
    line-height: 1.5;
}

.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.admin-menu-card {
    display: block;
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(104, 143, 99, 0.14);
    box-shadow: 0 18px 50px rgba(78, 116, 74, 0.08);
    transition: 0.25s;
}

.admin-menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(78, 116, 74, 0.14);
}

.admin-menu-card.primary {
    background: linear-gradient(135deg, #edf8e9, #ffffff);
}

.admin-menu-card span {
    display: inline-flex;
    margin-bottom: 20px;
    color: #b4d8aa;
    font-size: 38px;
    font-weight: 700;
}

.admin-menu-card h3 {
    margin-bottom: 12px;
    color: #2d442d;
    font-size: 21px;
}

.admin-menu-card p {
    color: #647363;
    font-size: 14px;
    line-height: 1.7;
}

.constructor-grid .admin-menu-card span {
    min-height: 46px;
}

@media (max-width: 1100px) {
    .admin-workspace,
    .admin-hero {
        grid-template-columns: 1fr;
    }

    .admin-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .admin-section {
        padding: 48px 0 70px;
    }

    .admin-menu-grid {
        grid-template-columns: 1fr;
    }

    .admin-panel,
    .admin-hero-card {
        padding: 24px;
    }

    .admin-panel-top {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ============================= */
/* АДМИН: ЗАПИСИ */
/* ============================= */

.admin-zapis-list {
    display: grid;
    gap: 22px;
}

.admin-zapis-card {
    padding: 26px;
    border-radius: 28px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.14);
}

.admin-zapis-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-zapis-head span:first-child {
    display: inline-flex;
    margin-bottom: 8px;
    color: #76a170;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-zapis-head h3 {
    color: #2d442d;
    font-size: 24px;
    margin-bottom: 6px;
}

.admin-zapis-head p {
    color: #647363;
    font-size: 14px;
}

.admin-zapis-form {
    display: grid;
    gap: 18px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.admin-form-grid label {
    display: grid;
    gap: 8px;
}

.admin-form-grid label span {
    color: #4d684c;
    font-size: 14px;
    font-weight: 600;
}

.admin-form-grid input,
.admin-form-grid select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid #d7e7d1;
    outline: none;
    background: #ffffff;
    color: #2d442d;
    font-family: inherit;
    font-size: 14px;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus {
    border-color: #9fc894;
    box-shadow: 0 0 0 4px rgba(159, 200, 148, 0.18);
}

.admin-zapis-actions {
    display: flex;
    justify-content: flex-start;
}

.delete-form {
    margin-top: 14px;
}

.admin-delete-btn {
    border: none;
    background: transparent;
    color: #a94a4a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.admin-delete-btn:hover {
    text-decoration: underline;
}

.status-danger {
    background: #fff1f1;
    color: #9d3434;
}

@media (max-width: 1100px) {
    .admin-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-zapis-head {
        flex-direction: column;
    }
}
.admin-edit-anketa-form {
    margin-top: 24px;
}
.admin-user-form {
    display: grid;
    gap: 20px;
}

.user-form-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
    .user-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .user-form-grid {
        grid-template-columns: 1fr;
    }
}
.admin-schema-card {
    margin-bottom: 0;
}

.admin-schema-card .delete-form {
    margin-top: 18px;
}
/* ============================= */
/* АДМИН: ТАБЛИЦЫ */
/* ============================= */

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid rgba(105, 144, 100, 0.14);
    background: #ffffff;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.admin-table th {
    padding: 18px 20px;
    background: #f1f8ee;
    color: #4d684c;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(105, 144, 100, 0.14);
}

.admin-table td {
    padding: 18px 20px;
    color: #647363;
    font-size: 15px;
    border-bottom: 1px solid rgba(105, 144, 100, 0.1);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table td strong {
    color: #2d442d;
    font-size: 16px;
}

.admin-table tbody tr {
    transition: 0.2s;
}

.admin-table tbody tr:hover {
    background: #f8fcf6;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.table-link {
    color: #5f8c59;
    font-size: 14px;
    font-weight: 700;
}

.table-link:hover {
    text-decoration: underline;
}

.table-delete-btn {
    border: none;
    background: transparent;
    color: #a94a4a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.table-delete-btn:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .admin-table th,
    .admin-table td {
        padding: 14px 16px;
    }
}
.veshestva-form-grid {
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
}

.admin-check-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding-top: 28px;
}

.admin-check-label input {
    width: 18px;
    height: 18px;
    accent-color: #7dad76;
}

.admin-check-label span {
    color: #4d684c;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .veshestva-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .veshestva-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-check-label {
        padding-top: 0;
    }
}
.sredstva-form-grid {
    grid-template-columns: 2fr 1fr 2fr;
}

.wide-label {
    display: grid;
    gap: 8px;
}

.wide-label span,
.admin-subtitle p {
    color: #4d684c;
    font-size: 14px;
    font-weight: 700;
}

.wide-label textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #d7e7d1;
    outline: none;
    background: #ffffff;
    color: #2d442d;
    font-family: inherit;
    font-size: 14px;
}

.wide-label textarea:focus {
    border-color: #9fc894;
    box-shadow: 0 0 0 4px rgba(159, 200, 148, 0.18);
}

.admin-subtitle {
    margin-top: 4px;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.14);
    cursor: pointer;
}

.mini-check input {
    width: 16px;
    height: 16px;
    accent-color: #7dad76;
}

.mini-check span {
    color: #2d442d;
    font-size: 14px;
    font-weight: 600;
}

.table-muted {
    margin-top: 6px;
    color: #647363;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .sredstva-form-grid,
    .check-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sredstva-form-grid,
    .check-grid {
        grid-template-columns: 1fr;
    }
}
.defect-link-form-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 700px) {
    .defect-link-form-grid {
        grid-template-columns: 1fr;
    }
}
.constructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.constructor-tags span {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: #e8f5e3;
    color: #477241;
    font-weight: 700;
    font-size: 14px;
}

.constructor-note {
    margin-top: 18px;
}

.constructor-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.constructor-group {
    margin-bottom: 28px;
}

.constructor-group:last-child {
    margin-bottom: 0;
}

.constructor-group h3 {
    margin-bottom: 16px;
    color: #2d442d;
    font-size: 24px;
}

.constructor-product {
    display: flex;
    gap: 16px;
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 22px;
    background: #f8fcf6;
    border: 1px solid rgba(105, 144, 100, 0.16);
    cursor: pointer;
    transition: 0.2s;
}

.constructor-product:hover {
    background: #f1f8ee;
}

.constructor-product input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 4px;
    accent-color: #7dad76;
}

.constructor-product span {
    display: inline-flex;
    margin-bottom: 6px;
    color: #76a170;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.constructor-product h4 {
    margin-bottom: 8px;
    color: #2d442d;
    font-size: 18px;
}

.constructor-product p {
    margin-bottom: 6px;
    color: #647363;
    font-size: 14px;
    line-height: 1.5;
}

.constructor-product a {
    display: inline-flex;
    margin-top: 6px;
    color: #5f8c59;
    font-weight: 700;
    font-size: 14px;
}

.constructor-save-text {
    margin-bottom: 20px;
    color: #647363;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .constructor-grid-main {
        grid-template-columns: 1fr;
    }
}