/* 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;
}
:root {
  --app-bg: #f7f8fb;
  --app-surface: rgba(255, 255, 255, 0.78);
  --app-surface-solid: #ffffff;
  --app-sidebar: rgba(255, 255, 255, 0.86);
  --app-border: rgba(15, 23, 42, 0.08);
  --app-border-strong: rgba(15, 23, 42, 0.14);
  --app-text: #101828;
  --app-muted: #667085;
  --app-muted-strong: #475467;
  --app-primary: #14b8a6;
  --app-primary-hover: #0d9488;
  --app-primary-soft: rgba(20, 184, 166, 0.12);
  --app-cyan-soft: #e9f7fb;
  --app-amber-soft: #fff7e6;
  --app-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --app-shadow-md: 0 20px 50px rgba(15, 23, 42, 0.11);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  background: var(--app-bg);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), transparent 36%), linear-gradient(180deg, #ffffff 0%, var(--app-bg) 54%, #eef2f6 100%);
  color: var(--app-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
}

#app {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(122, 130, 143, 0.32);
  background-clip: content-box;
}

.ant-layout {
  min-width: 0;
  background: transparent;
}

.ant-card {
  max-width: 100%;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--app-shadow-sm);
  backdrop-filter: blur(18px);
}

.ant-card-head {
  min-height: 56px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  padding: 0 24px;
  background: transparent !important;
}

.ant-card-head-title {
  color: var(--app-text);
  font-size: 16px;
  font-weight: 700;
}

.ant-card-body {
  padding: 24px;
}

.ant-btn {
  border-radius: 12px;
  font-weight: 650;
  box-shadow: none;
}

.ant-btn-primary {
  background: linear-gradient(90deg, var(--app-primary), var(--app-primary-hover));
  border-color: var(--app-primary);
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.22);
}

.ant-btn-primary:not(:disabled):hover {
  background: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
}

.ant-btn-link {
  color: var(--app-primary);
}

.ant-input,
.ant-input-affix-wrapper,
.ant-select-selector,
.ant-input-number,
.ant-picker {
  min-height: 40px;
  border-radius: 12px !important;
  border-color: var(--app-border-strong) !important;
  box-shadow: none !important;
}

.ant-input:hover,
.ant-input-affix-wrapper:hover,
.ant-select-selector:hover,
.ant-picker:hover {
  border-color: var(--app-primary) !important;
}

.ant-input:focus,
.ant-input-affix-wrapper-focused,
.ant-select-focused .ant-select-selector,
.ant-picker-focused {
  border-color: var(--app-primary) !important;
  box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.12) !important;
}

.ant-table-wrapper {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.82);
  background: var(--app-surface-solid);
  box-shadow: var(--app-shadow-sm);
}

.ant-table {
  color: var(--app-text);
}

.ant-table-thead > tr > th {
  background: #f9fafb !important;
  color: var(--app-muted-strong);
  font-size: 12px;
  font-weight: 650;
}

.ant-table-tbody > tr > td {
  border-bottom-color: var(--app-border);
}

.ant-table-tbody > tr:hover > td {
  background: #fbfcfd !important;
}

.ant-tag {
  border-radius: 4px;
  font-weight: 560;
}

.ant-modal-content,
.ant-dropdown-menu,
.ant-popover-inner {
  border-radius: 16px !important;
  box-shadow: var(--app-shadow-md) !important;
}

.ant-empty-description {
  color: var(--app-muted);
}

.page-panel {
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow-sm);
}

.workspace-page {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workspace-hero {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  box-shadow: none;
  backdrop-filter: none;
}

.workspace-hero::after {
  display: none;
}

.workspace-kicker {
  margin: 0 0 6px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 650;
}

.workspace-title {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--app-text);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.workspace-subtitle {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.65;
}

.workspace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.workspace-panel {
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(229, 231, 235, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--app-shadow-sm);
  backdrop-filter: blur(18px);
}

.workspace-panel .ant-card-head {
  background: transparent;
}

.workspace-grid {
  display: grid;
  gap: 14px;
}

.workspace-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workspace-stat {
  border: 1px solid rgba(229, 231, 235, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
  box-shadow: var(--app-shadow-sm);
}

.workspace-stat-label {
  color: var(--app-muted);
  font-size: 12px;
}

.workspace-stat-value {
  margin-top: 4px;
  color: var(--app-text);
  font-size: 28px;
  font-weight: 800;
}

.workspace-muted {
  color: var(--app-muted);
}

.workspace-result {
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: #f8fafc;
  color: var(--app-muted-strong);
}

.section-card,
.modal-card,
.fn-card,
.metric-card {
  box-shadow: var(--app-shadow-sm);
}

.ant-tag {
  border-radius: 999px;
  padding-inline: 8px;
}

@media (max-width: 768px) {
  .ant-layout-content,
  .ant-card,
  .ant-card-body,
  .ant-table-wrapper {
    min-width: 0;
    max-width: 100%;
  }
  .ant-table-content,
  .ant-table-body {
    max-width: 100%;
    overflow-x: auto !important;
  }
  .ant-modal {
    max-width: calc(100vw - 16px) !important;
    margin: 8px auto !important;
  }
  .ant-modal-content {
    max-height: calc(100vh - 16px);
    overflow: hidden;
  }
  .ant-modal-body {
    max-height: calc(100vh - 132px);
    overflow: auto;
    padding: 16px;
  }
  .ant-card-body {
    padding: 14px;
  }
  .ant-card-head {
    min-height: 50px;
    padding: 0 14px;
  }
  .ant-card-head-wrapper {
    min-width: 0;
    gap: 8px;
  }
  .ant-card-head-title,
  .ant-card-extra {
    min-width: 0;
  }
  .workspace-hero {
    min-height: auto;
    padding: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .workspace-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }
  .workspace-actions .ant-btn,
  .workspace-actions .ant-select {
    width: 100%;
    max-width: 100%;
  }
  .workspace-actions.account-picker {
    grid-template-columns: 1fr;
  }
  .workspace-title {
    font-size: 21px;
    line-height: 1.25;
  }
  .workspace-grid.cols-2,
  .workspace-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .workspace-actions {
    grid-template-columns: 1fr;
  }
  .workspace-subtitle {
    font-size: 12px;
    line-height: 1.55;
  }
}