/*
 * Global site components and visual tokens.
 * Keep page copy in data attributes; keep layout and interaction here.
 */
:root {
  --site-outline: #e2e6ed;
  --site-outline-soft: #eceef3;
  --site-coral: #ff6f68;
  --site-coral-dark: #f45f62;
  --site-coral-soft: #ff8176;
  /* V10 first-screen standard: one restrained coral field on the left;
     the artwork side stays visually white. */
  --site-v10-hero-glow: radial-gradient(circle at 15% 43%, rgba(255, 237, 233, .48), transparent 35%);
  --site-v10-hero-background:
    var(--site-v10-hero-glow),
    linear-gradient(90deg, #fffaf9 0%, #fff 54%, #fffdfc 100%);
}

/* Shared first-screen surface. Store and support surfaces are intentionally
   outside this selector because they keep their own page-specific treatment. */
.bms-hero,
.cloud-home-hero,
.dcim-home-hero,
body.service-page .experience-hero.service-product-hero,
body.about-experience-page .about-experience-hero {
  background: var(--site-v10-hero-background);
}

/* The homepage renders a video over its white surface, so reuse only V10's
   translucent left glow instead of laying an opaque gradient over the film. */
body:not(.business-page):not(.product-detail-page):not(.experience-page):not(.market-page) .hero::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  filter: none;
  opacity: 1;
  background: var(--site-v10-hero-glow);
}

body:not(.business-page):not(.product-detail-page):not(.experience-page):not(.market-page) .hero::after {
  display: none;
}

body:not(.business-page):not(.product-detail-page):not(.experience-page):not(.market-page) .hero-overlay {
  background: transparent;
}

/* Neutral outline token: warm/pink structural borders are not allowed. */
:root {
  --pd-line: var(--site-outline);
  --experience-line: var(--site-outline);
  --market-line: var(--site-outline);
}

.experience-page,
.market-page,
.product-detail-page {
  --experience-line: var(--site-outline);
  --market-line: var(--site-outline);
  --pd-line: var(--site-outline);
}

:where(
  input:not([type="hidden"]),
  select,
  textarea,
  .highlight-card,
  .home-notice-bar,
  .home-notice-item,
  .experience-intro-grid,
  .solution-tabs,
  .solution-tab,
  .solution-stage,
  .solution-products a,
  .announcement-list a,
  .verify-form input,
  .company-metrics,
  .company-metrics article,
  .careers-board,
  .career-role-row,
  .experience-intro,
  .experience-intro-grid li,
  .company-value-grid,
  .company-value-grid article,
  .service-announcement,
  .service-verify,
  .journey-card,
  .partner-outcome-grid,
  .partner-brand-row,
  .depth-plane,
  .depth-axis i,
  .footer-qr-code,
  .plugin-core,
  .bms-plugin-core,
  .plugin-item i,
  .bms-plugin-node,
  .pd-rights-board,
  .pd-rights-plan-row,
  .pd-rights-plan,
  .pd-rights-group,
  .pd-rights-row,
  .pd-rights-row > span,
  .pd-foundation-grid,
  .pd-foundation-grid article,
  .pd-catalog-grid,
  .pd-catalog-grid article,
  .pd-icon-placeholder,
  .pd-catalog-placeholder,
  .dcim-hero-card,
  .bms-free-grid,
  .bms-free-grid article,
  .bms-plan-card,
  .bms-comparison-wrap,
  .bms-comparison th,
  .bms-comparison td,
  .bms-rights-board,
  .bms-rights-plan-row,
  .bms-rights-plan,
  .bms-rights-group,
  .bms-rights-row,
  .bms-rights-row > span,
  .pd-story-console,
  .pd-console-bar,
  .pd-console-nav,
  .pd-console-map,
  .pd-console-side,
  .pd-map-node,
  .pd-story-chapter,
  .dcim-operation-row,
  .dcim-operation-visual,
  .market-header-actions select,
  .market-search,
  .market-product-card,
  .market-filter,
  .market-image-card,
  .market-client-filters select,
  .market-client-filters input,
  .market-table th,
  .market-table td,
  .market-pagination button,
  .market-detail-top,
  .market-detail-author
) {
  border-color: var(--site-outline) !important;
}

:where(
  .home-notice-list,
  .pd-console-filter,
  .console-filter,
  .mini-bars,
  .pd-mini-chart,
  .bms-window-bar,
  .console-bar,
  .market-search button,
  .market-detail-prices
) {
  border-color: var(--site-outline-soft) !important;
}

/* Reusable CTA mount. */
.global-cta {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  color: #fff;
  background: var(--site-coral);
}

.global-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.global-cta-inner {
  position: relative;
  z-index: 1;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.global-cta-copy { min-width: 0; }
.global-cta-copy > p { margin: 0 0 14px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 650; letter-spacing: .18em; }
.global-cta-copy h2 { margin: 0; color: #fff; font-size: 38px; font-weight: 650; letter-spacing: -.025em; line-height: 1.28; }
.global-cta-copy > span { display: block; margin-top: 16px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.7; }
.global-cta-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; }
.global-cta-button { min-width: 152px; height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid rgba(255,255,255,.78); border-radius: 4px; color: #fff; background: transparent; font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.global-cta-button:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255,255,255,.12); }
.global-cta-button-primary { color: var(--site-coral-dark); border-color: #fff; background: #fff; }
.global-cta-button-primary:hover { color: var(--site-coral-dark); background: #fff; }
.global-cta-button[hidden] { display: none; }

@media (max-width: 760px) {
  .global-cta-inner { min-height: 360px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 28px; }
  .global-cta-copy h2 { font-size: 30px; }
  .global-cta-copy > span { font-size: 13px; }
  .global-cta-actions { flex-wrap: wrap; }
  .global-cta-button { min-width: 136px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .global-cta-button { transition: none; }
}

/* Shared recruitment dialog opened by every standard bottom CTA. */
body.is-recruitment-dialog-open {
  overflow: hidden;
}

.recruitment-dialog {
  width: min(1060px, calc(100vw - 48px));
  max-width: none;
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #374258;
  background: #fff;
  box-shadow: 0 34px 100px rgba(24, 31, 47, .28);
  font-family: var(--font, "PingFang SC", "Microsoft YaHei", sans-serif);
}

.recruitment-dialog[open] {
  animation: recruitment-dialog-in 280ms cubic-bezier(.22, 1, .36, 1) both;
}

.recruitment-dialog::backdrop {
  background: rgba(24, 30, 44, .52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: recruitment-backdrop-in 220ms ease both;
}

.recruitment-dialog-shell {
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.recruitment-dialog-header {
  position: relative;
  min-height: 168px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 30px 38px;
  overflow: hidden;
  border-bottom: 1px solid #ffe3df;
  background:
    linear-gradient(rgba(255, 104, 104, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 104, 104, .045) 1px, transparent 1px),
    linear-gradient(125deg, #fff8f6, #fff 64%);
  background-size: 32px 32px, 32px 32px, auto;
}

.recruitment-dialog-heading {
  position: relative;
  z-index: 2;
}

.recruitment-dialog-heading > p {
  margin: 0 0 9px;
  color: #f15e66;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.recruitment-dialog-heading h2 {
  margin: 0;
  color: #303a50;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.recruitment-dialog-heading > span {
  display: block;
  margin-top: 10px;
  color: #8b94a3;
  font-size: 12px;
  line-height: 1.65;
}

.recruitment-dialog-decoration {
  position: absolute;
  top: 50%;
  right: 100px;
  width: 260px;
  height: 150px;
  transform: translateY(-50%);
  pointer-events: none;
}

.recruitment-dialog-decoration::before,
.recruitment-dialog-decoration::after {
  position: absolute;
  border: 1px solid rgba(255, 104, 104, .13);
  border-radius: 50%;
  content: "";
}

.recruitment-dialog-decoration::before {
  top: -72px;
  right: 0;
  width: 220px;
  height: 220px;
}

.recruitment-dialog-decoration::after {
  right: 74px;
  bottom: -96px;
  width: 160px;
  height: 160px;
}

.recruitment-dialog-decoration i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff6868;
  box-shadow: 0 0 0 5px rgba(255, 104, 104, .1);
}

.recruitment-dialog-decoration i:nth-child(1) { right: 14px; top: 22px; }
.recruitment-dialog-decoration i:nth-child(2) { right: 153px; top: 84px; }
.recruitment-dialog-decoration i:nth-child(3) { right: 66px; top: 127px; }

.recruitment-dialog-close {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 30px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e7eaf0;
  border-radius: 50%;
  color: #8a93a2;
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.recruitment-dialog-close:hover {
  border-color: #ffc7c2;
  color: #f15e66;
  transform: rotate(6deg);
}

.recruitment-dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.recruitment-dialog-body {
  min-height: 0;
  flex: 1 1 auto;
  padding: 26px 38px 30px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #d9dde5 transparent;
  scrollbar-width: thin;
}

.recruitment-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid #edf0f4;
  list-style: none;
}

.recruitment-flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.recruitment-flow li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -17px;
  width: 7px;
  height: 7px;
  content: "";
  border-top: 1px solid #c7ccd5;
  border-right: 1px solid #c7ccd5;
  transform: translateY(-50%) rotate(45deg);
}

.recruitment-flow li > i {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #f15e66;
  background: #fff0ed;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.recruitment-flow li > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.recruitment-flow b {
  color: #525e72;
  font-size: 12px;
  font-weight: 650;
}

.recruitment-flow small {
  color: #a0a7b2;
  font-size: 9px;
}

.recruitment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.recruitment-method-card {
  min-width: 0;
  min-height: 260px;
  padding: 20px;
  border: 1px solid #e4e8ed;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(44, 54, 74, .035);
}

.recruitment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recruitment-card-top > span {
  color: #a1a8b4;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .11em;
}

.recruitment-card-top > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #f15e66;
  background: #fff0ed;
}

.recruitment-card-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recruitment-method-card h3 {
  margin: 14px 0 0;
  color: #3d485e;
  font-size: 17px;
  font-weight: 650;
}

.recruitment-method-card > p {
  min-height: 45px;
  margin: 8px 0 0;
  color: #8d96a5;
  font-size: 10px;
  line-height: 1.65;
}

.recruitment-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 10px 10px 12px;
  border: 1px solid #ffe0dc;
  border-radius: 5px;
  background: #fff9f7;
}

.recruitment-email-row > a {
  min-width: 0;
  overflow: hidden;
  color: #ed5a62;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-email-row > button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #929baa;
  background: transparent;
  font-family: inherit;
  font-size: 9px;
  cursor: pointer;
}

.recruitment-email-row > button:hover {
  color: #ed5a62;
}

.recruitment-email-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}

.recruitment-email-card dl > div {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 4px;
  background: #f7f8fa;
}

.recruitment-email-card dt {
  color: #a0a7b3;
  font-size: 8px;
}

.recruitment-email-card dd {
  margin: 4px 0 0;
  overflow: hidden;
  color: #657084;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-platform-list {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.recruitment-platform-list > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #e8ebf0;
  border-radius: 5px;
  background: #fafbfc;
}

.recruitment-platform-list > div > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
}

.recruitment-platform-list .is-boss { background: #55b8b5; }
.recruitment-platform-list .is-zhaopin { background: #3641e8; font-size: 18px; }

.recruitment-platform-list > div > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.recruitment-platform-list b {
  color: #566176;
  font-size: 10px;
  font-weight: 650;
}

.recruitment-platform-list small {
  overflow: hidden;
  color: #a1a8b4;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-platform-list em {
  color: #9aa2ae;
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.recruitment-response-time {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #ed5a62;
}

.recruitment-response-time > strong {
  font-size: 38px;
  font-weight: 650;
  line-height: 1;
}

.recruitment-response-time > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
}

.recruitment-response-time small {
  color: #a0a7b3;
  font-size: 8px;
  font-weight: 400;
}

.recruitment-response-route {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}

.recruitment-response-route span {
  color: #9ca4b0;
  font-size: 8px;
  white-space: nowrap;
}

.recruitment-response-route span.is-active {
  color: #ed5a62;
}

.recruitment-response-route i {
  height: 1px;
  flex: 1 1 auto;
  background: #e4e7ec;
}

.recruitment-dialog-footer {
  min-height: 72px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 13px 38px;
  border-top: 1px solid #e9edf2;
  background: #fafbfc;
}

.recruitment-dialog-footer > p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  width: 100%;
  color: #939ba9;
  font-size: 9px;
  text-align: center;
  line-height: 1.5;
}

.recruitment-dialog-footer > p svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: #f15e66;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes recruitment-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes recruitment-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .recruitment-dialog {
    width: min(720px, calc(100vw - 32px));
  }

  .recruitment-method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recruitment-response-card {
    grid-column: 1 / -1;
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .recruitment-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .recruitment-dialog-shell {
    height: 100dvh;
    max-height: none;
  }

  .recruitment-dialog-header {
    min-height: 152px;
    padding: 26px 20px;
  }

  .recruitment-dialog-heading h2 {
    font-size: 25px;
  }

  .recruitment-dialog-heading > span {
    max-width: calc(100vw - 90px);
  }

  .recruitment-dialog-close {
    top: 20px;
    right: 18px;
  }

  .recruitment-dialog-decoration {
    display: none;
  }

  .recruitment-dialog-body {
    padding: 22px 20px 28px;
  }

  .recruitment-flow {
    gap: 8px;
  }

  .recruitment-flow li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .recruitment-flow li:not(:last-child)::after,
  .recruitment-flow small {
    display: none;
  }

  .recruitment-method-grid {
    grid-template-columns: 1fr;
  }

  .recruitment-method-card,
  .recruitment-response-card {
    min-height: 0;
    grid-column: auto;
  }

  .recruitment-dialog-footer {
    padding: 12px 20px;
  }

  .recruitment-dialog-footer > p {
    display: flex;
    gap: 7px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruitment-dialog[open],
  .recruitment-dialog::backdrop {
    animation: none;
  }

  .recruitment-dialog-close {
    transition: none;
  }
}

/* Contact form opened by product, solution and business CTA buttons. */
body.is-contact-dialog-open {
  overflow: hidden;
}

.contact-dialog {
  width: min(760px, calc(100vw - 48px));
  max-width: none;
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #374258;
  background: #fff;
  box-shadow: 0 34px 100px rgba(24, 31, 47, .28);
  font-family: var(--font, "PingFang SC", "Microsoft YaHei", sans-serif);
}

.contact-dialog[open] {
  animation: contact-dialog-in 280ms cubic-bezier(.22, 1, .36, 1) both;
}

.contact-dialog::backdrop {
  background: rgba(24, 30, 44, .52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: contact-backdrop-in 220ms ease both;
}

.contact-dialog-shell {
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-dialog-header {
  position: relative;
  min-height: 158px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 30px 36px;
  overflow: hidden;
  border-bottom: 1px solid #ffe3df;
  background:
    linear-gradient(rgba(255, 104, 104, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 104, 104, .045) 1px, transparent 1px),
    linear-gradient(125deg, #fff8f6, #fff 66%);
  background-size: 32px 32px, 32px 32px, auto;
}

.contact-dialog-heading {
  position: relative;
  z-index: 2;
}

.contact-dialog-heading > p {
  margin: 0 0 9px;
  color: #f15e66;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.contact-dialog-heading h2 {
  margin: 0;
  color: #303a50;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.35;
}

.contact-dialog-heading > span {
  display: block;
  margin-top: 9px;
  color: #8b94a3;
  font-size: 12px;
  line-height: 1.65;
}

.contact-dialog-decoration {
  position: absolute;
  top: 50%;
  right: 72px;
  width: 200px;
  height: 140px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-dialog-decoration::before {
  position: absolute;
  top: -38px;
  right: -18px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 104, 104, .14);
  border-radius: 50%;
  content: "";
}

.contact-dialog-decoration i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff6868;
  box-shadow: 0 0 0 5px rgba(255, 104, 104, .1);
}

.contact-dialog-decoration i:nth-child(1) { top: 6px; right: 7px; }
.contact-dialog-decoration i:nth-child(2) { right: 128px; bottom: 6px; }

.contact-dialog-close {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e7eaf0;
  border-radius: 50%;
  color: #8a93a2;
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-dialog-close:hover {
  border-color: #ffc7c2;
  color: #f15e66;
  transform: rotate(6deg);
}

.contact-dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.contact-form {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

.contact-form[hidden],
.contact-success[hidden] {
  display: none;
}

.contact-form-scroll {
  min-height: 0;
  flex: 1 1 auto;
  padding: 25px 36px 30px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #d9dde5 transparent;
  scrollbar-width: thin;
}

.contact-form-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
  padding-bottom: 15px;
  border-bottom: 1px solid #edf0f4;
}

.contact-form-intro > span {
  color: #4d5970;
  font-size: 13px;
  font-weight: 650;
}

.contact-form-intro > p {
  margin: 0;
  color: #a0a7b2;
  font-size: 10px;
}

.contact-form-intro > p b {
  color: #f15e66;
  font-weight: 650;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 18px;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field > label {
  display: block;
  margin: 0 0 9px;
  color: #596478;
  font-size: 11px;
  font-weight: 600;
}

.contact-field > label em {
  color: #f15e66;
  font-style: normal;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  outline: 0;
  color: #3d485d;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-field input,
.contact-field select {
  height: 42px;
  padding: 0 13px;
}

.contact-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #7f8999 50%),
    linear-gradient(135deg, #7f8999 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 4px 4px;
  cursor: pointer;
}

.contact-custom-select {
  position: relative;
}

.contact-field select.contact-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-select-trigger {
  position: relative;
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 15px 0 13px;
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  color: #aeb5c0;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.contact-custom-select.is-open .contact-select-trigger,
.contact-select-trigger:hover {
  border-color: rgba(255, 104, 104, .68);
}

.contact-custom-select.is-open .contact-select-trigger,
.contact-select-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 104, 104, .09);
}

.contact-select-trigger.has-value {
  color: #3d485d;
}

.contact-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-select-arrow {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin: -4px 1px 0 8px;
  border-right: 1.5px solid #7f8999;
  border-bottom: 1.5px solid #7f8999;
  transform: rotate(45deg);
  transition: border-color 160ms ease, margin 180ms ease, transform 180ms ease;
}

.contact-custom-select.is-open .contact-select-arrow {
  margin-top: 4px;
  border-color: #f15e66;
  transform: rotate(225deg);
}

.contact-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  padding: 6px;
  border: 1px solid rgba(244, 99, 105, .2);
  border-radius: 7px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 34px rgba(63, 42, 50, .14), 0 3px 10px rgba(244, 99, 105, .07);
  backdrop-filter: blur(16px) saturate(1.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.06);
  animation: contact-select-menu-in 150ms ease both;
}

.contact-select-menu[hidden] {
  display: none;
}

.contact-select-option {
  position: relative;
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 32px 0 11px;
  border: 0;
  border-radius: 5px;
  color: #626c7b;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  line-height: 34px;
  text-align: left;
  cursor: pointer;
}

.contact-select-option:hover,
.contact-select-option:focus-visible {
  outline: 0;
  color: #f15e66;
  background: rgba(244, 99, 105, .075);
}

.contact-select-option[aria-selected="true"] {
  color: #ef5d66;
  background: rgba(244, 99, 105, .11);
  font-weight: 600;
}

.contact-select-option[aria-selected="true"]::after {
  position: absolute;
  right: 12px;
  width: 7px;
  height: 4px;
  content: "";
  border-bottom: 1.8px solid #f15e66;
  border-left: 1.8px solid #f15e66;
  transform: translateY(-1px) rotate(-45deg);
}

.contact-form.is-validated .contact-custom-select:has(select:invalid) .contact-select-trigger {
  border-color: #f39494;
  background-color: #fffafa;
}

.contact-field textarea {
  min-height: 98px;
  padding: 10px 13px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #b2b8c2;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(255, 104, 104, .68);
  box-shadow: 0 0 0 3px rgba(255, 104, 104, .09);
}

.contact-field > small,
.contact-consent-error {
  display: none;
  margin-top: 6px;
  color: #ed5b61;
  font-size: 9px;
}

.contact-form.is-validated .contact-field:has(:invalid) > small,
.contact-form.is-validated .contact-consent:has(:invalid) + .contact-consent-error {
  display: block;
}

.contact-form.is-validated .contact-field input:invalid,
.contact-form.is-validated .contact-field select:invalid,
.contact-form.is-validated .contact-field textarea:invalid {
  border-color: #f39494;
  background-color: #fffafa;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 21px;
  color: #818a9a;
  cursor: pointer;
}

.contact-consent input {
  position: absolute;
  opacity: 0;
}

.contact-consent > span {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid #d5dae2;
  border-radius: 3px;
  background: #fff;
}

.contact-consent svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.contact-consent input:checked + span {
  border-color: #ff6868;
  background: #ff6868;
}

.contact-consent input:checked + span svg {
  opacity: 1;
}

.contact-consent input:focus-visible + span {
  outline: 2px solid rgba(255, 104, 104, .5);
  outline-offset: 2px;
}

.contact-consent b {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.7;
}

.contact-consent-error {
  margin-left: 26px;
}

.contact-form-footer {
  min-height: 72px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 36px;
  border-top: 1px solid #e9edf2;
  background: #fafbfc;
}

.contact-form-footer > p {
  margin: 0;
  color: #9aa2af;
  font-size: 10px;
}

.contact-form-footer > p.is-error {
  color: #e95a60;
}

.contact-form-footer > div {
  display: flex;
  gap: 10px;
}

.contact-cancel-button,
.contact-submit-button,
.contact-success > button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.contact-cancel-button {
  min-width: 78px;
  border: 1px solid #e0e4ea;
  color: #778194;
  background: #fff;
}

.contact-submit-button {
  min-width: 118px;
  gap: 17px;
  padding: 0 15px;
  border: 1px solid #ff6868;
  color: #fff;
  background: linear-gradient(135deg, #ff746e, #f45d63);
  box-shadow: 0 8px 18px rgba(255, 104, 104, .2);
}

.contact-submit-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-submit-button:disabled {
  cursor: wait;
  opacity: .72;
}

.contact-success {
  min-height: 480px;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 45px 36px 55px;
  text-align: center;
  animation: contact-success-in 360ms cubic-bezier(.22, 1, .36, 1) both;
}

.contact-success-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff6868;
  background: #fff1ee;
  box-shadow: 0 0 0 11px #fff8f6;
}

.contact-success-mark svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-success > p {
  margin: 30px 0 10px;
  color: #ff6868;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.contact-success h3 {
  margin: 0;
  color: #354058;
  font-size: 24px;
  font-weight: 650;
}

.contact-success > span {
  max-width: 420px;
  margin-top: 11px;
  color: #8b94a3;
  font-size: 12px;
  line-height: 1.7;
}

.contact-success dl {
  min-width: 390px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 25px 0 0;
  padding: 17px 0;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  background: #fafbfc;
}

.contact-success dl > div + div {
  border-left: 1px solid #e7eaf0;
}

.contact-success dt {
  color: #9ca4b0;
  font-size: 9px;
}

.contact-success dd {
  margin: 5px 0 0;
  color: #525e73;
  font-size: 12px;
  font-weight: 650;
}

.contact-success > button {
  min-width: 118px;
  margin-top: 24px;
  border: 0;
  color: #fff;
  background: #ff6868;
  box-shadow: 0 8px 18px rgba(255, 104, 104, .2);
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes contact-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes contact-select-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 620px) {
  .contact-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .contact-dialog-shell {
    height: 100dvh;
    max-height: none;
  }

  .contact-dialog-header {
    min-height: 148px;
    padding: 24px 20px;
  }

  .contact-dialog-heading h2 {
    max-width: calc(100vw - 80px);
    font-size: 23px;
  }

  .contact-dialog-heading > span {
    max-width: calc(100vw - 90px);
    font-size: 11px;
  }

  .contact-dialog-close {
    top: 19px;
    right: 18px;
  }

  .contact-dialog-decoration {
    display: none;
  }

  .contact-form-scroll {
    padding: 22px 20px 28px;
  }

  .contact-form-intro {
    display: block;
  }

  .contact-form-intro > p {
    margin-top: 5px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-form-footer {
    padding: 12px 20px;
  }

  .contact-form-footer > p {
    display: none;
  }

  .contact-form-footer > div {
    width: 100%;
  }

  .contact-cancel-button,
  .contact-submit-button {
    flex: 1 1 0;
  }

  .contact-success {
    min-height: 0;
    padding-inline: 20px;
  }

  .contact-success dl {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open],
  .contact-dialog::backdrop,
  .contact-success,
  .contact-select-menu {
    animation: none;
  }

  .contact-dialog-close {
    transition: none;
  }
}

/* DCIM keeps the site's red-and-charcoal ending standard. */
.dcim-page .global-cta {
  color: #fff;
  border: 0;
  background: var(--experience-cta-background, var(--site-coral));
}

.dcim-page .global-cta::before {
  opacity: .14;
  background-image:
    linear-gradient(rgba(255, 255, 255, .52) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .52) 1px, transparent 1px);
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.dcim-page .global-cta-copy > p {
  color: rgba(255, 255, 255, .82);
}

.dcim-page .global-cta-copy h2 {
  color: #fff;
}

.dcim-page .global-cta-copy > span {
  color: rgba(255, 255, 255, .82);
}

.dcim-page .global-cta-button {
  color: #fff;
  border-color: rgba(255, 255, 255, .78);
  background: transparent;
}

.dcim-page .global-cta-button:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.dcim-page .global-cta-button-primary,
.dcim-page .global-cta-button-primary:hover {
  color: var(--site-coral-dark);
  border-color: #fff;
  background: #fff;
}

.dcim-page .site-footer {
  color: #92959b;
  border-top: 0;
  background: #292b2f;
}

.dcim-page .footer-column h2 {
  color: #f2f2f3;
}

.dcim-page .footer-column > a,
.dcim-page .footer-contact-item {
  color: #92959b;
}

.dcim-page .footer-column > a:hover {
  color: #e6e7e9;
}

.dcim-page .footer-column > a:focus-visible {
  outline-color: rgba(255, 255, 255, .55);
}

.dcim-page .footer-contact svg {
  stroke: #a7a9ad;
}

.dcim-page .footer-qr {
  color: #74777d;
}

.dcim-page .footer-qr-code {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 50%, transparent 50%) 0 0 / 18px 18px,
    linear-gradient(rgba(255, 255, 255, .035) 50%, transparent 50%) 0 0 / 18px 18px,
    #5b5d62;
}

.dcim-page .footer-qr-code::before,
.dcim-page .footer-qr-code::after {
  border-color: rgba(255, 255, 255, .09);
}

.dcim-page .footer-legal {
  border-top-color: #44464a;
  color: #70737a;
}

.dcim-page .footer-legal a:hover {
  color: #b9bbc0;
}

.dcim-page .footer-legal i {
  background: #5d6065;
}

.dcim-page .dcim-operation-visual {
  border-color: #cfd8e4 !important;
}
