.contact-icon { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.contact-header { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 0; background: transparent; border-bottom: 1px solid var(--gold); color: var(--green); font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.contact-header:hover { color: #796033; }
.contact-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 36px 32px 22px; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(ellipse at 0 0, #e4e9dc 0, transparent 60%), var(--paper); color: var(--ink); border: 1px solid #c8b993; box-shadow: 0 22px 80px #071b1645; text-align: center; }
.contact-dialog::backdrop { background: #102d25b8; }
.contact-dialog[open] { animation: contact-appear 180ms ease-out; }
.contact-dialog [hidden] { display: none !important; }
.contact-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; font-size: 26px; font-weight: 300; background: transparent; color: #637265; }
.contact-heading .eyebrow { margin: 0 14px 14px; font-size: 9px; letter-spacing: 2px; }
.contact-heading h2 { font-size: 27px; letter-spacing: 3px; margin: 0 0 9px; line-height: 1.5; }
.contact-heading p { margin: 0 0 24px; color: #647063; font-size: 12px; }
.contact-qr-frame { position: relative; width: min(264px, 100%); aspect-ratio: 1; margin: 0 auto; background: white; border: 1px solid #d9d1be; outline: 1px solid #ded8c8; outline-offset: 6px; }
.contact-qr-frame img { width: 100%; height: 100%; object-fit: contain; -webkit-touch-callout: default; user-select: auto; }
.contact-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; color: var(--muted); font-size: 12px; pointer-events: none; }
.contact-instruction { margin: 24px 0 13px; font-size: 11px; line-height: 1.9; }
.contact-instruction strong { display: block; font-weight: 500; letter-spacing: 1px; }
.contact-instruction span { display: block; color: #72796d; font-size: 10px; }
.contact-error { font-size: 11px; color: #8c492f; margin: 16px 0 0; }
.contact-error .text-button { color: inherit; padding: 6px; }
.contact-original { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 44px; padding: 10px 4px; border-bottom: 1px solid #bbab89; color: var(--green); font-size: 11px; letter-spacing: 1px; }
.contact-product { margin: 18px 0 8px; padding: 14px 16px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.contact-product-label { display: block; font-size: 9px; letter-spacing: 2px; color: var(--gold); margin-bottom: 6px; }
.contact-product strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.6; }
#contact-product-code { display: block; margin-top: 4px; color: #72796d; font-size: 10px; }
.contact-copy { display: block; min-height: 44px; padding: 9px 0; background: transparent; color: var(--green); text-align: left; font-size: 11px; }
#contact-copy-status { display: block; color: var(--green); font-size: 11px; line-height: 1.8; }
.contact-signature { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; border-top: 1px solid var(--line); padding-top: 16px; font-family: var(--serif); font-size: 13px; letter-spacing: 1px; }
.contact-signature span { color: #747b6e; font-family: var(--sans); font-size: 9px; letter-spacing: 0; }
@keyframes contact-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 680px) {
  .contact-header { gap: 6px; font-size: 11px; }
  .contact-header .contact-icon { width: 19px; height: 19px; }
  .mobile-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .contact-nav { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 40px; padding: 0; background: transparent; color: var(--green); border-left: 1px solid #d5d9c9; font-size: 9px; }
  .contact-nav .contact-icon { height: 23px; width: 23px; color: #997b43; }
  .contact-dialog { padding: 33px 22px 20px; max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .contact-heading h2 { font-size: 24px; letter-spacing: 2px; }
  .contact-heading p { font-size: 11px; margin-bottom: 23px; }
  .contact-qr-frame { width: min(250px, 100%); }
}
@media (max-width: 360px) {
  .contact-header { font-size: 10px; gap: 4px; }
  .contact-header .contact-icon { width: 17px; height: 17px; }
  .contact-heading h2 { font-size: 21px; }
  .contact-heading .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .contact-signature { letter-spacing: 0; font-size: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .contact-dialog[open] { animation: none; } }
