
/* 服务条款弹窗样式 */
.agreement-content[data-v-d32617f4] {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}
.agreement-header[data-v-d32617f4] {
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #2D98DA;
}
.agreement-header p[data-v-d32617f4] {
  margin-bottom: 4px;
  font-size: 13px;
}
.agreement-header p[data-v-d32617f4]:last-child {
  margin-bottom: 0;
}
.agreement-notice[data-v-d32617f4] {
  background: #FEF3C7;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FCD34D;
}
.agreement-notice p[data-v-d32617f4] {
  margin-bottom: 8px;
}
.agreement-notice p[data-v-d32617f4]:last-child {
  margin-bottom: 0;
}
.agreement-content h3[data-v-d32617f4] {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}
.agreement-content h3[data-v-d32617f4]:first-child {
  margin-top: 0;
}
.agreement-content p[data-v-d32617f4] {
  margin-bottom: 10px;
  text-indent: 0;
}
.agreement-footer[data-v-d32617f4] {
  background: #FEE2E2;
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
  border: 1px solid #FECACA;
}
.agreement-footer p[data-v-d32617f4] {
  margin-bottom: 8px;
}
.agreement-footer p[data-v-d32617f4]:last-child {
  margin-bottom: 0;
  color: #059669;
  font-weight: 500;
}

/* 滚动条样式 */
.agreement-content[data-v-d32617f4]::-webkit-scrollbar {
  width: 6px;
}
.agreement-content[data-v-d32617f4]::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 3px;
}
.agreement-content[data-v-d32617f4]::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}
.agreement-content[data-v-d32617f4]::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft YaHei", sans-serif;
}
html, body {
  height: 100%;
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}
.container {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
}

/* ========== 导航栏：商用专业级 ========== */
.nav {
  background: #253147;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  position: relative;
}

/* 移动端菜单按钮 */
.nav-mobile-toggle {
  display: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}
.nav-left {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}
.nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.nav a.router-link-active {
  background: rgba(45, 152, 218, 0.15);
  color: #2D98DA;
  font-weight: 500;
  border: 1px solid rgba(45, 152, 218, 0.2);
}

/* ========== 移动端适配 ========== */
/* 移动端菜单遮罩 */
.mobile-menu-overlay {
  display: none;
}
@media screen and (max-width: 768px) {
.mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
      opacity: 0;
}
to {
      opacity: 1;
}
}
.nav {
    padding: 12px 16px;
}
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.nav-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}
.nav-mobile-toggle:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}
.nav-left {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #253147;
    flex-direction: column;
    padding: 8px 16px;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top;
    animation: none;
}
.nav-left.mobile-show {
    display: flex;
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from {
      opacity: 0;
      transform: translateY(-10px);
}
to {
      opacity: 1;
      transform: translateY(0);
}
}
.nav-left a {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.nav-left a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #2D98DA;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.nav-left a:hover::before,
  .nav-left a.router-link-active::before {
    transform: scaleY(1);
}
.nav-right {
    order: 2;
    margin-left: auto;
}
.login-text {
    display: none;
}
.login-btn {
    padding: 6px 12px;
}
.user-card .nickname {
    display: none;
}
.container {
    padding: 16px 12px;
}
}

/* 登录按钮 */
.login-btn {
  background: #2D98DA;
  border-color: #2D98DA;
  font-weight: 500;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 14px;
  transition: all 0.2s ease;
}
.login-btn:hover {
  background: #2383C4;
  border-color: #2383C4;
  box-shadow: 0 2px 4px rgba(45, 152, 218, 0.2);
}
.login-btn:active {
  background: #1E70A4;
  border-color: #1E70A4;
}

/* 用户卡片 */
.user-card {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.user-card:hover {
  background: rgba(255,255,255,0.08);
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}
.nickname {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 底部 */
.footer {
  background: #F8FAFC;
  text-align: center;
  padding: 18px 20px;
  font-size: 13px;
  color: #64748B;
  border-top: 1px solid #E2E8F0;
}
.footer-link {
  color: #2D98DA;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #2383C4;
  text-decoration: underline;
}

/* 登录弹窗 */
.qrcode-box {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border: 1px solid #E2E8F0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.qrcode {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qrcode-status {
  font-size: 13px;
  color: #64748B;
  margin-top: 10px;
}

/* ========== 登录弹窗样式 ========== */
.login-modal-content {
  padding: 20px 0;
}
.login-init {
  text-align: center;
}
.login-tip {
  margin-top: 12px;
  color: #999;
  font-size: 13px;
}
.agreement-tip {
  margin-top: 16px;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 6px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.6;
  text-align: left;
}
.qrcode-container {
  text-align: center;
}
.login-switch {
  margin-top: 20px;
}

/* ========== 支付说明弹窗样式 ========== */
.payment-content {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}
.payment-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-top: 20px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E2E8F0;
}
.payment-content h3:first-child {
  margin-top: 0;
}
.payment-content p {
  margin-bottom: 8px;
}
.email-login-form {
  /* 邮箱登录表单样式 */
}

/* 商用 SaaS 统一容器规范 —— 和全局布局对齐 */
.page-container {
  padding: 28px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* 页面标题：商用高级排版 */
.ant-page-header {
  padding: 0 0 24px 0 !important;
}
.ant-page-header-heading-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
}
.ant-page-header-heading-sub-title {
  font-size: 14px !important;
  color: #64748B !important;
}

/* 商用卡片：高级、柔和、质感、不浮夸 */
.card-item {
  text-align: center;
  padding: 32px 20px;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid #F1F5F9;
  background: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 24, 64, 0.08);
  border-color: #CBD5E1;
}

/* 图标：商用级大小、间距 */
.icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 16px;
}

/* 标题：专业、清晰 */
.title {
  font-size: 17px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

/* 描述：柔和灰，不刺眼 */
.desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
.page-container {
    padding: 16px 12px;
}
.card-item {
    padding: 20px 12px;
}
.icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.title {
    font-size: 15px;
    margin-bottom: 6px;
}
.desc {
    font-size: 12px;
}
}
/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}
/* --------------------------
  全局页面容器（所有页面用这个 class）
--------------------------- */
.global-page {
    padding: 24px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* --------------------------
  AI 输出内容框（所有页面通用）
--------------------------- */
.global-markdown {
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
    height: 440px;
    max-height: 440px;
    min-height: 440px;
    overflow-y: auto;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    border: 1px solid #E2E8F0;
    box-sizing: border-box;
}
.global-markdown h1 {
    font-size: 20px;
    margin: 14px 0 10px;
    color: #1E293B;
    font-weight: 600;
}
.global-markdown h2 {
    font-size: 18px;
    margin: 12px 0 8px;
    color: #334155;
    font-weight: 600;
}
.global-markdown h3 {
    font-size: 16px;
    margin: 10px 0 6px;
    color: #475569;
    font-weight: 600;
}
.global-markdown p {
    margin: 8px 0;
    color: #334155;
    text-align: justify;
}
.global-markdown strong {
    color: #1E293B;
    font-weight: 600;
}

/* --------------------------
  高亮样式（所有页面通用）
--------------------------- */
.global-highlight {
    background: #FEF3C7 !important;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
    color: #92400E;
}

/* --------------------------
  滚动条美化
--------------------------- */
.global-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.global-scrollbar::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}
.global-scrollbar::-webkit-scrollbar-track {
    background: #F1F5F9;
}

/* --------------------------
  ✅ 关键：所有页面 textarea 自动统一高度
--------------------------- */
.ant-card textarea.ant-input {
    height: 440px !important;
    max-height: 440px !important;
    min-height: 440px !important;
    resize: none !important;
    box-sizing: border-box !important;
}/**
 * 全局移动端适配样式
 * 断点: 768px (平板/手机)
 */

/* ==================== 移动端通用样式 ==================== */
@media screen and (max-width: 768px) {
  /* 页面容器适配 */
  .page-container {
    padding: 12px !important;
  }

  /* 卡片适配 */
  .ant-card {
    margin-bottom: 12px !important;
  }

  .ant-card-body {
    padding: 12px !important;
  }

  /* 表单适配 */
  .ant-form-item {
    margin-bottom: 12px !important;
  }

  /* 按钮适配 */
  .ant-btn {
    font-size: 14px !important;
  }

  /* 输入框适配 */
  .ant-input,
  .ant-input-textarea textarea {
    font-size: 16px !important; /* 防止iOS自动缩放 */
  }

  /* 标题适配 */
  h1, h2, h3 {
    font-size: 18px !important;
  }

  /* 描述列表适配 */
  .ant-descriptions-item-label,
  .ant-descriptions-item-content {
    font-size: 14px !important;
  }

  /* 模态框适配 */
  .ant-modal {
    max-width: 95vw !important;
    margin: 10px auto !important;
  }

  .ant-modal-body {
    padding: 12px !important;
  }

  /* 栅格系统适配 */
  .ant-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* 页面头部适配 */
  .ant-page-header {
    padding: 12px !important;
  }

  .ant-page-header-heading-title {
    font-size: 18px !important;
  }
}

/* ==================== 小屏幕手机适配 (< 576px) ==================== */
@media screen and (max-width: 576px) {
  .page-container {
    padding: 8px !important;
  }

  .ant-card-body {
    padding: 8px !important;
  }

  h1, h2, h3 {
    font-size: 16px !important;
  }
}
