.hh-hiw-trigger { display: block; margin-top: 8px; }
.hh-info-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 4px 0 0; padding: 0; border: 0; border-radius: 50%; background: #6366f1; color: #fff; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1; vertical-align: middle; cursor: pointer; }
.hh-info-badge::before { position: absolute; inset: -3px; content: ""; }
.hh-hiw-link { display: inline-block; padding-block: 4px; color: #4f46e5; font-weight: 700; vertical-align: middle; }
.hh-hiw-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hh-info-badge:focus-visible, .hh-hiw-link:focus-visible, .hh-hiw-modal :focus-visible { outline: 3px solid #818cf8; outline-offset: 4px; }
.hh-info-badge.hh-pulse { animation: hh-hiw-pulse 1.4s ease-out 3; }
@keyframes hh-hiw-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); } 25% { box-shadow: 0 0 0 0 rgba(99, 102, 241, .25); } 80% { box-shadow: 0 0 0 7px rgba(99, 102, 241, 0); } }
body.hh-hiw-open { overflow: hidden; }
.hh-hiw-modal { box-sizing: border-box; width: calc(100% - 32px); max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #e4e6ee; border-radius: 24px; background: #fff; color: #171820; box-shadow: 0 24px 80px rgba(15, 23, 42, .22); font-family: "Manrope", Inter, Arial, sans-serif; text-align: left; }
.hh-hiw-modal[open] { display: flex; flex-direction: column; }
.hh-hiw-modal::backdrop { background: rgba(15, 23, 42, .52); }
.hh-hiw-modal *, .hh-hiw-modal *::before, .hh-hiw-modal *::after { box-sizing: border-box; }
.hh-hiw-header { position: relative; flex: 0 0 auto; padding: 28px 58px 22px 28px; }
.hh-hiw-header h2 { margin: 0; color: #171820; font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.hh-hiw-header h2:focus { outline: none; }
.hh-hiw-header p { margin: 12px 0 0; color: #646978; font-size: 14px; line-height: 1.6; }
.hh-hiw-close { position: absolute; top: 14px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #f3f4f9; color: #374151; font: inherit; font-size: 16px; cursor: pointer; }
.hh-hiw-close:hover { background: #e9eafe; }
.hh-hiw-content { min-height: 0; padding: 0 28px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.hh-hiw-steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.hh-hiw-steps h3 { margin: 0 0 7px; color: #242639; font-size: 14px; font-weight: 800; line-height: 1.5; }
.hh-hiw-steps p, .hh-hiw-steps-en li { margin: 0; color: #545b6c; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.hh-hiw-footer { flex: 0 0 auto; padding: 16px 28px 24px; border-top: 1px solid #e4e6ee; background: #fafaff; }
.hh-hiw-legal { margin: 0 0 15px; color: #646978; font-size: 12px; line-height: 1.7; }
.hh-hiw-legal a { color: #4f46e5; text-decoration: underline; text-underline-offset: 3px; }
.hh-hiw-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.hh-hiw-actions .button { min-height: 44px; padding: 11px 20px; font-family: inherit; font-size: 13px; cursor: pointer; }
@media (max-width: 600px) {
  .hh-hiw-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .hh-hiw-header { padding: 24px 52px 18px 20px; }
  .hh-hiw-header h2 { font-size: 20px; }
  .hh-hiw-header p { font-size: 13px; }
  .hh-hiw-content { padding: 0 20px 20px; }
  .hh-hiw-footer { padding: 14px 20px 20px; }
  .hh-hiw-actions .button { flex: 1 1 auto; }
}
@media (max-height: 500px) { .hh-hiw-modal[open] { display: block; overflow-y: auto; overscroll-behavior: contain; } .hh-hiw-content { overflow: visible; } }
@media (prefers-reduced-motion: reduce) { .hh-info-badge.hh-pulse { animation: none; } }
