/* 신규 AI 페이지 보완 스타일 (모션 상태, QR, 앱 다운로드 팝업) */

[hidden] {
  display:none!important
}

/* 네이티브 모션의 단계별 표시 상태입니다. 기본 디자인 뒤에서 적용합니다. */

.voice-example {
  transition:width .28s cubic-bezier(.22,1,.36,1)
}
.voice-microphone,.voice-waveform {
  transition:opacity .28s ease,visibility .28s ease
}
.voice-hero .voice-microphone img {
  transform:none!important
}

.voice-hero:not(.is-receipt) .voice-receipt-result {
  visibility:hidden;
  opacity:0;
  pointer-events:none
}
.voice-hero.is-receipt .voice-microphone,.voice-hero.is-receipt .voice-waveform {
  opacity:0!important;
  visibility:hidden
}

.basic-thought-morph {
  transition:width .22s cubic-bezier(.22,1,.36,1),height .22s ease,transform .35s ease,opacity .2s ease
}
.basic-thought-dot {
  transition:transform .4s cubic-bezier(.18,1.5,.5,1);
  transform-origin:center
}

.chat-prompt-visual {
  transition:width .3s cubic-bezier(.22,1,.36,1)
}

@media(prefers-reduced-motion:reduce) {
  .voice-example,.basic-thought-morph,.basic-thought-dot,.chat-prompt-visual {
    transition:none
  }
}

main.chatbot-page,
main.voice-mobile-page,
main.rpa-page--01,
main.voucher-page,
main.inventory-page {
  min-height: 0;
}
@media (min-width: 701px) {
  .chatbot-page .chat-topics,
  .voice-mobile-page .voice-topics,
  .basic-info-page .basic-import-examples,
  .rpa-page--01 .rpa-steps,
  .voucher-page .voucher-topics,
  .inventory-page .inventory-cards {
    padding-bottom: clamp(70px, 6.25vw, 120px);
  }
}

/* 얼마에요M 공통 다운로드 QR */
.mobile-download-qr-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 50px auto 0;
  max-width: 100%;
}
.mobile-download-qr-item {
  margin: 0;
  min-width: 0;
  text-align: center;
}
.mobile-download .mobile-qr--store {
  display: grid;
  place-items: center;
  margin: 0;
  background: #fff;
}
.mobile-qr--store .mobile-qr-image {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
}
.mobile-download .mobile-qr--store img {
  display: block;
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.mobile-download-qr-item figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6d7882;
}
@media (max-width: 700px) {
  .mobile-download-qr-list {
    gap: 20px;
    margin-top: 42.13px;
  }
  .mobile-page .mobile-download-qr-list .mobile-qr--store {
    width: 139px;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
  }
  .mobile-download-qr-item figcaption {
    font-size: 12px;
    line-height: 18px;
  }
}

/* 앱 다운로드 팝업 (거래명세표 RPA) */
dialog.app-download-popup {
  box-sizing: border-box;
  width: 799px;
  max-width: calc(100vw - 32px);
  height: fit-content;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: #000;
  box-shadow: 0 0 2px #00000014, 0 16px 24px #0000001f;
  overflow: hidden;
  overscroll-behavior: contain;
}
.app-download-popup::backdrop {
  background: rgb(0 0 0 / 45%);
  backdrop-filter: none;
}
.app-download-popup-panel {
  position: relative;
  min-height: 561px;
  width: 100%;
  padding: 77px 36px 78px;
}
.app-download-popup-close {
  position: absolute;
  top: 16px;
  right: 41.5px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.app-download-popup-close img {
  display: block;
}
.app-download-popup-content {
  position: relative;
  left: -12.5px;
  text-align: center;
}
.app-download-popup h2 {
  margin: 0;
  font-family: inherit;
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -1.2px;
  color: #000;
}
.app-download-popup p {
  margin: 8px 0 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 25.2px;
  letter-spacing: -0.18px;
  color: #5a5a5a;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.app-download-popup-stores {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 41px;
}
.app-download-popup-stores > a {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 150px;
  width: 150px;
  height: 45px;
  border: 1px solid #000;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 4px 4px #0004;
  text-decoration: none;
}
.app-download-popup-stores > a > img {
  display: block;
}
.app-download-popup-stores .art {
  width: 150px;
}
.app-download-popup-qr {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin: 50px auto 0;
  padding: 13px;
  border: 1px solid #cdd1d5;
  border-radius: 10px;
  background: #fff;
}
.app-download-popup-qr img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  image-rendering: pixelated;
}
.app-download-popup :is(a, button):focus-visible {
  outline: 3px solid #499dff;
  outline-offset: 4px;
}
.rpa-classic-download[data-app-download] {
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
@media (max-width: 700px) {
  dialog.app-download-popup {
    border-radius: 24px;
  }
  .app-download-popup-panel {
    min-height: 0;
    padding: 65px 20px 40px;
  }
  .app-download-popup-close {
    top: 14px;
    right: 14px;
  }
  .app-download-popup-content {
    left: 0;
  }
  .app-download-popup h2 {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.3;
    letter-spacing: -0.66px;
    word-break: keep-all;
  }
  .app-download-popup p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.14px;
  }
  .app-download-desktop-break {
    display: none;
  }
  .app-download-popup-stores {
    gap: 16px;
    margin-top: 28px;
  }
  .app-download-popup-stores > a {
    flex: 0 1 150px;
    min-width: 0;
  }
  .app-download-popup-qr {
    margin-top: 32px;
  }
}
@media (max-height: 620px) {
  .app-download-popup-panel {
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 24px;
  }
  .app-download-popup-stores {
    margin-top: 24px;
  }
  .app-download-popup-qr {
    margin-top: 28px;
  }
}
