.contact-dashboard .toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 52px;
    padding: 6px 18px;
    background: rgba(8, 19, 35, .97);
    border-bottom-color: rgba(74, 129, 184, .2);
}
.light-mode.contact-dashboard .toolbar { background: rgba(255, 251, 242, .97); }
.contact-dashboard .toolbar .menu-button { justify-self: start; width: 34px; height: 34px; border: 1px solid rgba(89, 143, 196, .25); border-radius: 8px; }
.contact-dashboard .toolbar .logo-container { grid-column: 2; grid-row: 1; gap: 7px; }
.contact-dashboard .toolbar .toolbar-mark { width: auto; color: #0cd9d1; font-size: 15px; }
.contact-dashboard .toolbar .toolbar-title { font-size: 17px; }
.contact-dashboard .toolbar .toolbar-actions { grid-column: 3; grid-row: 1; justify-self: end; }
.contact-dashboard .container { padding-top: 10px; padding-bottom: 0; }
.contact-dashboard .footer { margin-top: 0; }
.contact-page { width: min(1050px, 100%); margin: 0 auto; padding: 10px 26px 12px; color: #e8f0fb; }
.light-mode .contact-page { color: var(--day-text); }
.contact-back { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(91, 145, 198, .3); border-radius: 8px; background: rgba(21, 41, 65, .76); color: #c8d7eb; font-size: 11px; text-decoration: none; }
.contact-back:hover { border-color: #1bcfc2; color: #39e0d1; }
.light-mode .contact-back { background: var(--day-surface); border-color: var(--day-border); color: var(--day-text); }
.contact-hero { position: relative; display: grid; grid-template-columns: minmax(180px, .78fr) minmax(330px, 1fr) minmax(190px, .88fr); align-items: center; gap: 20px; min-height: 250px; margin: 0 0 16px; isolation: isolate; }
.contact-hero::before { position: absolute; inset: 3% 15%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 164, 222, .14), transparent 68%); content: ""; }
.contact-person { display: flex; align-items: center; flex-direction: column; min-width: 0; text-align: center; }
.contact-avatar-ring { display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 5px; border: 1px solid #00d9d4; border-radius: 50%; background: radial-gradient(circle, rgba(0, 209, 229, .18), rgba(7, 23, 45, .96) 68%); box-shadow: 0 0 0 5px rgba(0, 188, 219, .08), 0 0 35px rgba(0, 200, 231, .23); }
.contact-avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.contact-role { display: inline-flex; align-items: center; gap: 7px; margin: -4px 0 12px; padding: 5px 12px; border: 1px solid rgba(27, 207, 173, .35); border-radius: 18px; background: rgba(6, 28, 44, .9); color: #e1f3eb; font-size: 10px; font-weight: 600; }
.contact-role i { width: 8px; height: 8px; border-radius: 50%; background: #20e18e; box-shadow: 0 0 9px rgba(32, 225, 142, .75); }
.contact-person h1 { margin: 0; color: #f0f5ff; font-size: 34px; font-weight: 700; line-height: 1.2; }
.contact-person h1 span { color: #18d9db; background: linear-gradient(90deg, #19dad1, #07bfae); background-clip: text; -webkit-text-fill-color: transparent; }
.light-mode .contact-person h1 { color: #1f2c3d; }
.contact-title { margin: 5px 0 0; color: #bdcbe0; font-size: 14px; font-weight: 500; }
.light-mode .contact-title { color: var(--day-muted); }
.contact-person blockquote { position: relative; margin: 14px 0 0; color: #98abc5; font-size: 12px; line-height: 1.6; }
.contact-person blockquote::before,.contact-person blockquote::after { display: inline-block; width: 34px; height: 1px; margin: 0 12px 4px; background: linear-gradient(90deg, transparent, #1689db); content: ""; }
.contact-person blockquote::after { background: linear-gradient(90deg, #1689db, transparent); }
.contact-side-note { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; min-height: 132px; padding: 20px 22px; overflow: hidden; border: 1px solid rgba(10, 178, 210, .4); border-radius: 16px; background: linear-gradient(130deg, rgba(7, 69, 84, .75), rgba(11, 34, 64, .95)); box-shadow: 0 15px 32px rgba(0, 0, 0, .16); color: #bbd8ef; font-size: 16px; font-weight: 600; line-height: 1.45; }
.contact-side-note > i { color: #20dce4; font-size: 25px; }
.contact-dot-grid { position: absolute; top: 24px; right: 20px; width: 38px; height: 32px; opacity: .7; background-image: radial-gradient(#14d6e0 2px, transparent 2px); background-size: 12px 12px; }
.contact-code-art { position: relative; display: grid; place-items: center; min-width: 0; min-height: 208px; }
.contact-code-window { width: min(100%, 260px); overflow: hidden; border: 1px solid rgba(73, 150, 255, .6); border-radius: 12px; background: linear-gradient(145deg, #10274a, #08172e 80%); box-shadow: 0 14px 34px rgba(0, 0, 0, .28), 0 0 25px rgba(24, 126, 238, .16); transform: rotate(-5deg); }
.contact-code-window-head { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-bottom: 1px solid rgba(116, 153, 204, .16); }
.contact-code-window-head > span { width: 7px; height: 7px; border-radius: 50%; background: #f46c74; }
.contact-code-window-head > span:nth-child(2) { background: #f0c64f; }
.contact-code-window-head > span:nth-child(3) { background: #27d48c; }
.contact-code-window-head b { margin-left: auto; color: #8ca5c5; font: 9px Consolas, monospace; }
.contact-code-window pre { margin: 0; padding: 13px 15px; color: #b7c8e0; font: 10px/1.8 Consolas, monospace; white-space: pre-wrap; }
.contact-code-window code i { color: #68aaff; font-style: normal; }
.contact-code-window code strong { color: #26d99d; font-weight: 400; }
.contact-float-code,.contact-float-terminal { position: absolute; display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid rgba(66, 162, 255, .48); border-radius: 12px; background: linear-gradient(145deg, #145dba, #123f88); box-shadow: 0 8px 20px rgba(0, 35, 90, .32); color: #d3efff; font: 700 20px Consolas, monospace; }
.contact-float-code { top: 7px; right: 8px; transform: rotate(7deg); }
.contact-float-terminal { right: -2px; bottom: 0; width: 42px; height: 42px; border-color: rgba(104, 92, 250, .4); background: linear-gradient(145deg, #3349c3, #26317f); transform: rotate(8deg); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-link { --contact-accent: #1ac9db; --contact-tint: rgba(0, 169, 214, .13); display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 12px; align-items: center; gap: 14px; min-height: 98px; padding: 14px 17px; border: 1px solid color-mix(in srgb, var(--contact-accent) 48%, transparent); border-radius: 15px; background: linear-gradient(115deg, color-mix(in srgb, var(--contact-accent) 13%, #0c1a2c), rgba(12, 27, 47, .97)); box-shadow: inset 0 1px rgba(255,255,255,.025); color: #eff5ff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.contact-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.contact-link.email { --contact-accent: #ea6674; --contact-tint: rgba(230, 76, 94, .16); }
.contact-link.telegram { --contact-accent: #258bea; --contact-tint: rgba(29, 136, 226, .18); }
.contact-link.phone { --contact-accent: #08cb9a; --contact-tint: rgba(0, 190, 132, .16); }
.contact-link.instagram { --contact-accent: #ad55e8; --contact-tint: rgba(171, 75, 227, .16); }
.contact-link-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--contact-accent); box-shadow: 0 6px 17px color-mix(in srgb, var(--contact-accent) 28%, transparent); color: #fff; font-size: 20px; }
.contact-link-copy { display: grid; min-width: 0; gap: 3px; }
.contact-link-copy small { color: #a4b5cb; font-size: 10px; }
.contact-link-copy strong { overflow: hidden; color: #f0f5ff; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.contact-link-copy > span { overflow: hidden; color: #9aacc3; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.contact-link-action { padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--contact-accent) 32%, transparent); border-radius: 15px; background: var(--contact-tint); color: #d1e4f6; font-size: 9px; font-weight: 600; white-space: nowrap; }
.contact-link-arrow { color: #bed0e5; font-size: 11px; }
.light-mode .contact-page .contact-link { background: var(--day-surface); color: var(--day-text); }
.light-mode .contact-link-copy strong { color: var(--day-text); }
.light-mode .contact-link-copy small,.light-mode .contact-link-copy > span { color: var(--day-muted); }
@media (max-width: 1100px) {
    .contact-page { width: 100%; padding-inline: 22px; }
    .contact-hero { grid-template-columns: minmax(150px,.72fr) minmax(300px,1fr) minmax(160px,.72fr); gap: 12px; }
    .contact-link { grid-template-columns: 46px minmax(0,1fr) auto 10px; gap: 10px; padding-inline: 12px; }
    .contact-link-icon { width: 44px; height: 44px; }
}
@media (max-width: 760px) {
    .contact-dashboard .toolbar { min-height: 50px; }
    .contact-page { padding: 14px 18px 30px; }
    .contact-hero { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 8px; margin: 16px 0 22px; }
    .contact-side-note,.contact-code-art { display: none; }
    .contact-avatar-ring { width: 96px; height: 96px; }
    .contact-avatar { width: 76px; height: 76px; }
    .contact-person h1 { font-size: 30px; }
    .contact-person blockquote { margin-top: 10px; }
    .contact-links { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .contact-link { min-height: 86px; }
}
@media (max-width: 420px) {
    .contact-page { padding-inline: 14px; }
    .contact-person h1 { font-size: 27px; }
    .contact-link { grid-template-columns: 42px minmax(0,1fr) 10px; gap: 10px; padding: 12px; }
    .contact-link-icon { width: 40px; height: 40px; font-size: 17px; }
    .contact-link-action { display: none; }
    .contact-link-copy strong { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-link { transition: none; }
    .contact-link:hover { transform: none; }
}