.shg-candidates-section{padding:58px 0;background:linear-gradient(180deg,#f6f9ff 0%,#fff 100%)}
.shg-candidates-section .container{width:min(1240px,calc(100% - 32px));margin:auto}
.shg-candidates-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.shg-candidates-copy h2{margin:0 0 8px;color:#0b2144;font-size:clamp(27px,3.2vw,40px);line-height:1.08;letter-spacing:-.035em}
.shg-candidates-copy p{margin:0;color:#64748b;font-size:16px;max-width:720px}
.shg-candidates-count{display:inline-flex;align-items:center;gap:8px;border:1px solid #bbf7d0;background:#f0fdf4;color:#15803d;border-radius:999px;padding:9px 14px;font-weight:850;white-space:nowrap}
.shg-candidates-count:before{content:"";width:9px;height:9px;background:#22c55e;border-radius:50%;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.shg-candidates-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.shg-candidate-card{display:flex;flex-direction:column;min-height:100%;background:#fff;border:1px solid #dfe8f5;border-radius:20px;padding:20px;box-shadow:0 14px 34px rgba(20,49,91,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.shg-candidate-card:hover{transform:translateY(-3px);border-color:#b7cff5;box-shadow:0 20px 42px rgba(20,49,91,.13)}
.shg-candidate-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}
.shg-candidate-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:24px;background:linear-gradient(145deg,#e8f1ff,#f8fbff);border:1px solid #d8e5f8}
.shg-candidate-fresh{font-size:12px;color:#15803d;background:#ecfdf3;border-radius:999px;padding:6px 9px;font-weight:800}
.shg-candidate-card h3{font-size:20px;line-height:1.2;margin:0 0 7px;color:#0b2144}
.shg-candidate-name{font-weight:850;color:#334155;margin-bottom:12px}
.shg-candidate-meta{display:grid;gap:7px;margin-bottom:13px;color:#536176;font-size:14px}
.shg-candidate-meta span{display:flex;gap:7px;align-items:flex-start}
.shg-candidate-about{color:#59677b;font-size:14px;line-height:1.5;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.shg-candidate-views{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:-2px 2px 10px;color:#6b7280;font-size:13px;font-weight:600;line-height:1}
.shg-candidate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.shg-candidate-actions a{display:flex;justify-content:center;align-items:center;min-height:42px;padding:9px 10px;border-radius:12px;text-decoration:none;font-weight:850;font-size:13px}
.shg-candidate-actions .telegram{background:#2563eb;color:#fff}
.shg-candidate-actions .phone{border:1px solid #cbd9ec;color:#153b72;background:#fff}
.shg-candidate-actions .is-disabled{opacity:.45;pointer-events:none}
.shg-candidates-footer{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.shg-candidates-btn{appearance:none;border:0;border-radius:14px;padding:13px 18px;font-weight:900;font-size:15px;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.shg-candidates-btn.primary{color:#fff;background:#2563eb;box-shadow:0 10px 24px rgba(37,99,235,.24)}
.shg-candidates-btn.secondary{color:#14345f;background:#fff;border:1px solid #cbd9ec}
.shg-candidates-state{grid-column:1/-1;padding:32px;text-align:center;background:#fff;border:1px dashed #cbd9e7;border-radius:18px;color:#64748b}
.shg-candidates-page-hero{padding:54px 0 34px;background:linear-gradient(135deg,#eef5ff,#fff)}
.shg-candidates-page-hero .container{width:min(1240px,calc(100% - 32px));margin:auto}
.shg-candidates-page-hero h1{margin:0 0 10px;font-size:clamp(34px,5vw,56px);line-height:1.03;color:#0b2144;letter-spacing:-.045em}
.shg-candidates-page-hero p{margin:0;color:#64748b;font-size:17px;max-width:760px}
.shg-candidates-page{padding:30px 0 68px;background:#f8fafc}
.shg-candidates-page .container{width:min(1240px,calc(100% - 32px));margin:auto}
.shg-candidates-page .shg-candidates-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.shg-candidates-load{display:flex;justify-content:center;margin-top:24px}
.shg-candidates-load[hidden]{display:none}
/* modal */
.shg-candidate-modal{position:fixed;inset:0;z-index:11000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(4,17,39,.62);backdrop-filter:blur(6px)}
.shg-candidate-modal.is-open{display:flex}
.shg-candidate-dialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.3)}
.shg-candidate-modal-head{padding:24px 26px 16px;border-bottom:1px solid #e5edf7}
.shg-candidate-modal-head h2{margin:0 42px 7px 0;color:#0b2144;font-size:28px}
.shg-candidate-modal-head p{margin:0;color:#64748b}
.shg-candidate-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border:0;border-radius:50%;font-size:25px;cursor:pointer;background:#eef3f9;color:#18375f}
.shg-candidate-form{padding:22px 26px 26px}
.shg-candidate-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.shg-candidate-field{display:grid;gap:7px}
.shg-candidate-field.full{grid-column:1/-1}
.shg-candidate-field label{font-weight:850;color:#213c61;font-size:14px}
.shg-candidate-field input,.shg-candidate-field select,.shg-candidate-field textarea{width:100%;border:1px solid #cbd9e8;border-radius:13px;padding:12px 13px;font:inherit;color:#142d50;background:#fff}
.shg-candidate-field textarea{min-height:120px;resize:vertical}
.shg-candidate-field input:focus,.shg-candidate-field select:focus,.shg-candidate-field textarea:focus{outline:3px solid rgba(37,99,235,.14);border-color:#2563eb}
.shg-candidate-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.shg-candidate-consent{display:flex;align-items:flex-start;gap:10px;margin:17px 0;color:#526077;font-size:13px}
.shg-candidate-consent input{margin-top:3px}
.shg-candidate-warning{font-size:12px;color:#7c4a10;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:10px 12px;margin-bottom:14px}
.shg-candidate-submit{width:100%;border:0;border-radius:14px;background:#2563eb;color:#fff;padding:14px 18px;font-weight:900;font-size:16px;cursor:pointer}
.shg-candidate-submit:disabled{opacity:.65;cursor:wait}
.shg-candidate-form-status{margin-top:12px;padding:11px 12px;border-radius:11px;display:none;font-weight:750;font-size:14px}
.shg-candidate-form-status.ok{display:block;background:#ecfdf3;color:#166534}
.shg-candidate-form-status.error{display:block;background:#fef2f2;color:#b91c1c}
body.shg-modal-open{overflow:hidden}
@media(max-width:1050px){.shg-candidates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shg-candidates-page .shg-candidates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.shg-candidates-section{padding:42px 0}.shg-candidates-head{align-items:flex-start;flex-direction:column}.shg-candidates-count{font-size:13px}.shg-candidates-grid,.shg-candidates-page .shg-candidates-grid{grid-template-columns:1fr}.shg-candidate-card{padding:18px}.shg-candidate-form-grid{grid-template-columns:1fr}.shg-candidate-field.full{grid-column:auto}.shg-candidate-modal{padding:0;align-items:flex-end}.shg-candidate-dialog{max-height:94vh;border-radius:22px 22px 0 0}.shg-candidate-form,.shg-candidate-modal-head{padding-left:18px;padding-right:18px}.shg-candidate-actions{grid-template-columns:1fr}}

.shg-candidate-field small{font-size:12px;line-height:1.35;color:#64748b}
.shg-candidate-field input.is-invalid,.shg-candidate-field select.is-invalid,.shg-candidate-field textarea.is-invalid{border-color:#dc2626;background:#fff7f7;box-shadow:0 0 0 3px rgba(220,38,38,.10)}
.shg-field-error{font-size:12px;line-height:1.35;color:#b91c1c;font-weight:700}
.shg-field-error:empty{display:none}
.shg-about-counter{display:flex;justify-content:space-between;gap:12px;color:#64748b;font-size:12px}
.shg-field-error.consent-error{margin-top:-5px;margin-bottom:8px}

.shg-candidate-card.is-clickable{cursor:pointer}
.shg-candidate-card.is-clickable:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:3px}
.shg-candidate-detail-page{min-height:70vh;padding:48px 0 72px;background:#f8fafc}
.shg-candidate-detail-wrap{width:min(920px,calc(100% - 32px));margin:auto}
.shg-candidate-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:20px;color:#1d4ed8;font-weight:800;text-decoration:none}
.shg-candidate-detail-card{background:#fff;border:1px solid #dfe8f5;border-radius:24px;padding:30px;box-shadow:0 18px 48px rgba(20,49,91,.10)}
.shg-candidate-detail-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}
.shg-candidate-detail-title{display:flex;gap:16px;align-items:flex-start}
.shg-candidate-detail-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;font-size:30px;background:linear-gradient(145deg,#e8f1ff,#f8fbff);border:1px solid #d8e5f8}
.shg-candidate-detail-card h1{margin:0 0 7px;color:#0b2144;font-size:clamp(28px,5vw,42px);line-height:1.08}
.shg-candidate-detail-name{font-size:20px;font-weight:850;color:#334155}
.shg-candidate-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.shg-candidate-detail-meta span{padding:13px 15px;border-radius:14px;background:#f7faff;color:#40536f}
.shg-candidate-detail-about{border-top:1px solid #e6edf7;padding-top:22px;color:#526077;font-size:16px;line-height:1.7;white-space:pre-line}
.shg-candidate-detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.shg-candidate-detail-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:13px;text-decoration:none;font-weight:900}
.shg-candidate-detail-actions .telegram{background:#2563eb;color:#fff}
.shg-candidate-detail-actions .phone{border:1px solid #cbd9ec;color:#153b72;background:#fff}
.shg-candidate-detail-state{padding:36px;text-align:center;background:#fff;border:1px dashed #cbd9e7;border-radius:18px;color:#64748b}
@media(max-width:650px){.shg-candidate-detail-card{padding:20px}.shg-candidate-detail-head{flex-direction:column}.shg-candidate-detail-meta{grid-template-columns:1fr}.shg-candidate-detail-actions{display:grid}.shg-candidate-detail-actions a{width:100%}}

/* Candidate photos */
.shg-candidate-icon{overflow:hidden;padding:0}
.shg-candidate-avatar-img{width:100%;height:100%;display:block;object-fit:cover}
.shg-candidate-avatar-img.is-logo{object-fit:contain;padding:7px;background:#fff;box-sizing:border-box}
.shg-photo-picker{display:grid;grid-template-columns:92px 1fr;gap:16px;align-items:center;padding:14px;border:1px solid #dbe6f4;border-radius:16px;background:#f8fbff}
.shg-photo-preview{width:92px;height:92px;border-radius:18px;overflow:hidden;border:1px solid #d6e3f4;background:#fff;display:grid;place-items:center}
.shg-photo-preview img{width:100%;height:100%;object-fit:cover}
.shg-photo-picker input[type=file]{padding:9px;background:#fff}
.shg-photo-clear{margin-top:9px;border:0;background:transparent;color:#1d4ed8;font-weight:800;cursor:pointer;padding:0}
.shg-candidate-detail-icon{overflow:hidden;padding:0}
.shg-candidate-detail-avatar{width:100%;height:100%;display:block;object-fit:cover}
.shg-candidate-detail-avatar.is-logo{object-fit:contain;padding:9px;background:#fff;box-sizing:border-box}
.shg-candidate-detail-views{margin-top:18px;color:#64748b;font-size:14px;font-weight:750}
@media(max-width:650px){.shg-photo-picker{grid-template-columns:72px 1fr}.shg-photo-preview{width:72px;height:72px}}

/* Expanded single-candidate profile */
.shg-candidate-detail-wrap{width:min(1120px,calc(100% - 32px))}
.shg-candidate-profile{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.shg-candidate-profile-main,.shg-candidate-contact-card,.shg-candidate-profile-stats{background:#fff;border:1px solid #dfe8f5;border-radius:24px;box-shadow:0 18px 48px rgba(20,49,91,.09)}
.shg-candidate-profile-main{padding:34px}
.shg-candidate-profile-hero{display:flex;align-items:center;gap:24px;padding-bottom:28px;border-bottom:1px solid #e6edf7}
.shg-candidate-profile-photo{width:148px;height:148px;flex:0 0 148px;border-radius:28px;overflow:hidden;border:1px solid #d8e5f8;background:linear-gradient(145deg,#e8f1ff,#f8fbff);box-shadow:0 12px 30px rgba(37,99,235,.10)}
.shg-candidate-profile-photo .shg-candidate-detail-avatar{width:100%;height:100%;object-fit:cover}
.shg-candidate-profile-photo .shg-candidate-detail-avatar.is-logo{object-fit:contain;padding:22px;background:#fff;box-sizing:border-box}
.shg-candidate-profile-heading{min-width:0}
.shg-candidate-profile-status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#ecfdf3;color:#087c3e;font-size:14px;font-weight:850;margin-bottom:14px}
.shg-candidate-profile-status i{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}
.shg-candidate-profile-heading h1{margin:0 0 10px;color:#0b2144;font-size:clamp(32px,5vw,52px);line-height:1.05}
.shg-candidate-profile-name{font-size:22px;font-weight:850;color:#334155}
.shg-candidate-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}
.shg-candidate-profile-facts div{padding:17px 18px;border-radius:16px;background:#f6f9fe;border:1px solid #edf2f8;display:grid;gap:7px}
.shg-candidate-profile-facts span{color:#64748b;font-size:13px;font-weight:750}
.shg-candidate-profile-facts strong{color:#16345f;font-size:16px;line-height:1.35}
.shg-candidate-profile-about{margin-top:30px;padding-top:28px;border-top:1px solid #e6edf7}
.shg-candidate-profile-about h2{margin:0 0 14px;color:#0b2144;font-size:22px}
.shg-candidate-profile-about p{margin:0;color:#46566f;font-size:17px;line-height:1.75;white-space:pre-line}
.shg-candidate-profile-side{display:grid;gap:18px;position:sticky;top:22px}
.shg-candidate-contact-card{padding:24px}
.shg-candidate-contact-card h2{margin:0 0 8px;color:#0b2144;font-size:22px}
.shg-candidate-contact-card p{margin:0;color:#64748b;line-height:1.55}
.shg-candidate-contact-card .shg-candidate-detail-actions{display:grid;gap:11px;margin-top:20px}
.shg-candidate-contact-card .shg-candidate-detail-actions a{width:100%;box-sizing:border-box}
.shg-candidate-no-contact{padding:14px;border-radius:13px;background:#f8fafc;color:#64748b;text-align:center;font-weight:750}
.shg-candidate-profile-stats{padding:8px 22px}
.shg-candidate-profile-stats div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid #edf2f7}
.shg-candidate-profile-stats div:last-child{border-bottom:0}
.shg-candidate-profile-stats span{color:#64748b;font-size:14px;font-weight:750}
.shg-candidate-profile-stats strong{color:#153b72;font-size:15px;text-align:right}
@media(max-width:900px){.shg-candidate-profile{grid-template-columns:1fr}.shg-candidate-profile-side{position:static;grid-template-columns:1fr 1fr}.shg-candidate-contact-card .shg-candidate-detail-actions{margin-top:16px}}
@media(max-width:650px){.shg-candidate-detail-page{padding-top:28px}.shg-candidate-profile-main{padding:22px}.shg-candidate-profile-hero{align-items:flex-start;gap:16px}.shg-candidate-profile-photo{width:92px;height:92px;flex-basis:92px;border-radius:20px}.shg-candidate-profile-photo .shg-candidate-detail-avatar.is-logo{padding:14px}.shg-candidate-profile-heading h1{font-size:30px}.shg-candidate-profile-name{font-size:18px}.shg-candidate-profile-facts{grid-template-columns:1fr}.shg-candidate-profile-side{grid-template-columns:1fr}.shg-candidate-profile-about p{font-size:16px}}


/* Candidate breadcrumbs */
.shg-candidate-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 20px;padding:0 2px;color:#64748b;font-size:15px;font-weight:800;line-height:1.4}
.shg-candidate-breadcrumbs a{color:#1d4ed8;text-decoration:none;transition:color .18s ease}
.shg-candidate-breadcrumbs a:hover{color:#153b72;text-decoration:underline;text-underline-offset:3px}
.shg-candidate-breadcrumbs a:focus-visible{outline:3px solid rgba(37,99,235,.24);outline-offset:3px;border-radius:6px}
.shg-candidate-breadcrumbs>span[aria-hidden=true]{color:#94a3b8;font-weight:700}
.shg-candidate-breadcrumb-current{color:#334155;min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.shg-candidate-breadcrumbs{font-size:14px;gap:7px;margin-bottom:16px}.shg-candidate-breadcrumb-current{max-width:100%}}
