/* Match the site's Neue Montreal type, cream surfaces and teal controls. */
html.enterprise-contact-open { overflow: hidden; }
.enterprise-contact {
  width: min(760px, calc(100% - 48px));
  height: min(880px, calc(100svh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.enterprise-contact[open] { display: flex; flex-direction: column; }
.enterprise-contact::backdrop { background: rgb(5 43 43 / 64%); }
.enterprise-contact-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
}
.enterprise-contact-header h2 { font-size: 1.75rem; font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.enterprise-contact-header p { margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.enterprise-contact-close {
  flex: none;
  min-width: 64px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--control);
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.enterprise-contact-close:hover { background: var(--ink); color: var(--canvas); }
.enterprise-contact-close:active { transform: scale(.98); }
.enterprise-contact :is(button, a):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.enterprise-contact-content { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--surface); }
.enterprise-contact-loading { position: absolute; inset: 0; padding: 28px; overflow: hidden; }
.enterprise-contact-loading-label { max-width: 640px; margin: 0 auto 20px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.enterprise-contact-loading[hidden] { display: none; }
.enterprise-contact iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; }
.enterprise-contact iframe[hidden] { display: none; }
.enterprise-contact-skeleton { max-width: 640px; margin: auto; display: grid; gap: 16px; }
.enterprise-contact-skeleton > div { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
.enterprise-contact-skeleton span { display: block; border-radius: 4px; background: rgb(8 51 51 / 9%); }
.enterprise-contact-skeleton .enterprise-skeleton-intro { border-top: 6px solid rgb(8 51 51 / 30%); }
.enterprise-skeleton-intro span:first-child { width: 54%; height: 24px; margin-bottom: 16px; }
.enterprise-skeleton-intro span:last-child { width: 80%; height: 12px; }
.enterprise-skeleton-field span:first-child { width: 24%; height: 12px; margin-bottom: 28px; }
.enterprise-skeleton-field span:last-child { width: 65%; height: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .enterprise-contact[open] .enterprise-contact-skeleton span { animation: enterprise-loading 1.8s ease-in-out infinite alternate; }
  .enterprise-contact-skeleton > div:nth-child(2) span { animation-delay: .15s; }
  .enterprise-contact-skeleton > div:nth-child(3) span { animation-delay: .3s; }
  .enterprise-contact-skeleton > div:nth-child(4) span { animation-delay: .45s; }
}
@keyframes enterprise-loading { from { opacity: .45; } to { opacity: 1; } }
.enterprise-contact-footer { padding: 12px 28px; border-top: 1px solid var(--line); }
.enterprise-contact-footer p { font-size: .75rem; line-height: 1.45; color: var(--muted); }
.enterprise-contact-links { display: flex; flex-wrap: wrap; column-gap: 22px; }
.enterprise-contact-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .enterprise-contact { width: 100%; height: 100svh; margin: 0; border: 0; border-radius: 0; }
  .enterprise-contact-header { padding: max(18px, env(safe-area-inset-top)) 16px 16px; gap: 12px; }
  .enterprise-contact-header h2 { font-size: 1.4rem; }
  .enterprise-contact-header p { font-size: .875rem; }
  .enterprise-contact-loading { padding: 12px 16px; }
  .enterprise-contact-footer { padding: 10px 16px max(8px, env(safe-area-inset-bottom)); }
  .enterprise-contact-links { column-gap: 18px; }
}
@media (max-height: 500px) and (min-width: 601px) {
  .enterprise-contact { width: calc(100% - 24px); height: calc(100svh - 24px); }
  .enterprise-contact-header { padding: 12px 20px; }
  .enterprise-contact-header h2 { font-size: 1.4rem; }
  .enterprise-contact-header p { margin-top: 4px; }
  .enterprise-contact-footer { padding: 8px 20px; }
}
