/* Общий header FineAi — используется на всех публичных страницах */
.site-h { background: #fff; border-bottom: 1px solid #e8ebf0; }
.site-h-nav { max-width: 1000px; margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; }
.site-h-logo { font-weight: 700; font-size: 20px; text-decoration: none; color: #1b364a; }
.site-h-logo span { color: #3CB46E; }
.site-h-right { position: relative; }
.site-h-login { display: inline-block; padding: 9px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 14px; background: #fff; color: #1b364a; border: 1px solid #d5dae2; white-space: nowrap; }
.site-h-login:hover { border-color: #b9c0cc; }
.site-h-user { display: flex; align-items: center; gap: 10px; cursor: pointer; background: none; border: none; font-family: inherit; }
.site-h-avatar { width: 38px; height: 38px; border-radius: 50%; background: #3CB46E; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.site-h-name { font-size: 14px; font-weight: 600; color: #1b364a; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-h-menu { display: none; position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid #d5dae2; border-radius: 10px; box-shadow: 0 8px 24px rgba(27,54,74,.12); min-width: 190px; z-index: 100; }
.site-h-menu.open { display: block; }
.site-h-menu a, .site-h-menu button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 14px; color: #1b364a; text-decoration: none; background: none; border: none; cursor: pointer; font-family: inherit; }
.site-h-menu a:hover, .site-h-menu button:hover { background: #f5f6f8; }
@media (max-width: 600px) { .site-h-name { max-width: 140px; } }
