@charset "UTF-8";

/* The help layer is shared by the redesigned pages and the legacy articles. */
#jy-help,
#jy-help-dialog {
  --jy-help-paper: #f7f7f2;
  --jy-help-white: #fff;
  --jy-help-ink: #253b36;
  --jy-help-green: #173e39;
  --jy-help-muted: #65716b;
  --jy-help-line: #dce1d8;
  --jy-help-lime: #d9e9a9;
  --jy-help-soft: #edf0e6;
  color: var(--jy-help-ink);
  font: 400 14px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

#jy-help *,
#jy-help-dialog * {
  box-sizing: border-box;
}

#jy-help [hidden],
#jy-help-dialog [hidden] {
  display: none !important;
}

#jy-help button,
#jy-help-dialog button,
#jy-help a,
#jy-help-dialog a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

#jy-help button,
#jy-help-dialog button {
  appearance: none;
  margin: 0;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

#jy-help a,
#jy-help-dialog a {
  color: inherit;
  text-decoration: none;
}

#jy-help button:focus-visible,
#jy-help a:focus-visible,
#jy-help-dialog button:focus-visible,
#jy-help-dialog a:focus-visible {
  outline: 3px solid #62894b;
  outline-offset: 3px;
}

#jy-help button:disabled,
#jy-help-dialog button:disabled {
  opacity: .55;
  cursor: default;
}

#jy-help svg,
#jy-help-dialog svg {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jy-help-dock {
  position: fixed;
  z-index: 1000;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  width: 304px;
  max-width: calc(100vw - 32px);
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--jy-help-line);
  border-radius: 12px;
  background: #fffffff5;
  box-shadow: 0 6px 24px #173e3924;
}

#jy-help .jy-help-launch,
#jy-help .jy-help-contact,
#jy-help .jy-help-compact {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--jy-help-green);
  box-shadow: none;
  font-size: 12px;
  line-height: 1.25;
  transition: background-color .16s ease, box-shadow .16s ease;
}

#jy-help .jy-help-launch {
  background: var(--jy-help-green);
  color: #fff;
  font-weight: 600;
}

#jy-help .jy-help-launch svg {
  width: 22px;
  height: 22px;
  color: var(--jy-help-lime);
}

#jy-help .jy-help-contact {
  font-weight: 550;
}

#jy-help .jy-help-contact svg {
  width: 20px;
  height: 20px;
}

#jy-help .jy-help-top {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--jy-help-muted);
  font-size: 12px;
  box-shadow: none;
}

#jy-help .jy-help-rail {
  display: none;
  position: fixed;
  z-index: 90;
  top: 112px;
  right: max(16px, env(safe-area-inset-right));
  width: 208px;
  max-height: calc(100vh - 136px);
  max-height: calc(100dvh - 136px);
  margin: 0;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  border: 1px solid var(--jy-help-line);
  border-radius: 12px;
  background: #fbfcf8;
  box-shadow: 0 6px 24px #173e3910;
  text-align: center;
}

#jy-help .jy-help-rail h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--jy-help-green);
  font: 600 14px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

/* Equal columns squeezed the 3-character label; let each tab take its own width. */
.jy-help-rail-tabs {
  display: flex;
  gap: 3px;
  padding: 2px;
  border-radius: 6px;
  background: var(--jy-help-soft);
}

#jy-help .jy-help-rail-tabs button {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--jy-help-muted);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}

#jy-help .jy-help-rail-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--jy-help-green);
  font-weight: 600;
  box-shadow: 0 1px 5px #173e390d;
}

/* The five cards swap in place; a stable height keeps the rail from jumping. */
.jy-help-rail-viewport {
  position: relative;
  min-height: 312px;
}

.jy-help-rail-card.is-fresh {
  animation: jy-rail-fade 0.34s ease both;
}

@keyframes jy-rail-fade {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jy-help-rail-card.is-fresh {
    animation: none;
  }
}

.jy-help-rail-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
}

.jy-help-rail-dots {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

#jy-help .jy-help-rail-dot {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

#jy-help .jy-help-rail-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--jy-help-line);
  transition: background 0.2s ease, transform 0.2s ease;
}

#jy-help .jy-help-rail-dot[aria-current="true"]::before {
  background: var(--jy-help-green);
  transform: scale(1.35);
}

#jy-help .jy-help-rail-arrow,
#jy-help .jy-help-rail-toggle {
  display: flex;
  flex: 0 0 auto;
  width: 26px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--jy-help-muted);
}

#jy-help .jy-help-rail-arrow svg,
#jy-help .jy-help-rail-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#jy-help .jy-help-rail-toggle svg {
  fill: currentColor;
}

#jy-help .jy-help-rail-card h3 {
  margin: 14px 0 3px;
  padding: 0;
  border: 0;
  color: var(--jy-help-green);
  font: 600 14px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

#jy-help .jy-help-rail-card p {
  margin: 0 0 10px;
  color: var(--jy-help-muted);
  font-size: 11px;
  line-height: 1.65;
}

.jy-help-rail-card > a:not(.jy-help-rail-large) {
  display: block;
  width: 172px;
  height: 172px;
  margin-inline: auto;
  background: #fff;
}

.jy-help-rail-card img {
  display: block;
  width: 172px;
  height: 172px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  -webkit-touch-callout: default;
}

.jy-help-rail-scan {
  display: block;
  margin-top: 8px;
  color: var(--jy-help-muted);
  font-size: 12px;
}

#jy-help .jy-help-rail-large {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--jy-help-green);
  font-size: 12px;
}

#jy-help .jy-help-rail-large svg {
  width: 14px;
  height: 14px;
}

.jy-help-rail-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--jy-help-line);
}

#jy-help .jy-help-rail-links button {
  min-width: 0;
  min-height: 44px;
  padding: 6px 2px;
  border: 1px solid var(--jy-help-line);
  border-radius: 6px;
  background: #fff;
  color: var(--jy-help-green);
  font-size: 12px;
}

#jy-help .jy-help-rail-ai {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--jy-help-green);
  color: #fff;
  font-size: 13px;
}

body.jy-help-ready .back-top {
  display: none !important;
}

#jy-help.jy-help-is-open .jy-help-dock,
#jy-help.is-open .jy-help-dock,
body:has(#jy-help-dialog[open]) .jy-help-dock,
#jy-help.is-open .jy-help-rail,
body:has(#jy-help-dialog[open]) .jy-help-rail {
  visibility: hidden;
}

.jy-help-dialog {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 1010;
  width: 392px;
  max-width: calc(100vw - 48px);
  height: min(720px, calc(100vh - 48px));
  height: min(720px, calc(100dvh - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ccd6c8;
  border-radius: 18px;
  background: var(--jy-help-paper, #f7f7f2);
  box-shadow: 0 22px 75px #173e3926, 0 4px 16px #173e3912;
}

.jy-help-dialog[open] {
  display: flex;
}

.jy-help-dialog.is-expanded {
  right: 24px;
  width: min(920px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
}

.jy-help-dialog.is-expanded .jy-help-welcome {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.jy-help-dialog:not([open]) {
  display: none;
}

.jy-help-dialog::backdrop {
  background: transparent;
}

.jy-help-shell {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.jy-help-header {
  display: flex;
  flex: 0 0 auto;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 17px 16px 17px 20px;
  border-bottom: 1px solid var(--jy-help-line);
  background: #f0f3e9;
}

.jy-help-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.jy-help-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50% 50% 3px 50%;
  background: var(--jy-help-green);
  color: var(--jy-help-lime);
  font: 24px/1 "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

.jy-help-brand strong {
  display: block;
  color: var(--jy-help-green);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.jy-help-brand small {
  display: block;
  margin-top: 3px;
  color: var(--jy-help-muted);
  font-size: 10px;
  line-height: 1.4;
}

.jy-help-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
}

#jy-help-dialog .jy-help-actions button,
#jy-help-dialog .jy-help-actions a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--jy-help-green);
}

.jy-help-tabs {
  display: flex;
  flex: 0 0 auto;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--jy-help-line);
  background: #f7f7f2;
}

#jy-help-dialog .jy-help-tabs button {
  position: relative;
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--jy-help-muted);
  font-size: 13px;
}

#jy-help-dialog .jy-help-tabs button[aria-selected="true"] {
  color: var(--jy-help-green);
  font-weight: 650;
}

#jy-help-dialog .jy-help-tabs button[aria-selected="true"]::after {
  position: absolute;
  inset: auto 4px -1px;
  height: 2px;
  background: var(--jy-help-green);
  content: "";
}

.jy-help-view {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #bac8b3 transparent;
  -webkit-overflow-scrolling: touch;
}

.jy-help-welcome {
  padding: 26px 24px 22px;
}

.jy-help-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b805d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

.jy-help-eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

#jy-help-dialog .jy-help-welcome h2,
#jy-help-dialog .jy-help-contact-intro h2 {
  margin: 13px 0 10px;
  padding: 0;
  border: 0;
  color: var(--jy-help-green);
  font: 500 24px/1.5 "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  letter-spacing: .4px;
}

#jy-help-dialog .jy-help-welcome > p,
#jy-help-dialog .jy-help-contact-intro p {
  margin: 0;
  color: var(--jy-help-muted);
  font-size: 14px;
  line-height: 1.9;
}

#jy-help-dialog .jy-help-welcome > .jy-help-eyebrow {
  color: #6b805d;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

#jy-help-dialog .jy-help-welcome > .jy-help-primary {
  margin-top: 16px;
}

.jy-help-topic-list {
  display: grid;
  gap: 9px;
  margin: 23px 0 20px;
}

#jy-help-dialog .jy-help-topic-list button,
#jy-help-dialog .jy-help-topic-list a {
  display: grid;
  width: 100%;
  min-height: 68px;
  grid-template-columns: 1fr 18px;
  column-gap: 12px;
  align-content: center;
  padding: 11px 14px;
  border: 1px solid var(--jy-help-line);
  border-radius: 8px;
  background: #fff;
  color: var(--jy-help-green);
  text-align: left;
}

.jy-help-topic-list strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.6;
}

.jy-help-topic-list small {
  display: block;
  grid-column: 1;
  margin-top: 2px;
  color: var(--jy-help-muted);
  font-size: 12px;
  line-height: 1.6;
}

#jy-help-dialog .jy-help-topic-list svg {
  width: 17px;
  height: 17px;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

#jy-help-dialog .jy-help-topic-list a > svg {
  grid-row: 1;
}

#jy-help-dialog .jy-help-primary,
#jy-help-dialog .jy-help-secondary {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--jy-help-green);
  border-radius: 7px;
  background: var(--jy-help-green);
  color: #fff;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
  text-align: center;
}

#jy-help-dialog .jy-help-secondary {
  border-color: #bac8b3;
  background: transparent;
  color: var(--jy-help-green);
}

#jy-help-dialog .jy-help-welcome .jy-help-fineprint,
.jy-help-fineprint {
  margin: 12px 0 0;
  color: var(--jy-help-muted);
  font-size: 11px;
  line-height: 1.8;
  text-align: center;
}

.jy-help-frame-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  background: #fff;
}

.jy-help-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  border: 0;
  background: #fff;
}

.jy-help-frame-status {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--jy-help-paper);
  color: var(--jy-help-muted);
  font-size: 12px;
  text-align: center;
}

#jy-help-dialog .jy-help-welcome > .jy-help-frame-status {
  position: static;
  display: block;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #d9e1ce;
  border-radius: 7px;
  background: var(--jy-help-soft);
  color: #56694f;
  font-size: 11px;
  line-height: 1.8;
  text-align: left;
}

.jy-help-chat-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 18px;
  border-top: 1px solid var(--jy-help-line);
  color: var(--jy-help-muted);
  font-size: 10px;
}

#jy-help-dialog .jy-help-chat-footer a,
#jy-help-dialog .jy-help-chat-footer button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jy-help-green);
  font-size: 11px;
}

.jy-help-contact-intro {
  padding: 18px 24px 16px;
}

#jy-help-dialog .jy-help-contact-intro h2 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 23px;
}

.jy-help-contact-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin: 0 24px 18px;
  padding: 3px;
  border: 1px solid #dce2d4;
  border-radius: 8px;
  background: #edf0e6;
}

#jy-help-dialog .jy-help-contact-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 7px 3px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #5e6d5d;
  font-size: 12px;
  white-space: nowrap;
}

#jy-help-dialog .jy-help-contact-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--jy-help-green);
  box-shadow: 0 1px 5px #173e390d;
  font-weight: 600;
}

.jy-help-qr-card {
  margin: 0 24px;
  padding: 20px 18px 16px;
  border: 1px solid var(--jy-help-line);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.jy-help-qr-card img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  -webkit-touch-callout: default;
}

#jy-help-dialog .jy-help-qr-card h3 {
  margin: 14px 0 5px;
  padding: 0;
  border: 0;
  color: var(--jy-help-green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: normal;
}

#jy-help-dialog .jy-help-qr-card p {
  margin: 0;
  color: var(--jy-help-muted);
  font-size: 12px;
  line-height: 1.8;
}

.jy-help-mini-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 24px 12px;
}

#jy-help-dialog .jy-help-mini-tabs button {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--jy-help-line);
  border-radius: 7px;
  background: transparent;
  color: var(--jy-help-muted);
  font-size: 13px;
}

#jy-help-dialog .jy-help-mini-tabs button[aria-selected="true"] {
  border-color: var(--jy-help-green);
  background: var(--jy-help-green);
  color: #fff;
  font-weight: 600;
}

#jy-help-dialog .jy-help-mini-card h3 {
  margin-top: 0;
  font-size: 16px;
}

.jy-help-mini-card > a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  border-radius: 6px;
}

.jy-help-mini-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

#jy-help-dialog .jy-help-mini-actions a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border: 1px solid var(--jy-help-line);
  border-radius: 6px;
  color: var(--jy-help-green);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.jy-help-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 24px 0;
  padding: 0 0 0 12px;
  border: 1px solid var(--jy-help-line);
  border-radius: 6px;
  background: #fff;
}

.jy-help-copy-row code {
  min-width: 0;
  padding: 0;
  overflow-wrap: anywhere;
  background: none;
  color: var(--jy-help-green);
  font: 500 12px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

.jy-help-copy-row > span {
  min-width: 0;
  color: var(--jy-help-muted);
  font-size: 11px;
}

#jy-help-dialog .jy-help-copy-row button {
  min-width: 64px;
  min-height: 44px;
  flex-shrink: 0;
  padding: 8px 10px;
  border: 0;
  border-left: 1px solid var(--jy-help-line);
  border-radius: 0 5px 5px 0;
  background: var(--jy-help-soft);
  color: var(--jy-help-green);
  font-size: 11px;
}

.jy-help-meta,
.jy-help-contact-note {
  margin: 10px 24px 0;
  color: var(--jy-help-muted);
  font-size: 10px;
  line-height: 1.8;
}

.jy-help-meta {
  min-height: 18px;
  text-align: center;
}

.jy-help-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 5px 24px 0;
  color: var(--jy-help-muted);
  font-size: 11px;
}

#jy-help-dialog .jy-help-phone a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--jy-help-green);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
}

.jy-help-contact-note {
  padding: 12px 14px;
  border-left: 2px solid #bdccae;
  background: var(--jy-help-soft);
  font-size: 12px;
}

#jy-help-contact-view .jy-help-secondary {
  width: auto;
  flex-shrink: 0;
  margin: 14px 24px 0;
}

#jy-help-contact-view {
  padding-bottom: 22px;
}

#jy-help-contact-view > section {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.jy-help-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 10px;
  padding: 4px 20px;
  border-top: 1px solid var(--jy-help-line);
  background: #f1f3eb;
  color: #71806a;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

#jy-help-dialog .jy-help-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--jy-help-green);
  font-size: 11px;
  white-space: nowrap;
}

@media (hover: hover) {
  #jy-help .jy-help-launch:hover,
  #jy-help .jy-help-rail-ai:hover,
  #jy-help-dialog .jy-help-primary:hover {
    background: #2d564a;
    box-shadow: 0 6px 24px #173e3933;
  }

  #jy-help .jy-help-contact:hover,
  #jy-help .jy-help-compact:hover,
  #jy-help .jy-help-rail-links button:hover,
  #jy-help .jy-help-rail-tabs button:not([aria-selected="true"]):hover,
  #jy-help .jy-help-top:hover,
  #jy-help-dialog .jy-help-actions button:hover,
  #jy-help-dialog .jy-help-actions a:hover,
  #jy-help-dialog .jy-help-secondary:hover {
    background: #e8eddf;
  }

  #jy-help-dialog .jy-help-topic-list button:hover,
  #jy-help-dialog .jy-help-topic-list a:hover {
    border-color: #9bad8d;
    background: #f4f7ef;
  }

  #jy-help-dialog .jy-help-contact-tabs button:not([aria-selected="true"]):hover,
  #jy-help-dialog .jy-help-mini-tabs button:not([aria-selected="true"]):hover,
  #jy-help-dialog .jy-help-mini-actions a:hover,
  #jy-help-dialog .jy-help-copy-row button:hover {
    background: #e1e8d7;
  }

  #jy-help-dialog .jy-help-phone a:hover,
  #jy-help-dialog .jy-help-chat-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (min-width: 1440px) {
  /* Reserve a real column; neither the rail nor its QR image covers the page. */
  body.jy-help-ready {
    margin-right: 240px;
  }

  body.jy-help-ready #jy-help .jy-help-rail {
    display: block;
  }

  #jy-help .jy-help-dock {
    display: none;
  }
}

@media (max-width: 1439px) {
  body.jy-help-ready .jy-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 600px) {
  .jy-help-dock {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 304px;
    max-width: calc(100vw - 24px);
    gap: 4px;
  }

  #jy-help .jy-help-launch {
    gap: 3px;
    font-size: 12px;
  }

  #jy-help .jy-help-launch svg {
    width: 23px;
    height: 23px;
  }

  #jy-help .jy-help-contact {
    font-size: 12px;
  }

  #jy-help .jy-help-contact svg {
    width: 17px;
    height: 17px;
  }

  .jy-help-dialog,
  .jy-help-dialog.is-expanded {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #jy-help-dialog .jy-help-actions [data-help-expand] {
    display: none;
  }

  .jy-help-shell {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
  }

  .jy-help-header {
    min-height: 76px;
    padding: 12px 12px 12px 20px;
  }

  .jy-help-welcome {
    padding-top: 25px;
  }

  .jy-help-topic-list {
    margin-top: 24px;
  }

  #jy-help-dialog .jy-help-topic-list button,
  #jy-help-dialog .jy-help-topic-list a {
    min-height: 76px;
  }

  .jy-help-contact-intro {
    padding-top: 20px;
  }

  .jy-help-footer {
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

@media print {
  body.jy-help-ready {
    margin-right: 0;
  }

  #jy-help {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .jy-help-header {
    padding-left: 16px;
    padding-right: 8px;
  }

  .jy-help-brand {
    gap: 8px;
  }

  .jy-help-brand strong {
    font-size: 14px;
  }

  .jy-help-brand small {
    font-size: 9px;
  }

  .jy-help-mark {
    width: 34px;
    height: 34px;
  }

  .jy-help-tabs {
    padding-right: 20px;
    padding-left: 20px;
  }

  .jy-help-welcome {
    padding-right: 20px;
    padding-left: 20px;
  }

  #jy-help-dialog .jy-help-welcome h2 {
    font-size: 23px;
  }

  .jy-help-contact-tabs,
  .jy-help-mini-tabs,
  .jy-help-qr-card,
  .jy-help-copy-row,
  .jy-help-contact-note,
  #jy-help-contact-view .jy-help-secondary {
    margin-right: 20px;
    margin-left: 20px;
  }

  .jy-help-footer {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #jy-help *,
  #jy-help-dialog * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
