/* The hh.ru mark of the home strip asking to add Telegram to hh.ru contacts. */
.hh-logo { background: var(--hh); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }

/* compact variant of the shared dialog: one field and one action */
#search-dialog:has(#telegram-form) { width: min(400px, calc(100% - 32px)); padding: 24px; border-radius: 30px; }
#search-dialog:has(#telegram-form) .modal-head { margin-bottom: 18px; }
#search-dialog:has(#telegram-form) .modal-head h2 { font-size: 24px; }
#search-dialog:has(#telegram-form) .modal-head .icon-button { width: 40px; height: 40px; }
#search-dialog:has(#telegram-form) .modal-head .icon-button svg { width: 24px; height: 24px; }
#search-dialog:has(#telegram-form) .form { gap: 16px; }
#search-dialog:has(#telegram-form) .form > .modal-actions { grid-template-columns: minmax(0, 1fr); margin-top: 0; }

/* a fixed "@" before the username, so the field reads as a Telegram handle */
.tg-handle { position: relative; display: block; }
.tg-handle::before { content: "@"; position: absolute; top: 50%; left: 18px; color: #929292; font-size: 16px; line-height: 1; pointer-events: none; transform: translateY(-50%); }
#search-dialog .tg-handle input { padding-left: 34px; }
