.support-widget{
  --support-bottom:24px;
  position:fixed;
  right:24px;
  bottom:calc(var(--support-bottom) + env(safe-area-inset-bottom));
  width:min(370px,calc(100% - 48px));
  z-index:40;
  color:#1d3028;
  font-size:14px;
  line-height:1.6;
  pointer-events:none
}
.support-widget .support-panel,.support-widget .support-launcher{
  pointer-events:auto
}
.support-widget svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.support-widget button,.support-widget input{
  font:inherit
}
.support-widget button:focus-visible,.support-widget input:focus-visible{
  outline:2px solid #b38a43;
  outline-offset:3px
}
.support-launcher{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:56px;
  padding:0 21px;
  margin-left:auto;
  background:#dfc48d;
  color:#17271e;
  border:1px solid #f1dba6;
  border-radius:40px;
  font-weight:600;
  box-shadow:0 8px 28px #0005;
  transition:background .2s,transform .2s
}
.support-launcher:hover{
  background:#f0d8a5;
  transform:translateY(-2px)
}
.support-launcher-arrow{
  font-size:20px;
  margin-left:6px
}
.support-launcher[aria-expanded=true] .support-launcher-arrow{
  transform:rotate(180deg)
}
.support-panel{
  position:absolute;
  right:0;
  bottom:70px;
  width:100%;
  max-height:calc(100vh - 120px);
  max-height:calc(100dvh - var(--support-bottom) - env(safe-area-inset-bottom) - 88px);
  display:flex;
  flex-direction:column;
  background:#f7f7ef;
  border:1px solid #d4dacb;
  border-radius:20px;
  box-shadow:0 24px 72px #0006;
  overflow:hidden
}
.support-header{
  display:flex;
  gap:13px;
  align-items:center;
  flex-shrink:0;
  padding:22px 20px;
  background:#203c30;
  color:#f1f1e4
}
.support-mark{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex-shrink:0;
  border:1px solid #d9bf8855;
  background:#d9bf8812;
  border-radius:14px;
  color:#dfc48d
}
.support-brand{
  font-size:9px;
  letter-spacing:2px;
  color:#dfc48d;
  line-height:1.3
}
.support-header h2{
  font-size:19px;
  line-height:1.4;
  font-weight:600;
  margin:3px 0
}
#support-subtitle{
  font-size:11px;
  color:#c0cdbd
}
.support-close{
  align-self:flex-start;
  display:grid;
  place-items:center;
  margin:-5px -7px 0 auto;
  width:36px;
  height:36px;
  flex-shrink:0;
  background:transparent;
  border-radius:50%;
  font-size:25px;
  line-height:1;
  color:#dce4d5
}
.support-close:hover{
  background:#ffffff15
}
.support-content{
  padding:20px 20px 16px;
  overflow-y:auto;
  overscroll-behavior:contain;
  min-height:0
}
.support-welcome{
  font-size:16px;
  font-weight:600;
  line-height:1.7
}
.support-welcome span{
  font-size:12px;
  font-weight:400;
  color:#627365
}
.support-topics{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:15px 0
}
.support-topics button{
  padding:7px 10px;
  min-height:36px;
  border:1px solid #d5ddcc;
  border-radius:7px;
  background:#fffef7;
  font-size:12px;
  color:#405b48
}
.support-topics button:hover{
  border-color:#7e956f;
  background:#e9efdf
}
.support-topics button[aria-pressed=true]{
  background:#e6eddc;
  border-color:#8b9b77;
  color:#233e2d
}
.support-answer{
  padding:13px 15px;
  background:#e9eee2;
  border-radius:3px 12px 12px;
  border:1px solid #dce4d1;
  font-size:13px;
  line-height:1.85;
  overflow-wrap:anywhere
}
#support-question{
  font-size:11px;
  font-weight:600;
  color:#5e7158;
  margin-bottom:7px;
  padding-bottom:7px;
  border-bottom:1px solid #ccd6bf;
  white-space:pre-wrap
}
.support-contacts{
  display:grid;
  gap:8px;
  margin-top:18px
}
.support-contact{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  background:#fffef8;
  border:1px solid #dfe3d5;
  border-radius:9px
}
.support-contact label{
  width:62px;
  flex-shrink:0;
  font-size:12px;
  color:#687460
}
.support-contact input{
  min-width:0;
  width:100%;
  border:0;
  padding:0;
  background:transparent;
  color:#243a2b;
  font-weight:700;
  letter-spacing:.4px
}
.support-contact button{
  padding:5px 10px;
  min-height:32px;
  border-radius:5px;
  background:#263f30;
  color:#f1eddb;
  font-size:11px;
  flex-shrink:0
}
.support-contact button:hover{
  background:#3c5841
}
.support-copy-status{
  min-height:22px;
  font-size:11px;
  line-height:1.6;
  color:#45603d;
  padding-top:4px
}
.support-note{
  font-size:11px;
  line-height:1.7;
  color:#65715f
}
.support-form{
  display:flex;
  gap:8px;
  padding:14px 18px;
  background:#eeefe6;
  border-top:1px solid #dce1d2;
  flex-shrink:0
}
.support-form input{
  min-width:0;
  width:100%;
  padding:11px 12px;
  border:1px solid #d2d9c6;
  border-radius:8px;
  background:#fffef9;
  color:#213a2b;
  font-size:14px;
  line-height:1.4
}
.support-form input::placeholder{
  color:#7b8573
}
.support-form button{
  display:flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
  padding:0 13px;
  border-radius:8px;
  background:#263f30;
  color:#f4edda;
  font-size:13px
}
.support-form button:hover{
  background:#3c5841
}
.support-sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}
@media(max-width:760px){
  .support-widget{
    --support-bottom:78px;
    right:16px;
    width:min(360px,calc(100% - 32px))
  }
  .support-launcher{
    min-height:48px;
    padding:0 16px;
    font-size:13px;
    gap:9px
  }
  .support-launcher svg{
    width:21px;
    height:21px
  }
  .support-panel{
    bottom:60px;
    max-height:calc(100vh - 156px);
    max-height:calc(100dvh - var(--support-bottom) - env(safe-area-inset-bottom) - 76px);
    border-radius:16px
  }
  .support-header{
    padding:17px
  }
  .support-content{
    padding:16px
  }
  .support-form{
    padding:12px 14px
  }
  .support-form input{
    font-size:16px
  }
  .support-close{
    width:40px;
    height:40px
  }
  .support-topics button{
    min-height:40px
  }
  .support-contact button{
    min-height:36px
  }
}
@media(max-height:500px){
  .support-header{
    padding:10px 16px
  }
  .support-mark,.support-brand,#support-subtitle{
    display:none
  }
  .support-header h2{
    font-size:16px
  }
  .support-form{
    padding:8px 12px
  }
}
@media(prefers-reduced-motion:reduce){
  .support-launcher{
    transition:none
  }
}
@media print{
  .support-widget{
    display:none!important
  }
}
.download-dialog{
  max-height:calc(100vh - 32px);
  max-height:calc(100dvh - 32px);
  overflow-y:auto
}
.download-support{
  text-align:left;
  margin:0 0 14px
}
.download-support h3{
  font-size:15px;
  font-weight:600;
  color:#edf0e2;
  line-height:1.5
}
.download-support>p:not(.support-copy-status){
  font-size:12px;
  color:#a9b89e;
  margin-top:5px
}
.download-support .support-contacts{
  margin-top:14px
}
.download-support .support-contact{
  background:#213026;
  border-color:#50634566;
  padding:10px 12px
}
.download-support .support-contact label{
  color:#b5c3aa
}
.download-support .support-contact input{
  font-family:inherit;
  font-size:15px;
  color:#f1ecd9
}
.download-support .support-contact button{
  background:#dfc48d;
  color:#1b2b20;
  min-height:36px;
  font-size:12px
}
.download-support .support-contact button:hover{
  background:#f0d8a5
}
.download-support .support-copy-status{
  color:#ddc58f;
  min-height:24px
}
.download-support input:focus-visible{
  outline:2px solid #dfc48d;
  outline-offset:3px
}
.support-contact label{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px
}
.support-contact .contact-channel-icon{
  width:32px;
  height:32px;
  object-fit:contain;
  flex-shrink:0
}
.support-contact .contact-channel-santiao{
  width:40px;
  height:40px;
  background:#fffef7;
  border-radius:7px
}
@media(max-width:400px){
  .download-support .support-contact{
    padding:9px;
    gap:6px
  }
  .download-support .support-contact label{
    width:40px
  }
  .download-support .support-contact input{
    font-size:14px
  }
  .download-support .support-contact button{
    padding:5px 9px
  }
}
/* Visible contact guidance also works when a dialog cannot open. */
.download-contact-block{
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #50634566;
  border-radius: 12px;
  background: #19251e;
}
.download-contact-block .support-contacts{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-flow{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-left: 22px;
  color: #e2d0a5;
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 760px){
  .download-contact-block{
    padding: 18px;
  }
  .download-contact-block .support-contacts{
    grid-template-columns: 1fr;
  }
  .contact-flow{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
