:root {
  --jf-blue: #0a5de7;
  --color-primary-product: #0a5de7;
  --jf-blue-weak: rgba(10, 93, 231, .06);
  --jf-blue-soft: #eaf2ff;
  --jf-blue-deep: #073f9d;
  --jf-orange: #f68a38;
  --jf-bg: #f9f9f9;
  --jf-card: #ffffff;
  --jf-text: #333333;
  --jf-sub: #666666;
  --jf-muted: #999999;
  --jf-border: #e3e3e3;
  --jf-line: #ededed;
  --jf-success: #00ad65;
  --jf-danger: #e03333;
  --jf-shadow: 0 10px 30px rgba(28, 57, 105, .08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--jf-bg);
}

body.jf-agent-body {
  margin: 0;
  min-width: 1200px;
  overflow-x: hidden;
  color: var(--jf-text);
  background: var(--jf-bg);
  font-family: "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

html,
body.jf-agent-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body.jf-agent-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
button:focus,
button:active {
  outline: none;
  text-decoration: none;
}

.jf-agent-inner {
  width: 1180px;
  margin: 0 auto;
}

.jf-agent-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  background: rgba(255, 255, 255, 100);
  border-bottom: 0;
  backdrop-filter: blur(10px);
}

.jf-agent-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--jf-line);
  pointer-events: none;
}

.jf-agent-body .jufa-main-footer {
  display: block !important;
  margin-top: 0;
}

.jf-header-layout {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jf-brand {
  display: flex;
  align-items: center;
  min-width: 420px;
}

.jf-brand-main,
.jf-brand-title {
  display: flex;
  align-items: center;
  height: 60px;
}

.jf-brand-logo {
  height: 36px;
  display: block;
  flex-shrink: 0;
}

.jf-brand-logo-dark {
  display: none;
}

.jf-brand-desc {
  height: 35px;
  margin-left: 6px;
  display: block;
  flex-shrink: 0;
}

.jf-brand-divider {
  width: 1px;
  height: 24px;
  margin: 0 14px;
  background: var(--jf-line);
}

.jf-brand-product {
  font-size: 16px;
  font-weight: 700;
  color: var(--jf-text);
}

.jf-brand-title:hover .jf-brand-product {
  color: var(--jf-blue);
}

.jf-nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 60px;
  padding: 0;
  background: transparent;
}

.jf-nav a {
  position: relative;
  min-width: 94px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border-radius: 8px 8px 0 0;
  color: #333;
  font-size: 16px;
  line-height: 48px;
  background: transparent;
  transition: color .18s ease;
}

.jf-nav a>i,
.jf-nav a>span {
  position: relative;
  z-index: 2;
}

.jf-nav-icon {
  margin-right: 6px;
  color: #9da6ba;
  font-size: 20px;
  line-height: 1;
  transition: color .18s ease;
}

.jf-nav-home-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  font-size: 0;
  flex-shrink: 0;
}

.jf-nav-home-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor, 0 9px 0 currentColor, 9px 9px 0 currentColor;
}

.jf-nav-home-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 3px;
  opacity: .36;
  pointer-events: none;
}

.jf-nav a:hover {
  color: var(--jf-blue);
}

.jf-nav a:hover .jf-nav-icon {
  color: var(--jf-blue);
}

.jf-nav a.active {
  color: var(--jf-blue);
  border-radius: 4px 4px 0 0;
  z-index: 10;
  background-image: url(/static/Public/images/personalLawFirm/tab_bg_center.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.jf-nav a.active::before {
  content: "";
  width: 9px;
  height: 9px;
  background: url(/static/Public/images/personalLawFirm/tab_bg_left.png);
  background-size: 9px 9px;
  position: absolute;
  left: -9px;
  bottom: 0;
  z-index: 1;
}

.jf-nav a.active::after {
  content: "";
  width: 9px;
  height: 9px;
  background: url(/static/Public/images/personalLawFirm/tab_bg_right.png);
  background-size: 9px 9px;
  position: absolute;
  right: -9px;
  bottom: 0;
  z-index: 1;
}

.jf-nav a.active .jf-nav-icon,
.jf-nav a.active span {
  color: var(--jf-blue);
}

.jf-header-actions {
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.jf-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe7fb;
  border-radius: 999px;
  background: #fff;
  color: var(--jf-sub);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jf-header-recharge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffe8a7 0%, #ffd6a7 100%);
  color: #706856;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  animation: jfRechargeBreath 1.6s ease-in-out infinite;
  transform-origin: center;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.jf-header-recharge:hover {
  background: linear-gradient(90deg, #fff0ba 0%, #ffdcb2 100%);
  color: #6d594a;
  box-shadow: 0 8px 18px rgba(236, 151, 97, .22);
}

@keyframes jfRechargeBreath {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.jf-theme-toggle:hover {
  color: var(--jf-blue);
  border-color: #bfd4ff;
  background: #f7faff;
  box-shadow: 0 6px 16px rgba(10, 93, 231, .08);
}

.jf-theme-toggle-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jf-blue-soft);
  color: var(--jf-blue);
  font-size: 13px;
  line-height: 1;
}

.jf-theme-toggle-text {
  font-size: 13px;
}

.jf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  color: var(--jf-text);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.jf-btn:hover {
  transform: translateY(-1px);
}

.jf-btn-primary {
  background: var(--jf-blue);
  border-color: var(--jf-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 93, 231, .18);
}

.jf-btn-primary:hover {
  color: #fff;
  background: var(--jf-blue-deep);
}

.jf-btn-gold {
  background: linear-gradient(135deg, #f5c96b 0%, #d89a1a 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(216, 154, 26, .24);
}

.jf-btn-gold:hover {
  color: #fff;
  background: linear-gradient(135deg, #f7d27d 0%, #cb8d11 100%);
}

.jf-btn-secondary {
  background: var(--jf-blue-soft);
  color: var(--jf-blue);
  border-color: #cfe0ff;
}

.jf-btn-ghost {
  color: var(--jf-sub);
  border-color: var(--jf-border);
  background: #fff;
}

.jf-btn-ghost:hover {
  color: var(--jf-blue);
  border-color: #bfd4ff;
  background: #f7faff;
}

.jf-btn-copy-mini {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  color: #5b6780;
  border-color: #d7e2f4;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.jf-btn-copy-mini:hover {
  color: var(--jf-blue);
  border-color: #bfd4ff;
  background: #f7faff;
}

.jf-user-menu {
  position: relative;
}

.jf-avatar-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d9e5fb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.jf-avatar-img,
.jf-dropdown-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.jf-dropdown {
  display: none;
  position: absolute;
  top: 48px;
  right: 0;
  width: 230px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--jf-border);
  border-radius: 8px;
  box-shadow: var(--jf-shadow);
}

.jf-user-menu.open .jf-dropdown {
  display: block;
}

.jf-dropdown-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--jf-line);
}

.jf-dropdown-avatar {
  width: 36px;
  height: 36px;
}

.jf-dropdown-name {
  font-weight: 700;
}

.jf-dropdown-sub {
  margin-top: 2px;
  color: var(--jf-muted);
  font-size: 12px;
}

.jf-dropdown a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--jf-sub);
}

.jf-dropdown a:hover {
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
}

.jf-dropdown-primary {
  margin-bottom: 6px;
  color: #0a5de7 !important;
  background: linear-gradient(135deg, #eef6ff 0%, #dcecff 100%);
  border: 1px solid #bfd6ff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(10, 125, 255, .08);
}

.jf-dropdown-primary:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #21d4ff 0%, #0a5de7 100%) !important;
  border-color: transparent;
}

.jf-dropdown-gold {
  color: #fff !important;
  background: linear-gradient(180deg, #e9b33b 0%, #d89a1a 100%);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(216, 154, 26, .18);
}

.jf-dropdown-gold:hover {
  color: #fff !important;
  background: linear-gradient(180deg, #edc15e 0%, #cb8d11 100%) !important;
  border-color: transparent;
}

.jf-dropdown-danger {
  color: #d84b52 !important;
}

.jf-dropdown-danger:hover {
  color: #d84b52 !important;
  background: rgba(216, 75, 82, .08) !important;
}

.jf-pay-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 32, 56, .46);
  backdrop-filter: blur(6px);
}

.jf-pay-dialog {
  position: relative;
  width: 860px;
  min-height: 430px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(10, 93, 231, .10);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 30px 80px rgba(20, 44, 82, .24);
}

.jf-pay-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid #e3ebf8;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #4f5f77;
  font-size: 26px;
  line-height: 34px;
  cursor: pointer;
  transition: all .18s ease;
}

.jf-pay-close:hover {
  color: var(--jf-blue);
  border-color: #c9dcff;
  background: #f8fbff;
}

.jf-pay-main {
  display: grid;
  grid-template-columns: 1.16fr 334px;
  min-height: 430px;
}

.jf-pay-left {
  position: relative;
  padding: 34px 40px 26px;
  background:
    radial-gradient(circle at 76% 12%, rgba(246, 138, 56, .14), transparent 24%),
    linear-gradient(135deg, #fffaf1 0%, #ffffff 56%);
}

.jf-pay-left:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 132px;
  height: 92px;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(246, 138, 56, .09) 0, rgba(246, 138, 56, .018) 58%, rgba(246, 138, 56, 0) 100%);
  border-left: 1px solid rgba(246, 138, 56, .06);
  pointer-events: none;
}

.jf-pay-left h2 {
  margin: 4px 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.jf-pay-left p {
  margin: 0;
  color: var(--jf-sub);
  font-size: 15px;
  line-height: 1.8;
}

.jf-pay-product {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 22px;
  padding: 18px 18px;
  border: 1px solid #fde3c8;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 251, 246, .92) 100%);
  box-shadow: 0 14px 32px rgba(246, 138, 56, .07);
}

.jf-pay-product small {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 93, 231, .06);
  color: var(--jf-blue);
  font-size: 12px;
  font-weight: 700;
}

.jf-pay-product strong {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.jf-pay-product span {
  display: block;
  margin-top: 6px;
  color: var(--jf-orange);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.jf-pay-product em {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 0 12px;
  height: 30px;
  border-radius: 999px;
  font-style: normal;
  color: #876339;
  background: rgba(246, 138, 56, .10);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.jf-pay-member-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 18px;
  padding: 9px 12px;
  width: 100%;
  max-width: 230px;
  border: 1px solid #f4d890;
  border-radius: 9px;
  background: #fffdf3;
  color: #b85a05;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.jf-pay-member-tip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff9d12;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.jf-pay-label {
  display: block;
  margin-bottom: 8px;
  color: var(--jf-ink);
  font-size: 14px;
  font-weight: 800;
}

.jf-pay-amount-row {
  display: flex;
  align-items: center;
  height: 54px;
  width: 280px;
  padding: 0 16px;
  border: 1px solid #d7e2f5;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.jf-pay-amount-row span {
  margin-right: 8px;
  color: var(--jf-orange);
  font-size: 24px;
  font-weight: 800;
}

.jf-pay-amount-row input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--jf-text);
  font-size: 22px;
  font-weight: 800;
  background: transparent;
}

.jf-pay-amount-row:focus-within {
  border-color: #bfd4ff;
  box-shadow: 0 0 0 4px rgba(10, 125, 255, .08);
}

.jf-pay-tip {
  margin-top: 12px;
  color: var(--jf-muted);
  font-size: 13px;
  line-height: 1.7;
}

.jf-pay-tip.error {
  color: var(--jf-danger);
}

.jf-pay-agreement {
  margin-top: 18px;
  color: #7c8aa0;
  font-size: 12px;
  line-height: 1.8;
}

.jf-pay-agreement span {
  color: var(--jf-blue);
  cursor: pointer;
  font-weight: 700;
}

.jf-pay-agreement span:hover {
  text-decoration: underline;
}

.jf-pay-right {
  position: relative;
  padding: 44px 24px 18px;
  border-left: 1px solid var(--jf-line);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.jf-pay-right:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 24px;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: #edf2fb;
  transform: translateX(-50%);
}

.jf-pay-side-title {
  margin-bottom: 10px;
  color: #1d2b44;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.jf-pay-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: #f7f9fe;
  border: 1px solid #ebf0f9;
}

.jf-pay-methods button {
  flex: 1 1 0;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #6f8099;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .18s ease;
}

.jf-pay-methods button img {
  width: 16px;
  height: 16px;
  display: block;
}

.jf-pay-methods button.active {
  border-color: var(--jf-blue);
  color: var(--jf-blue);
  background: #fff;
  box-shadow: 0 10px 20px rgba(10, 93, 231, .08);
}

.jf-pay-qrcode {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  height: 166px;
  margin: 0 auto;
  border: 1px solid #e9eef7;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #f7faff 0%, #fdfefe 100%);
  box-shadow: inset 0 0 0 8px rgba(247, 250, 255, .86);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-pay-qrcode:hover {
  border-color: #cfe0ff;
  box-shadow:
    inset 0 0 0 8px rgba(247, 250, 255, .86),
    0 12px 24px rgba(10, 93, 231, .08);
  transform: translateY(-1px);
}

.jf-pay-qrcode img {
  display: block;
  width: 146px;
  height: 146px;
}

.jf-pay-placeholder {
  width: 126px;
  height: 126px;
  color: var(--jf-muted);
  text-align: center;
  line-height: 1.55;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.jf-pay-placeholder:before {
  content: "";
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(10, 93, 231, .12) 10%, transparent 10%, transparent 20%, rgba(10, 93, 231, .12) 20%, rgba(10, 93, 231, .12) 30%, transparent 30%, transparent 40%, rgba(10, 93, 231, .12) 40%, rgba(10, 93, 231, .12) 50%, transparent 50%, transparent 60%, rgba(10, 93, 231, .12) 60%, rgba(10, 93, 231, .12) 70%, transparent 70%, transparent 80%, rgba(10, 93, 231, .12) 80%),
    linear-gradient(rgba(10, 93, 231, .12) 10%, transparent 10%, transparent 20%, rgba(10, 93, 231, .12) 20%, rgba(10, 93, 231, .12) 30%, transparent 30%, transparent 40%, rgba(10, 93, 231, .12) 40%, rgba(10, 93, 231, .12) 50%, transparent 50%, transparent 60%, rgba(10, 93, 231, .12) 60%, rgba(10, 93, 231, .12) 70%, transparent 70%, transparent 80%, rgba(10, 93, 231, .12) 80%),
    linear-gradient(135deg, #f2f7ff 0%, #eaf2ff 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(10, 93, 231, .06);
  filter: blur(.2px);
}

.jf-pay-placeholder-text {
  display: block;
  font-size: 12px;
  position: relative;
  z-index: 2;
}

.jf-pay-placeholder-qr {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jf-pay-placeholder.is-invalid:before {
  display: none;
}

.jf-pay-placeholder.is-disabled {
  width: 132px;
  height: 132px;
  padding: 18px 12px;
  border: 1px solid rgba(224, 160, 52, .22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
  color: #9a5b07;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.jf-pay-placeholder.is-disabled:before,
.jf-pay-placeholder.is-disabled:after {
  display: none;
}

.jf-pay-placeholder.is-disabled i {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7a51a 0%, #e28a06 100%);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(226, 138, 6, .18);
}

.jf-pay-placeholder-title {
  display: block;
  color: #9a5b07;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.jf-pay-placeholder.is-disabled em {
  margin-top: 6px;
  color: #b47a26;
  font-size: 11px;
  line-height: 1.4;
  font-style: normal;
}

.jf-pay-placeholder.is-loading:before {
  display: none;
}

.jf-pay-placeholder.is-invalid .jf-pay-placeholder-qr {
  filter: grayscale(1) blur(3px);
  opacity: .48;
  transform: scale(1.03);
}

.jf-pay-placeholder.is-invalid:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .32);
  z-index: 1;
}

.jf-pay-placeholder.is-loading .jf-pay-placeholder-text {
  color: var(--jf-blue);
}

.jf-pay-loading-spinner {
  width: 28px;
  height: 28px;
  margin: 34px auto 14px;
  display: block;
  border: 2px solid rgba(10, 93, 231, .14);
  border-top-color: var(--jf-blue);
  border-radius: 50%;
  animation: jfPaySpin .75s linear infinite;
}

.jf-pay-refresh-icon {
  margin-right: 4px;
  font-size: 13px;
  line-height: 1;
}

.jf-pay-placeholder-refresh {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  height: 28px;
  padding: 0 12px;
  border: 1px solid #d9e6fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--jf-blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(10, 93, 231, .10);
}

.jf-pay-summary {
  margin: 14px 0 10px;
  text-align: center;
  color: var(--jf-sub);
  font-size: 14px;
}

.jf-pay-summary strong {
  display: inline-block;
  margin-left: 6px;
  color: var(--jf-orange);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.jf-pay-qr-tools {
  display: none;
  justify-content: center;
  min-height: 24px;
  margin: 0 0 8px;
}

.jf-pay-qr-refresh {
  height: 24px;
  padding: 0 10px;
  border: 1px solid #d9e6fb;
  border-radius: 999px;
  background: #fff;
  color: var(--jf-blue);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}

.jf-pay-qr-refresh:hover {
  border-color: #bfd4ff;
  background: #f7fbff;
}

.jf-protocol-mask {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 32, 56, .56);
  backdrop-filter: blur(8px);
}

.jf-protocol-dialog {
  position: relative;
  width: 760px;
  max-height: calc(100vh - 150px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 44, 82, .28);
}

.jf-protocol-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 26px;
  line-height: 30px;
  cursor: pointer;
}

.jf-protocol-title {
  padding: 18px 56px 16px;
  color: #ffd37b;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, .08), transparent 18%),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, .06), transparent 16%),
    linear-gradient(180deg, #2c2f67 0%, #2b2d5d 100%);
}

.jf-protocol-content {
  max-height: calc(100vh - 250px);
  margin: 0 6px 6px;
  padding: 18px 30px 20px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px 18px 12px 12px;
  color: #4e5f79;
  font-size: 14px;
  line-height: 1.9;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jf-protocol-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.jf-protocol-content .title {
  margin: 18px 0 8px;
  color: #1d2b44;
  font-size: 16px;
  font-weight: 800;
}

.jf-protocol-content p {
  margin: 0 0 8px;
}

@keyframes jfPaySpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.jf-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 76px;
  background:
    radial-gradient(circle at 84% 2%, rgba(10, 93, 231, .18), transparent 24%),
    radial-gradient(circle at 18% 78%, rgba(38, 126, 255, .10), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  border-bottom: 1px solid #e5edfb;
}

.jf-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 780px;
  height: 330px;
  transform: translateX(-50%);
  opacity: .34;
  background-image: radial-gradient(circle, rgba(10, 93, 231, .34) 1px, transparent 1.8px);
  background-size: 13px 13px;
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, .82) 48%, transparent 72%);
  pointer-events: none;
}

.jf-hero .jf-agent-inner {
  position: relative;
  display: block;
}

.jf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.jf-eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(10, 93, 231, .18);
  border-radius: 999px;
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  font-weight: 700;
}

.jf-hero h1 {
  margin: 20px 0 16px;
  font-size: 54px;
  line-height: 1.12;
  font-weight: 800;
  color: #1d2b44;
  letter-spacing: -1px;
}

.jf-hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, #1aa7ff 0%, #0a5de7 58%, #073f9d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 28px rgba(10, 93, 231, .18);
}

.jf-hero-desc {
  width: auto;
  max-width: 780px;
  margin: 0 auto 28px;
  color: var(--jf-sub);
  font-size: 18px;
  line-height: 1.7;
}

.jf-hero-desc p {
  margin: 0;
  color: #1d2b44;
}

.jf-hero-desc strong {
  color: #111827;
  font-weight: 800;
}

.jf-hero-desc span {
  display: block;
  margin-top: 4px;
  color: #6f7f9a;
  font-size: 17px;
}

.jf-hero-actions,
.jf-inline-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.jf-hero-note {
  margin-top: 14px;
  color: var(--jf-muted);
  font-size: 13px;
}

.jf-hero-key-btn {
  min-width: 210px;
  height: 40px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #21a8ff 0%, #0a7dff 50%, #0a5de7 100%);
  background-clip: padding-box;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(10, 125, 255, .26);
  overflow: hidden;
}

.jf-hero-key-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #31b0ff 0%, #1688ff 48%, #0b64f0 100%);
  box-shadow: 0 16px 34px rgba(10, 125, 255, .34);
}

.jf-hero-status {
  position: relative;
  z-index: 3;
  width: 895px;
  min-height: 92px;
  margin: -46px auto 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(10, 93, 231, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(28, 57, 105, .10);
  text-align: left;
}

.jf-hero-status-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jf-blue-soft);
  color: var(--jf-blue);
  font-weight: 800;
}

.jf-hero-status strong {
  display: block;
  color: #1d2b44;
  font-size: 18px;
}

.jf-hero-status p {
  margin: 6px 0 0;
  color: var(--jf-sub);
  line-height: 1.6;
}

.jf-hero-status a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  font-weight: 700;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-hero-status a:hover {
  color: #0a5de7;
  background: linear-gradient(90deg, #eef6ff 0%, #dcecff 100%);
  box-shadow: 0 8px 18px rgba(10, 125, 255, .14);
  transform: translateY(-1px);
}

.jf-hero-visual {
  position: relative;
  min-height: 330px;
}

.jf-terminal-card {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  background: #101b2d;
  box-shadow: 0 24px 60px rgba(30, 63, 112, .20);
  border: 1px solid rgba(255, 255, 255, .18);
}

.jf-terminal-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: #172640;
  color: #9db0cf;
}

.jf-terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f36f63;
}

.jf-terminal-bar span:nth-child(2) {
  background: #f4c45d;
}

.jf-terminal-bar span:nth-child(3) {
  background: #58c782;
}

.jf-terminal-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12px;
}

.jf-terminal-body {
  padding: 22px;
  color: #d9e5f8;
}

.jf-terminal-body p {
  margin: 0 0 14px;
}

.jf-terminal-body b {
  color: #fff;
}

.jf-terminal-result {
  margin: 16px 0;
  padding: 14px;
  border-radius: 8px;
  background: rgba(10, 93, 231, .18);
  border: 1px solid rgba(107, 160, 255, .28);
}

.jf-terminal-result strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.jf-terminal-result span {
  color: #c8d8f2;
}

.jf-hero-chip {
  position: absolute;
  z-index: 3;
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background: #fff;
  color: var(--jf-blue);
  border: 1px solid #d7e5ff;
  box-shadow: 0 10px 24px rgba(28, 57, 105, .10);
  font-weight: 700;
}

.jf-hero-chip.chip-a {
  top: 26px;
  right: -18px;
}

.jf-hero-chip.chip-b {
  left: -20px;
  bottom: 62px;
}

.jf-hero-chip.chip-c {
  right: 34px;
  bottom: -10px;
}

.jf-section {
  margin-top: 28px;
  margin-bottom: 40px;
}

.jf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.jf-section-center {
  justify-content: center;
  text-align: center;
}

.jf-section-center .jf-section-desc {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.jf-section-kicker {
  color: var(--jf-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.jf-section-title {
  margin-top: 5px;
  font-size: 22px;
  font-weight: 800;
}

.jf-section-desc {
  margin-top: 5px;
  color: var(--jf-sub);
}

.jf-card {
  background: var(--jf-card);
  border: 1px solid var(--jf-border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(30, 50, 90, .04);
}

.jf-scenario-grid,
.jf-server-grid,
.jf-feature-grid,
.jf-ecosystem-grid {
  display: grid;
  gap: 12px;
}

.jf-scenario-grid {
  grid-template-columns: repeat(4, 1fr);
}

.jf-workflow-section {
    margin-top: 60px;
}

.jf-workflow-section .jf-section-head {
    align-items: flex-start;
    padding-left: 16px;
    border-left: 4px solid var(--jf-blue);
}

.jf-workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.jf-workflow-card {
    position: relative;
    min-height: 138px;
    padding: 24px 28px 24px 26px;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    overflow: hidden;
    border-radius: 12px;
    border-color: #d8e6ff;
    background:
        linear-gradient(135deg, rgba(10, 125, 255, .035) 0, rgba(10, 125, 255, 0) 44%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jf-workflow-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #24a8ff 0%, #0a5de7 100%);
    opacity: .72;
}

.jf-workflow-card:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 148px;
    height: 104px;
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
    background:
        linear-gradient(135deg, rgba(10, 125, 255, .06) 0, rgba(10, 125, 255, .015) 55%, rgba(10, 125, 255, 0) 100%);
    border-left: 1px solid rgba(10, 93, 231, .04);
    pointer-events: none;
}

.jf-workflow-card:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 125, 255, .32);
    box-shadow: 0 16px 36px rgba(25, 80, 160, .11);
}

.jf-workflow-card.is-highlight {
    border-color: rgba(10, 93, 231, .26);
    background:
        linear-gradient(135deg, rgba(10, 93, 231, .05) 0, rgba(10, 93, 231, 0) 44%),
        linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
}

.jf-workflow-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a5de7;
    background: linear-gradient(135deg, #eaf3ff 0%, #d9eaff 100%);
    font-size: 20px;
    font-weight: 800;
}

.jf-workflow-content {
    position: relative;
    z-index: 1;
}

.jf-workflow-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--jf-ink);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
}

.jf-workflow-title em {
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #0a5de7;
    background: rgba(10, 93, 231, .08);
    border: 1px solid rgba(10, 93, 231, .12);
    font-size: 12px;
    line-height: 1;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.jf-workflow-desc {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--jf-sub);
    line-height: 1.8;
}

.jf-scenario-card,
.jf-server-card,
.jf-feature-card,
.jf-ecosystem-card,
.jf-tool-card {
  padding: 18px;
}

.jf-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  font-weight: 800;
}

.jf-card-title {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 800;
}

.jf-card-desc {
    margin-top: 8px;
    color: var(--jf-sub);
}

.jf-database-section {
    position: relative;
    margin-top: 42px;
    padding-top: 34px;
}

.jf-database-section:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: calc(100vw - 1px);
    height: 1px;
    background: #e8eef8;
    transform: translateX(-50%);
}

.jf-database-section:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -46px;
    width: calc(100vw - 1px);
    height: 1px;
    background: #e8eef8;
    transform: translateX(-50%);
}

.jf-data-stats-card {
    padding: 22px 24px;
    border: 1px solid rgba(10, 93, 231, .16);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(10, 125, 255, .06), rgba(255, 255, 255, .72)),
        #fff;
    box-shadow: 0 14px 36px rgba(30, 80, 150, .07);
}

.jf-data-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 20px;
}

.jf-data-stat-item {
    position: relative;
    text-align: center;
}

.jf-data-stat-item + .jf-data-stat-item:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 1px;
    height: 36px;
    background: rgba(10, 93, 231, .12);
}

.jf-data-stat-item:nth-child(6n+1):before {
    display: none;
}

.jf-data-stat-item strong {
    display: block;
    color: #0878ff;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.02em;
}

.jf-data-stat-item strong em {
    margin-left: 2px;
    font-size: .78em;
    font-style: normal;
}

.jf-data-stat-item span {
    display: block;
    margin-top: 5px;
    color: var(--jf-sub);
    font-size: 13px;
}

.jf-data-stats-note {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    text-align: right;
    color: #73839b;
    font-size: 12px;
    white-space: nowrap;
}

.jf-server-grid {
    grid-template-columns: repeat(2, 1fr);
}

.jf-server-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
}

.jf-server-card:after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--jf-blue-weak);
}

.jf-server-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jf-server-name {
  font-size: 18px;
  font-weight: 800;
}

.jf-server-code {
  margin-top: 10px;
  color: var(--jf-blue);
  font-family: Consolas, Monaco, monospace;
}

.jf-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--jf-success);
  background: rgba(0, 173, 101, .08);
  font-size: 12px;
  font-weight: 700;
}

.jf-feature-grid {
  grid-template-columns: 1fr;
}

.jf-feature-card {
  min-height: auto;
}

.jf-feature-copy {
  margin-top: 12px;
  color: var(--jf-sub);
  line-height: 1.75;
}

.jf-feature-copy span {
  color: #d64a3a;
  font-weight: 800;
}

.jf-feature-copy.is-solution span {
  color: var(--jf-blue);
}

.jf-agent-native-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: stretch;
}

.jf-agent-native-layout .jf-feature-grid {
  gap: 12px;
}

.jf-agent-native-layout .jf-feature-card {
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  background:
      radial-gradient(circle at 96% 10%, rgba(10, 125, 255, .08), transparent 26%),
      linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jf-agent-native-layout .jf-feature-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #24a8ff 0%, #0a5de7 100%);
  opacity: .56;
}

.jf-agent-native-layout .jf-feature-card:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 132px;
  height: 92px;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(10, 125, 255, .07) 0, rgba(10, 125, 255, .018) 58%, rgba(10, 125, 255, 0) 100%);
  border-left: 1px solid rgba(10, 93, 231, .04);
  pointer-events: none;
}

.jf-agent-native-layout .jf-feature-card:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 125, 255, .26);
  box-shadow: 0 12px 28px rgba(25, 80, 160, .09);
}

.jf-feature-title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jf-agent-native-layout .jf-card-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #eaf3ff 0%, #dcecff 100%);
}

.jf-agent-native-layout .jf-card-icon i {
  font-size: 16px;
  line-height: 1;
}

.jf-agent-native-layout .jf-card-title {
  margin-top: 0;
}

.jf-agent-native-layout .jf-feature-copy {
  position: relative;
  z-index: 1;
}

.jf-ax-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
      radial-gradient(circle at 100% 0, rgba(10, 125, 255, .10), transparent 34%),
      linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

.jf-ax-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jf-ax-title strong {
  display: block;
  color: var(--jf-ink);
  font-size: 20px;
  font-weight: 800;
}

.jf-ax-title span {
  display: block;
  margin-top: 4px;
  color: var(--jf-sub);
  font-size: 12px;
}

.jf-ax-list {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.jf-ax-list div {
  position: relative;
  padding-left: 22px;
}

.jf-ax-list div:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--jf-blue);
  font-size: 10px;
  font-weight: 800;
}

.jf-ax-list strong {
  display: block;
  color: var(--jf-ink);
  font-size: 15px;
  font-weight: 800;
}

.jf-ax-list span {
  display: block;
  margin-top: 5px;
  color: var(--jf-sub);
  line-height: 1.7;
}

.jf-agent-native {
  padding: 28px 0 6px;
}

.jf-platform-section {
  position: relative;
  margin-top: 54px;
  padding-top: 34px;
}

.jf-platform-section:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: calc(100vw - 1px);
  height: 1px;
  background: #e8eef8;
  transform: translateX(-50%);
}

.jf-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.jf-platform-action {
  margin-top: 16px;
}

.jf-hero-link-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  font-weight: 700;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-hero-link-btn:hover {
  color: #0a5de7;
  background: linear-gradient(90deg, #eef6ff 0%, #dcecff 100%);
  box-shadow: 0 8px 18px rgba(10, 125, 255, .14);
  transform: translateY(-1px);
}

.jf-link-arrow {
  margin-left: 4px;
  font-size: 13px;
}

.jf-platform-card {
  position: relative;
  overflow: hidden;
  min-height: 186px;
  padding: 22px 22px 20px;
  border-radius: 14px;
  background:
      radial-gradient(circle at 96% 10%, rgba(10, 125, 255, .08), transparent 26%),
      linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jf-platform-card:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 140px;
  height: 96px;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(10, 125, 255, .08) 0, rgba(10, 125, 255, .02) 58%, rgba(10, 125, 255, 0) 100%);
  border-left: 1px solid rgba(10, 93, 231, .04);
  pointer-events: none;
}

.jf-platform-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 125, 255, .28);
  box-shadow: 0 16px 34px rgba(25, 80, 160, .10);
}

.jf-platform-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jf-platform-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(10, 93, 231, .06);
}

.jf-platform-icon img {
  max-width: 26px;
  max-height: 26px;
  display: block;
}

.jf-platform-title {
  display: flex;
  align-items: center;
}

.jf-platform-title strong {
  color: var(--jf-ink);
  font-size: 17px;
  font-weight: 800;
}

.jf-platform-card .jf-card-desc {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  line-height: 1.85;
}

.jf-config-panel {
  overflow: hidden;
  background: #0d182b;
  border-color: #1c2c44;
}

.jf-config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: -1px;
  border-bottom: 0;
  background: linear-gradient(180deg, #17253b 0%, #122036 100%);
  color: #fff;
  position: relative;
  z-index: 1;
  border-radius: 8px 8px 0 0;
}

.jf-config-title {
  font-weight: 800;
}

.jf-config-sub {
  margin-top: 2px;
  color: #9eb0cd;
  font-size: 12px;
}

.jf-config-actions {
  display: flex;
  gap: 8px;
}

.jf-config-code {
  display: block;
  margin: 0;
  min-height: 232px;
  padding: 18px;
  border: 0;
  border-radius: 0 0 8px 8px;
  color: #dfe9ff;
  background: linear-gradient(180deg, #0d182b 0%, #071221 100%);
  box-shadow: none;
  font-size: 13px;
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-all;
}

.jf-page-hero {
  padding: 42px 0;
  border-bottom: 1px solid #e5edfb;
  background: linear-gradient(180deg, #fff, #f2f7ff);
}

.jf-page-hero h1 {
  margin: 8px 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.jf-page-hero p {
  margin: 0;
  color: var(--jf-sub);
}

.jf-guide-hero {
  padding-bottom: 38px;
}

.jf-guide-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.jf-guide-hero-meta {
  margin-top: 18px;
}

.jf-guide-hero-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jf-guide-chip {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #d7e4fb;
  border-radius: 999px;
  background: #f8fbff;
  color: #5a6f8f;
  font-size: 13px;
  font-weight: 700;
  transition: all .18s ease;
}

.jf-guide-chip:hover {
  border-color: #bdd3fb;
  color: var(--jf-blue);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 93, 231, .08);
}

.jf-guide-step {
  margin-top: 34px;
}

.jf-guide-step-head {
  margin-bottom: 18px;
}

.jf-guide-step-center {
  text-align: center;
}

.jf-guide-step-center .jf-section-desc {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.jf-guide-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #ead8a2;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffef7 0%, #fffbec 100%);
  color: #6a5518;
}

.jf-guide-notice strong {
  color: #9a6b00;
  font-weight: 800;
}

.jf-guide-notice span {
  line-height: 1.7;
}

.jf-guide-config-panel {
  margin-top: 14px;
  overflow: hidden;
  background: #0d182b;
  border-color: #1c2c44;
  box-shadow: 0 10px 28px rgba(7, 18, 33, .10);
}

.jf-guide-config-panel .jf-config-head {
  padding: 14px 16px;
  margin-bottom: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, #17253b 0%, #122036 100%);
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.jf-guide-config-panel .jf-config-sub {
  margin-top: 4px;
  color: #9eb0cd;
}

.jf-guide-config-panel .jf-config-title {
  color: #fff;
}

.jf-guide-config-panel .jf-config-actions {
  gap: 6px;
}

.jf-guide-config-panel .jf-config-code {
  display: block;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #0d182b 0%, #071221 100%);
  box-shadow: none;
}

.jf-guide-config-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: none;
}

.jf-guide-platform-section {
  scroll-margin-top: 96px;
}

.jf-guide-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2eaf8;
}

.jf-guide-platform-tab {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #667892;
  font-size: 15px;
  font-weight: 700;
}

.jf-guide-platform-tab:hover,
.jf-guide-platform-tab.active {
  color: var(--jf-blue);
  border-bottom-color: var(--jf-blue);
}

.jf-guide-platform-panel {
  display: none;
  padding: 0;
  overflow: hidden;
}

.jf-guide-platform-panel.active {
  display: block;
}

.jf-guide-platform-head {
  padding: 18px 22px;
  border-bottom: 1px solid #e4ebf8;
}

.jf-guide-platform-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jf-guide-platform-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f7ff;
}

.jf-guide-platform-icon img {
  max-width: 24px;
  max-height: 24px;
}

.jf-guide-platform-name {
  color: var(--jf-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.jf-guide-platform-subtitle {
  margin-top: 4px;
  color: var(--jf-sub);
  font-size: 15px;
}

.jf-guide-platform-body {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 22px;
}

.jf-guide-block-title {
  color: #8a9bb4;
  font-size: 14px;
  font-weight: 700;
}

.jf-guide-platform-steps .jf-steps {
  margin-top: 18px;
}

.jf-guide-platform-side {
  display: grid;
  gap: 14px;
}

.jf-guide-code-block {
  padding: 16px 18px;
  border-radius: 18px;
  background: #071221;
  box-shadow: inset 0 0 0 1px rgba(81, 115, 170, .16);
}

.jf-guide-code-title {
  color: #00bbdf;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.jf-guide-code-block pre {
  margin: 12px 0 0;
  color: #dbe8ff;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}

.jf-guide-code-verify {
  box-shadow:
    inset 0 0 0 1px rgba(0, 187, 223, .24),
    0 0 0 1px rgba(0, 187, 223, .06);
}

.jf-tool-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 14px;
}

.jf-side-card {
  padding: 16px;
}

.jf-side-item {
  display: block;
  padding: 12px;
  border-radius: 6px;
  color: var(--jf-sub);
  background: #fff;
  border: 1px solid transparent;
}

.jf-side-item+.jf-side-item {
  margin-top: 8px;
}

.jf-side-item.active {
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  border-color: #cfe0ff;
}

.jf-tool-group+.jf-tool-group {
  margin-top: 14px;
}

.jf-tool-group-head {
  padding: 18px;
  border-bottom: 1px solid var(--jf-line);
}

.jf-tool-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
}

.jf-tool-name {
  color: var(--jf-blue-deep);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

.jf-tool-meta {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jf-mini-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--jf-sub);
  background: #f6f7fa;
  font-size: 12px;
}

.jf-guide-layout {
  display: grid;
  grid-template-columns: 226px 1fr;
  gap: 14px;
}

.jf-tabs {
  padding: 10px;
  position: sticky;
  top: 78px;
}

.jf-tab {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--jf-sub);
  text-align: left;
  cursor: pointer;
}

.jf-tab:hover,
.jf-tab.active {
  background: var(--jf-blue-weak);
  color: var(--jf-blue);
  font-weight: 800;
}

.jf-guide-panel {
  display: none;
  padding: 22px;
}

.jf-guide-panel.active {
  display: block;
}

.jf-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.jf-steps li {
  position: relative;
  padding: 0 0 16px 38px;
  color: var(--jf-sub);
}

.jf-steps li:before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--jf-blue);
  color: #fff;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  font-weight: 800;
}

.jf-profile-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 14px;
}

.jf-profile-stack {
  display: grid;
  gap: 14px;
}

.jf-console-card {
  padding: 18px;
}

.jf-console-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.jf-token-line {
  padding: 12px;
  border: 1px solid var(--jf-border);
  border-radius: 6px;
  background: #fafbfe;
  color: #24364f;
  font-family: Consolas, Monaco, monospace;
  word-break: break-all;
}

.jf-quota-value {
  color: var(--jf-orange);
  font-size: 30px;
  font-weight: 800;
}

.jf-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.jf-stat-box {
  padding: 14px;
  border-radius: 8px;
  background: #f8fbff;
  border: 1px solid #e3ecfb;
}

.jf-stat-box strong {
  display: block;
  color: var(--jf-blue);
  font-size: 22px;
}

.jf-footprint-day {
  border: 1px solid var(--jf-border);
  border-radius: 8px;
  overflow: hidden;
}

.jf-footprint-day+.jf-footprint-day {
  margin-top: 10px;
}

.jf-footprint-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f8fbff;
  cursor: pointer;
}

.jf-footprint-list {
  padding: 4px 14px 12px;
}

.jf-footprint-day.collapsed .jf-footprint-list {
  display: none;
}

.jf-footprint-item {
  display: grid;
  grid-template-columns: 1fr 160px 90px;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--jf-line);
}

.jf-empty {
  padding: 24px;
  border-radius: 8px;
  background: #fafbfe;
  color: var(--jf-muted);
  text-align: center;
}

.jf-footer {
  margin-top: 40px;
  padding: 30px 0;
  background: #13233a;
  color: #b8c8df;
}

.jf-footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.jf-footer strong {
  color: #fff;
  font-size: 17px;
}

.jf-footer p {
  margin: 6px 0 0;
}

.jf-footer-meta {
  text-align: right;
}

.jf-start-card {
  display: grid;
  grid-template-columns: 1fr 390px auto;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(10, 93, 231, .10), rgba(255, 255, 255, .96)),
    #fff;
  border: 1px solid #dce8ff;
  box-shadow: 0 12px 34px rgba(28, 57, 105, .08);
}

.jf-start-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.jf-start-steps div {
  min-height: 72px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e1e9f8;
}

.jf-start-steps strong {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--jf-blue);
  color: #fff;
  text-align: center;
  line-height: 24px;
}

.jf-start-steps span {
  color: var(--jf-sub);
}

.jf-muted {
  color: var(--jf-muted);
}

.jf-sub {
  color: var(--jf-sub);
}

.jf-login-hidden {
  display: none;
}

.jf-profile-page {
  margin-top: 0;
  padding-top: 28px;
  padding-bottom: 56px;
}

.jf-profile-layout {
  width: min(1180px, calc(100vw - 96px));
  max-width: 1180px;
  margin: 0 auto;
  display: block;
}

.jf-profile-main {
  min-width: 0;
  width: 100%;
}

.jf-profile-panel {
  display: none;
}

.jf-profile-panel.active {
  display: block;
}

.jf-profile-hero-card,
.jf-profile-footprint-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #d9dee7;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.jf-profile-panel .jf-card + .jf-card,
.jf-profile-panel .jf-profile-footprint-card {
  margin-top: 22px;
}

.jf-profile-hero-head,
.jf-profile-section-head,
.jf-profile-balance-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.jf-profile-hero-head,
.jf-profile-section-head {
  align-items: flex-start;
}

.jf-profile-balance-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 28px;
}

.jf-profile-hero-title {
  color: #0a5de7;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.jf-profile-hero-side {
  flex: 0 0 auto;
  min-width: 220px;
  text-align: right;
}

.jf-profile-hero-label {
  display: block;
  color: #666;
  font-size: 14px;
  font-weight: 700;
}

.jf-profile-hero-side strong {
  display: inline-block;
  margin-top: 6px;
  color: #0a5de7;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.jf-profile-hero-side em {
  margin-left: 6px;
  color: #666;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.jf-profile-balance-box {
  margin-top: 18px;
  min-height: 216px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid #cfe1ff;
  background: #f9fbff;
}

.jf-profile-balance-title {
  color: #0a5de7;
  font-size: 18px;
  font-weight: 900;
}

.jf-profile-balance-desc {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.jf-profile-balance-main {
  min-width: 0;
  flex: 1;
}

.jf-profile-balance-inline {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.jf-profile-balance-inline span {
  width: 188px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid #cfe1ff;
  border-radius: 14px;
  background: #fff;
}

.jf-profile-balance-inline label {
  display: block;
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 800;
}

.jf-profile-balance-inline strong {
  display: inline-block;
  margin-top: 6px;
  color: #2f3033;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.jf-profile-balance-inline em {
  margin-left: 4px;
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.jf-profile-api-key-card {
  width: 330px;
  min-height: 84px;
  padding: 14px;
  position: relative;
  border: 1px solid #cfe1ff;
  border-radius: 14px;
  background: #fff;
  color: #2f3033;
  box-sizing: border-box;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.jf-profile-api-key-card label {
  display: block;
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.jf-profile-api-key-card strong {
  display: block;
  max-width: 100%;
  margin-top: 12px;
  color: #2f3033;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
}

.jf-profile-api-key-card i {
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  position: absolute;
  right: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #eef5ff;
  color: #0a5de7;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.jf-profile-api-key-card:hover {
  border-color: #9fc4ff;
  background: #fafdff;
}

.jf-profile-balance-row .jf-inline-actions {
  align-items: flex-start;
  padding-top: 22px;
}

.jf-profile-balance-row .jf-btn {
  min-width: 108px;
  height: 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.jf-profile-balance-row .jf-btn-gold {
  border: 0;
  background: #fed485;
  color: #8a5a00;
  box-shadow: 0 10px 20px rgba(254, 212, 133, .28);
}

.jf-profile-footprint-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #666;
  font-size: 14px;
  font-weight: 900;
}

.jf-profile-footprint-stats strong {
  color: #2f3033;
  font-weight: 800;
}

.jf-profile-footprint-note {
  margin-top: 10px;
  font-size: 13px;
}

.jf-profile-footprint-card .jf-empty {
  margin-top: 22px;
  min-height: 88px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f7f9fc;
  color: #999;
  font-size: 15px;
  font-weight: 700;
}

.jf-profile-footprint-card .jf-console-title {
  color: #0a5de7;
  font-size: 18px;
  font-weight: 900;
}

.jf-profile-kicker {
  margin-bottom: 4px;
  color: #d7aa45;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
}

.jf-usage-chart-card {
  margin-top: 8px;
  overflow: visible;
  border: 1px solid #e4e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .05);
}

.jf-usage-chart-head {
  min-height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.jf-usage-chart-head strong {
  color: #1f2937;
  font-size: 15px;
  font-weight: 900;
}

.jf-usage-detail-btn {
  border: 0;
  background: transparent;
  color: #0a5de7;
  font-size: 14px;
  font-weight: 900;
}

.jf-usage-detail-btn:hover {
  color: #0848b4;
}

.jf-usage-chart {
  height: 320px;
  padding: 44px 34px 18px 22px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
}

.jf-usage-chart-card .jf-profile-footprint-note {
  margin: 0 34px 16px 24px;
  color: #6b7280;
}

.jf-usage-y-axis {
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  color: #4b5563;
  font-size: 13px;
}

.jf-usage-plot {
  position: relative;
  min-width: 0;
  height: 264px;
  overflow: visible;
}

.jf-usage-grid {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.jf-usage-grid i {
  display: block;
  border-top: 1px dashed #d8dee8;
}

.jf-usage-bars {
  position: relative;
  z-index: 1;
  height: 264px;
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  overflow: visible;
}

.jf-usage-bar-item {
  position: relative;
  height: 264px;
  min-width: 0;
  display: grid;
  grid-template-rows: 220px 34px;
  justify-items: center;
  align-items: end;
}

.jf-usage-bar {
  width: 22px;
  min-height: 0;
  border-radius: 5px 5px 0 0;
  background: #4097f2;
  box-shadow: 0 8px 18px rgba(64, 151, 242, .18);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.jf-usage-bar-item:hover .jf-usage-bar {
  background: #2f8fea;
  box-shadow: 0 10px 24px rgba(47, 143, 234, .28);
  transform: translateY(-2px);
}

.jf-usage-tooltip {
  position: fixed;
  z-index: 1200;
  min-width: 112px;
  padding: 9px 11px;
  border: 1px solid #d6dee9;
  border-radius: 4px;
  background: #fff;
  color: #4b5563;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  white-space: pre-line;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 2px);
  transition: opacity .12s ease, transform .12s ease;
}

.jf-usage-tooltip.active {
  opacity: 1;
  transform: translate(0, 0);
}

.jf-usage-bar[style*="0%"] {
  min-height: 0;
}

.jf-usage-bar-item em {
  display: block;
  color: #586273;
  font-size: 12px;
  font-style: normal;
  transform: rotate(-48deg);
  transform-origin: center top;
  white-space: nowrap;
}

.jf-usage-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  padding: 72px 24px;
  background: rgba(15, 23, 42, .46);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.jf-usage-detail-dialog {
  position: relative;
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 120px);
  padding: 24px 24px 20px;
  overflow: visible;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .26);
}

.jf-usage-detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe4f0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
}

.jf-usage-detail-title {
  margin-bottom: 18px;
  padding-right: 48px;
  color: #111827;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.jf-usage-detail-table-wrap {
  max-height: calc(100vh - 286px);
  overflow: auto;
}

.jf-usage-detail-table {
  width: 100%;
  border-collapse: collapse;
  color: #475569;
  font-size: 14px;
}

.jf-usage-detail-table th {
  padding: 13px 12px;
  background: #f1f4f8;
  color: #1f2937;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.jf-usage-detail-table td {
  padding: 12px;
  border-bottom: 1px solid #e8edf5;
  white-space: nowrap;
}

.jf-usage-detail-pager {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #475569;
  font-size: 14px;
}

.jf-usage-detail-total em {
  font-style: normal;
}

.jf-usage-page-size {
  width: 110px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dbe4f0;
  border-radius: 4px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  outline: none;
  box-shadow: none;
}

.jf-usage-page-btn,
.jf-usage-page-current {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.jf-usage-page-btn {
  border: 0;
  background: #f1f5f9;
  color: #94a3b8;
}

.jf-usage-page-btn:not(:disabled):hover {
  background: #e2e8f0;
  color: #0a5de7;
}

.jf-usage-page-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.jf-usage-page-current {
  background: #0a5de7;
  color: #fff;
  font-size: 14px;
}

.jf-usage-result-ok {
  display: inline-flex;
  min-width: 42px;
  height: 24px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #effbe8;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .jf-profile-hero-head,
  .jf-profile-section-head,
  .jf-profile-balance-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .jf-profile-hero-side {
    text-align: left;
  }

  .jf-profile-api-key-card {
    width: 100%;
    max-width: 560px;
  }

  .jf-usage-chart {
    padding-right: 20px;
  }

  .jf-usage-bars {
    gap: 5px;
  }

  .jf-usage-bar {
    width: 16px;
  }
}

.jf-agent-body .successCon {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2000;
  min-width: 320px;
  max-width: 440px;
  padding: 30px 34px;
  border-radius: 18px;
  border: 1px solid rgba(10, 93, 231, .08);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 56px rgba(23, 47, 94, .18);
  transform: translate(-50%, -50%);
  text-align: center;
  color: #c99363;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.jf-agent-body .successCon .sucLogimg {
  width: 42px;
  height: 42px;
  margin: 0;
  display: inline-block;
  float: none;
  padding: 0;
  vertical-align: middle;
}

.jf-agent-body .successCon .sucLogp {
  display: inline-block;
  padding: 0;
  float: none;
  vertical-align: middle;
  white-space: nowrap;
  margin-left: 12px;
  color: #c99363;
  font-size: 18px;
  font-weight: 700;
}

.jf-data-hero {
  position: relative;
  padding: 52px 0 48px;
  border-bottom: 1px solid #e5edfb;
  background:
    radial-gradient(circle at 50% 0, rgba(10, 125, 255, .08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
  text-align: center;
}

.jf-data-hero h1 {
  margin: 10px 0 12px;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 900;
  color: var(--jf-ink);
}

.jf-data-hero p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--jf-sub);
  font-size: 16px;
  line-height: 1.9;
}

.jf-data-hero-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.jf-data-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6f83a0;
  font-size: 13px;
}

.jf-data-hero-meta-item i {
  color: var(--jf-blue);
  font-size: 14px;
}

.jf-data-hero-meta-item strong {
  color: var(--jf-ink);
  font-weight: 800;
}

.jf-data-overview {
  overflow: hidden;
  padding: 0;
}

.jf-data-overview-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--jf-line);
}

.jf-data-overview-section-title {
  color: var(--jf-ink);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.jf-data-overview-section-head .jf-card-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
}

.jf-data-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
}

.jf-data-overview-col {
  padding: 14px 14px 12px;
}

.jf-data-overview-col + .jf-data-overview-col {
  border-left: 1px solid var(--jf-line);
}

.jf-data-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jf-data-col-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #27c7ff 0%, #0a5de7 100%);
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 28px;
}

.jf-data-col-head strong {
  color: var(--jf-ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
}

.jf-data-overview-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--jf-blue);
  background: var(--jf-blue-weak);
  font-weight: 700;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-data-overview-link:hover {
  color: #0a5de7;
  background: linear-gradient(90deg, #eef6ff 0%, #dcecff 100%);
  box-shadow: 0 8px 18px rgba(10, 125, 255, .14);
  transform: translateY(-1px);
}

.jf-data-col-desc {
  margin-top: 6px;
  color: var(--jf-sub);
  font-size: 12px;
  line-height: 1.65;
}

.jf-data-step-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.jf-data-step-card {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e4ebf8;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: none;
}

.jf-data-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jf-data-step-head.is-case,
.jf-data-step-head.is-detail,
.jf-data-step-head.is-result {
  margin: -8px -10px 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #edf2fb;
}

.jf-data-step-head.is-case {
  background: rgba(0, 207, 168, .06);
}

.jf-data-step-head.is-detail {
  background: rgba(255, 180, 0, .06);
}

.jf-data-step-head.is-result {
  background: rgba(10, 125, 255, .06);
}

.jf-data-step-badge {
  min-width: 42px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.jf-data-step-head.is-case .jf-data-step-badge {
  background: #09c89b;
}

.jf-data-step-head.is-detail .jf-data-step-badge {
  background: #f6b300;
}

.jf-data-step-head.is-result .jf-data-step-badge {
  background: #0a7dff;
}

.jf-data-step-head strong {
  color: var(--jf-ink);
  font-size: 14px;
  font-weight: 800;
}

.jf-data-step-copy {
  margin-top: 0;
  padding-left: 0;
}

.jf-data-step-copy p {
  margin: 0;
  color: var(--jf-sub);
  font-size: 12px;
  line-height: 1.6;
}

.jf-data-step-tool {
  margin-top: 5px;
  color: var(--jf-blue);
  font-family: Consolas, Monaco, monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 8px;
  background: #f7fbff;
  border: 1px solid #e3eefc;
}

.jf-data-step-tip {
  margin-top: 3px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jf-data-server-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.jf-data-server-card {
  min-height: 50px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(10, 93, 231, .12);
  background:
    radial-gradient(circle at 96% 10%, rgba(10, 125, 255, .06), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: none;
}

.jf-data-server-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.jf-data-server-card-top strong {
  display: block;
  color: var(--jf-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jf-data-server-card-top span {
  display: block;
  margin-top: 2px;
  color: var(--jf-blue);
  font-family: Consolas, Monaco, monospace;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jf-data-server-card-top em {
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jf-blue);
  background: rgba(10, 93, 231, .08);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.jf-data-server-card p {
  display: none;
}

.jf-data-scene-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jf-data-scene-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--jf-ink);
  background: #f5f8ff;
  border: 1px solid #dce8ff;
  font-size: 12px;
  font-weight: 700;
}

.jf-data-scene-note {
  margin-top: 10px;
  color: var(--jf-sub);
  font-size: 12px;
  line-height: 1.65;
}

.jf-data-tool-section {
  margin-top: 18px;
}

.jf-data-tool-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.jf-data-search-box {
  position: relative;
  flex: 1 1 auto;
  max-width: 560px;
}

.jf-data-search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  color: #8a9ab3;
  transform: translateY(-50%);
}

.jf-data-search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  border: 1px solid #dbe5f5;
  background: #f6f9ff;
  color: var(--jf-ink);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.jf-data-search-box input:focus {
  border-color: #bfd6ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 125, 255, .08);
  outline: none;
}

.jf-data-tool-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 620px;
}

.jf-data-tool-tab {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #dbe5f5;
  border-radius: 999px;
  background: #fff;
  color: #6c7d97;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.jf-data-tool-tab:focus,
.jf-example-close:focus {
  outline: none;
}

.jf-data-tool-tab.active {
  color: var(--jf-blue);
  background: rgba(10, 93, 231, .07);
  border-color: #bfd6ff;
}

.jf-data-tool-summary {
  margin-top: 8px;
  color: var(--jf-sub);
  font-size: 14px;
}

.jf-data-tool-summary strong {
  color: var(--jf-ink);
  font-weight: 800;
}

.jf-data-tool-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.jf-data-tool-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 14px 16px 10px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 10%, rgba(10, 125, 255, .08), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jf-data-tool-card:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
  height: 82px;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(10, 125, 255, .08) 0, rgba(10, 125, 255, .02) 58%, rgba(10, 125, 255, 0) 100%);
  border-left: 1px solid rgba(10, 93, 231, .04);
  pointer-events: none;
}

.jf-data-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 125, 255, .28);
  box-shadow: 0 16px 34px rgba(25, 80, 160, .10);
}

.jf-data-tool-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.jf-data-tool-title {
  color: var(--jf-ink);
  font-size: 17px;
  line-height: 1.22;
  font-weight: 900;
}

.jf-data-tool-card .jf-tool-name {
  margin-top: 3px;
  font-size: 11px;
}

.jf-data-tool-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 0;
}

.jf-data-tool-tags span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #5b7092;
  background: #f5f8ff;
  border: 1px solid #dfe8f8;
  font-size: 11px;
  font-weight: 700;
}

.jf-data-tool-card .jf-card-desc {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
}

.jf-data-tool-required strong {
  color: var(--jf-ink);
}

.jf-data-tool-empty {
  margin-top: 16px;
  padding: 22px;
  border-radius: 14px;
  border: 1px dashed #d3def2;
  background: #f8fbff;
  color: var(--jf-sub);
  text-align: center;
}

/* MCP 设计稿主体重构：仅作用于首页、数据能力页、接入指南页新增主体结构，避免影响个人中心。 */
.jf-redesign-hero {
  padding: 54px 0 72px;
  background:
    radial-gradient(circle at 16% 18%, rgba(10, 93, 231, .08), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(196, 142, 43, .10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.jf-redesign-hero::before {
  left: 38%;
  top: 22px;
  width: 760px;
  height: 360px;
  opacity: .22;
}

.jf-redesign-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 42px;
}

.jf-redesign-hero-copy {
  max-width: none;
  margin: 0;
  text-align: left;
}

.jf-redesign-hero-copy .jf-eyebrow,
.jf-redesign-page-hero .jf-eyebrow,
.jf-section-label {
  height: 28px;
  padding: 0 14px;
  border: 1px solid rgba(196, 142, 43, .24);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf0 0%, #fff4d8 100%);
  color: #9a6b00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
}

.jf-section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.jf-redesign-hero-copy h1 {
  margin: 18px 0 8px;
  color: #111827;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.jf-hero-subtitle {
  color: #9a6b00;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.jf-redesign-hero-copy .jf-hero-desc {
  max-width: 570px;
  margin: 22px 0 20px;
  font-size: 17px;
}

.jf-redesign-hero-copy .jf-hero-desc p {
  color: #28364d;
}

.jf-redesign-hero-copy .jf-hero-desc span {
  color: #667085;
  font-size: 15px;
}

.jf-platform-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}

.jf-platform-logo-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e5eaf3;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #344054;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 54, 88, .05);
}

.jf-platform-logo-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.jf-redesign-hero-copy .jf-hero-actions {
  justify-content: flex-start;
}

.jf-home-config-panel,
.jf-guide-config-panel {
  overflow: hidden;
  border: 1px solid #1e2b44;
  border-radius: 18px;
  background: #071221;
  box-shadow: 0 24px 64px rgba(17, 35, 65, .18);
}

.jf-home-config-panel .jf-config-head,
.jf-guide-config-panel .jf-config-head {
  padding: 16px 18px;
  background: #121f34;
  color: #fff;
}

.jf-config-kicker {
  color: #18d7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.jf-home-config-panel .jf-config-title,
.jf-guide-config-panel .jf-config-title {
  margin-top: 3px;
  color: #fff;
  font-size: 15px;
}

.jf-home-config-panel .jf-config-code,
.jf-guide-config-panel .jf-config-code {
  max-height: 420px;
  margin: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 0;
  background: #071221;
  color: #d9e8ff;
  font-size: 12px;
  line-height: 1.85;
  overflow: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.jf-config-tip {
  padding: 12px 18px 16px;
  color: #8da2c2;
  background: #071221;
  font-size: 12px;
}

.jf-home-config-panel .jf-guide-config-btn,
.jf-guide-config-panel .jf-guide-config-btn {
  height: 28px;
  min-width: 54px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 26px;
}

.jf-redesign-main {
  padding-top: 54px;
}

.jf-mcp-explain-section,
.jf-server-showcase,
.jf-redesign-data-overview,
.jf-redesign-guide-config,
.jf-redesign-guide-platform {
  position: relative;
}

.jf-mcp-explain-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  margin-top: 26px;
}

.jf-mcp-flow {
  padding: 20px;
  border: 1px solid #e5eaf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--jf-shadow);
}

.jf-flow-card {
  padding: 15px 16px;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.jf-flow-card span {
  display: block;
  color: #9a6b00;
  font-size: 12px;
  font-weight: 900;
}

.jf-flow-card strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.jf-flow-card p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
}

.jf-flow-arrow {
  height: 24px;
  color: #98a2b3;
  text-align: center;
  font-weight: 900;
  line-height: 24px;
}

.jf-mcp-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.jf-compare-card {
  min-height: 100%;
  padding: 24px 26px;
  border: 1px solid #e5eaf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--jf-shadow);
}

.jf-compare-card.is-good {
  border-color: rgba(196, 142, 43, .45);
  background:
    radial-gradient(circle at 100% 0, rgba(196, 142, 43, .12), transparent 34%),
    #fff;
}

.jf-compare-card h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.jf-compare-card p {
  margin: 12px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}

.jf-server-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.jf-server-showcase-card {
  position: relative;
  min-height: 182px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #e2e8f3;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 250, 255, .96)),
    #fff;
  box-shadow: 0 18px 42px rgba(28, 57, 105, .08);
}

.jf-server-showcase-card::after,
.jf-data-tool-card::after {
  opacity: .65;
}

.jf-server-index {
  position: absolute;
  right: 18px;
  top: 16px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--jf-blue);
  font-size: 17px;
  font-weight: 900;
}

.jf-server-kicker {
  color: var(--jf-blue);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  font-weight: 800;
}

.jf-server-showcase-card h3 {
  margin: 8px 44px 10px 0;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.jf-server-showcase-card p {
  margin: 0;
  color: #5f6f86;
  line-height: 1.75;
}

.jf-redesign-page-hero {
  padding: 48px 0 34px;
  background:
    radial-gradient(circle at 50% -10%, rgba(10, 93, 231, .13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.jf-redesign-page-hero h1 {
  font-size: 42px;
  letter-spacing: -.6px;
}

.jf-redesign-data-main,
.jf-redesign-guide-main {
  padding-top: 0;
}

.jf-redesign-guide-main .jf-guide-step:first-child {
  margin-top: 24px;
}

.jf-redesign-guide-main .jf-guide-step-head {
  margin-bottom: 14px;
}

.jf-redesign-data-overview {
  border-radius: 18px;
  border-color: #e4eaf4;
}

.jf-redesign-data-overview .jf-data-overview-grid {
  grid-template-columns: .95fr 1.25fr .8fr;
}

.jf-redesign-data-overview .jf-data-overview-section-head {
  padding: 20px 24px 16px;
}

.jf-redesign-data-overview .jf-data-overview-section-title {
  font-size: 24px;
}

.jf-redesign-data-overview .jf-data-overview-col {
  padding: 18px 20px;
}

.jf-redesign-data-overview .jf-data-server-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jf-redesign-data-overview .jf-data-server-card {
  min-height: 70px;
  padding: 10px 12px;
}

.jf-redesign-data-overview .jf-data-server-card p {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jf-redesign-tool-section {
  margin-top: 30px;
}

.jf-redesign-tool-section .jf-section-head {
  margin-bottom: 18px;
}

.jf-redesign-tool-section .jf-data-tool-card {
  min-height: 132px;
  border-color: #e3eaf5;
  box-shadow: 0 12px 30px rgba(31, 54, 88, .06);
}

.jf-redesign-guide-config .jf-guide-notice {
  max-width: 920px;
  margin: 0 auto 14px;
}

.jf-redesign-guide-config .jf-guide-config-panel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.jf-redesign-guide-platform .jf-guide-tabbar {
  justify-content: center;
  border-bottom: 0;
}

.jf-redesign-guide-platform .jf-guide-platform-panel {
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(31, 54, 88, .08);
}

.jf-redesign-guide-platform .jf-guide-platform-head {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.jf-redesign-guide-platform .jf-guide-platform-name {
  font-size: 24px;
}

.jf-example-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 16, 34, .58);
  backdrop-filter: blur(8px);
}

.jf-example-dialog {
  position: relative;
  width: min(880px, 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .22);
}

.jf-example-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: #f1f5f9;
  z-index: 2;
}

.jf-example-close:hover {
  color: #0f172a;
  background: #e2e8f0;
}

.jf-example-header {
  padding: 18px 24px 0;
}

.jf-example-title {
  color: #0f3f91;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.jf-example-tool {
  margin-top: 6px;
  color: #0a5de7;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 700;
}

.jf-example-content {
  padding: 14px 24px 0;
}

.jf-example-code {
  margin: 0;
  max-height: 400px;
  overflow: auto;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #12345f;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jf-example-code::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.jf-example-note {
  margin: 12px 24px 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e8eef7;
  background: #f8fbff;
  color: #526174;
  font-size: 13px;
  line-height: 1.65;
}

.jf-example-note strong {
  color: #0a5de7;
}

@media (max-width: 1360px) {
  .jf-data-overview-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .jf-data-overview-grid {
    grid-template-columns: 1fr;
  }

  .jf-data-overview-col + .jf-data-overview-col {
    border-left: 0;
    border-top: 1px solid var(--jf-line);
  }
}

@media (max-width: 1180px) {
  .jf-data-tool-grid {
    grid-template-columns: 1fr;
  }

  .jf-data-tool-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .jf-data-search-box {
    max-width: none;
  }
}

/* z02: 参考 MCP redesign 设计稿重构三页主体，保留业务数据动态读取与原有 JS 钩子。 */
.jf-agent-body {
  background: #f7f9fc;
  color: #1d2433;
}

.jf-redesign-hero {
  padding: 0;
  background: #f7f9fc;
  border-bottom: 0;
}

.jf-redesign-hero::before {
  display: none;
}

.jf-redesign-hero-grid {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 58px;
  align-items: center;
  padding: 40px 0 36px;
  margin-top: 32px;
}

.jf-redesign-hero-copy {
  max-width: 640px;
  padding-left: 6px;
}

.jf-redesign-hero-copy .jf-eyebrow,
.jf-redesign-page-hero .jf-eyebrow,
.jf-api-catalog-hero .jf-section-label {
  display: block;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c5a03e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jf-redesign-hero-copy .jf-eyebrow {
  display: none;
}

.jf-redesign-hero-copy h1 {
  margin: 10px 0 0;
  color: #0A5DE7;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 800;
}

.jf-redesign-hero-copy .jf-hero-subtitle {
  margin-top: 8px;
  color: #667085;
  font-size: 16px;
  font-weight: 700;
}

.jf-redesign-hero-copy .jf-hero-desc {
  width: 620px;
  max-width: 100%;
  margin-top: 28px;
  color: #475467;
  font-size: 16px;
  line-height: 1.85;
}

.jf-redesign-hero-copy .jf-hero-desc p,
.jf-redesign-hero-copy .jf-hero-desc span {
  display: block;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.jf-redesign-hero-copy .jf-hero-desc strong {
  color: #0A5DE7;
  background: linear-gradient(180deg, transparent 52%, rgba(218, 181, 72, .22) 0);
  padding: 0 3px;
  font-weight: 900;
}

.jf-redesign-hero-copy .jf-hero-desc strong.jf-hero-plain-strong {
  background: none;
}

.jf-platform-logo-row {
  width: 560px;
  max-width: 100%;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 118px);
  gap: 28px 42px;
  justify-content: start;
}

.jf-platform-logo-row span {
  height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #344054;
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  text-align: center;
}

.jf-platform-logo-row img {
  width: 46px;
  height: 46px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #e6edf7;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .08);
  object-fit: contain;
}

.jf-redesign-hero-copy .jf-hero-actions {
  margin-top: 30px;
}

.jf-redesign-hero-copy .jf-hero-key-btn {
  height: 40px;
  min-width: 176px;
  border-radius: 7px;
  background: #155eef;
  border-color: #155eef;
  box-shadow: 0 14px 26px rgba(21, 94, 239, .22);
  font-size: 14px;
  font-weight: 900;
}

.jf-home-config-panel,
.jf-guide-config-panel {
  padding: 0;
  border: 0;
  border-radius: 12px 12px 6px 6px;
  background: #1d2f4e;
  color: #dbe5f6;
  height: 460px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(16, 24, 40, .22);
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr) auto;
}

.jf-home-config-panel .jf-config-head,
.jf-guide-config-panel .jf-config-head {
  height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jf-config-dots {
  display: flex;
  gap: 8px;
  margin-right: auto;
}

.jf-guide-config-panel .jf-config-dots {
  margin-right: 0;
}

.jf-config-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}

.jf-home-config-panel .jf-config-kicker {
  display: inline-flex;
  height: 26px;
  align-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, .10);
  padding: 0 12px;
  color: #d8b451;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .25em;
}

.jf-guide-config-panel .jf-config-kicker {
  display: inline-flex;
  align-items: center;
  color: #d8b451;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.jf-home-config-panel .jf-config-title,
.jf-guide-config-panel .jf-config-title {
  display: inline-flex;
  height: 26px;
  align-items: center;
  margin-left: 8px;
  padding: 0 12px;
  border: 1px solid rgba(216, 180, 81, .38);
  border-radius: 5px;
  background: rgba(216, 180, 81, .14);
  color: #d8b451;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.jf-home-config-panel .jf-config-actions,
.jf-guide-config-panel .jf-config-actions {
  margin-left: auto;
}

.jf-home-config-panel .jf-guide-config-btn,
.jf-guide-config-panel .jf-guide-config-btn,
.jf-home-config-panel .js-copy-config,
.jf-guide-config-panel .js-copy-config {
  height: 30px;
  padding: 0 13px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #dbe5f6;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.jf-home-config-panel .js-create-key,
.jf-home-config-panel .js-login,
.jf-guide-config-panel .js-create-key,
.jf-guide-config-panel .js-login {
  min-width: 92px;
  border-color: #1688f5;
  background: linear-gradient(135deg, #1688f5 0%, #0A5DE7 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(10, 93, 231, .24);
}

.jf-home-config-panel .js-create-key:hover,
.jf-home-config-panel .js-login:hover,
.jf-guide-config-panel .js-create-key:hover,
.jf-guide-config-panel .js-login:hover {
  border-color: #2a94ff;
  background: linear-gradient(135deg, #2a94ff 0%, #0f63ee 100%);
  color: #fff;
}

.jf-home-config-panel .jf-config-code,
.jf-guide-config-panel .jf-config-code {
  margin: 0;
  min-height: 0;
  max-height: none;
  padding: 26px 28px 22px;
  border: 0;
  border-radius: 0;
  background: #1d2f4e;
  color: #dbe5f6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.66;
  white-space: pre-wrap;
  overflow-y: auto;
}

.jf-home-config-panel .jf-config-tip {
  margin: 0;
  padding: 12px 28px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: transparent;
  color: #b7c4d9;
  font-size: 12px;
  line-height: 1.8;
}

.jf-redesign-main {
  padding-top: 0;
}

.jf-mcp-explain-section {
  margin-top: 0;
  padding: 40px 0 28px;
  border: 0;
  background: transparent;
}

.jf-mcp-explain-section .jf-section-head {
  width: 820px;
  max-width: 100%;
  margin: 0 auto 28px;
  text-align: center;
}

.jf-mcp-explain-section .jf-section-label,
.jf-server-showcase .jf-section-label,
.jf-redesign-tool-section .jf-section-label,
.jf-redesign-guide-config .jf-section-label,
.jf-redesign-guide-platform .jf-section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c59c32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.jf-mcp-explain-section .jf-section-title {
  margin-top: 12px;
  color: #0A5DE7;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
}

.jf-mcp-explain-section .jf-section-desc {
  margin: 10px auto 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.jf-mcp-explain-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: stretch;
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
}

.jf-mcp-flow {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fbfdff;
  padding: 16px;
}

.jf-flow-card {
  min-height: 74px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 12px 14px;
}

.jf-flow-card span {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2f8;
  color: #0A5DE7;
  font-size: 12px;
  font-weight: 900;
}

.jf-flow-card strong {
  color: #0A5DE7;
  font-size: 15px;
  font-weight: 800;
}

.jf-flow-card p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.55;
}

.jf-flow-arrow {
  color: #c59c32;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  line-height: 1;
}

.jf-mcp-compare {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.jf-compare-card {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #f7f9fc;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jf-compare-card.is-good {
  background: #fff;
  border-left: 4px solid #d0a63a;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .04);
}

.jf-compare-card h3 {
  color: #1d2433;
  font-size: 16px;
  font-weight: 800;
}

.jf-compare-card.is-good h3 {
  color: #0A5DE7;
}

.jf-compare-card p {
  margin: 8px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.jf-redesign-api-catalog {
  width: 1180px;
  height: calc(100vh - 76px);
  min-height: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  overflow: hidden;
}

.jf-api-side {
  position: sticky;
  top: 0;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding-top: 6px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(83, 98, 122, .32) transparent;
}

.jf-api-side::-webkit-scrollbar {
  width: 6px;
}

.jf-api-side::-webkit-scrollbar-track {
  background: transparent;
}

.jf-api-side::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(83, 98, 122, .28);
}

.jf-api-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0A5DE7;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
}

.jf-api-side-title::before {
  content: "";
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: #d0a63a;
}

.jf-api-category-list {
  display: grid;
  gap: 6px;
}

.jf-api-category {
  width: 100%;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 0 12px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #53627A;
  font-size: 14px;
  font-weight: 700;
}

.jf-api-category em {
  min-width: 28px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #53627A;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
}

.jf-api-category.active {
  border-color: #cbd5e1;
  background: #eaf0f8;
  color: #0A5DE7;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .05);
}

.jf-api-category.active em {
  background: #0a5ce4;
  color: #fff;
}

.jf-api-catalog-main {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jf-api-catalog-main::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (max-width: 900px) {
  .jf-redesign-api-catalog {
    width: calc(100% - 24px);
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
  }

  .jf-api-category {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .jf-redesign-api-catalog {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .jf-api-side-title {
    gap: 7px;
    font-size: 14px;
  }

  .jf-api-category {
    min-height: 38px;
    padding: 0 8px;
    gap: 6px;
    font-size: 12px;
  }

  .jf-api-category em {
    min-width: 24px;
    height: 18px;
    padding: 0 6px;
    font-size: 10px;
  }
}

.jf-api-catalog-hero .jf-section-label {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c69218;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
}

.jf-api-catalog-hero h1 {
  margin-top: 5px;
  color: #0a5de7;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: normal;
}

.jf-api-catalog-hero p {
  margin-top: 10px;
  max-width: 872px;
  color: #526174;
  font-size: 14px;
  line-height: 1.75;
}

.jf-api-catalog-banner {
  margin-top: 16px;
  min-height: 96px;
  border: 1px solid #dbe4f0;
  border-left: 4px solid #d0a63a;
  border-radius: 12px;
  background: linear-gradient(90deg, #fffdf6, #fff 52%, #f4f7fb);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jf-api-catalog-banner span {
  display: inline-flex;
  height: 20px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #173f8f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}

.jf-api-catalog-banner h2 {
  margin-top: 6px;
  margin-bottom: 0;
  color: #173f8f;
  font-size: 16px;
  font-weight: 900;
}

.jf-api-catalog-banner p {
  margin-top: 4px;
  margin-bottom: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.45;
}

.jf-api-guide-btn {
  flex: 0 0 auto;
  min-width: 132px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #0A5DE7;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(10, 93, 231, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jf-api-guide-btn:hover {
  background: #084fc8;
  color: #fff;
  box-shadow: 0 16px 30px rgba(10, 93, 231, .24);
  transform: translateY(-1px);
}

.jf-api-directory-head {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jf-api-directory-head h2 {
  color: #0A5DE7;
  font-size: 20px;
  font-weight: 800;
}

.jf-api-directory-head span {
  color: #526174;
  font-size: 14px;
}

.jf-api-directory-head strong {
  color: #173f8f;
  font-size: 18px;
}

.jf-api-search-row {
  margin-top: 14px;
  display: block;
}

.jf-api-search-wrap {
  display: grid;
  grid-template-columns: 1fr 84px;
}

.jf-api-search {
  height: 44px;
  border: 1px solid #dbe4f0;
  border-radius: 7px 0 0 7px;
  border-right: 0;
  padding: 0 16px;
  outline: 0;
  background: #fff;
  color: #526174;
  font-size: 14px;
}

.jf-api-search:focus {
  border-color: #93b4ff;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, .08);
}

.jf-api-search-btn {
  border: 1px solid #0a5ce4;
  border-radius: 0 7px 7px 0;
  background: #0a5ce4;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

.jf-api-card-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.jf-api-tool-card {
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px 14px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .04);
}

.jf-api-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.jf-api-tool-head h3 {
  margin: 0;
  color: #0A5DE7;
  font-size: 17px;
  font-weight: 800;
  line-height: 26px;
}

.jf-api-tool-head code {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0A5DE7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.jf-api-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #173f8f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.jf-api-tool-card p {
  margin-top: 14px;
  color: #42526B;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jf-api-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #dbe4f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jf-api-tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.jf-api-tag-list span,
.jf-api-tag-btn {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 9px;
  background: #f2f4f7;
  color: #53627A;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.jf-api-tag-btn {
  cursor: pointer;
  background: #eaf2ff;
  color: #0a5ce4;
  border: 1px solid #bfd7ff;
  box-shadow: 0 4px 10px rgba(10, 92, 228, .10);
}

.jf-api-tag-btn:hover {
  color: #fff;
  background: #0a5ce4;
  border-color: #0a5ce4;
}

.jf-api-service-count {
  flex: 0 0 auto;
  color: #53627A;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

/* 首页 Server 与场景模块按新版设计稿实现，顶部/尾部保持项目原样。 */
.home-server-section {
  position: relative;
  padding: 24px 0 72px;
  background: #f7f9fc;
  box-shadow: 0 0 0 100vmax #f7f9fc;
  clip-path: inset(0 -100vmax);
  overflow: hidden;
}

.home-server-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  width: 100vw;
  margin-left: -50vw;
  background: #f7f9fc;
  z-index: 0;
}

.home-server-section > * {
  position: relative;
  z-index: 1;
}

.home-server-head {
  text-align: center;
  margin-bottom: 42px;
}

.home-server-kicker,
.scenario-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c59c32;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.home-server-kicker:before,
.home-server-kicker:after,
.scenario-kicker:before,
.scenario-kicker:after {
  content: "";
  width: 28px;
  height: 1px;
  background: #d6b35c;
}

.home-server-head h2,
.scenario-head h2 {
  margin-top: 14px;
  color: #0A5DE7;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
}

.home-server-head p,
.scenario-head p {
  width: 760px;
  max-width: 100%;
  margin: 12px auto 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.8;
}

.server-carousel {
  position: relative;
  padding: 0;
}

.server-card-grid {
  overflow: visible;
}

.server-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.server-feature-card {
  min-height: 470px;
  border: 1px solid #dbe4f0;
  border-top: 4px solid #0A5DE7;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1),
    box-shadow .25s cubic-bezier(.16, 1, .3, 1),
    border-color .25s cubic-bezier(.16, 1, .3, 1);
}

.server-feature-card:hover {
  border-color: #b9d2ff;
  border-top-color: #0A5DE7;
  box-shadow: 0 24px 54px rgba(10, 93, 231, .16);
  transform: translateY(-8px);
}

.carousel-btn {
  display: none;
}

.server-badge {
  width: max-content;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2f8;
  color: #0A5DE7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  margin-bottom: 20px;
}

.server-feature-card h3 {
  color: #0A5DE7;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
}

.server-feature-card p {
  margin-top: 12px;
  color: #475467;
  font-size: 15px;
  line-height: 1.8;
}

.server-feature-card > p {
  min-height: 82px;
}

.server-tool-tags {
  margin-top: 18px;
  min-height: 64px;
  padding: 16px 0;
  border-top: 1px dashed #dbe4f0;
  border-bottom: 1px dashed #dbe4f0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-content: flex-start;
  overflow: hidden;
}

.server-tool-tags code {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 132px;
  min-width: 0;
  padding: 0 9px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-tool-tags code:last-child {
  flex: 0 0 auto;
}

.try-box {
  position: relative;
  margin-top: 16px;
  min-height: 138px;
  border-radius: 10px;
  background: #eef2f8;
  padding: 14px 14px 44px;
  color: #0A5DE7;
}

.try-box strong {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.try-box p {
  margin: 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.8;
}

.try-copy-btn {
  position: absolute;
  right: 14px;
  bottom: 12px;
  height: 30px;
  padding: 0 16px;
  border: 1px solid #d2dbea;
  border-radius: 7px;
  background: #fff;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .05);
}

.try-copy-btn:hover {
  border-color: #b7c5dc;
  color: #0A5DE7;
}

.home-scenario-section {
  padding: 72px 0 110px;
  background: transparent;
}

.scenario-head {
  text-align: center;
  margin-bottom: 40px;
}

.scenario-head h2 {
  margin-top: 16px;
  font-size: 32px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.scenario-card {
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1),
    box-shadow .25s cubic-bezier(.16, 1, .3, 1),
    border-color .25s cubic-bezier(.16, 1, .3, 1);
}

.scenario-card:hover {
  border-color: #b9d2ff;
  box-shadow: 0 24px 54px rgba(10, 93, 231, .16);
  transform: translateY(-8px);
}

.scenario-terminal {
  height: 470px;
  background: #1d2f4e;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-line {
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #dbe5f6;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.7;
}

.tool-line {
  position: relative;
  border: 1px solid rgba(139, 211, 255, .28);
  border-radius: 7px;
  background: rgba(6, 23, 35, .42);
  color: #b7c4d9;
  padding: 11px 36px 11px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.tool-line b {
  color: #f0c84b;
  font-weight: 900;
}

.tool-line i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #2fe585;
  font-style: normal;
}

.result-line {
  margin-top: auto;
  margin-bottom: 16px;
  min-height: 104px;
  border-left: 3px solid #8bd3ff;
  border-radius: 6px;
  background: rgba(16, 24, 40, .34);
  color: #dbe5f6;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  align-items: center;
}

.scenario-copy {
  padding: 22px 22px 26px;
  min-height: 235px;
  display: flex;
  flex-direction: column;
}

.case-label {
  color: #c59c32;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.scenario-copy h3 {
  margin-top: 12px;
  color: #0A5DE7;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}

.scenario-copy p {
  margin-top: 14px;
  color: #475467;
  font-size: 15px;
  line-height: 1.85;
}

.scenario-through {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #dbe4f0;
  color: #667085;
  font-size: 13px;
}

.scenario-through b {
  color: #0A5DE7;
  font-weight: 900;
}

/* 接入指南主体按设计稿配置区与平台接入区重构。 */
.jf-redesign-guide-main {
  padding-top: 32px;
}

.jf-guide-design-hero {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 42px;
  align-items: center;
  padding: 28px 0 54px;
}

.jf-guide-copy h1 {
  margin-top: 14px;
  color: #173f8f;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 900;
}

.jf-guide-copy p {
  width: 600px;
  max-width: 100%;
  margin-top: 18px;
  color: #475467;
  font-size: 16px;
  line-height: 1.9;
}

.jf-guide-hero-chips {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jf-guide-chip {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #fff;
  color: #173f8f;
  font-size: 13px;
  font-weight: 900;
}

.jf-guide-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.jf-guide-config-window {
  margin: 0;
}

.jf-guide-platform-design {
  padding: 16px 0 54px;
}

.jf-design-section-head {
  text-align: center;
  margin-bottom: 16px;
}

.jf-design-section-head h2 {
  margin-top: 12px;
  color: #173f8f;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
}

.jf-design-section-head p {
  margin-top: 10px;
  color: #667085;
  font-size: 15px;
}

.platform-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #dbe4f0;
  margin-top: 8px;
}

.platform-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 16px 0 14px;
  color: #667085;
  font-size: 17px;
  font-weight: 800;
}

.platform-tab.active {
  color: #0A5DE7;
  border-bottom-color: #0A5DE7;
}

.platform-guide {
  display: none;
  margin-top: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .05);
}

.platform-guide.active {
  display: block;
}

.platform-guide-head {
  padding: 24px 28px;
  border-bottom: 1px solid #dbe4f0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-guide-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef5ff;
  display: grid;
  place-items: center;
}

.platform-guide-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.platform-guide-head h3 {
  color: #173f8f;
  font-size: 21px;
  font-weight: 900;
}

.platform-guide-head p {
  margin-top: 4px;
  color: #667085;
  font-size: 14px;
}

.platform-guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 28px;
}

.platform-guide-content h4 {
  color: #1d2433;
  font-size: 17px;
  font-weight: 900;
}

.number-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
}

.number-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  color: #475467;
  line-height: 1.75;
  align-items: start;
}

.number-list b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0A5DE7;
}

.code {
  margin-top: 0;
  border-radius: 14px;
  background: #101828;
  color: #e4e7ec;
  overflow: hidden;
}

.code + .code {
  margin-top: 16px;
}

.code-head {
  height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #98a2b3;
}

.code pre {
  margin: 0;
  padding: 16px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.8;
}

/* 设计稿中 MCP 说明模块高度更紧凑，覆盖早期通用 section 间距。 */
.jf-redesign-main .jf-mcp-explain-section {
  padding: 40px 0 28px;
}

.jf-redesign-main .jf-mcp-explain-section .jf-section-head {
  margin-bottom: 28px;
}

.jf-redesign-main .jf-flow-card {
  min-height: 68px;
  padding: 10px 14px;
}

.jf-redesign-main .jf-mcp-flow {
  padding: 14px;
  gap: 7px;
}

.jf-redesign-main .jf-compare-card {
  padding: 14px 18px;
}

.jf-redesign-main .jf-compare-card p {
  margin-top: 6px;
  line-height: 1.5;
}

/* z04: 首页首屏平台图标严格对齐设计稿的 3x2 图标网格。 */
.jf-redesign-hero .platform-icons {
  width: 560px;
  max-width: 100%;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 118px);
  gap: 28px 42px;
  justify-content: start;
}

.jf-redesign-hero .platform-icons.platform-icons-four {
  width: 640px;
  grid-template-columns: repeat(4, 118px);
  gap: 24px 34px;
}

.jf-redesign-hero .platform-home {
  position: relative;
  height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  color: #344054;
  font-weight: 800;
}

.jf-redesign-hero .platform-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e6edf7;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .08);
  overflow: hidden;
  color: #0A5DE7;
  font-weight: 900;
  font-size: 12px;
}

.jf-redesign-hero .platform-logo img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.jf-redesign-hero .platform-name {
  color: #344054;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  font-weight: 800;
}

/* z04: MCP 解释模块按设计稿标题双色、列表符号和卡片间距重置。 */
.jf-redesign-main .mcp-explain-head h2 {
  margin-top: 12px;
  color: #0A5DE7;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

.jf-redesign-main .mcp-explain-head {
  display: block !important;
  width: 820px;
  max-width: 100%;
  margin: 0 auto 28px;
  text-align: center;
}

.jf-redesign-main .mcp-explain-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0;
  color: #c59c32;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.jf-redesign-main .mcp-explain-kicker:before,
.jf-redesign-main .mcp-explain-kicker:after {
  content: "";
  width: 28px;
  height: 1px;
  background: #d6b35c;
}

.jf-redesign-main .mcp-explain-head h2 span {
  color: #c5a03e;
}

.jf-redesign-main .mcp-explain-head p {
  width: 820px;
  max-width: 100%;
  margin: 10px auto 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.75;
}

.jf-redesign-main .mcp-compare-card ul {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.jf-redesign-main .mcp-compare-grid {
  width: auto;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
}

.jf-redesign-main .mcp-compare-card li {
  list-style: none;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.jf-redesign-main .mcp-compare-card li:before {
  content: "×";
  color: #98a2b3;
  font-weight: 800;
  flex: 0 0 14px;
}

.jf-redesign-main .mcp-compare-card.active li:before,
.jf-redesign-main .mcp-compare-card.is-good li:before {
  content: "✓";
  color: #c59c32;
}

.jf-redesign-main .mcp-compare-card b {
  color: #0A5DE7;
  font-weight: 900;
}

.jf-redesign-hero .jf-hero-key-btn {
  background: linear-gradient(135deg, #1688f5 0%, #0A5DE7 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 18px 36px rgba(10, 93, 231, .26) !important;
}

.jf-redesign-hero .jf-hero-key-btn:hover {
  background: linear-gradient(135deg, #2a94ff 0%, #0f63ee 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.jf-home-config-panel .jf-config-tip a {
  color: #8bd3ff;
  font-weight: 800;
  text-decoration: none;
}

.jf-home-config-panel .jf-config-tip a:hover {
  color: #aee2ff;
}

.jf-home-config-panel .jf-config-code {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) rgba(255, 255, 255, .04);
}

.jf-home-config-panel .jf-config-code::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.jf-home-config-panel .jf-config-code::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
}

.jf-home-config-panel .jf-config-code::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  min-height: 148px;
}

.jf-home-config-panel .jf-config-code::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

.jf-home-config-panel .jf-config-head > div:nth-child(2) {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.jf-home-config-panel .jf-config-dots {
  margin-right: 0;
}

.jf-home-config-panel {
  height: 640px;
}

.jf-home-config-panel .jf-config-actions {
  margin-left: auto;
}

.jf-home-config-panel .jf-config-kicker {
  height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, .10);
  padding: 0 12px;
  color: #d8b451;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .25em;
}

.jf-redesign-hero .jf-redesign-hero-grid {
  min-height: calc(100vh - 76px);
  margin-top: 8px;
  padding-top: 18px;
}

.jf-redesign-main .mcp-explain-head {
  width: min(820px, calc(100vw - 48px));
  max-width: none;
  margin: 0 auto 28px;
  text-align: center;
}

.jf-redesign-main .mcp-explain-head h2 {
  width: 100%;
  max-width: 100%;
  margin: 12px auto 0;
  white-space: normal;
  overflow-wrap: break-word;
}

.jf-redesign-main .mcp-explain-head p {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 900px) {
  .jf-redesign-main .mcp-explain-head h2 {
    font-size: 24px;
    line-height: 1.35;
  }
}

/* z115: 接入指南页按新设计稿重构为平台选择 + 单平台配置卡。 */
.jf-redesign-guide-main {
  padding-top: 48px;
  padding-bottom: 72px;
}

.jf-guide-redesign-head {
  width: 880px;
  max-width: 100%;
  margin: 0 auto 34px;
  text-align: center;
}

.jf-guide-redesign-head h1 {
  margin: 0;
  color: #0A5DE7;
  font-size: 34px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
}

.jf-guide-redesign-head h1 span {
  color: #c7a23c;
}

.jf-guide-redesign-head p {
  width: 760px;
  max-width: 100%;
  margin: 16px auto 28px;
  color: #667085;
  font-size: 16px;
  line-height: 1.85;
}

.jf-guide-platform-pills {
  width: 900px;
  max-width: 100%;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jf-guide-platform-pills.jf-guide-platform-pills-four {
  width: 980px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.jf-guide-platform-pill {
  height: 56px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #475467;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(16,24,40,.04);
  transition: .18s ease;
}

.jf-guide-platform-pills-four .jf-guide-platform-pill {
  height: 50px;
  gap: 8px;
  font-size: 15px;
}

.jf-guide-platform-pill img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #eef2f7;
}

.jf-guide-platform-pills-four .jf-guide-platform-pill img {
  width: 22px;
  height: 22px;
}

.jf-guide-platform-pill:hover {
  transform: translateY(-2px);
  border-color: #bfd6ff;
  box-shadow: 0 18px 36px rgba(10, 93, 231, .08);
}

.jf-guide-platform-pill.active {
  color: #fff;
  background: #0A5DE7;
  border-color: #0A5DE7;
  box-shadow: 0 14px 28px rgba(10,93,231,.22);
}

@media (max-width: 640px) {
  html {
    overflow-x: hidden;
  }

  body.jf-agent-body {
    min-width: 0;
  }

  .jf-agent-inner {
    width: calc(100% - 24px);
  }

  .jf-header-layout {
    justify-content: flex-start;
    gap: 10px;
  }

  .jf-brand {
    min-width: 0;
    flex: 0 0 auto;
  }

  .jf-brand-desc,
  .jf-header-actions {
    display: none;
  }

  .jf-nav {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .jf-nav a {
    min-width: 0;
    padding: 0 7px;
    font-size: 13px;
  }

  .jf-nav-icon {
    margin-right: 2px;
    font-size: 17px;
  }

  .jf-redesign-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .jf-redesign-hero-copy,
  .jf-redesign-hero-copy h1,
  .jf-redesign-hero-copy .jf-hero-subtitle,
  .jf-redesign-hero-copy .jf-hero-desc,
  .jf-redesign-hero-copy .jf-hero-desc p,
  .jf-redesign-hero-copy .jf-hero-desc span {
    width: 100%;
    max-width: 100%;
  }

  .jf-redesign-hero-copy {
    padding-left: 0;
  }

  .jf-redesign-hero-copy .jf-hero-desc strong {
    overflow-wrap: anywhere;
  }

  .jf-redesign-hero .platform-icons,
  .jf-redesign-hero .platform-icons.platform-icons-four {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .jf-redesign-hero .platform-name {
    white-space: normal;
  }

  .jf-guide-platform-pills,
  .jf-guide-platform-pills.jf-guide-platform-pills-four {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jf-guide-platform-design .platform-guide-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .jf-guide-platform-design .jf-config-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.jf-agent-body .webchat_list {
    display: none !important;
  }

  body.jf-agent-body .publicNetworkSecurity {
    max-width: 100%;
  }

  body.jf-agent-body b,
  body.jf-agent-body strong {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .jf-guide-platform-pills,
  .jf-guide-platform-pills.jf-guide-platform-pills-four {
    grid-template-columns: 1fr;
  }
}

.jf-guide-platform-design {
  padding: 0 0 54px;
}

.jf-guide-platform-design .platform-guide {
  margin-top: 0;
  border: 1px solid #d8e2f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(16, 24, 40, .06);
  position: relative;
  overflow: hidden;
}

.jf-guide-platform-design .platform-guide-head {
  padding: 24px 28px;
  min-height: 94px;
  background:
    radial-gradient(circle at 0 0, rgba(214, 165, 54, .12), transparent 32%),
    linear-gradient(90deg, #fffdf8 0%, #f3f8ff 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.jf-guide-platform-design .platform-guide-head:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #d6a536 0%, #f0d487 52%, #d6a536 100%);
  border-radius: 18px 0 0 0;
  z-index: 2;
  pointer-events: none;
}

.platform-guide-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jf-guide-config-badge {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #d6a536;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #0a5de7;
  background: #f9f7ee;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(214, 165, 54, .08);
}

.jf-guide-platform-design .platform-guide-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #dbe4f0;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}

.jf-guide-platform-design .platform-guide-icon img {
  width: 30px;
  height: 30px;
}

.jf-guide-platform-design .platform-guide-head h3 {
  margin: 0;
  color: #0a5de7;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.jf-guide-platform-design .platform-guide-head p {
  margin-top: 6px;
  color: #53627a;
  font-size: 14px;
}

.jf-guide-platform-design .platform-guide-content {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0;
  padding: 0;
  border-top: 1px solid #dbe4f0;
}

.jf-guide-platform-design .platform-guide-steps {
  padding: 34px 30px 36px;
  border-right: 1px solid #dbe4f0;
}

.jf-guide-platform-design .platform-guide-steps h4 {
  margin: 0 0 18px;
  color: #0A5DE7;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.jf-guide-platform-design .platform-guide-steps .number-list {
  gap: 18px;
  margin: 0;
}

.jf-guide-platform-design .platform-guide-steps .number-list li {
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
  color: #21314a;
  font-size: 15px;
  line-height: 1.8;
}

.jf-guide-platform-design .platform-guide-steps .number-list b {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: #0A5DE7;
  background: #eef5ff;
  border: 1px solid #bfd6ff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.jf-guide-platform-design .platform-guide-steps .number-list span {
  display: block;
  color: #21314a;
}

.platform-guide-tips {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.platform-guide-tip {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.75;
}

.platform-guide-tip-key {
  border: 1px solid #f0c66c;
  background: #fffaf0;
  color: #9a5b00;
}

.platform-guide-tip-example {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  border: 1px solid #dbe4f0;
  background: #fff;
  color: #344054;
}

.platform-guide-tip-example strong {
  color: #0A5DE7;
  font-weight: 900;
}

.jf-guide-platform-design .jf-guide-config-panel {
  margin: 34px 30px 36px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 460px;
  align-self: stretch;
}

.jf-guide-platform-design .jf-guide-config-panel .jf-config-code {
  flex: 1;
  height: auto;
  min-height: 0;
  font-size: 13px;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) rgba(255, 255, 255, .04);
}

.jf-guide-platform-design .jf-guide-config-panel .jf-config-code::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.jf-guide-platform-design .jf-guide-config-panel .jf-config-code::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
}

.jf-guide-platform-design .jf-guide-config-panel .jf-config-code::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  min-height: 148px;
}

.jf-guide-platform-design .jf-guide-config-panel .jf-config-code::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
