:root {
  color: #172033;
  background: #f4f7fb;
  font-family:
    "Noto Sans CJK SC",
    "Noto Sans SC",
    "Source Han Sans SC",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #f4f7fb;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 251, 0.98) 260px),
    #f5f7fb;
  font-size: 14px;
  line-height: 1.68;
}

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

button,
input,
textarea,
select {
  font: inherit;
  font-family: inherit;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  letter-spacing: 0;
  text-wrap: pretty;
}

p,
li,
td,
th {
  overflow-wrap: anywhere;
}

strong,
b {
  font-weight: 600;
}

code,
pre,
kbd,
samp {
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    Monaco,
    "Noto Sans Mono CJK SC",
    monospace;
}

.ant-typography,
.ant-btn,
.ant-input,
.ant-input-affix-wrapper,
.ant-select,
.ant-select-item,
.ant-menu,
.ant-table,
.ant-modal,
.ant-drawer,
.ant-message,
.ant-notification,
.ant-tooltip {
  font-family: inherit;
  letter-spacing: 0;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

::selection {
  color: #ffffff;
  background: #0f766e;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

.ant-card,
.ant-modal-content,
.ant-drawer-content,
.ant-table-wrapper .ant-table {
  border-radius: 8px;
}

.app-surface {
  border: 1px solid rgba(24, 34, 48, 0.08);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.app-page-band {
  border: 1px solid rgba(24, 34, 48, 0.08);
  background:
    linear-gradient(135deg, rgba(21, 94, 117, 0.08), rgba(37, 99, 235, 0.06) 45%, rgba(180, 83, 9, 0.05)),
    #ffffff;
}
#root {
  min-width: 320px;
  min-height: 100vh;
}

.app-surface {
  min-height: 100vh;
}
