/* 金融界 AI 工具市场 — 开发者控制台样式 — Less */
body {
  background: #f5f7fa;
}
/* ===== Dashboard 开发者控制台 ===== */
.page-bg {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  background: #f5f7fa;
}
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('//i0cloud.jrjimg.cn/cloud/images/subject/mcp/bg.png') center no-repeat;
  padding: 120px 0 160px;
}
@media (max-width: 768px) {
  .login-page {
    align-items: flex-start;
    min-height: 0;
    padding: 24px 20px 40px;
    background: linear-gradient(180deg, #EAF3FF 0%, #F5F7FC 48%, #F5F7FC 100%);
    font-size: 14px;
    line-height: 1.4;
  }
}
html.mcp-boot-authed #loginPage {
  display: none !important;
}
html.mcp-boot-authed .mcp-boot-loading {
  display: flex;
}
.mcp-boot-loading {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  font-size: 14px;
  color: #8c92ad;
  background: #f5f7fa;
}
@media (max-width: 768px) {
  .mcp-boot-loading {
    min-height: calc(100vh - 110px);
  }
}
.login-card {
  --login-blue: #1677ff;
  --login-blue-hover: #4096ff;
  width: 460px;
  min-height: 512px;
  background: #fff;
  border-radius: 16px;
  padding: 50px 48px 32px;
  box-shadow: 0 8px 32px rgba(22, 119, 255, 0.06);
  box-sizing: border-box;
}
.login-card .login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}
.login-card .login-logo img {
  height: 36px;
  width: auto;
}
.login-card .login-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
  border-bottom: 1px solid #eef0f5;
}
.login-card .login-tab {
  padding: 0 4px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.login-card .login-tab.active {
  color: #006FEA;
  position: relative;
}
.login-card .login-tab.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  border-radius: 2px;
  background: #006FEA;
}
.login-card .login-panel.hide {
  display: none;
}
.login-card .form-group {
  margin-bottom: 8px;
}
.login-card .form-label {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #041026;
  line-height: 20px;
  margin-bottom: 8px;
}
.login-card .form-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.login-card .form-input {
  flex: 1;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #E2E3F4;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg);
}
.login-card .form-input:focus {
  border-color: var(--login-blue);
}
.login-card .form-required {
  min-height: 24px;
  margin-top: 4px;
}
.login-card .form-required > div {
  display: none;
  line-height: 24px;
  background: url('//i0cloud.jrjimg.cn/cloud/images/common/login-required.png') no-repeat 0 6px / 12px;
  text-indent: 18px;
  font-size: 12px;
  font-weight: 400;
  color: #c01639;
}
.login-card .btn-side {
  flex-shrink: 0;
  width: 140px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #006FEA;
  padding: 0 10px;
  background: #fff;
  font-size: 14px;
  color: var(--login-blue);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.login-card .btn-side:hover:not(:disabled) {
  background: rgba(22, 119, 255, 0.06);
}
.login-card .btn-side:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.login-card .btn-submit {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: var(--login-blue);
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  line-height: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.login-card .btn-submit:hover {
  background: var(--login-blue-hover);
}
.login-card .login-footer {
  text-align: center;
  font-weight: 400;
  font-size: 12px;
  color: #8C92AD;
  line-height: 24px;
  margin-top: 12px;
}
.login-card .login-footer a {
  color: #006FEA;
}
@media (max-width: 768px) {
  .login-card {
    width: 100%;
    height: auto;
    min-height: 0;
    background: linear-gradient(134deg, #FFFFFF 50%, #E6F1FF 100%);
    box-shadow: 0 10px 22px 0 #E5EAF6;
    border-radius: 8px;
    padding: 24px 16px 20px;
    font-size: 14px;
  }
  .login-card .login-logo {
    margin-bottom: 20px;
  }
  .login-card .login-logo img {
    height: 28px;
  }
  .login-card .login-tabs {
    margin-bottom: 16px;
  }
  .login-card .login-tab {
    font-weight: 400;
    font-size: 16px;
    color: #71819C;
    line-height: 20px;
    padding: 0 2px 10px;
  }
  .login-card .login-tab.active {
    color: #006FEA;
    font-weight: 500;
  }
  .login-card .login-tab.active::after {
    width: 56px;
    bottom: 0;
  }
  .login-card .form-group {
    margin-bottom: 12px;
  }
  .login-card .form-label {
    margin: 0 0 4px;
    padding: 0;
  }
  .login-card .form-row {
    align-items: center;
    gap: 8px;
  }
  .login-card .form-input {
    padding: 0 12px;
    line-height: 40px;
  }
  .login-card .form-required {
    min-height: 20px;
    margin: 0;
    padding: 0;
  }
  .login-card .form-required > div {
    line-height: 18px;
    margin: 4px 0 2px;
    background-position: 0 3px;
  }
  .login-card .btn-side {
    flex: 0 0 auto;
    width: auto;
    min-width: 96px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #006FEA;
    border-color: #006FEA;
  }
  .login-card .btn-submit {
    height: 44px;
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 44px;
    background: linear-gradient(135deg, #0F3EFE 0%, #0198EB 100%);
  }
  .login-card .login-footer {
    line-height: 18px;
  }
}
.dashboard {
  width: 100%;
  max-width: var(--max-w);
  padding: 80px 0 48px;
}
@media (max-width: 768px) {
  .dashboard {
    padding: 32px 20px 40px;
  }
}
.dash-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 40px;
}
.dash-header h1 {
  font-size: 32px;
  color: #041026;
  line-height: 32px;
}
@media (max-width: 768px) {
  .dash-header {
    margin-bottom: 16px;
  }
  .dash-header h1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
  }
}
.dash-section {
  width: 100%;
  height: 686px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(26, 43, 75, 0.04);
  overflow: hidden;
}
@media (max-width: 768px) {
  .dash-section {
    height: auto;
    min-height: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 22px 0 #E5EAF6;
  }
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dash-stat-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px;
}
.dash-stat-card .ds-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.dash-stat-card .ds-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.dash-stat-card .ds-value.red {
  color: var(--jrj-red);
}
.dash-stat-card .ds-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.btn-create {
  padding: 8px 18px;
  background: var(--jrj-red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-create:hover {
  background: var(--jrj-red-hover);
}
.btn-create svg {
  width: 14px;
  height: 14px;
}
.key-table {
  width: 100%;
  border-collapse: collapse;
}
.key-table th,
.key-table td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.key-table th {
  text-align: left;
  background: var(--bg-gray);
  font-weight: 600;
  color: var(--text);
}
.key-table td {
  padding: 12px 14px;
  color: var(--text-sub);
  border-bottom-color: var(--border-light);
}
.key-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .key-table {
    font-size: 12px;
  }
  .key-table th,
  .key-table td {
    padding: 8px 10px;
  }
}
.key-value {
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-show,
.btn-copy-key,
.btn-revoke {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-show {
  background: var(--bg-gray);
  color: var(--text-sub);
  border: 1px solid var(--border);
}
.btn-show:hover {
  background: var(--border-light);
}
.btn-copy-key {
  background: var(--jrj-blue-light);
  color: var(--jrj-blue);
  border: 1px solid rgba(24, 95, 165, 0.12);
}
.btn-copy-key:hover {
  background: rgba(24, 95, 165, 0.12);
}
.btn-revoke {
  background: rgba(191, 23, 57, 0.06);
  color: var(--jrj-red);
  border: 1px solid rgba(191, 23, 57, 0.12);
}
.btn-revoke:hover {
  background: rgba(191, 23, 57, 0.12);
}
.key-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.key-status.active {
  background: var(--jrj-green-bg);
  color: var(--jrj-green);
}
.key-actions {
  display: flex;
  gap: 6px;
}
.usage-chart {
  height: 200px;
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}
.usage-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(191, 23, 57, 0.04));
}
.usage-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.usage-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--jrj-red);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.usage-bar:hover {
  opacity: 1;
}
.welcome-section {
  text-align: center;
  padding: 40px 40px 64px;
  box-sizing: border-box;
}
.welcome-section h2 {
  font-weight: 600;
  font-size: 36px;
  color: #041026;
  line-height: 60px;
  margin-bottom: 8px;
}
.welcome-section .welcome-desc {
  font-weight: 400;
  font-size: 20px;
  color: #041026;
  line-height: 28px;
  margin: 0 auto 52px;
  max-width: 520px;
}
@media (max-width: 768px) {
  .welcome-section {
    width: 100%;
    height: 635.5px;
    background: linear-gradient(134deg, #FFFFFF 50%, #E6F1FF 100%);
    box-shadow: 0px 10px 22px 0px #E5EAF6;
    border-radius: 8px;
    padding: 0 25px 32px;
  }
  .welcome-section h2 {
    font-size: 20px;
    color: #15233C;
    line-height: 28px;
  }
  .welcome-section .welcome-desc {
    font-size: 16px;
    color: #71819C;
    margin: 16px auto 28px;
    max-width: 280px;
  }
}
.welcome-icon {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .welcome-icon {
    width: 150px;
    height: 150px;
  }
}
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
}
.welcome-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 1px;
  background: #e5e8f0;
  z-index: 0;
}
@media (max-width: 768px) {
  .welcome-steps {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    width: 100%;
    margin: 0 auto 24px;
    text-align: left;
  }
  .welcome-steps::before {
    left: 10px;
    right: auto;
    bottom: 18px;
    width: 1px;
    height: auto;
    background: #E5E8F0;
  }
}
.welcome-step {
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.welcome-step h4,
.welcome-step .welcome-step-body h4 {
  font-weight: 500;
  font-size: 20px;
  color: #041026;
  line-height: 28px;
  margin-bottom: 4px;
}
.welcome-step p,
.welcome-step .welcome-step-body p {
  font-weight: 400;
  font-size: 14px;
  color: #5B6B80;
  line-height: 20px;
}
@media (max-width: 768px) {
  .welcome-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 24px;
  }
  .welcome-step:last-child {
    padding-bottom: 0;
  }
  .welcome-step .welcome-step-num {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
  }
  .welcome-step .welcome-step-body {
    flex: 1;
    min-width: 0;
    margin-top: -5px;
  }
  .welcome-step .welcome-step-body h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #15233C;
  }
  .welcome-step .welcome-step-body p {
    font-size: 16px;
    line-height: 28px;
    color: #71819C;
  }
}
.welcome-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.dash-user {
  display: none;
}
@media (max-width: 768px) {
  .dash-user {
    width: 335px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin: 15px 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .dash-user .dash-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: #E8F1FF;
  }
  .dash-user .dash-user-meta {
    min-width: 0;
    flex: 1;
  }
  .dash-user .dash-user-name,
  .dash-user .dash-user-email {
    font-size: 16px;
    line-height: 23px;
  }
  .dash-user .dash-user-name {
    font-weight: 600;
    color: #041026;
  }
  .dash-user .dash-user-email {
    font-weight: 400;
    color: #8C92AD;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.btn-welcome {
  width: 277px;
  height: 60px;
  background: linear-gradient(45deg, #001FDA 0%, #009AF3 100%);
  border-radius: 16px;
  border: none;
  font-weight: 500;
  font-size: 24px;
  color: #fff;
  line-height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  cursor: pointer;
}
.btn-welcome:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.36);
  filter: brightness(1.03);
}
@media (max-width: 768px) {
  .btn-welcome {
    width: 100%;
    max-width: none;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 48px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
  }
}
.empty-keys {
  text-align: center;
  padding: 48px 24px;
}
.empty-keys svg {
  width: 56px;
  height: 56px;
  color: var(--border);
  margin-bottom: 16px;
}
.empty-keys h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.empty-keys p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.first-key-success {
  display: none;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 60px 0;
  margin-bottom: 24px;
  text-align: center;
}
.first-key-success.show {
  display: block;
  animation: fadeInScale 0.4s ease;
}
.first-key-success h3 {
  font-weight: 600;
  font-size: 24px;
  color: #041026;
  line-height: 32px;
  margin-bottom: 10px;
}
.first-key-success .success-desc {
  font-weight: 400;
  font-size: 16px;
  color: #5B6B80;
  line-height: 28px;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .first-key-success {
    width: 100%;
    background: linear-gradient(134deg, #FFFFFF 50%, #E6F1FF 100%);
    box-shadow: 0 10px 22px 0 #E5EAF6;
    border-radius: 8px;
    border: none;
    padding: 42px 12px 32px;
    margin-bottom: 0;
  }
  .first-key-success h3 {
    font-size: 20px;
    color: #15233C;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .first-key-success .success-desc {
    color: #71819C;
    margin-bottom: 16px;
  }
}
.success-icon {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 30px;
}
@media (max-width: 768px) {
  .success-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }
}
.first-key-box {
  height: 64px;
  background: #1E1E2E;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 413px;
  margin: 0 auto 18px;
  box-sizing: border-box;
}
.first-key-box code {
  flex: 1;
  min-width: 0;
  font-family: "SF Mono", "Consolas", monospace;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  line-height: 28px;
  word-break: break-all;
  text-align: left;
}
.first-key-box .first-key-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.first-key-box .btn-copy-first {
  width: 40px;
  height: 24px;
  background: #363644;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
  font-weight: 400;
  font-size: 12px;
  color: #C6C5C9;
  line-height: 24px;
  cursor: pointer;
}
.first-key-box .btn-copy-first:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.first-key-box #btnCopyFirst {
  width: 64px;
  height: 24px;
}
@media (max-width: 768px) {
  .first-key-box {
    width: 100%;
    height: auto;
    min-height: 0;
    background: #1E1E30;
    border-radius: 12px;
    border: 1px solid #979797;
    max-width: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px;
    margin: 0 auto 24px;
  }
  .first-key-box code {
    flex: none;
    width: 100%;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
  }
  .first-key-box .first-key-actions {
    justify-content: center;
    gap: 10px;
  }
  .first-key-box .btn-copy-first {
    width: 64px;
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 32px;
  }
  .first-key-box #btnCopyFirst {
    width: auto;
    height: 32px;
  }
}
.btn-delete-key {
  display: block;
  margin: 0 auto;
  min-width: 120px;
  height: 40px;
  padding: 0 24px;
  background: #fff;
  border: 1px solid #FF3D3C;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #FF3D3C;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-delete-key:hover:not(:disabled) {
  background: rgba(255, 61, 60, 0.06);
}
.btn-delete-key:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-go-console {
  padding: 10px 28px;
  background: var(--jrj-red);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-go-console:hover {
  background: var(--jrj-red-hover);
}
.mcp-toast {
  position: fixed;
  left: 50%;
  top: 96px;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 80%;
  padding: 12px 20px;
  background: rgba(4, 16, 38, 0.88);
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}
.create-key-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.create-key-overlay.active {
  display: flex;
}
.create-key-modal {
  background: var(--bg);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  animation: slideUp 0.25s ease;
}
.create-key-modal h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.create-key-modal .modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.new-key-display {
  background: #1e1e2e;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 16px 0;
  position: relative;
}
.new-key-display code {
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 14px;
  color: #fff;
  word-break: break-all;
  line-height: 1.6;
}
.new-key-alert {
  padding: 12px 14px;
  background: rgba(217, 119, 6, 0.06);
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #92400E;
  line-height: 1.5;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.new-key-alert svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.create-key-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.create-key-actions button {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
#firstKeyPage .btn-delete-key {
  display: none;
}
/* ===== 快速接入（帮助中心「接入配置」文案） ===== */
.quick-integrate {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(26, 43, 75, 0.04);
  padding: 28px 32px 32px;
  box-sizing: border-box;
  text-align: left;
}
@media (max-width: 768px) {
  .quick-integrate {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 22px 0 #E5EAF6;
    background: linear-gradient(134deg, #FFFFFF 50%, #E6F1FF 100%);
    padding: 20px 16px 24px;
    margin-top: 16px;
  }
}
.quick-integrate-header {
  margin-bottom: 8px;
}
.quick-integrate-header h2 {
  font-weight: 600;
  font-size: 20px;
  color: #041026;
  line-height: 28px;
}
.quick-integrate-subtitle {
  font-weight: 400;
  font-size: 14px;
  color: #5B6B80;
  line-height: 22px;
  margin-bottom: 24px;
}
.qi-section {
  margin-bottom: 28px;
}
.qi-section:last-child {
  margin-bottom: 0;
}
.qi-section h3,
.qi-section h4 {
  font-weight: 500;
  font-size: 18px;
  color: #041026;
  line-height: 26px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E3F4;
}
.qi-section h4 {
  border-bottom: none;
  margin-bottom: 0px;
}
.qi-section p {
  font-weight: 400;
  font-size: 15px;
  color: #5B6B80;
  line-height: 24px;
  margin-bottom: 12px;
}
.qi-section code {
  background: var(--bg-gray);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 13px;
  color: #c7254e;
}
.qi-code {
  background: #1e1e2e;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 0;
  overflow-x: auto;
}
.qi-code pre {
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #cdd6f4;
  white-space: pre;
  margin: 0;
}
.qi-code .cs {
  color: #a6e3a1;
}
.qi-code .cv {
  color: #f9e2af;
}
.qi-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
}
.qi-alert.tip {
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.12);
  color: #065F46;
}
.qi-alert code {
  background: rgba(255, 255, 255, 0.5);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: "SF Mono", "Consolas", monospace;
  font-size: 12px;
  color: #065F46;
}
@media (max-width: 768px) {
  #welcomePage {
    flex-direction: column;
    background: linear-gradient(180deg, #EAF3FF 0%, #F5F7FC 48%, #F5F7FC 100%);
  }
  #welcomePage .dashboard {
    padding: 20px 20px 40px;
  }
  #firstKeyPage {
    background: linear-gradient(180deg, #EAF3FF 0%, #F5F7FC 48%, #F5F7FC 100%);
  }
  #firstKeyPage .dashboard {
    padding: 28px 20px 40px;
  }
  #firstKeyPage .dash-header {
    margin-bottom: 20px;
  }
  #firstKeyPage .dash-header h1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #041026;
  }
}
