/* Same-page contact card; contact details stay readable at every breakpoint. */
body dialog.contact-card{width:min(720px,calc(100vw - 40px));max-width:none;max-height:calc(100svh - 40px);height:fit-content;min-height:0;margin:auto;padding:28px 32px 32px;border:1px solid #414141;background:#090a0d;color:#f4f4f4;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;border-radius:0;box-shadow:0 24px 100px #0008;--action-red:#ed3b32}
body dialog.contact-card::backdrop{background:#050609c9;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body .contact-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #363638;padding-bottom:16px;margin-bottom:26px}
body .contact-card-header>span{font-size:11px;letter-spacing:.08em;color:#a8a8aa}
body .contact-card-close{display:flex;align-items:center;gap:12px;min-width:44px;min-height:44px;padding:8px 0 8px 12px;color:#ed3b32;border:0;background:none;font-size:12px;font-family:inherit}
body .contact-card-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
body .contact-card h2{font-size:clamp(28px,4vw,38px);line-height:1.3;letter-spacing:-.025em;margin:0 0 8px;color:#f4f4f4}
body .contact-card-intro{color:#aaa;font-size:13px;line-height:1.8;margin:0}
body .contact-card-grid{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:32px;margin-top:28px}
body .contact-card-qr{margin:0;min-width:0}
body .contact-card-qr img{display:block;width:200px;height:200px;max-width:100%;padding:12px;border:1px solid #ed3b32;object-fit:contain;aspect-ratio:1;background:#050609;box-sizing:border-box}
body .contact-card-qr p{margin:12px 0 0;font-size:12px;line-height:1.8;color:#aaa;text-align:center}
body .contact-card-details{min-width:0;display:grid;gap:20px}
body .contact-card-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:4px;padding-bottom:16px;border-bottom:1px solid #363638}
body .contact-card-row>span{grid-column:1/-1;font-size:11px;line-height:1.7;color:#999}
body .contact-card-row>strong{font-size:clamp(16px,2vw,22px);line-height:1.5;font-weight:500;letter-spacing:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#f4f4f4;user-select:text;-webkit-user-select:text;min-width:0}
body .contact-card-copy{color:#ed3b32;background:none;border:1px solid #71312e;min-height:44px;min-width:52px;padding:8px 10px;font-size:12px;font-family:inherit;transition:background .2s,border-color .2s}
body .contact-card-copy:hover{background:#ed3b321a;border-color:#ed3b32}
body .contact-card-copy:active{transform:translateY(1px)}
body .contact-card-bottom{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:18px}
body .contact-card-back{border:0;background:none;color:#ed3b32;min-height:44px;padding:8px 0;font-size:12px;font-family:inherit;text-align:left}
body .contact-card-status{font-size:12px;line-height:1.6;color:#aaa;margin:0;min-height:1.6em}
body .contact-card :is(button,a):focus-visible{outline:2px solid #ed3b32;outline-offset:4px}
body button.quick-email{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;background:none;border:0;border-top:1px solid #444;border-radius:0;padding:18px 0 0;min-height:48px;font:inherit;text-align:left;color:#ed3b32}
@media(max-width:599px){body dialog.contact-card{width:calc(100vw - 28px);max-height:calc(100svh - 28px);padding:18px 22px 22px}body .contact-card-header{margin-bottom:20px;padding-bottom:10px}body .contact-card-grid{grid-template-columns:minmax(0,1fr);gap:22px;margin-top:22px}body .contact-card-qr{justify-self:center}body .contact-card-qr img{width:176px;height:176px}body .contact-card-details{gap:16px}body .contact-card-row>strong{font-size:18px}body .contact-card-bottom{margin-top:18px;align-items:start;flex-wrap:wrap;gap:6px}body .contact-card-status{width:100%}}
@media(prefers-reduced-motion:reduce){body .contact-card *{transition:none!important;scroll-behavior:auto!important}}
