:root {
    --green-dark: #1b5e20;
    --green: #2e7d32;
    --green-light: #4caf50;
    --green-accent: #66bb6a;
    --green-bg: #e8f5e9;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-600: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    --radius: 12px;
    --radius-sm: 30px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --font: 'Onest', system-ui, -apple-system, sans-serif;
    --font-heading: 'Geologica', system-ui, sans-serif;
    --transition: 0.2s ease;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font);color:var(--gray-800);background:var(--white);line-height:1.6}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);}
a{color:var(--green);text-decoration:none;word-break: break-word;}
a:hover{color:var(--green-dark)}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.header{background:var(--white);box-shadow:var(--shadow);position:sticky;top:0;z-index:1000;justify-items: center;}
.header__inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:24px; margin:0 20px}
.header__logo{display:flex;align-items:center;gap:12px}
.header__site-name{font-weight:700;font-size:1.1rem;color:var(--green-dark)}
.header__menu{display:flex;list-style:none;gap:8px;align-items:center;}
.header__link{padding:8px 16px;border-radius:6px;font-weight:500;color:var(--gray-800)}
.header__link:hover,.header__link.active{color:var(--green);text-decoration:underline}
.header__burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer}
.header__burger span{display:block;width:24px;height:2px;background:var(--gray-800)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:var(--radius-sm);font-weight:600;cursor:pointer;transition:var(--transition);border:2px solid transparent;font-size:0.95rem}
.btn--primary{background:var(--green);color:var(--white)}
.btn--primary:hover{background:var(--green-dark);color:var(--white)}
.btn--second{background:var(--white);color:var(--green); border:1px solid var(--green)}
.btn--second:hover{background:var(--green);color:var(--white); border:1px solid var(--green)}
.btn--outline{border-color:var(--green);color:var(--green);background:transparent}
.btn--outline:hover{background:var(--green);color:var(--white)}
.btn--white{background:var(--white);color:var(--green-dark)}
.btn--white:hover{background:var(--green-bg)}
.btn--lg{padding:14px 32px;font-size:1.05rem}
.btn--sm{padding:6px 16px;font-size:0.85rem}
.btn--link{background:none;border:none;color:var(--green);text-decoration:none;padding:0}
.btn--danger{background:#d32f2f;color:white}
.hero{background:linear-gradient(135deg, #1b5e20, #4caf50);color:white;padding:80px 0 40px;position:relative}
.hero__inner{display:flex;align-items:center;margin-bottom:50px;min-height:300px}
.hero__content{max-width:600px}
.hero__title{font-size:2.5rem;font-weight:800;margin-bottom:20px;line-height:1.2}
.hero__text{font-size:1.15rem;margin-bottom:30px;opacity:0.95}
.hero__wave{position:absolute;bottom:-10px;left:0;width:100%}
.hero__wave svg{width:100%;height:80px}
.section{padding:30px 0}
.section__title{font-size:2rem;font-weight:700;margin-bottom:32px;color:var(--gray-900)}
.text-center{text-align:center}
.about-preview__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.advantages__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.advantage-card{background:white;padding:24px;border-radius:var(--radius);text-align:center;box-shadow:var(--shadow);transition:0.3s}
.advantage-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.advantage-card__icon{font-size:2.5rem;margin-bottom:12px}
.news-gallery__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.news-mini{display:flex;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid var(--gray-200)}
.news-mini__date{flex-shrink:0;background:var(--green-bg);color:var(--green-dark);padding:6px 12px;border-radius:6px;font-weight:600;font-size:0.85rem}
.news-mini__content h4{font-size:1rem;margin-bottom:4px}
.news-mini__arrow{flex-shrink:0;font-size:1.2rem;color:var(--green)}
.gallery-mini{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.gallery-mini__item{border-radius:var(--radius-sm);overflow:hidden}
.gallery-mini__item img{width:100%;height:140px;object-fit:cover;transition:0.3s}
.gallery-mini__item:hover img{transform:scale(1.05)}
.footer{background:var(--gray-900);color:var(--gray-200);padding:48px 0 0}
.footer__inner{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.footer__bottom{text-align:center;padding:24px 0;border-top:1px solid rgba(255,255,255,0.1);margin-top:32px;font-size:0.85rem}
.breadcrumbs{margin-bottom:16px;font-size:0.9rem;color:var(--gray-600)}
.news-grid{display:flex;flex-direction:column;gap:24px}
.news-card{display:flex;background:white;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.news-card__image{width:280px;min-height:200px;object-fit:cover}
.news-card__body{padding:20px}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px}
.pagination__item{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:var(--gray-100);color:var(--gray-800);font-weight:600}
.pagination__item.active{background:var(--green);color:white}
.tabs{display:flex;gap:8px;margin-bottom:20px}
.tabs__tab{padding:8px 16px;background:var(--gray-100);border:none;border-radius:6px;cursor:pointer}
.tabs__tab.active{background:var(--green);color:white}
.document-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--gray-200)}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gallery-item img{width:100%;height:200px;object-fit:cover;border-radius:var(--radius-sm)}
form { max-width: 600px; }
form label { display: block; margin-top: 16px; margin-bottom: 4px; font-weight: 600; font-size: 0.95rem; color: #333; }
form input, form textarea, form select { width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-radius: 8px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; outline: none; }
form input:focus, form textarea:focus, form select:focus { border-color: #4caf50; box-shadow: 0 0 0 3px rgba(76,175,80,0.2); }
form textarea { resize: vertical; min-height: 100px; }
form select[multiple] { min-height: 120px; }
form input[type="file"] { padding: 8px; border: 1px dashed #ccc; border-radius: 8px; background: #fafafa; width: 100%; }
form input[type="checkbox"], form input[type="radio"] { margin-right: 8px; transform: scale(1.15); accent-color: #4caf50; }
form input[type="checkbox"] + label, form input[type="radio"] + label { display: inline; font-weight: 400; margin: 0; }
form .btn, form button[type="submit"] { margin-top: 20px; padding: 12px 28px; background: #4caf50; color: white; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
form .btn:hover, form button[type="submit"]:hover { background: #388e3c; }
form .btn--outline { background: transparent; color: #4caf50; border: 1px solid #4caf50; }
form .btn--outline:hover { background: #4caf50; color: white; }
form .btn--danger { background: #d32f2f; }
form .btn--danger:hover { background: #b71c1c; }
form .btn--sm { padding: 6px 16px; font-size: 0.9rem; }
form input:disabled, form textarea:disabled, form select:disabled { background: #f5f5f5; color: #999; cursor: not-allowed; }
form .form-error { color: #d32f2f; font-size: 0.85rem; margin-top: 4px; }
form .form-help { color: #666; font-size: 0.8rem; margin-top: 4px; }
.header__account-icon { display: none; }
.header__account-text { display: inline; }

@media (max-width: 768px) {
    .header__account-text { display: none; }
    .header__inner { min-width: auto !important; }
    .header__menu{align-items: baseline !important;}
    .header__account-icon { display: inline; }
}
.header__desktop-account { display: flex; align-items: center; }
.header__mobile-actions { display: none; }

@media (max-width: 768px) {
    .header__desktop-account { display: none; }
    .header__mobile-actions { display: flex; align-items: center; gap: 16px; }
    .header__mobile-account { font-size: 1.6rem; text-decoration: none; line-height: 1; }
    .header__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
    .header__burger span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; }
    .header__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 16px; }
    .header__menu.open { display: flex; }
}
.header__inner { display: flex; align-items: center; min-width: 1160px; justify-content: space-between; gap: 24px; }
.header__nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.header__desktop-account { flex-shrink: 0; }
.header__mobile-actions { display: none; }

@media (max-width: 768px) {
    .header__menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 16px; }
    .header{justify-items: normal;}
    .header__nav { justify-content: end; }
    .header__menu.open { display: flex; }
    .header__mobile-actions { display: flex; align-items: center; gap: 16px; }
    .header__mobile-account { font-size: 1.6rem; text-decoration: none; line-height: 1; }
    .header__desktop-account { display: none; }
    .header__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
    .header__burger span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; }
}
.news-gallery__gallery { background: var(--green-bg); padding: 20px 30px; border-radius: 10px; }
@media (min-width: 769px) {
    .user-dashboard-wrapper { display: flex; flex-direction: row; align-items: flex-start; gap: 20px; }
    .user-sidebar { position: static !important; width: 250px; flex-shrink: 0; left: auto !important; height: auto; }
    .user-content { flex: 1; min-width: 0; }
}
.cta-block { background: var(--green-light, #4caf50); border-radius: 10px; padding: 30px; margin: 40px 0; color: #fff; }
.cta-block__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta-block__content { display: flex; align-items: center; gap: 20px; flex: 1; min-width: 250px; }
.cta-block__icon { font-size: 2.5rem; line-height: 1; }
.cta-block__text h3 { margin: 0 0 6px 0; font-size: 1.3rem; }
.cta-block__text p { margin: 0; opacity: 0.9; }
.cta-block .btn { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 480px) { .cta-block__inner { flex-direction: column; text-align: center; } .cta-block__content { flex-direction: column; } }
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; justify-content: center; align-items: center; z-index: 9999; }
.popup-overlay.open { display: flex; }
.popup { background: #fff; border-radius: 12px; padding: 30px; max-width: 500px; width: 90%; position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.2); max-height: 90vh; overflow-y: auto; }
.popup__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.popup h2 { margin-bottom: 20px; }
.popup form label { display: block; margin-top: 12px; font-weight: 600; }
.popup form input, .popup form textarea { width: 100%; padding: 8px 12px; margin-top: 4px; border: 1px solid #ddd; border-radius: 6px; }
.popup form button { margin-top: 16px; }
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.gallery-tab { padding: 8px 16px; background: #f0f0f0; border-radius: 20px; text-decoration: none; color: #333; font-size: 0.9rem; }
.gallery-tab.active, .gallery-tab:hover { background: var(--green); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.gallery-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.gallery-card__image { width: 100%; height: 220px; object-fit: cover; border-radius: 12px 12px 0 0; }
.gallery-card__title { font-weight: 600; margin-bottom: 4px; }
.gallery-card__body { padding: 16px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.gallery-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.gallery-card__category { display: inline-block; background: #e8f5e9; color: #2e7d32; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; }
.gallery-card__date { font-size: 0.75rem; color: #888; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.popup--photo { max-width: 800px; text-align: center; }
.popup--photo img { max-height: 70vh; object-fit: contain; }
.popup--photo-only { max-width: 90vw; max-height: 90vh; padding: 10px; background: transparent; box-shadow: none; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.popup-zoom-container { width: 100%; height: 100%; overflow: hidden; cursor: grab; display: flex; align-items: center; justify-content: center; }
.popup-zoom-container:active { cursor: grabbing; }
.popup-zoom-image { max-width: 100%; max-height: 80vh; object-fit: contain; transform: scale(1); transform-origin: center center; transition: transform 0.2s ease; user-select: none; pointer-events: none; }
.documents-table-wrapper { overflow-x: auto; }
.documents-table { width: 100%; border-collapse: collapse; border: none; }
.documents-table thead th { background-color: #e8f5e9; font-weight: 600; padding: 12px 16px; text-align: left; border: none; color: #2e7d32; }
.documents-table tbody td { padding: 14px 16px; border: none; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.documents-table tbody tr:hover { background-color: #f9fdf9; }
.doc-title { display: flex; align-items: center; gap: 10px; }
.doc-icon { font-size: 1.4rem; flex-shrink: 0; }
.doc-category { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.doc-date, .doc-size { font-size: 0.9rem; color: #555; white-space: nowrap; }
.doc-action { text-align: right; }
@media (max-width: 600px) {
    .documents-table thead { display: none; }
    .documents-table tbody td { display: block; text-align: right; padding: 10px 12px; border-bottom: 1px solid #e0e0e0; }
    .documents-table tbody td::before { content: attr(data-label); float: left; font-weight: 600; color: #333; }
    .documents-table tbody td.doc-title::before { content: "Название"; }
    .documents-table tbody td:nth-child(2)::before { content: "Категория"; }
    .documents-table tbody td:nth-child(3)::before { content: "Дата"; }
    .documents-table tbody td:nth-child(4)::before { content: "Размер"; }
    .documents-table tbody td:nth-child(5)::before { content: ""; }
}
.header__dropdown { position: relative; }
.header__dropdown-btn { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.header__dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); list-style: none; min-width: 200px; padding: 8px 0; z-index: 1001; }
@media (hover: hover) and (pointer: fine) {
    .header__dropdown:hover .header__dropdown-menu { display: block; }
}
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .header__dropdown-menu.open { display: block; }
}
.header__dropdown-menu li { padding: 0; }
.header__dropdown-menu .header__link { display: block; padding: 8px 20px; border-radius: 0; white-space: nowrap; color: var(--gray-800); font-weight: 500; }
.header__dropdown-menu .header__link:hover, .header__dropdown-menu .header__link.active { background: #f5f5f5; color: var(--green); text-decoration: none; }
.pagination .btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.pagination .btn--primary {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}
.pagination .btn--outline {
    background: transparent;
    border-color: #ccc;
}
.pagination .btn--outline:hover {
    background: #f5f5f5;
}

/* ===== Новая общая шапка ===== */
.header { border-bottom:1px solid #e4eee7; background:rgba(255,255,255,.96); box-shadow:0 8px 24px rgba(29,67,43,.06); backdrop-filter:blur(12px); }
.header__inner { min-width:0; max-width:1240px; min-height:76px; margin:0 auto; padding:10px 20px; gap:28px; }
.header__logo { min-width:230px; gap:11px; color:#234a31; }
.header__logo:hover { color:#234a31; }
.header__brand-copy { display:grid; gap:1px; min-width:0; }
.header__site-name { color:#234a31; font-size:.92rem; font-weight:850; line-height:1.2; letter-spacing:.01em; }
.header__site-description { max-width:205px; overflow:hidden; color:#819086; font-size:.66rem; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.header__nav { flex:1; min-width:0; justify-content:center; }
.header__menu { gap:3px; }
.header__link { display:inline-flex; align-items:center; min-height:38px; padding:8px 12px; border-radius:10px; color:#52655a; font-size:.81rem; font-weight:700; white-space:nowrap; }
.header__link:hover,.header__link.active { color:#287a3b; background:#edf8ef; text-decoration:none; }
.header__dropdown-menu { top:calc(100% + 8px); min-width:210px; padding:7px; border:1px solid #e0ece3; border-radius:14px; box-shadow:0 18px 36px rgba(25,70,40,.12); }
.header__dropdown-menu .header__link { width:100%; min-height:36px; padding:8px 11px; }
.header__dropdown-menu .header__link:hover,.header__dropdown-menu .header__link.active { background:#edf8ef; }
.header__desktop-account { margin-left:auto; }
.header__account-link { min-height:40px; padding:9px 15px; border:1px solid #b9dabc; border-radius:11px; color:#287a3b; background:#f4fbf5; font-size:.76rem; font-weight:800; white-space:nowrap; }
.header__account-link:hover { border-color:#3e9856; background:#3e9856; color:#fff; }
.header__burger { align-items:center; justify-content:center; width:42px; height:42px; padding:9px; border:1px solid #d8eadc; border-radius:11px; background:#f4fbf5; }
.header__burger:hover,.header__burger:focus-visible { border-color:#8fc29a; background:#e8f6eb; outline:none; }
.header__burger svg { width:21px; height:21px; }
.header__burger svg path { fill:#287a3b; }
@media (max-width:900px) and (min-width:769px) { .header__logo { min-width:200px; } .header__link { padding-left:8px; padding-right:8px; } .header__site-description { display:none; } }
.header__inner { width:100%; max-width:1200px; margin:0 auto; padding:12px 20px; }
.header__logo { min-width:230px; gap:12px; }
.header__logo > img { display:block; width:60px; height:60px; object-fit:contain; border:0; border-radius:0; background:transparent; box-shadow:none; }
.header__site-name { font-size:1.1rem; }
.header__site-description { max-width:220px; font-size:.7rem; }
.header__dropdown { position:relative; }
.header__dropdown::after { content:""; position:absolute; left:0; top:100%; width:220px; height:10px; }
.header__dropdown-menu { top:calc(100% + 8px) !important; }
@media (max-width:768px) {
    .header__inner { position:relative; width:100%; max-width:100%; min-width:0 !important; box-sizing:border-box; margin:0; min-height:68px; padding:8px 16px; }
    .header__logo { min-width:0; max-width:calc(100% - 110px); flex:1 1 auto; gap:9px; overflow:hidden; }
    .header__logo > img { width:52px; height:52px; }
    .header__brand-copy { min-width:0; overflow:hidden; }
    .header__site-name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .header__site-description { display:none; }
    .header__nav { position:static; }
    .header__mobile-actions { flex:0 0 auto; }
    .header__mobile-actions { position:relative; z-index:1002; }
    .header__menu { top:100%; left:0; right:0; z-index:1001; width:100%; }
    .header__site-name { font-size:.86rem; }
}

/* ===== Auth pages ===== */
.auth-page { position:relative; min-height:calc(100vh - 76px); padding:72px 0 96px; overflow:hidden; background:#f6faf7; }
.auth-page::before,.auth-page::after { content:""; position:absolute; pointer-events:none; border-radius:50%; }
.auth-page::before { width:520px; height:520px; top:-260px; right:-170px; background:rgba(101,187,106,.11); }
.auth-page::after { width:360px; height:360px; bottom:-210px; left:-160px; background:rgba(46,125,50,.06); }
.auth-layout { position:relative; z-index:1; display:grid; grid-template-columns:minmax(260px,.82fr) minmax(420px,1fr); align-items:center; gap:clamp(48px,8vw,120px); max-width:1020px; margin:0 auto; }
.auth-layout--compact { max-width:900px; }
.auth-intro { padding:18px 0; color:#284832; }
.auth-intro__eyebrow,.auth-card__kicker { display:inline-flex; align-items:center; gap:8px; color:#338347; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.auth-intro__eyebrow::before { content:""; width:28px; height:2px; border-radius:2px; background:#66bb6a; }
.auth-intro__title { margin:20px 0 18px; color:#1e3b28; font-size:clamp(2.7rem,5vw,4.45rem); font-weight:800; letter-spacing:-.055em; line-height:1.02; }
.auth-intro__title em { color:#338347; font-style:normal; }
.auth-intro__text { max-width:380px; color:#687d6e; font-size:1.05rem; line-height:1.7; }
.auth-intro__note { display:flex; align-items:center; gap:12px; max-width:350px; margin-top:34px; color:#53715b; font-size:.82rem; line-height:1.45; }
.auth-intro__note-icon { display:grid; flex:0 0 28px; place-items:center; width:28px; height:28px; border:1px solid #b8d9bd; border-radius:50%; color:#338347; background:#eaf6ec; font-weight:800; }
.auth-steps { display:grid; gap:14px; margin-top:32px; }
.auth-step { display:flex; align-items:center; gap:14px; color:#53715b; font-size:.86rem; }
.auth-step span { display:grid; flex:0 0 34px; place-items:center; width:34px; height:34px; border:1px solid #cfe4d2; border-radius:10px; color:#338347; background:#fff; font-size:.7rem; font-weight:800; }
.auth-card { width:100%; padding:clamp(28px,4vw,46px); border:1px solid #e1ece3; border-radius:24px; background:#fff; box-shadow:0 24px 70px rgba(32,82,43,.11); }
.auth-card--wide { max-width:600px; }
.auth-card__header { margin-bottom:26px; }
.auth-card__header h2 { margin:10px 0 7px; color:#203b28; font-size:clamp(1.6rem,3vw,2.05rem); letter-spacing:-.035em; line-height:1.15; }
.auth-card__header p { color:#829188; font-size:.9rem; line-height:1.55; }
.auth-form { max-width:none; }
.auth-form--grid { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.auth-form__full { grid-column:1 / -1; }
.auth-field { margin-top:16px; }
.auth-field label { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 7px; color:#385241; font-size:.82rem; font-weight:750; }
.auth-field__label-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.auth-field__label-row label { margin-bottom:0; }
.auth-field__label-row a { color:#338347; font-size:.76rem; font-weight:700; }
.auth-field__optional,.auth-field__hint { color:#9aa9a0; font-size:.7rem; font-weight:500; }
.auth-field input { width:100%; min-height:50px; margin:0; padding:13px 15px; border:1px solid #dbe7de; border-radius:12px; color:#274431; background:#fbfdfb; font-size:.93rem; transition:border-color .2s,box-shadow .2s,background .2s; }
.auth-field input::placeholder { color:#a7b3aa; }
.auth-field input:hover { border-color:#b9d7be; background:#fff; }
.auth-field input:focus { border-color:#4caf50; outline:0; background:#fff; box-shadow:0 0 0 4px rgba(76,175,80,.13); }
.auth-form__submit { display:flex; width:100%; justify-content:center; min-height:52px; margin-top:26px; padding:13px 20px; border:0; border-radius:12px; box-shadow:0 8px 18px rgba(46,125,50,.18); font-size:.92rem; }
.auth-form__submit span { margin-left:auto; font-size:1.15rem; line-height:1; }
.auth-card__footer { margin-top:24px; color:#84938a; font-size:.84rem; text-align:center; }
.auth-card__footer a { color:#338347; font-weight:750; }
.auth-alert { margin:0 0 20px; padding:12px 14px; border-radius:11px; font-size:.8rem; line-height:1.5; }
.auth-alert--error { border:1px solid #f0caca; color:#a54747; background:#fff5f5; }
.auth-alert--success { border:1px solid #c7e5cc; color:#337344; background:#f1fbf2; }
@media (max-width:800px) { .auth-page { padding:48px 0 72px; } .auth-layout { grid-template-columns:1fr; gap:24px; max-width:560px; } .auth-intro { padding:0; text-align:center; } .auth-intro__text,.auth-intro__note { margin-left:auto; margin-right:auto; } .auth-intro__note { justify-content:center; text-align:left; } .auth-steps { max-width:330px; margin-left:auto; margin-right:auto; text-align:left; } .auth-intro__title { margin-top:15px; font-size:clamp(2.5rem,11vw,3.6rem); } }
@media (max-width:520px) { .auth-page { padding-top:32px; } .auth-card { padding:26px 20px; border-radius:18px; } .auth-form--grid { display:block; } .auth-form--grid .auth-form__full { display:block; } .auth-intro__text { font-size:.95rem; } }
