/* Phone support layout. The approved desktop stylesheet remains unchanged. */
@media (width < 1024px) {
  .md-support-page { --md-support-gutter: 24px; --md-support-max: 720px; --md-support-nav-height: 48.5px; background: #fff; }
  .md-support-page > .md-v2-page-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .md-support-page .md-support-layout { display: block; width: 100%; margin: 0; padding: 0; }
  .md-support-page .md-support-content { background: linear-gradient(#f5f5f7,#f5f5f7); }

  .md-support-page .md-support-nav { position: static; z-index: 60; top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; width: 100%; height: auto; margin: 0; padding: 0 max(var(--md-support-gutter),calc((100% - var(--md-support-max)) / 2)); border: 0; border-top: .5px solid #d2d2d7; border-bottom: .5px solid #d2d2d7; background: #fff; }
  .md-support-page .md-support-nav.is-mobile-enhanced { position: sticky; top: var(--md-mobile-header-height,44px); flex-wrap: nowrap; height: var(--md-support-nav-height); }
  .md-support-page .md-support-nav::before { content: none; }
  .md-support-page .md-support-nav-title,
  .md-support-page .md-support-nav > a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-start; width: auto; min-height: 44px; height: 47.5px; margin: 0; padding: 0; border: 0; border-radius: 0; color: #5e5e5f; background: transparent; font-family: var(--md-font-medium); font-size: 14px; font-weight: 400; line-height: 16.5px; letter-spacing: 0; text-decoration: none; -webkit-text-stroke: 0; transform: none; }
  .md-support-page .md-support-nav-title { gap: 4px; box-shadow: none; }
  .md-support-page .md-support-nav-title strong { font: inherit; -webkit-text-stroke: 0; }
  .md-support-page .md-support-nav-title span,
  .md-support-page .md-support-nav-title[aria-expanded="false"] span { flex: 0 0 9px; width: 9px; height: 5px; margin: 0; background: url('/wp-content/plugins/meituan-drone-support/assets/icons/mobile/support-dropdown.svg') center / 9px 5px no-repeat; }
  .md-support-page .md-support-nav-title[aria-expanded="true"] span { transform: rotate(180deg); }
  .md-support-page .md-support-nav > a:hover,
  .md-support-page .md-support-nav > a:active,
  .md-support-page .md-support-nav-title:hover,
  .md-support-page .md-support-nav-title:active { background: transparent; }
  .md-support-page .md-support-nav[data-mobile-current="faq"] .md-support-nav-title,
  .md-support-page .md-support-nav > a[aria-current="location"] { color: #333; font-family: var(--md-font-bold); }
  .md-support-page .md-support-nav[data-mobile-current="faq"] .md-support-nav-title::after,
  .md-support-page .md-support-nav > a[aria-current="location"]::after { position: absolute; bottom: -.5px; left: 14px; width: 28px; height: 2px; background: #fcc800; content: ''; }
  .md-support-page .md-support-nav-faq-links { order: 4; flex-basis: 100%; width: 100%; padding: 8px 0; background: #fff; }
  .md-support-page .is-mobile-enhanced .md-support-nav-faq-links { position: absolute; top: 100%; right: 0; left: 0; z-index: 1; width: 100%; max-height: calc(100dvh - var(--md-mobile-header-height,44px) - var(--md-support-nav-height)); padding: 16px max(var(--md-support-gutter),calc((100% - var(--md-support-max)) / 2)); overflow-y: auto; overscroll-behavior: contain; }
  .md-support-page .md-support-nav-faq-links[hidden] { display: none; }
  .md-support-page .md-support-nav-faq-links a { display: flex; align-items: center; min-height: 48.5px; margin: 0; padding: 12px 0; color: #5e5e5f; background: transparent; font-family: var(--md-font-medium); font-size: 14px; font-weight: 400; line-height: 16.5px; -webkit-text-stroke: 0; }
  .md-support-page .md-support-nav-faq-links a.is-active { color: #333; }
  .md-support-page .md-support-nav :is(a,button):focus-visible { outline: 2px solid #fcc800; outline-offset: -3px; }

  .md-support-page .md-support-section:is(#support-process,#support-mail,#support-onsite,#support-warranty,#support-contact) { width: min(var(--md-support-max),calc(100% - var(--md-support-gutter) * 2)); height: auto; min-height: 60.5px; margin: 0 auto; padding: 0; border: 0; border-bottom: .5px solid #d2d2d7; border-radius: 0; background: transparent; scroll-margin-top: 112px; }
  .md-support-page .md-support-section#support-process { min-height: 72.5px; }
  .md-support-page .md-support-section#support-contact { border-bottom: 0; }
  .md-support-page .md-support-section h2 { position: relative; display: flex; min-height: 60px; align-items: center; gap: 15px; margin: 0; color: #333; font-family: var(--md-font-bold); font-size: 18px; font-weight: 400; line-height: 20.5px; letter-spacing: 0; -webkit-text-stroke: 0; transform: none; }
  .md-support-page .md-support-section#support-process h2 { min-height: 72px; padding-top: 12px; }
  .md-support-page .md-support-section h2::before { display: block; flex: 0 0 5px; width: 5px; height: 18px; margin: 0; background: #fcc800; }
  .md-support-page button.md-support-section-toggle,
  .md-support-page button.md-support-section-toggle:is(:hover,:focus,:active) { position: static; display: flex; min-width: 0; min-height: 44px; margin: 0; padding: 10px 36px 10px 0; flex: 1 1 auto; align-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
  .md-support-page .md-support-section-toggle::after { position: absolute; top: 50%; right: 0; width: 10px; height: 6px; background: #5e5e5f; content: ''; -webkit-mask: url('/wp-content/plugins/meituan-drone-support/assets/icons/mobile/support-dropdown.svg') center / contain no-repeat; mask: url('/wp-content/plugins/meituan-drone-support/assets/icons/mobile/support-dropdown.svg') center / contain no-repeat; transform: translateY(-50%); }
  .md-support-page .md-support-section-toggle[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
  .md-support-page .md-support-section-toggle:focus-visible { outline: 2px solid #fcc800; outline-offset: -2px; }
  .md-support-page .md-support-section.is-disclosure.is-expanded > h2 { margin-bottom: 28px; }
  .md-support-page .md-support-section.is-disclosure.is-expanded { padding-bottom: 50px; }
  .md-support-page .md-support-section:is(#support-process,#support-mail,#support-onsite,#support-warranty,#support-contact) h3 { width: 100%; margin: 0 0 20px; color: #333; font-family: var(--md-font-bold); font-size: 16px; font-weight: 400; line-height: 18.5px; letter-spacing: 0; overflow-wrap: anywhere; -webkit-text-stroke: 0; }
  .md-support-page .md-support-section:is(#support-process,#support-mail,#support-onsite,#support-warranty,#support-contact) .md-support-answer + h3 { margin-top: 50px; }
  .md-support-page .md-support-section#support-mail h3:last-of-type { line-height: 20px; }
  .md-support-page .md-support-answer { display: flex; flex-direction: column; gap: 20px; margin: 0; }
  .md-support-page .md-support-section :is(p,li) { color: #5e5e5f; font-family: var(--md-font-regular); font-size: 12px; font-weight: 400; line-height: 15px; letter-spacing: 0; overflow-wrap: anywhere; }
  .md-support-page .md-support-answer :is(p,ul,ol) { margin: 0; }
  .md-support-page .md-support-answer .md-support-answer-lead { color: #333 !important; font-family: var(--md-font-bold); font-weight: 400 !important; line-height: 14.5px !important; }
  .md-support-page .md-support-answer :is(ul,ol) { padding-left: 18px; }
  .md-support-page .md-support-answer .md-support-steps > li + li { margin-top: 20px; }
  .md-support-page .md-support-answer .md-support-alpha { margin-top: 12px; padding-left: 2px; list-style-position: inside; }
  .md-support-page .md-support-section#support-mail .md-support-alpha { margin-left: -18px; padding-left: 18px; list-style-type: disc; list-style-position: outside; }
  .md-support-page .md-support-answer :is(ul,.md-support-alpha) li { margin-top: 0; }
  .md-support-page .md-support-answer strong { color: inherit; font: inherit; }
  .md-support-page .md-support-section#support-mail h3:nth-of-type(2) + .md-support-answer .md-support-steps { margin-top: 0; }
  .md-support-page .md-support-section#support-process h3:nth-of-type(2) + .md-support-answer > p + p { margin-top: -20px; }
  .md-support-page .md-support-answer .md-support-warning { margin-top: 0 !important; }
  .md-support-page .md-support-methods { table-layout: fixed; width: 100%; margin: 0; border: .5px solid #d2d2d7; border-radius: 5px; background: transparent; color: #5e5e5f; font-family: var(--md-font-regular); font-size: 12px; line-height: 15px; }
  .md-support-page .md-support-methods :is(th,td) { height: 37.5px; padding: 3.5px 12px; border-right: .5px solid #d2d2d7; border-bottom: .5px solid #d2d2d7; color: #5e5e5f; font: inherit; vertical-align: middle; overflow-wrap: anywhere; }
  .md-support-page .md-support-methods th { height: 38px; color: #333; font-family: var(--md-font-medium); }
  .md-support-page .md-support-methods :is(th,td):first-child { width: 32.407%; }
  .md-support-page .md-support-methods :is(th,td):last-child { border-right: 0; }
  .md-support-page .md-support-methods tr:last-child td { border-bottom: 0; }

  .md-support-page :is(.md-support-downloads,.md-support-after-sales) { width: 100%; margin: 0; padding: 80px max(var(--md-support-gutter),calc((100% - var(--md-support-max)) / 2)) 0; background: #fff; scroll-margin-top: 112px; }
  .md-support-page .md-support-after-sales { padding-bottom: 80px; }
  .md-support-page :is(.md-support-downloads,.md-support-after-sales) > h2 { margin: 0 0 40px; color: #333; font-family: var(--md-font-bold); font-size: 24px; font-weight: 400; line-height: 27.5px; text-align: center; letter-spacing: 0; -webkit-text-stroke: 0; transform: none; }
  .md-support-page .md-support-download-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .md-support-page .md-support-download-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: auto; min-height: 92px; padding: 24px 28px; border-radius: 10px; background: #f5f5f7; }
  .md-support-page .md-support-download-card strong { min-width: 0; color: #333; font-family: var(--md-font-bold); font-size: 18px; font-weight: 400; line-height: 20.5px; overflow-wrap: anywhere; -webkit-text-stroke: 0; }
  .md-support-page .md-support-action { position: relative; isolation: isolate; flex: 0 0 auto; align-self: center; width: auto; min-width: 62px; height: auto; min-height: 44px; margin: 0; padding: 10px 16px; border: 0; border-radius: 20px; color: #333; background: transparent; font-family: var(--md-font-medium); font-size: 14px; line-height: 16px; text-align: center; overflow-wrap: anywhere; }
  .md-support-page .md-support-action::before { position: absolute; z-index: -1; inset: 4px 0; border-radius: 20px; background: #fcc800; content: ''; }
  .md-support-page a.md-support-action:is(:hover,:active)::before { background: #face24; }
  .md-support-page a.md-support-action:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
  .md-support-page .md-support-contact-card { width: min(200px,100%); height: auto; min-height: 253px; margin: 0 auto; padding: 16px; border-radius: 10px; background: #f5f5f7; }
  .md-support-page .md-support-contact-card > img { width: 168px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
  .md-support-page .md-support-contact-card p { margin: 16px 0 0; color: #333; font-family: var(--md-font-bold); font-size: 16px; font-weight: 400; line-height: 18.5px; overflow-wrap: anywhere; -webkit-text-stroke: 0; }
}
