.site-header-actions { min-width: 0; display: flex; align-items: center; justify-self: end; gap: 8px; }
.status-header .service-tab { min-width: 60px; padding-right: 6px; padding-left: 6px; }
.site-contact-wrap { position: relative; flex: 0 0 auto; }
.site-contact-button { min-height: 34px; padding: 7px 10px; border: 1px solid #d4d7dc; border-radius: 5px; color: #555b66; background: #fff; display: inline-flex; align-items: center; gap: 6px; font: 570 12px/1.2 inherit; cursor: pointer; transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease; }
.site-contact-button:hover { color: #202329; border-color: #b9bdc4; background: #fafafa; }
.site-contact-button svg { width: 16px; height: 16px; }
.site-contact-card { position: absolute; z-index: 100; top: calc(100% + 11px); right: 0; width: min(310px, calc(100vw - 32px)); padding: 17px; border: 1px solid #dfe1e5; border-radius: 10px; color: #343840; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 48px rgba(20, 24, 34, .13), 0 2px 8px rgba(20, 24, 34, .06); text-align: left; transform-origin: top right; animation: site-contact-card-in 150ms ease-out; backdrop-filter: blur(12px); }
.site-contact-card::before { content: ""; position: absolute; top: -5px; right: 54px; width: 9px; height: 9px; border-top: 1px solid #dfe1e5; border-left: 1px solid #dfe1e5; background: #fff; transform: rotate(45deg); }
.site-contact-card[hidden] { display: none; }
.site-contact-profile { display: flex; align-items: center; gap: 12px; }
.site-contact-avatar { position: relative; width: 45px; height: 45px; border-radius: 14px; color: #fff; background: #202329; display: grid; place-items: center; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.site-contact-avatar span { font: 650 18px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.site-contact-avatar i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: #20b889; }
.site-contact-identity { min-width: 0; }
.site-contact-identity small { color: #9a9eaa; display: block; font: 600 8px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.site-contact-identity strong { margin-top: 5px; color: #24272d; display: block; font-size: 14px; font-weight: 650; }
.site-contact-card > p { margin: 15px 0; color: #6f747e; font-size: 12px; line-height: 1.7; }
.site-contact-card > p a { color: #252932; font-weight: 620; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #c8ccd2; text-underline-offset: 3px; }
.site-contact-mail-button { min-height: 38px; padding: 9px 11px; border-radius: 7px; color: #fff; background: #202329; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 620; text-decoration: none; transition: background-color 120ms ease, transform 120ms ease; }
.site-contact-mail-button:hover { background: #343840; transform: translateY(-1px); }
.site-contact-mail-button svg { width: 16px; height: 16px; }
.site-contact-mail-button b { margin-left: auto; font-size: 12px; font-weight: 500; }
@keyframes site-contact-card-in { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 800px) { .topbar > .site-header-actions:not(.checker-contact-actions) { grid-column: 2; grid-row: 1; } }
@media (max-width: 680px) {
  .site-contact-button { width: 32px; min-height: 32px; padding: 0; justify-content: center; }
  .site-contact-button span { display: none; }
  .site-contact-card { position: fixed; top: 62px; right: 16px; }
  .site-contact-card::before { right: 55px; }
  .topbar.site-contact-checker > .checker-contact-actions { position: absolute; z-index: 8; top: 14px; right: 16px; }
  .topbar.site-contact-checker > .service-tabs { max-width: calc(100% - 42px); justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .site-contact-card { animation: none; } }
