@charset "UTF-8";
:root {
  color-scheme:light;
  --bg:#f4f7fc;
  --surface:#fff;
  --text:#202d45;
  --muted:#7b879c;
  --line:#e8edf5;
  --blue:#376cf5;
  --blue-dark:#2354d3;
  --blue-soft:#edf3ff;
  --green:#168563;
  --red:#ce4256;
  --amber:#b17418;
  --shadow:0 4px 24px #263f7010;
  --radius:16px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;
  line-height:1.6;
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text)
}
[hidden] {
  display:none!important
}
a {
  color:var(--blue);
  text-decoration:none
}
button,input,textarea,select {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:not-allowed;
  opacity:.5
}
a,button {
  touch-action:manipulation
}
button {
  color:inherit
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #90b3ff;
  outline-offset:3px
}
button,input,select,textarea {
  border-radius:9px
}
input,select,textarea {
  max-width:100%;
  border:1px solid #dfe6f1;
  background:#fff;
  color:var(--text);
  padding:11px 13px;
  min-height:44px
}
input:focus,select:focus,textarea:focus {
  border-color:#8cacf9;
  outline:2px solid #376cf51a
}
input::placeholder,textarea::placeholder {
  color:#9ca7b9
}
textarea {
  resize:vertical
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  line-height:1.4
}
h1 {
  font-size:28px;
  letter-spacing:-.7px
}
h2 {
  font-size:17px
}
h3 {
  font-size:15px
}
small {
  font-size:12px
}
code,pre {
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace
}
code {
  font-size:.9em
}
pre {
  margin:0;
  white-space:pre;
  overflow:auto;
  tab-size:2
}
svg.icon {
  display:inline-block;
  width:20px;
  height:20px;
  flex-shrink:0;
  vertical-align:middle
}
.skip-link {
  position:fixed;
  top:-70px;
  left:20px;
  z-index:1000;
  background:#fff;
  padding:12px 20px;
  border-radius:8px
}
.skip-link:focus {
  top:12px
}
.boot {
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  gap:20px;
  align-items:center;
  justify-content:center;
  color:var(--muted)
}
.boot .brand-mark {
  animation:pulse 1.8s ease-in-out infinite
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--text);
  font-size:28px;
  font-weight:750;
  letter-spacing:-.8px;
  line-height:1.1
}
.brand small {
  display:block;
  margin-top:7px;
  font-size:10px;
  font-weight:500;
  letter-spacing:2px;
  color:var(--muted)
}
.brand-mark {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:13px;
  background:var(--blue);
  box-shadow:0 5px 14px #376cf529;
  color:#fff
}
.brand-mark .icon {
  width:29px;
  height:29px
}
.eyebrow {
  font-size:12px;
  letter-spacing:2px;
  font-weight:600;
  color:var(--blue)
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:1px solid transparent;
  width:36px;
  height:36px;
  border-radius:9px;
  flex-shrink:0
}
.icon-button:hover {
  background:var(--blue-soft);
  color:var(--blue)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 16px;
  border:1px solid var(--line);
  border-radius:9px;
  background:white;
  color:#4b5970;
  font-weight:550;
  white-space:nowrap;
  line-height:1.5;
  transition:background .15s,box-shadow .15s
}
.button:hover {
  background:#f7f9fd;
  border-color:#d4def0
}
.button.primary {
  background:var(--blue);
  color:white;
  border-color:var(--blue);
  box-shadow:0 3px 8px #376cf51c
}
.button.primary:hover {
  background:var(--blue-dark)
}
.button.soft {
  background:var(--blue-soft);
  border-color:transparent;
  color:var(--blue)
}
.button.danger {
  color:var(--red);
  background:#fff3f4;
  border-color:#f9dce1
}
.button.small {
  min-height:34px;
  padding:6px 11px;
  font-size:12px
}
.button .icon {
  width:17px;
  height:17px
}
.button.full {
  width:100%
}
.text-button {
  border:0;
  background:none;
  padding:0;
  color:var(--blue);
  font:inherit;
  cursor:pointer
}
.muted {
  color:var(--muted)
}
.mono {
  font-family:"SFMono-Regular",Consolas,monospace;
  font-size:12px
}
.break-word {
  overflow-wrap:anywhere
}
.inline-actions {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap
}
.admin-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:#8a96aa
}
.admin-link .icon {
  height:12px;
  width:12px
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  border-radius:6px;
  padding:3px 8px;
  font-size:11px;
  font-weight:550;
  background:var(--blue-soft);
  color:var(--blue)
}
.badge.green {
  background:#eaf7f0;
  color:var(--green)
}
.badge.red {
  background:#fff0f2;
  color:var(--red)
}
.badge.gray {
  background:#f0f3f8;
  color:#7b879c
}
.badge.amber {
  background:#fff6e6;
  color:var(--amber)
}
.dot {
  height:6px;
  width:6px;
  border-radius:50%;
  background:currentColor
}
.empty-state {
  padding:48px 20px;
  text-align:center;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px
}
.empty-state .empty-symbol {
  display:grid;
  place-items:center;
  border-radius:16px;
  background:var(--blue-soft);
  color:var(--blue);
  height:56px;
  width:56px;
  margin-bottom:4px
}
.empty-state .empty-symbol .icon {
  height:26px;
  width:26px
}
.empty-state h3 {
  color:var(--text)
}
.empty-state p {
  max-width:450px;
  font-size:13px
}
.empty-state .button {
  margin-top:8px
}
.loading-state {
  padding:65px 20px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  color:var(--muted)
}
.spinner {
  width:19px;
  height:19px;
  border:2px solid #dae5fb;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin .8s linear infinite
}
.noscript {
  position:fixed;
  inset:0;
  z-index:1001;
  background:white;
  display:grid;
  place-items:center;
  padding:30px;
  text-align:center
}
.auth-layout {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr 1fr
}
.auth-story {
  position:relative;
  overflow:hidden;
  padding:46px 9%;
  display:flex;
  flex-direction:column;
  background:radial-gradient(ellipse at 55% 53%,#dfeaff 0,#edf3ff 45%,#f5f8ff 85%);
  min-height:100dvh
}
.auth-story-main {
  flex:1;
  padding-top:70px
}
.auth-story h1 {
  font-size:46px;
  line-height:1.4;
  letter-spacing:-2px;
  margin-top:21px
}
.auth-story h1>span {
  color:var(--blue)
}
.auth-story-main>p {
  margin-top:22px;
  color:#7e8aa2;
  line-height:1.9;
  font-size:15px
}
.auth-story-footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:11px;
  color:#8c9ab1;
  padding-top:25px
}
.auth-features {
  display:flex;
  gap:22px;
  font-size:11px;
  color:#60769a;
  flex-wrap:wrap
}
.auth-features>span {
  display:flex;
  align-items:center;
  gap:6px
}
.auth-features .icon {
  width:16px;
  height:16px
}
.orbit-art {
  height:270px;
  position:relative;
  max-width:400px;
  margin:20px auto 10px
}
.orbit-ring {
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid #b9cef980;
  border-radius:50%;
  width:320px;
  height:140px;
  transform:translate(-50%,-50%) rotate(-28deg)
}
.orbit-ring-two {
  transform:translate(-50%,-50%) rotate(35deg);
  width:300px;
  height:180px
}
.orbit-ring-three {
  transform:translate(-50%,-50%) rotate(85deg);
  width:260px;
  height:170px
}
.orbit-center {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:97px;
  height:97px;
  background:linear-gradient(145deg,#70a1ff,#3462ed);
  border:6px solid #fff9;
  border-radius:29px;
  box-shadow:0 15px 40px #376cf540;
  display:grid;
  place-items:center;
  color:#fff
}
.orbit-center .icon {
  height:55px;
  width:55px
}
.orbit-satellite {
  position:absolute;
  display:grid;
  place-items:center;
  background:#fff;
  box-shadow:0 6px 20px #376cf515;
  width:44px;
  height:44px;
  border:1px solid #e7efff;
  border-radius:13px;
  color:var(--blue)
}
.satellite-one {
  top:38px;
  left:16%
}
.satellite-two {
  top:65px;
  right:5%
}
.satellite-three {
  bottom:23px;
  left:34%
}
.orbit-star {
  position:absolute;
  width:7px;
  height:7px;
  background:#82a6f9;
  border-radius:50%
}
.star-one {
  left:10%;
  bottom:73px
}
.star-two {
  right:27%;
  bottom:35px
}
.auth-form-side {
  background:white;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:60px 45px
}
.auth-card {
  width:100%;
  max-width:385px
}
.auth-card .eyebrow {
  font-size:11px
}
.auth-card h2 {
  font-size:30px;
  letter-spacing:-1px;
  margin:12px 0 10px
}
.auth-description {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  margin-bottom:26px
}
.auth-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#f3f6fb;
  border-radius:10px;
  padding:4px;
  margin-bottom:25px
}
.auth-tab {
  background:transparent;
  border:0;
  padding:9px;
  color:var(--muted);
  font-size:13px
}
.auth-tab[aria-selected=true] {
  background:#fff;
  color:var(--blue);
  box-shadow:0 2px 5px #1426410a
}
.auth-security {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:#98a3b5;
  margin:28px 0 17px;
  text-align:center
}
.auth-security .icon {
  height:14px;
  width:14px
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:18px
}
.field>label,.field-label {
  font-size:12px;
  font-weight:600;
  color:#4c5a70
}
.field>input,.field>select,.field>textarea {
  width:100%
}
.field small,.field-help {
  font-size:11px;
  line-height:1.7;
  color:var(--muted)
}
.field-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
.password-wrap {
  display:flex;
  position:relative
}
.password-wrap>input {
  width:100%;
  padding-right:45px
}
.password-wrap .icon-button {
  position:absolute;
  right:5px;
  top:4px
}
.form-error {
  font-size:12px;
  line-height:1.7;
  color:var(--red);
  background:#fff1f3;
  border:1px solid #fadbe1;
  border-radius:9px;
  padding:11px 13px;
  margin-bottom:16px;
  overflow-wrap:anywhere
}
.notice {
  display:flex;
  align-items:flex-start;
  gap:10px;
  border:1px solid #dfe8fc;
  background:#f2f6ff;
  color:#617597;
  padding:13px 16px;
  border-radius:10px;
  font-size:12px;
  line-height:1.8
}
.notice .icon {
  height:17px;
  width:17px;
  margin-top:2px
}
.notice.warning {
  background:#fff9ed;
  border-color:#f5e5c7;
  color:#99702d
}
.auth-card>.notice {
  margin-bottom:20px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:240px;
  z-index:50;
  background:#fff;
  border-right:1px solid var(--line);
  padding:30px 20px 16px;
  display:flex;
  flex-direction:column;
  overflow-y:auto
}
.sidebar>.brand {
  margin:0 12px 30px
}
.workspace-account {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 9px;
  background:#f7f9fd;
  border:1px solid #edf1f7;
  border-radius:11px;
  margin-bottom:27px;
  color:var(--text)
}
.workspace-account>.icon {
  width:14px;
  height:14px;
  color:#8d99ad
}
.avatar {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:36px;
  height:36px;
  border-radius:11px;
  background:#e9f0ff;
  color:var(--blue);
  font-size:14px;
  font-weight:650
}
.avatar-small {
  height:31px;
  width:31px;
  border-radius:50%;
  font-size:12px
}
.account-text {
  flex:1;
  min-width:0
}
.account-text strong {
  display:block;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.account-text small {
  display:block;
  color:#94a0b2;
  font-size:10px;
  margin-top:1px
}
.nav-label {
  font-size:10px;
  color:#a0aabc;
  padding:0 12px;
  margin:0 0 10px;
  letter-spacing:1px
}
.nav-tools-label {
  margin-top:26px;
  margin-bottom:10px
}
#primary-nav {
  display:flex;
  flex-direction:column;
  gap:5px
}
#primary-nav>a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 13px;
  color:#78859a;
  font-size:12px;
  border-radius:9px;
  min-height:43px
}
#primary-nav>a:hover {
  background:#f5f8ff;
  color:var(--blue)
}
#primary-nav>a.active {
  background:var(--blue-soft);
  color:var(--blue);
  font-weight:600
}
#primary-nav>a .icon {
  width:18px;
  height:18px
}
.nav-badge {
  margin-left:auto;
  font-size:9px;
  background:#eef3fb;
  color:#90a0ba;
  padding:1px 5px;
  border-radius:4px
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:35px
}
.sidebar-quota {
  border:1px solid #e6ecf9;
  background:linear-gradient(135deg,#f5f8ff,#fcfdff);
  padding:15px 13px;
  border-radius:12px
}
.sidebar-quota-label {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:#7e8ca5
}
.sidebar-quota-label .icon {
  width:14px;
  height:14px;
  color:var(--blue)
}
.sidebar-quota>strong {
  display:block;
  font-size:26px;
  font-weight:650;
  letter-spacing:-1px;
  margin:7px 0 0;
  color:#4168bc
}
.sidebar-quota p {
  font-size:10px;
  color:#99a4b6;
  margin:2px 0 12px
}
.sidebar-quota a {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px
}
.sidebar-quota a .icon {
  height:13px;
  width:13px
}
.sidebar-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:17px 4px 0;
  font-size:9px;
  color:#a8b1c0
}
.sidebar-meta .admin-link {
  font-size:9px
}
.main-wrap {
  margin-left:240px;
  min-height:100dvh;
  display:flex;
  flex-direction:column
}
.topbar {
  height:77px;
  background:#ffffffdb;
  border-bottom:1px solid var(--line);
  padding:0 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px
}
.breadcrumb,.topbar-actions,.topbar-account,.topbar-docs {
  display:flex;
  align-items:center
}
.breadcrumb {
  gap:13px;
  font-size:11px
}
.breadcrumb-root {
  color:#9ba5b6
}
.breadcrumb>.icon {
  width:12px;
  height:12px;
  color:#abb5c6
}
.topbar-actions {
  gap:21px
}
.topbar-docs {
  gap:7px;
  color:#8591a4;
  font-size:11px
}
.topbar-docs .icon {
  width:15px;
  height:15px
}
.topbar-divider {
  height:20px;
  width:1px;
  background:var(--line)
}
.topbar-account {
  gap:9px;
  font-size:11px;
  color:#627087;
  max-width:210px
}
.topbar-account>span:not(.avatar) {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.topbar-account>.icon {
  width:12px;
  height:12px;
  color:#9da8b9
}
.mobile-menu {
  display:none
}
#main {
  padding:32px 36px 24px;
  flex:1;
  outline:none;
  min-width:0
}
#page {
  max-width:1440px;
  margin:0 auto
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:26px
}
.page-heading p {
  font-size:12px;
  color:var(--muted);
  margin-top:6px
}
.page-heading h1 {
  font-size:25px
}
.heading-actions {
  display:flex;
  gap:9px;
  align-items:center;
  flex-shrink:0
}
.page-footer {
  padding:15px 36px 22px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:10px;
  color:#a1aabc
}
.page-footer strong {
  color:#8d98aa;
  font-size:11px;
  font-weight:600
}
.footer-slash {
  margin:0 10px;
  color:#c2cada
}
.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  min-width:0
}
.card-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:21px 23px;
  border-bottom:1px solid #f0f3f8
}
.card-header h2 {
  font-size:14px
}
.card-header p {
  font-size:11px;
  margin-top:4px;
  color:var(--muted)
}
.card-header>.inline-actions {
  font-size:11px
}
.card-body {
  padding:23px
}
.welcome-banner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
  background:linear-gradient(105deg,#edf3ff 0,#f8fbff 75%);
  border:1px solid #e0e9ff;
  border-radius:var(--radius);
  padding:26px 28px;
  margin-bottom:23px;
  gap:20px
}
.welcome-banner h2 {
  font-size:20px;
  letter-spacing:-.5px;
  margin-bottom:7px
}
.welcome-banner p {
  font-size:12px;
  color:#8291ad;
  max-width:650px
}
.welcome-banner .inline-actions {
  margin-top:17px
}
.welcome-art {
  display:grid;
  place-items:center;
  width:98px;
  height:98px;
  background:#fff9;
  border:1px solid #e2eaff;
  border-radius:28px;
  transform:rotate(-10deg);
  color:#5c85f4;
  box-shadow:0 8px 30px #376cf510;
  flex-shrink:0;
  margin:0 24px
}
.welcome-art .icon {
  width:60px;
  height:60px
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:17px;
  margin-bottom:23px
}
.stat-card {
  padding:20px 21px
}
.stat-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:#8c97aa
}
.stat-icon {
  display:grid;
  place-items:center;
  background:var(--blue-soft);
  height:31px;
  width:31px;
  border-radius:9px;
  color:var(--blue)
}
.stat-icon .icon {
  width:16px;
  height:16px
}
.stat-value {
  display:block;
  font-size:29px;
  line-height:1.4;
  letter-spacing:-1px;
  font-weight:650;
  margin:10px 0 6px;
  font-variant-numeric:tabular-nums
}
.stat-foot {
  font-size:10px;
  color:#9ba6b7;
  display:flex;
  gap:7px;
  align-items:center;
  flex-wrap:wrap
}
.stat-card:first-child .stat-value {
  color:var(--blue)
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);
  gap:22px;
  margin-bottom:23px
}
.chart-card .card-body {
  padding:18px 22px 16px
}
.chart-legend {
  display:flex;
  gap:15px;
  font-size:10px;
  color:#8b96aa;
  flex-wrap:wrap
}
.chart-legend span {
  display:flex;
  align-items:center;
  gap:5px
}
.chart-legend .dot {
  background:var(--blue)
}
.chart-legend .error-dot {
  background:#f0a78f
}
.chart-canvas {
  display:block;
  width:100%;
  height:224px
}
.chart-summary {
  display:flex;
  gap:18px;
  font-size:10px;
  color:#9ca7b8;
  margin-top:6px;
  flex-wrap:wrap
}
.chart-summary strong {
  color:#6d7e9b;
  font-weight:550
}
.chart-table {
  margin-top:12px
}
.chart-table summary {
  font-size:10px;
  color:#8b99b0;
  cursor:pointer
}
.chart-table table {
  font-size:10px
}
.quick-steps {
  display:flex;
  flex-direction:column;
  gap:0
}
.quick-step {
  display:flex;
  gap:12px;
  padding:16px 21px;
  border-bottom:1px solid #f1f4f9;
  color:var(--text)
}
.quick-step:last-child {
  border-bottom:0
}
.quick-step:hover {
  background:#fafcff
}
.step-number {
  display:grid;
  place-items:center;
  background:#eff4ff;
  color:#7294ec;
  border-radius:8px;
  height:27px;
  width:27px;
  flex-shrink:0;
  font-size:11px
}
.quick-step h3 {
  font-size:12px;
  font-weight:550;
  margin:0 0 4px
}
.quick-step p {
  font-size:10px;
  color:#9aa5b8;
  line-height:1.8
}
.quick-step>.icon {
  margin-left:auto;
  height:14px;
  width:14px;
  color:#bbc5d6;
  margin-top:5px
}
.quick-callout {
  font-size:10px;
  line-height:1.9;
  color:#8a99b1;
  padding:17px 22px;
  background:#fbfcff;
  border-radius:0 0 16px 16px
}
.table-wrap {
  overflow-x:auto;
  border-radius:0 0 var(--radius) var(--radius)
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  white-space:nowrap;
  font-size:11px
}
th {
  background:#fafbfd;
  color:#97a2b5;
  font-size:10px;
  font-weight:500;
  padding:12px 21px;
  border-bottom:1px solid #edf1f7
}
td {
  padding:16px 21px;
  border-bottom:1px solid #f0f3f8;
  color:#718099
}
tbody tr:last-child td {
  border-bottom:0
}
tbody tr:hover {
  background:#fcfdff
}
.cell-title {
  display:flex;
  align-items:center;
  gap:8px;
  color:#42526c;
  font-weight:550
}
.cell-title .icon {
  width:14px;
  height:14px;
  color:#88a1ce
}
.cell-sub {
  display:block;
  font-size:9px;
  margin-top:4px;
  color:#9ca8b9;
  font-weight:400
}
.cell-ellipsis {
  max-width:200px;
  overflow:hidden;
  text-overflow:ellipsis
}
.table-actions {
  display:flex;
  align-items:center;
  gap:3px
}
.table-actions .icon-button {
  width:30px;
  height:30px
}
.table-actions .icon {
  width:15px;
  height:15px
}
.toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:20px
}
.search-field {
  display:flex;
  position:relative;
  align-items:center;
  max-width:370px;
  flex:1
}
.search-field>.icon {
  position:absolute;
  left:13px;
  color:#a3aec0;
  width:16px;
  height:16px
}
.search-field input {
  padding-left:38px;
  width:100%;
  font-size:12px;
  background:#fff;
  min-height:41px
}
.toolbar-controls {
  display:flex;
  gap:10px;
  align-items:center
}
.toolbar-controls select {
  font-size:12px;
  min-height:41px;
  padding:8px 30px 8px 12px
}
.section-note {
  font-size:11px;
  color:#8a97ad;
  margin:15px 3px
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 21px;
  border-top:1px solid var(--line);
  gap:15px;
  font-size:11px;
  color:#96a1b3
}
.pagination .inline-actions {
  gap:10px
}
.models-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}
.model-card {
  padding:23px;
  display:flex;
  flex-direction:column;
  gap:17px
}
.model-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between
}
.model-symbol {
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:13px;
  background:linear-gradient(130deg,#edf2ff,#f3f6ff);
  color:#5981e3
}
.model-card h2 {
  font-size:15px;
  font-family:"SFMono-Regular",Consolas,monospace;
  overflow-wrap:anywhere
}
.model-card p {
  font-size:11px;
  color:#98a3b5
}
.model-card-actions {
  margin-top:auto;
  display:flex;
  gap:8px
}
.model-card-actions .button {
  flex:1;
  font-size:11px;
  padding:8px
}
.models-caption {
  margin-bottom:19px
}
.quota-strip {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:15px 19px;
  margin-bottom:20px;
  font-size:11px;
  color:#8897af
}
.quota-strip strong {
  font-size:16px;
  color:var(--blue);
  margin:0 4px
}
.limit-description {
  font-size:11px;
  color:#8998ae;
  margin-top:5px
}
.key-prefix {
  font-family:Consolas,monospace;
  color:#95a0b3;
  font-size:10px
}
.switch {
  position:relative;
  border:0;
  padding:0;
  width:31px;
  height:18px;
  border-radius:12px;
  background:#d9e0ec;
  vertical-align:middle;
  flex-shrink:0
}
.switch:after {
  content:"";
  position:absolute;
  width:12px;
  height:12px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:white;
  box-shadow:0 1px 3px #0002;
  transition:transform .15s
}
.switch[aria-checked=true] {
  background:var(--blue)
}
.switch[aria-checked=true]:after {
  transform:translateX(13px)
}
.check-list {
  max-height:190px;
  overflow-y:auto;
  border:1px solid var(--line);
  border-radius:9px;
  padding:7px 12px
}
.check-option {
  display:flex;
  gap:9px;
  align-items:center;
  padding:7px 0;
  font-size:12px;
  overflow-wrap:anywhere
}
.check-option input {
  min-height:0;
  width:15px;
  height:15px;
  accent-color:var(--blue);
  margin:0;
  flex-shrink:0
}
.check-option span {
  min-width:0
}
.checkbox-field {
  margin-top:14px;
  margin-bottom:19px
}
.checkbox-field .check-option {
  color:#73819a
}
.modal-actions {
  display:flex;
  justify-content:flex-end;
  gap:9px;
  padding-top:10px
}
.one-time-key {
  display:block;
  width:100%;
  min-height:90px;
  background:#f6f8fd;
  border:1px solid #dfe7f6;
  border-radius:10px;
  padding:15px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  user-select:all;
  font-size:12px;
  color:#3a5b96;
  margin:17px 0
}
.key-saved-label {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:12px;
  color:#697a95;
  margin:18px 0
}
.key-saved-label input {
  min-height:0;
  width:15px;
  height:15px;
  accent-color:var(--blue)
}
dialog {
  width:calc(100% - 36px);
  max-width:510px;
  max-height:calc(100dvh - 50px);
  border:1px solid var(--line);
  border-radius:18px;
  padding:0;
  box-shadow:0 25px 100px #1b2c5040;
  color:var(--text)
}
dialog::backdrop {
  background:#172a4b66;
  backdrop-filter:blur(3px)
}
.modal-header {
  padding:19px 23px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  gap:15px
}
.modal-header h2 {
  font-size:17px
}
#modal-content {
  padding:23px
}
#modal-content>.notice {
  margin-bottom:20px
}
.modal-description {
  font-size:12px;
  color:var(--muted);
  margin-bottom:19px;
  line-height:1.9
}
.detail-grid {
  display:grid;
  grid-template-columns:100px minmax(0,1fr);
  gap:13px;
  font-size:12px
}
.detail-grid dt {
  color:#8a97ab
}
.detail-grid dd {
  margin:0;
  overflow-wrap:anywhere
}
.detail-error {
  background:#fff3f5;
  padding:13px;
  font-size:12px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  border-radius:8px;
  color:var(--red);
  margin-top:15px;
  max-height:220px;
  overflow-y:auto
}
.chat-layout {
  height:min(780px,calc(100dvh - 236px));
  min-height:500px;
  display:flex;
  flex-direction:column;
  overflow:hidden
}
.chat-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 20px;
  gap:15px;
  border-bottom:1px solid var(--line)
}
.chat-model-picker {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0
}
.chat-model-picker .icon {
  color:var(--blue);
  width:18px;
  height:18px
}
.chat-model-picker select {
  min-width:160px;
  max-width:340px;
  min-height:37px;
  padding:7px 32px 7px 10px;
  font-size:12px
}
.chat-toolbar .inline-actions {
  gap:5px
}
.chat-thread {
  overflow-y:auto;
  flex:1;
  padding:25px;
  overscroll-behavior:contain;
  scroll-behavior:smooth
}
.chat-empty {
  height:100%;
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:25px;
  gap:12px
}
.chat-empty .empty-symbol {
  width:62px;
  height:62px;
  border-radius:19px;
  background:var(--blue-soft);
  color:var(--blue);
  display:grid;
  place-items:center;
  margin-bottom:3px
}
.chat-empty .empty-symbol .icon {
  height:31px;
  width:31px
}
.chat-empty h2 {
  font-size:20px
}
.chat-empty p {
  font-size:12px;
  color:#8b99af;
  line-height:1.9;
  max-width:420px
}
.chat-prompts {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:10px
}
.chat-prompts .button {
  font-size:11px
}
.chat-message {
  display:flex;
  gap:11px;
  margin-bottom:24px;
  align-items:flex-start
}
.chat-message.user {
  flex-direction:row-reverse
}
.message-avatar {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  background:#eef3ff;
  color:#6386db;
  border-radius:10px;
  flex-shrink:0;
  font-size:11px
}
.message-avatar .icon {
  width:18px;
  height:18px
}
.chat-message.user .message-avatar {
  background:#dde7ff;
  color:#4d72cf
}
.message-main {
  max-width:min(82%,800px);
  min-width:0
}
.message-label {
  font-size:10px;
  color:#96a2b6;
  margin-bottom:6px
}
.chat-message.user .message-label {
  text-align:right
}
.message-body {
  padding:13px 16px;
  background:#f4f6fb;
  border:1px solid #edf0f7;
  border-radius:0 12px 12px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.9;
  font-size:13px;
  min-height:47px
}
.chat-message.user .message-body {
  background:var(--blue);
  color:white;
  border-color:var(--blue);
  border-radius:12px 0 12px 12px
}
.message-actions {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:5px;
  font-size:10px;
  color:#98a5b8
}
.message-actions .icon-button {
  height:25px;
  width:25px
}
.message-actions .icon {
  height:13px;
  width:13px
}
.message-error {
  font-size:11px;
  color:var(--red);
  margin-top:7px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.message-stopped {
  color:#9aa5b7;
  font-size:10px
}
.chat-composer {
  padding:17px 21px;
  border-top:1px solid var(--line);
  background:#fff
}
.composer-input {
  border:1px solid #dce5f5;
  border-radius:12px;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:9px 10px 9px 3px;
  background:#fcfdff
}
.composer-input:focus-within {
  border-color:#8caaff;
  box-shadow:0 0 0 3px #376cf509
}
.composer-input textarea {
  flex:1;
  min-height:45px;
  max-height:180px;
  background:transparent;
  border:none;
  outline:none;
  resize:none;
  padding:9px 12px;
  line-height:1.7;
  font-size:12px
}
.composer-input textarea:focus {
  outline:none
}
.composer-input .button {
  min-height:36px;
  font-size:12px;
  padding:8px 12px;
  margin-bottom:2px
}
.composer-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:9px;
  font-size:10px;
  color:#a0aabd;
  flex-wrap:wrap
}
.chat-status {
  font-size:11px;
  color:#8799b7;
  margin-bottom:9px
}
.chat-error {
  margin-bottom:10px
}
.docs-grid {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);
  gap:22px
}
.docs-main,.docs-aside {
  display:flex;
  flex-direction:column;
  gap:22px
}
.endpoint-box {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 15px;
  background:#f5f8ff;
  border:1px solid #e4ecff;
  border-radius:10px
}
.endpoint-box code {
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  font-size:12px;
  color:#5673af;
  min-width:0
}
.endpoint-label {
  font-size:11px;
  color:#8b98ad;
  margin-bottom:9px
}
.code-tabs {
  display:flex;
  gap:5px
}
.code-tabs .button {
  font-size:10px;
  min-height:31px;
  padding:6px 11px
}
.code-tabs .active {
  background:var(--blue-soft);
  color:var(--blue);
  border-color:#e3eaff
}
.code-block {
  background:#17243d;
  color:#d5e4ff;
  padding:21px 23px;
  min-height:270px;
  font-size:11px;
  line-height:1.95;
  border-radius:0 0 16px 16px
}
.guide-steps {
  display:flex;
  flex-direction:column;
  gap:20px
}
.guide-step {
  display:flex;
  gap:12px
}
.guide-step h3 {
  font-size:12px;
  margin:2px 0 5px
}
.guide-step p {
  color:#8a98af;
  font-size:11px;
  line-height:1.9
}
.guide-list {
  margin:0;
  padding-left:17px;
  font-size:11px;
  color:#8392a9;
  line-height:2.1
}
.guide-list li+li {
  margin-top:9px
}
.guide-endpoints {
  display:flex;
  flex-direction:column;
  gap:11px;
  font-size:11px
}
.guide-endpoints code {
  color:#6784b8;
  overflow-wrap:anywhere
}
.account-grid {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);
  gap:22px
}
.account-stack {
  display:flex;
  flex-direction:column;
  gap:22px
}
.account-identity {
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:24px
}
.account-identity .avatar {
  width:49px;
  height:49px;
  font-size:20px;
  border-radius:15px
}
.account-identity strong {
  font-size:15px
}
.account-identity small {
  display:block;
  color:#93a0b4;
  font-size:11px;
  margin-top:4px
}
.usage-values {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:13px
}
.usage-values strong {
  font-size:32px;
  color:var(--blue);
  letter-spacing:-1px
}
.usage-values span {
  color:#97a4b9;
  font-size:11px
}
.quota-meter {
  width:100%;
  height:7px;
  display:block;
  border:0;
  border-radius:10px;
  overflow:hidden;
  background:#edf1f9;
  accent-color:var(--blue);
  margin-bottom:18px
}
.quota-meter::-webkit-progress-bar {
  background:#edf1f9;
  border-radius:10px
}
.quota-meter::-webkit-progress-value {
  background:var(--blue);
  border-radius:10px
}
.quota-meter::-moz-progress-bar {
  background:var(--blue);
  border-radius:10px
}
.info-rows {
  display:flex;
  flex-direction:column;
  gap:14px;
  font-size:11px
}
.info-row {
  display:flex;
  justify-content:space-between;
  gap:18px
}
.info-row>span:first-child {
  color:#97a2b5
}
.info-row>span:last-child {
  text-align:right;
  overflow-wrap:anywhere;
  min-width:0
}
.account-grid .notice {
  margin-top:20px
}
.account-stack .card .card-body>p {
  font-size:12px;
  color:#8e9bb0;
  margin-bottom:16px
}
.toasts {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:1000;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:min(400px,calc(100vw - 32px));
  pointer-events:none
}
.toast {
  pointer-events:auto;
  display:flex;
  gap:10px;
  align-items:flex-start;
  background:#fff;
  border:1px solid #dfe8f9;
  box-shadow:0 8px 35px #21385d22;
  padding:13px 16px;
  border-radius:12px;
  animation:toast-in .2s ease-out;
  font-size:12px;
  overflow-wrap:anywhere
}
.toast>.icon {
  color:var(--blue);
  width:17px;
  height:17px;
  margin-top:1px
}
.toast.error>.icon {
  color:var(--red)
}
.toast>span {
  flex:1;
  min-width:0
}
.toast .icon-button {
  width:22px;
  height:22px;
  margin:-2px -5px -2px 0
}
.toast .icon-button .icon {
  width:13px;
  height:13px
}
.nav-overlay {
  display:none
}
.screen-reader-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}
.footer-note {
  font-size:11px;
  color:#95a2b6;
  line-height:1.9;
  margin-top:14px
}
.amount-muted {
  font-weight:400;
  color:#a2adc0;
  font-size:11px;
  margin-left:5px
}
.error-block {
  margin:20px
}
.status-note {
  color:#b17418;
  font-size:11px
}
.auth-bottom-note {
  margin-top:18px;
  font-size:11px;
  color:#9aa5b8;
  text-align:center
}
.auth-bottom-note a {
  margin-left:4px
}
@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}
@keyframes pulse {
  50% {
    opacity:.65;
    transform:scale(.95)
  }
}
@keyframes toast-in {
  from {
    opacity:0;
    transform:translateY(9px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
@media(min-width:1650px) {
  #main {
    padding-top:38px
  }
  .sidebar {
    width:260px;
    padding-left:24px;
    padding-right:24px
  }
  .main-wrap {
    margin-left:260px
  }
  .topbar {
    padding-left:44px;
    padding-right:44px
  }
  #main {
    padding-left:44px;
    padding-right:44px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:215px;
    padding-left:14px;
    padding-right:14px
  }
  .main-wrap {
    margin-left:215px
  }
  .topbar {
    padding:0 25px
  }
  #main {
    padding:27px 25px 20px
  }
  .stats-grid {
    gap:12px
  }
  .stat-card {
    padding:16px
  }
  .stat-value {
    font-size:26px
  }
  .dashboard-grid {
    grid-template-columns:minmax(0,1.55fr) minmax(230px,1fr);
    gap:17px
  }
  .models-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .auth-story {
    padding:38px 9%
  }
  .auth-story h1 {
    font-size:39px
  }
  .auth-features {
    gap:13px
  }
  .welcome-art {
    margin-right:5px
  }
  .card-header {
    padding:19px
  }
  .card-body {
    padding:20px
  }
  .docs-grid {
    grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr)
  }
  .account-grid {
    grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr)
  }
  th,td {
    padding-left:17px;
    padding-right:17px
  }
  .page-footer {
    padding-left:25px;
    padding-right:25px
  }
}
@media(max-width:960px) {
  .dashboard-grid,.docs-grid,.account-grid {
    grid-template-columns:1fr
  }
  .quick-steps {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .quick-step {
    padding:19px 15px;
    border-right:1px solid var(--line);
    border-bottom:0;
    gap:8px
  }
  .quick-step:last-child {
    border-right:0
  }
  .quick-step>.icon {
    display:none
  }
  .quick-callout {
    border-top:1px solid #f0f3f8
  }
  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .topbar-docs {
    display:none
  }
  .topbar-actions {
    gap:13px
  }
  .welcome-art {
    width:77px;
    height:77px;
    border-radius:23px
  }
  .welcome-art .icon {
    height:48px;
    width:48px
  }
  .welcome-banner {
    padding:24px
  }
  .auth-story {
    padding:32px 9%
  }
  .auth-story h1 {
    font-size:35px
  }
  .auth-story-main {
    padding-top:65px
  }
  .auth-features {
    gap:13px;
    flex-direction:column
  }
  .auth-form-side {
    padding:35px 30px
  }
  .auth-story-footer {
    font-size:10px
  }
  .auth-story-footer>span:last-child {
    display:none
  }
  .chat-toolbar .button span {
    display:none
  }
  .chat-model-picker select {
    max-width:250px
  }
}
@media(max-width:760px) {
  .sidebar {
    transform:translateX(-100%);
    transition:transform .2s ease;
    width:260px;
    z-index:101;
    box-shadow:none
  }
  .sidebar.open {
    transform:translateX(0);
    box-shadow:15px 0 70px #24354d24
  }
  .nav-overlay:not([hidden]) {
    display:block;
    position:fixed;
    inset:0;
    border:0;
    border-radius:0;
    background:#1a2b4c66;
    backdrop-filter:blur(2px);
    z-index:100
  }
  .main-wrap {
    margin-left:0
  }
  .mobile-menu {
    display:inline-flex
  }
  .topbar {
    height:66px;
    padding:0 18px
  }
  .breadcrumb {
    gap:8px
  }
  .topbar-actions {
    gap:9px
  }
  .topbar-divider,.breadcrumb-root {
    display:none
  }
  .topbar-account {
    font-size:10px;
    max-width:150px
  }
  .topbar-account>.icon {
    display:none
  }
  #main {
    padding:24px 18px 18px
  }
  .page-heading {
    margin-bottom:21px;
    align-items:flex-start;
    gap:12px
  }
  .page-heading h1 {
    font-size:23px
  }
  .page-heading p {
    font-size:11px;
    max-width:350px
  }
  .heading-actions .button {
    min-height:37px;
    padding:8px 11px;
    font-size:11px
  }
  .page-footer {
    padding:15px 18px 21px;
    font-size:9px
  }
  .page-footer>span:last-child {
    font-size:9px
  }
  .auth-layout {
    display:flex;
    flex-direction:column
  }
  .auth-story {
    min-height:0;
    padding:25px 27px 29px;
    background:radial-gradient(ellipse at 80% 70%,#dbe7ff,#f2f6ff 75%)
  }
  .auth-story .brand {
    font-size:24px;
    gap:9px
  }
  .auth-story .brand-mark {
    height:36px;
    width:36px;
    border-radius:11px
  }
  .auth-story .brand-mark .icon {
    height:24px;
    width:24px
  }
  .auth-story .brand small {
    font-size:8px;
    margin-top:5px
  }
  .auth-story-main {
    padding-top:24px
  }
  .auth-story .eyebrow {
    font-size:10px;
    letter-spacing:1px
  }
  .auth-story h1 {
    font-size:28px;
    line-height:1.5;
    margin-top:11px;
    letter-spacing:-1px;
    max-width:75%
  }
  .auth-story h1 br {
    display:none
  }
  .auth-story-main>p {
    font-size:11px;
    margin-top:9px;
    max-width:65%
  }
  .auth-story-main>p br {
    display:none
  }
  .orbit-art {
    position:absolute;
    right:8px;
    top:88px;
    width:160px;
    height:155px;
    margin:0;
    opacity:.7;
    pointer-events:none
  }
  .orbit-ring {
    width:150px;
    height:65px
  }
  .orbit-ring-two {
    width:140px;
    height:85px
  }
  .orbit-ring-three {
    width:125px;
    height:80px
  }
  .orbit-center {
    width:48px;
    height:48px;
    border:3px solid #fffa;
    border-radius:15px
  }
  .orbit-center .icon {
    height:27px;
    width:27px
  }
  .orbit-satellite {
    width:25px;
    height:25px;
    border-radius:8px
  }
  .orbit-satellite .icon {
    width:13px;
    height:13px
  }
  .satellite-one {
    top:25px;
    left:18%
  }
  .satellite-two {
    top:48px;
    right:0
  }
  .satellite-three {
    bottom:20px
  }
  .orbit-star {
    width:4px;
    height:4px
  }
  .star-one {
    bottom:40px
  }
  .star-two {
    bottom:25px
  }
  .auth-features,.auth-story-footer {
    display:none
  }
  .auth-form-side {
    flex:1;
    justify-content:flex-start;
    padding:34px 26px 29px
  }
  .auth-card {
    max-width:420px
  }
  .auth-card h2 {
    font-size:25px
  }
  .auth-description {
    margin-bottom:22px
  }
  .auth-security {
    margin-top:24px;
    font-size:10px
  }
  .sidebar-quota {
    padding:15px
  }
  .sidebar-bottom {
    padding-top:25px
  }
  .chat-layout {
    height:calc(100dvh - 207px);
    min-height:490px
  }
  .docs-aside {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px
  }
  .welcome-banner {
    padding:23px
  }
  .welcome-banner h2 {
    font-size:18px
  }
  .welcome-banner p {
    font-size:11px
  }
  .toolbar {
    gap:10px
  }
  .models-grid {
    gap:14px
  }
  .card {
    box-shadow:0 2px 14px #263f7008
  }
}
@media(max-width:480px) {
  #main {
    padding:21px 14px 16px
  }
  .topbar {
    padding:0 12px
  }
  .page-heading {
    flex-wrap:wrap;
    gap:14px
  }
  .page-heading h1 {
    font-size:22px
  }
  .page-heading p {
    font-size:10px
  }
  .heading-actions {
    margin-left:auto
  }
  .welcome-banner {
    padding:20px;
    gap:10px
  }
  .welcome-art {
    display:none
  }
  .welcome-banner h2 {
    font-size:18px
  }
  .welcome-banner .button {
    font-size:11px;
    min-height:36px;
    padding:7px 12px
  }
  .stats-grid {
    gap:11px;
    margin-bottom:17px
  }
  .stat-card {
    padding:15px 14px
  }
  .stat-label {
    font-size:10px
  }
  .stat-icon {
    width:26px;
    height:26px;
    border-radius:8px
  }
  .stat-icon .icon {
    width:14px;
    height:14px
  }
  .stat-value {
    font-size:27px;
    margin:10px 0 5px
  }
  .stat-foot {
    font-size:9px;
    gap:4px
  }
  .dashboard-grid {
    gap:17px;
    margin-bottom:17px
  }
  .card-header {
    padding:16px;
    gap:10px
  }
  .card-header h2 {
    font-size:13px
  }
  .card-header p {
    font-size:10px
  }
  .card-header .button {
    font-size:10px;
    min-height:30px;
    padding:5px 8px
  }
  .chart-card .card-body {
    padding:14px 12px
  }
  .chart-canvas {
    height:205px
  }
  .chart-legend {
    font-size:9px;
    gap:10px
  }
  .chart-summary {
    font-size:9px
  }
  .quick-steps {
    display:flex
  }
  .quick-step {
    padding:14px 18px;
    border-right:0;
    border-bottom:1px solid #f0f3f8;
    gap:12px
  }
  .quick-step>.icon {
    display:block
  }
  .quick-callout {
    font-size:10px;
    padding:15px 18px
  }
  .models-grid {
    grid-template-columns:1fr;
    gap:13px
  }
  .model-card {
    padding:20px;
    gap:14px
  }
  .toolbar {
    flex-wrap:wrap;
    align-items:stretch
  }
  .toolbar .search-field {
    max-width:none;
    flex-basis:100%
  }
  .toolbar-controls {
    width:100%;
    justify-content:space-between
  }
  .toolbar-controls select {
    flex:1
  }
  .quota-strip {
    padding:13px 15px;
    flex-wrap:wrap;
    gap:5px
  }
  .quota-strip strong {
    font-size:15px
  }
  .quota-strip .muted {
    font-size:10px
  }
  .pagination {
    padding:14px;
    font-size:10px;
    flex-wrap:wrap
  }
  .pagination .button {
    min-height:31px;
    padding:5px 9px;
    font-size:10px
  }
  .chat-layout {
    height:calc(100dvh - 220px);
    min-height:450px
  }
  .chat-toolbar {
    padding:11px 12px;
    gap:5px
  }
  .chat-model-picker {
    gap:7px;
    flex:1
  }
  .chat-model-picker>.icon {
    display:none
  }
  .chat-model-picker select {
    max-width:100%;
    width:100%;
    min-width:0;
    font-size:10px;
    min-height:34px
  }
  .chat-toolbar .inline-actions {
    flex-shrink:0;
    gap:2px
  }
  .chat-toolbar .button {
    min-height:32px;
    padding:6px 9px
  }
  .chat-thread {
    padding:18px 13px
  }
  .chat-message {
    gap:8px;
    margin-bottom:22px
  }
  .message-avatar {
    width:26px;
    height:26px;
    border-radius:9px;
    font-size:10px
  }
  .message-avatar .icon {
    width:15px;
    height:15px
  }
  .message-main {
    max-width:calc(100% - 34px)
  }
  .message-body {
    font-size:12px;
    padding:11px 13px
  }
  .chat-empty {
    padding:15px 8px;
    gap:10px
  }
  .chat-empty h2 {
    font-size:17px
  }
  .chat-empty p {
    font-size:11px
  }
  .chat-prompts .button {
    font-size:10px;
    padding:7px 10px
  }
  .chat-composer {
    padding:12px
  }
  .composer-input {
    padding:5px 7px 5px 0;
    gap:4px
  }
  .composer-input textarea {
    font-size:11px;
    padding:9px 10px
  }
  .composer-input .button {
    padding:8px 10px;
    font-size:10px
  }
  .composer-meta {
    font-size:9px
  }
  .composer-meta>span:last-child {
    display:none
  }
  .chat-status {
    font-size:10px
  }
  .docs-aside {
    display:flex
  }
  .code-block {
    padding:17px;
    font-size:10px
  }
  .docs-grid {
    gap:17px
  }
  .docs-main,.docs-aside,.account-stack {
    gap:17px
  }
  .code-tabs .button {
    padding:5px 9px
  }
  .card-body {
    padding:18px
  }
  .account-grid {
    gap:17px
  }
  .field-row {
    grid-template-columns:1fr;
    gap:0
  }
  .page-footer {
    padding:13px 15px 20px;
    flex-direction:column;
    gap:5px
  }
  .page-footer>span:last-child {
    font-size:9px
  }
  .toasts {
    bottom:16px;
    right:16px
  }
  .toast {
    font-size:11px
  }
  .auth-story h1 {
    font-size:25px
  }
  .auth-story-main>p {
    max-width:68%
  }
  .orbit-art {
    right:-10px;
    top:91px;
    opacity:.55
  }
  .auth-card .field {
    margin-bottom:15px
  }
  .auth-form-side {
    padding-top:29px
  }
  .modal-header {
    padding:17px 19px
  }
  #modal-content {
    padding:20px
  }
  .detail-grid {
    grid-template-columns:80px minmax(0,1fr);
    font-size:11px
  }
  .modal-actions .button {
    font-size:12px
  }
  .notice {
    padding:12px;
    font-size:11px
  }
}
/* 金额、定价与钱包 */
.money {
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
  white-space:nowrap
}
.money.positive {
  color:var(--green)
}
.money.negative {
  color:var(--red)
}
.sidebar-quota>strong {
  font-size:21px;
  letter-spacing:-.5px;
  overflow-wrap:anywhere
}
.stat-value.money {
  font-size:24px;
  letter-spacing:-.6px;
  overflow-wrap:anywhere
}
.price-list {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:10.5px;
  color:#8494ad
}
.price-list li {
  position:relative;
  padding-left:12px;
  overflow-wrap:anywhere
}
.price-list li:before {
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#c6d4ef
}
.chat-toolbar {
  flex-wrap:wrap
}
.chat-quote {
  order:3;
  flex-basis:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 16px;
  padding-top:10px;
  border-top:1px dashed #eef2f9;
  font-size:10px;
  color:#8a97ad
}
.chat-quote .quote-balance {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  color:#5a6b86
}
.chat-quote .quote-balance>.icon {
  width:13px;
  height:13px;
  color:var(--blue)
}
.chat-quote .money {
  font-size:11px;
  color:#4168bc
}
.chat-quote .cell-sub {
  display:inline;
  margin:0;
  font-size:10px;
  color:#9ca8b9
}
.chat-quote .quote-price {
  overflow-wrap:anywhere
}
.wallet-figures {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px
}
.wallet-figure {
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:13px;
  border:1px solid #e9eef8;
  border-radius:12px;
  background:#fbfcff
}
.wallet-figure>span {
  font-size:10px;
  color:#8d9bb2
}
.wallet-figure>strong {
  font-size:17px;
  line-height:1.35;
  color:#42526c;
  letter-spacing:-.3px;
  overflow-wrap:anywhere
}
.wallet-figure>small {
  font-size:9px;
  color:#a3aebe
}
.wallet-figure.primary {
  background:linear-gradient(135deg,#f2f6ff,#fdfeff);
  border-color:#dfe8fb
}
.wallet-figure.primary>strong {
  font-size:20px;
  color:var(--blue)
}
.wallet-links {
  margin:18px 0 4px;
  flex-wrap:wrap
}
.memo {
  display:inline-block;
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  vertical-align:bottom
}
@media(max-width:480px) {
  .wallet-figures {
    grid-template-columns:1fr
  }
  .stat-value.money {
    font-size:20px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}

/* 注册邮箱验证码与图形验证码 */
.captcha-row, .code-row { display:flex; gap:10px; align-items:stretch; }
.captcha-row input, .code-row input { flex:1; min-width:0; }
.captcha-image { width:140px; height:48px; flex:none; border:1px solid #dbe4ff; border-radius:10px; cursor:pointer; background:#f4f7ff; object-fit:cover; }
.captcha-image[data-ready="1"] { box-shadow:0 0 0 1px rgba(59,91,219,.08); }
.code-row .button { flex:none; white-space:nowrap; }
@media(max-width:420px) {
  .captcha-image { width:118px; height:44px; }
  .captcha-row, .code-row { gap:8px; }
  .code-row .button { padding-left:12px; padding-right:12px; }
}

/* ===== Orbit UI refresh v2 — 深空玻璃 + 轨道光晕 ===== */
:root {
  --bg:#edf2fb;
  --card:#ffffff;
  --ink:#0e1c34;
  --muted:#7e8ca4;
  --text:#40506a;
  --line:#e2e9f4;
  --blue:#3a6bf6;
  --blue-dark:#2451d4;
  --blue-soft:#edf3ff;
  --violet:#7659ff;
  --navy:#081327;
  --radius:22px;
  --shadow:0 18px 44px rgba(21,42,84,.065);
}
body {
  background-color:#edf2fb;
  background-image:
    radial-gradient(920px 560px at 84% -10%, rgba(111,137,255,.17), transparent 64%),
    radial-gradient(760px 500px at 5% 3%, rgba(56,189,248,.08), transparent 62%);
  background-attachment:fixed;
}
.brand-mark {
  background:linear-gradient(140deg,#4e83ff 0%,#6b5cff 62%,#8b5cf6 100%);
  box-shadow:0 10px 24px rgba(74,94,255,.28), inset 0 1px 0 rgba(255,255,255,.3);
}
.button {
  border-radius:11px;
}
.button.primary {
  background:linear-gradient(135deg,#3a6bf6 0%,#6558f6 100%);
  border-color:transparent;
  box-shadow:0 10px 24px rgba(68,88,240,.23), inset 0 1px 0 rgba(255,255,255,.2);
}
.button.primary:hover {
  background:linear-gradient(135deg,#2e5ce4 0%,#5748e8 100%);
  box-shadow:0 14px 30px rgba(68,88,240,.31);
  transform:translateY(-1px);
}

/* 侧栏：深空导航 */
.sidebar {
  background:
    radial-gradient(420px 320px at 18% 0%, rgba(92,116,255,.26), transparent 72%),
    radial-gradient(360px 280px at 100% 75%, rgba(118,89,255,.13), transparent 70%),
    linear-gradient(180deg,#081226 0%,#0b1730 54%,#081221 100%);
  border-right:1px solid rgba(255,255,255,.07);
  box-shadow:18px 0 46px rgba(8,18,38,.09);
  padding:30px 18px 16px;
}
.sidebar>.brand {
  color:#f7faff;
}
.sidebar .brand small {
  color:#8da0c3;
}
.sidebar .brand-mark {
  box-shadow:0 0 0 1px rgba(255,255,255,.12), 0 12px 28px rgba(69,93,255,.38);
}
.workspace-account {
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.11);
  color:#eaf0ff;
  backdrop-filter:blur(10px);
}
.workspace-account>.icon {
  color:#8296ba;
}
.sidebar .account-text strong {
  color:#f6f9ff;
}
.sidebar .account-text small {
  color:#8fa0bf;
}
.sidebar .avatar {
  background:linear-gradient(145deg,#4e82ff,#7b5cff);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  box-shadow:0 8px 18px rgba(43,62,150,.34);
}
.nav-label {
  color:#7082a2;
}
#primary-nav>a {
  position:relative;
  color:#9eafc9;
}
#primary-nav>a:hover {
  background:rgba(255,255,255,.07);
  color:#ecf2ff;
}
#primary-nav>a.active {
  background:linear-gradient(100deg,rgba(72,108,250,.32),rgba(118,89,255,.18));
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(143,168,255,.24), 0 10px 26px rgba(3,9,24,.2);
}
#primary-nav>a.active::before {
  content:"";
  position:absolute;
  left:-1px;
  top:50%;
  width:3px;
  height:19px;
  border-radius:0 4px 4px 0;
  background:linear-gradient(180deg,#7cb2ff,#7b5cff);
  transform:translateY(-50%);
  box-shadow:0 0 12px rgba(124,178,255,.8);
}
#primary-nav>a.active .icon {
  color:#a6c5ff;
}
.nav-badge {
  background:rgba(255,255,255,.08);
  color:#a0b1ce;
}
.sidebar-quota {
  background:linear-gradient(150deg,rgba(93,124,255,.19),rgba(255,255,255,.035));
  border-color:rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.sidebar-quota-label {
  color:#a3b4d1;
}
.sidebar-quota-label .icon {
  color:#8ab3ff;
}
.sidebar-quota>strong {
  color:#f6f9ff;
}
.sidebar-quota p {
  color:#8fa0bf;
}
.sidebar-quota a {
  color:#a9c4ff;
}
.sidebar-meta {
  color:#7d8fae;
}

/* 顶栏：玻璃悬浮 */
.topbar {
  position:sticky;
  top:0;
  z-index:25;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(20px) saturate(145%);
  border-bottom:1px solid rgba(220,230,245,.9);
}
.page-heading h1 {
  font-size:28px;
  font-weight:750;
  letter-spacing:-.9px;
  color:#0b1930;
}
.page-heading p {
  color:#8291a8;
  margin-top:7px;
}

/* 欢迎区：轨道发射台 */
.welcome-banner {
  min-height:186px;
  padding:30px 32px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(720px 300px at 92% -18%, rgba(137,120,255,.66), transparent 62%),
    radial-gradient(520px 300px at 3% 122%, rgba(45,212,191,.17), transparent 62%),
    linear-gradient(115deg,#081225 0%,#0d1d3e 46%,#1c3069 100%);
  box-shadow:0 24px 54px rgba(11,24,52,.2);
  color:#f7faff;
}
.welcome-banner::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size:30px 30px;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
  opacity:.55;
  pointer-events:none;
}
.welcome-banner::after {
  content:"";
  position:absolute;
  width:410px;
  height:410px;
  right:-120px;
  top:-215px;
  border:1px solid rgba(156,180,255,.16);
  border-radius:50%;
  box-shadow:0 0 0 36px rgba(255,255,255,.025), 0 0 0 82px rgba(255,255,255,.015);
  transform:rotate(24deg);
  pointer-events:none;
}
.welcome-banner>div:first-child {
  position:relative;
  z-index:2;
}
.welcome-banner h2 {
  font-size:23px;
  font-weight:700;
  letter-spacing:-.7px;
  color:#fff;
  margin-bottom:8px;
}
.welcome-banner p {
  color:rgba(224,235,255,.72);
  font-size:12.5px;
  max-width:610px;
}
.welcome-banner .button.primary {
  background:#fff;
  color:#10234a;
  border-color:#fff;
  box-shadow:0 10px 25px rgba(3,8,22,.25);
}
.welcome-banner .button.primary:hover {
  background:#eef4ff;
  border-color:#eef4ff;
}
.welcome-banner .button:not(.primary) {
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.18);
  color:#eaf1ff;
  backdrop-filter:blur(8px);
}
.welcome-banner .button:not(.primary):hover {
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.28);
}
.welcome-art {
  position:relative;
  z-index:2;
  width:112px;
  height:112px;
  margin:0 22px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.28), transparent 42%),
    linear-gradient(145deg,rgba(124,178,255,.24),rgba(118,89,255,.14));
  box-shadow:0 18px 44px rgba(3,9,24,.34), inset 0 0 34px rgba(138,180,255,.12);
  color:#d9e8ff;
  transform:none;
}
.welcome-art::after {
  content:"";
  position:absolute;
  inset:-16px;
  border:1px dashed rgba(158,188,255,.22);
  border-radius:50%;
  transform:rotate(-18deg);
}
.welcome-art .icon {
  width:62px;
  height:62px;
  filter:drop-shadow(0 6px 16px rgba(120,170,255,.4));
}

/* 卡片：轻玻璃与悬浮感 */
.card {
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  border-color:rgba(221,231,245,.92);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.card-header {
  padding:22px 25px;
  border-bottom-color:#edf2fa;
}
.card-header h2 {
  font-size:14px;
  letter-spacing:-.2px;
}
.stat-card {
  padding:22px 23px;
  overflow:hidden;
}
.stat-card::after {
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:0;
  height:2px;
  border-radius:2px 2px 0 0;
  background:linear-gradient(90deg,rgba(58,107,246,.6),rgba(118,89,255,.18));
  opacity:.72;
}
.stat-card:hover {
  transform:translateY(-3px);
  border-color:#d3e1f8;
  box-shadow:0 24px 54px rgba(21,42,84,.1);
}
.stat-label {
  color:#8491a8;
}
.stat-icon {
  width:35px;
  height:35px;
  border-radius:11px;
  background:linear-gradient(145deg,#eef4ff,#e5edff);
  color:#3e6ff3;
  box-shadow:inset 0 1px 0 #fff;
}
.stat-card:nth-child(2) .stat-icon {
  background:linear-gradient(145deg,#f2efff,#e9e2ff);
  color:#7659ff;
}
.stat-card:nth-child(3) .stat-icon {
  background:linear-gradient(145deg,#fff7eb,#fff0d9);
  color:#c28737;
}
.stat-card:nth-child(4) .stat-icon {
  background:linear-gradient(145deg,#eafcff,#ddf7fb);
  color:#1598b3;
}
.stat-card:nth-child(2)::after {
  background:linear-gradient(90deg,rgba(118,89,255,.6),rgba(58,107,246,.12));
}
.stat-card:nth-child(3)::after {
  background:linear-gradient(90deg,rgba(219,154,59,.55),rgba(118,89,255,.1));
}
.stat-card:nth-child(4)::after {
  background:linear-gradient(90deg,rgba(21,152,179,.55),rgba(58,107,246,.1));
}
.stat-value {
  color:#101f38;
  font-weight:700;
}
.stat-card:first-child .stat-value {
  color:#2f61ef;
}
.stat-foot {
  color:#8b98ae;
}
.chart-card {
  background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);
}
.quick-step {
  margin:5px 8px;
  padding:15px 17px;
  border:1px solid #edf2fa;
  border-radius:13px;
  background:#fbfdff;
  transition:background .2s, border-color .2s, transform .2s;
}
.quick-step:hover {
  background:#f5f9ff;
  border-color:#dfe9fb;
  transform:translateX(2px);
}
.step-number {
  background:linear-gradient(145deg,#3a6bf6,#7659ff);
  color:#fff;
  box-shadow:0 6px 14px rgba(72,94,240,.22);
}
.quick-callout {
  margin:4px 0 0;
  border-top:1px dashed #e9eff9;
  background:transparent;
}

/* 登录页：深空叙事 */
.auth-story {
  background:
    radial-gradient(700px 520px at 68% 44%, rgba(76,112,255,.22), transparent 66%),
    radial-gradient(500px 420px at 12% 90%, rgba(118,89,255,.14), transparent 68%),
    linear-gradient(145deg,#071124 0%,#0a1833 48%,#101f42 100%);
  color:#f4f8ff;
}
.auth-story::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:38px 38px;
  -webkit-mask-image:radial-gradient(ellipse at 60% 40%, #000, transparent 72%);
  mask-image:radial-gradient(ellipse at 60% 40%, #000, transparent 72%);
  pointer-events:none;
}
.auth-story::after {
  content:"";
  position:absolute;
  width:430px;
  height:430px;
  left:-180px;
  bottom:-230px;
  border:1px solid rgba(130,166,255,.16);
  border-radius:50%;
  box-shadow:0 0 0 40px rgba(255,255,255,.02);
  pointer-events:none;
}
.auth-story .brand {
  position:relative;
  z-index:2;
  color:#f7faff;
}
.auth-story .brand small {
  color:#8599bd;
}
.auth-story .eyebrow {
  color:#88b7ff;
}
.auth-story h1 {
  color:#f5f8ff;
}
.auth-story h1>span {
  color:#8bd8ff;
  text-shadow:0 0 24px rgba(94,190,255,.28);
}
.auth-story-main>p {
  color:rgba(219,230,250,.7);
}
.auth-story-footer {
  color:#8497b9;
}
.auth-features {
  color:#9fb4d6;
}
.orbit-ring {
  border-color:rgba(142,170,255,.26);
}
.orbit-ring-two {
  border-color:rgba(139,216,255,.2);
}
.orbit-ring-three {
  border-color:rgba(155,139,255,.2);
}
.orbit-center {
  background:linear-gradient(145deg,#7cb2ff 0%,#4f6bff 48%,#8b5cf6 100%);
  border-color:rgba(255,255,255,.34);
  box-shadow:0 22px 60px rgba(79,107,255,.48), inset 0 1px 0 rgba(255,255,255,.4);
}
.orbit-satellite {
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.18);
  color:#b9ddff;
  box-shadow:0 10px 28px rgba(3,9,24,.26);
  backdrop-filter:blur(8px);
}
.orbit-star {
  background:#8bd8ff;
  box-shadow:0 0 10px rgba(139,216,255,.7);
}
.auth-form-side {
  background:
    radial-gradient(600px 420px at 100% 0%, rgba(219,231,255,.55), transparent 65%),
    #ffffff;
}
.auth-card h2 {
  font-size:31px;
  font-weight:750;
  letter-spacing:-1px;
}
.auth-tabs {
  border:1px solid #e8effa;
  border-radius:12px;
  background:#f4f7fd;
}
.auth-tab[aria-selected=true] {
  border-radius:9px;
  box-shadow:0 3px 10px rgba(31,51,90,.08);
}
.auth-card input {
  border-radius:11px;
}

/* 移动端：保留深空侧栏与欢迎区 */
@media(max-width:980px) {
  .welcome-banner {
    padding:26px 26px;
  }
  .welcome-art {
    width:96px;
    height:96px;
    margin:0 6px;
  }
  .welcome-art .icon {
    width:54px;
    height:54px;
  }
}
@media(max-width:720px) {
  .topbar {
    background:rgba(255,255,255,.9);
  }
  .welcome-banner {
    padding:23px 22px 25px;
    min-height:0;
  }
  .welcome-banner h2 {
    font-size:21px;
  }
  .welcome-banner p {
    font-size:12px;
  }
  .welcome-art {
    width:82px;
    height:82px;
    margin:0;
  }
  .welcome-art .icon {
    width:46px;
    height:46px;
  }
  .welcome-art::after {
    inset:-11px;
  }
  .auth-story {
    background:
      radial-gradient(460px 280px at 86% 38%, rgba(76,112,255,.25), transparent 68%),
      linear-gradient(145deg,#071124 0%,#0a1833 55%,#101f42 100%);
  }
  .auth-story h1 {
    color:#f5f8ff;
  }
  .auth-story-main>p {
    color:rgba(219,230,250,.7);
  }
  .auth-story-footer {
    color:#8497b9;
  }
  .orbit-satellite {
    background:rgba(255,255,255,.1);
  }
}
@media(max-width:480px) {
  .stat-card {
    padding:19px 18px;
  }
  .stat-value {
    font-size:22px;
  }
  .welcome-banner .inline-actions {
    gap:8px;
  }
  .welcome-banner .button {
    padding-left:13px;
    padding-right:13px;
  }
}

/* 欢迎区主按钮图标对比度修正 */
.welcome-banner .button.primary .icon {
  color:#10234a;
  filter:brightness(0) saturate(100%) invert(10%) sepia(26%) saturate(1866%) hue-rotate(190deg) brightness(94%);
}

@media(max-width:720px) {
  .page-heading h1 { font-size:25px; letter-spacing:-.6px; }
  .page-heading p { font-size:11.5px; }
}

/* ===== Orbit UI refresh v3 — 精修版 ===== */
@font-face {
  font-family:'Manrope';
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url('/fonts/Manrope-latin.woff2') format('woff2');
}
:root {
  --radius:24px;
  --shadow:0 24px 60px rgba(19,38,76,.075);
  --font-ui:Manrope,"Noto Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif;
  font-family:var(--font-ui);
}
body,button,input,select,textarea {
  font-family:var(--font-ui);
}
body {
  background-color:#edf3fc;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(18,38,78,.032) 1px, transparent 0),
    radial-gradient(1000px 640px at 86% -10%, rgba(100,122,255,.22), transparent 64%),
    radial-gradient(760px 520px at 2% 4%, rgba(44,203,184,.09), transparent 62%),
    linear-gradient(180deg,#eef4fd 0%,#f3f7fe 42%,#edf3fb 100%);
  background-size:26px 26px, auto, auto, auto;
  background-attachment:fixed;
}
.brand {
  letter-spacing:-1.2px;
}
.brand-mark {
  position:relative;
}
.brand-mark::after {
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:16px;
  border:1px solid rgba(128,158,255,.24);
  pointer-events:none;
}
.sidebar {
  isolation:isolate;
}
.sidebar::after {
  content:"";
  position:absolute;
  z-index:0;
  right:0;
  top:9%;
  width:1px;
  height:54%;
  background:linear-gradient(180deg,transparent,rgba(128,179,255,.58),transparent);
  pointer-events:none;
}
#primary-nav>a.active {
  background:linear-gradient(100deg,rgba(82,119,255,.4),rgba(118,89,255,.2));
  box-shadow:inset 0 0 0 1px rgba(154,178,255,.28), 0 12px 30px rgba(3,9,24,.24);
}
.sidebar-quota {
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 14px 30px rgba(3,9,24,.14);
}

/* 顶栏更轻、更薄 */
.topbar {
  height:74px;
  padding:0 34px;
  background:rgba(255,255,255,.74);
  box-shadow:0 1px 0 rgba(255,255,255,.8), 0 10px 30px rgba(17,40,90,.035);
}
.page-heading h1 {
  font-size:30px;
  font-weight:800;
  letter-spacing:-1.2px;
}
.page-heading p {
  font-size:12px;
  color:#8190a7;
}

/* 欢迎区：更强的主视觉与英文小标题 */
.welcome-banner {
  min-height:208px;
  padding:33px 36px;
  border-radius:28px;
  background:
    radial-gradient(720px 300px at 92% -18%, rgba(132,116,255,.76), transparent 62%),
    radial-gradient(620px 330px at 79% 122%, rgba(41,204,185,.17), transparent 65%),
    linear-gradient(115deg,#071124 0%,#0c1c3d 46%,#1d326c 100%);
  box-shadow:0 30px 68px rgba(10,23,50,.24), inset 0 1px 0 rgba(255,255,255,.08);
}
.welcome-banner h2 {
  font-size:26px;
  font-weight:750;
  line-height:1.42;
  letter-spacing:-.9px;
  margin-bottom:8px;
}
.welcome-banner h2::before {
  content:"PERSONAL AI WORKSPACE";
  display:block;
  font-family:Manrope,sans-serif;
  font-size:9px;
  font-weight:700;
  letter-spacing:2.3px;
  color:#8fbfff;
  margin-bottom:12px;
  opacity:.9;
}
.welcome-banner p {
  font-size:13px;
  line-height:1.9;
  max-width:620px;
}
.welcome-banner .inline-actions {
  margin-top:19px;
}
.welcome-art {
  width:130px;
  height:130px;
  margin:0 24px;
  border-radius:50%;
  box-shadow:0 22px 54px rgba(3,9,24,.38), inset 0 0 40px rgba(138,180,255,.14);
}
.welcome-art::before {
  content:"";
  position:absolute;
  inset:-38px -50px;
  border:1px solid rgba(155,184,255,.17);
  border-radius:50%;
  transform:rotate(-24deg);
}
.welcome-art::after {
  inset:-17px;
  border-color:rgba(158,188,255,.26);
}
.welcome-art .icon {
  width:69px;
  height:69px;
}

/* 第一张统计卡：深色锚点 */
.stats-grid {
  gap:18px;
  margin-bottom:26px;
}
.stat-card {
  min-height:154px;
  padding:23px 24px;
}
.stat-card:first-child {
  color:#fff;
  border-color:rgba(128,158,255,.24);
  background:
    radial-gradient(320px 210px at 90% -20%, rgba(118,89,255,.62), transparent 68%),
    radial-gradient(260px 160px at 8% 120%, rgba(41,204,185,.16), transparent 62%),
    linear-gradient(135deg,#081226 0%,#122452 62%,#1a2e60 100%);
  box-shadow:0 26px 56px rgba(11,26,58,.25), inset 0 1px 0 rgba(255,255,255,.1);
}
.stat-card:first-child::before {
  content:"";
  position:absolute;
  width:215px;
  height:215px;
  right:-105px;
  bottom:-135px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:50%;
  box-shadow:0 0 0 32px rgba(255,255,255,.025);
  pointer-events:none;
}
.stat-card:first-child::after {
  opacity:1;
  background:linear-gradient(90deg,rgba(124,178,255,.95),rgba(118,89,255,.55));
}
.stat-card:first-child .stat-label {
  color:#b1c3e2;
}
.stat-card:first-child .stat-icon {
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.2);
  color:#d9e8ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.stat-card:first-child .stat-value {
  color:#ffffff;
  text-shadow:0 6px 24px rgba(0,0,0,.18);
}
.stat-card:first-child .stat-foot {
  color:#a3b6d6;
}
.stat-card:first-child:hover {
  border-color:rgba(156,182,255,.4);
  box-shadow:0 32px 68px rgba(11,26,58,.32);
}
.stat-card:not(:first-child) {
  background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);
}

/* 图表与快速开始 */
.chart-card .card-header {
  background:linear-gradient(180deg,#fdfefe,#f6faff);
  border-radius:var(--radius) var(--radius) 0 0;
}
.chart-canvas {
  filter:saturate(1.04);
}
.chart-canvas polyline:first-of-type {
  filter:drop-shadow(0 4px 10px rgba(58,107,246,.17));
}
.quick-step {
  margin:6px 9px;
  padding:16px 18px;
}
.quick-step>.icon {
  transition:transform .2s,color .2s;
}
.quick-step:hover>.icon {
  transform:translateX(4px);
  color:var(--blue);
}
.quick-callout {
  color:#8b99b0;
  background:linear-gradient(180deg,transparent,#f9fcff);
  border-radius:0 0 20px 20px;
}
thead {
  background:linear-gradient(180deg,#fbfdff,#f6faff);
}
tbody tr {
  transition:background .16s;
}
tbody tr:hover {
  background:#f8fbff;
}

/* 登录页：更深的层次与右侧轨道纹理 */
.auth-story {
  background:
    radial-gradient(760px 540px at 66% 44%, rgba(76,112,255,.26), transparent 66%),
    radial-gradient(540px 420px at 8% 96%, rgba(118,89,255,.16), transparent 68%),
    linear-gradient(145deg,#061020 0%,#0a1833 48%,#111f45 100%);
}
.auth-story h1 {
  font-size:50px;
  line-height:1.38;
  letter-spacing:-2.4px;
}
.auth-story h1>span {
  color:#91dcff;
}
.auth-story-main>p {
  font-size:15px;
  line-height:2;
}
.auth-story .brand {
  font-size:30px;
}
.auth-form-side {
  position:relative;
  overflow:hidden;
}
.auth-form-side::before {
  content:"";
  position:absolute;
  width:560px;
  height:560px;
  right:-235px;
  bottom:-265px;
  border:1px solid rgba(57,101,220,.13);
  border-radius:50%;
  box-shadow:0 0 0 42px rgba(57,101,220,.035), 0 0 0 96px rgba(57,101,220,.022);
  pointer-events:none;
}
.auth-form-side::after {
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  left:-180px;
  top:-210px;
  border:1px solid rgba(118,89,255,.12);
  border-radius:50%;
  pointer-events:none;
}
.auth-card {
  position:relative;
  z-index:2;
}
.auth-card h2 {
  font-size:34px;
  letter-spacing:-1.3px;
}
.auth-description {
  line-height:1.9;
}
.auth-tabs {
  border-radius:13px;
}
.auth-card input {
  height:47px;
  border-radius:12px;
}
.auth-card .button.primary {
  min-height:46px;
  border-radius:12px;
}

@media(max-width:980px) {
  .welcome-banner {
    padding:28px 28px;
  }
  .welcome-art {
    width:112px;
    height:112px;
  }
  .welcome-art .icon {
    width:60px;
    height:60px;
  }
  .auth-story h1 {
    font-size:43px;
  }
}
@media(max-width:720px) {
  .topbar {
    height:68px;
    padding:0 20px;
  }
  .page-heading h1 {
    font-size:25px;
    letter-spacing:-.7px;
  }
  .welcome-banner {
    min-height:0;
    padding:24px 22px 26px;
    border-radius:22px;
  }
  .welcome-banner h2 {
    font-size:22px;
  }
  .welcome-banner h2::before {
    font-size:8px;
    letter-spacing:1.7px;
    margin-bottom:9px;
  }
  .welcome-banner p {
    font-size:12px;
    line-height:1.8;
  }
  .welcome-art {
    width:88px;
    height:88px;
    margin:0;
  }
  .welcome-art::before {
    inset:-26px -34px;
  }
  .welcome-art .icon {
    width:48px;
    height:48px;
  }
  .stat-card {
    min-height:142px;
    padding:20px 19px;
  }
  .stat-card:first-child::before {
    width:170px;
    height:170px;
    right:-90px;
    bottom:-105px;
  }
  .auth-form-side::before, .auth-form-side::after {
    display:none;
  }
  .auth-story h1 {
    font-size:29px;
    letter-spacing:-1px;
  }
  .auth-card h2 {
    font-size:29px;
  }
}

@media(max-width:720px) {
  .auth-story {
    min-height:0;
    padding:24px 26px 30px;
  }
  .auth-story-main {
    flex:none;
    padding-top:22px;
  }
  .auth-story-main>p {
    max-width:100%;
    margin-top:10px;
    line-height:1.9;
  }
  .auth-story h1 {
    font-size:28px;
    max-width:100%;
    line-height:1.5;
  }
  .orbit-art {
    display:none;
  }
  .auth-story .brand {
    font-size:24px;
  }
}

/* ===== Orbit UI refresh v4 — 悬浮轨道壳 ===== */
/* 桌面端：侧栏与顶栏变成浮在画布上的控制台面板 */
@media(min-width:981px) {
  .sidebar {
    top:14px;
    right:auto;
    bottom:14px;
    left:14px;
    width:236px;
    border:1px solid rgba(149,174,235,.16);
    border-radius:24px;
    padding:26px 16px 18px;
    box-shadow:0 30px 76px rgba(4,13,32,.3), inset 0 1px 0 rgba(255,255,255,.08);
    scrollbar-width:thin;
    scrollbar-color:rgba(151,176,220,.25) transparent;
  }
  .sidebar>.brand {
    margin:0 8px 26px;
  }
  .main-wrap {
    margin-left:264px;
  }
  .topbar {
    top:14px;
    height:66px;
    margin:14px 22px 0;
    padding:0 24px;
    border:1px solid rgba(218,229,245,.82);
    border-radius:16px;
    box-shadow:0 18px 46px rgba(18,38,76,.075), inset 0 1px 0 rgba(255,255,255,.9);
  }
  #main {
    padding:26px 30px 24px;
  }
  .page-footer {
    padding:14px 30px 22px;
  }
}

/* 欢迎区新增能力标签 */
.hero-tags {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:15px;
}
.hero-tags span {
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#c4d5ef;
  font-family:Manrope,sans-serif;
  font-size:9px;
  font-weight:600;
  letter-spacing:.7px;
  line-height:1.5;
  backdrop-filter:blur(6px);
}
.hero-tags span::before {
  content:"";
  width:4px;
  height:4px;
  border-radius:50%;
  background:#72e6d5;
  box-shadow:0 0 8px rgba(114,230,213,.8);
}
.hero-tags span:nth-child(2)::before {
  background:#9db7ff;
  box-shadow:0 0 8px rgba(157,183,255,.8);
}
.hero-tags span:nth-child(3)::before {
  background:#c9b7ff;
  box-shadow:0 0 8px rgba(201,183,255,.8);
}
.welcome-banner .inline-actions {
  margin-top:15px;
}

/* 登录表单：右侧独立玻璃卡 */
.auth-card {
  max-width:410px;
  padding:32px 34px 30px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(218,229,245,.9);
  border-radius:24px;
  box-shadow:0 30px 64px rgba(22,44,92,.09), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
}
.auth-card h2 {
  font-size:33px;
}
.auth-card .auth-description {
  margin-bottom:23px;
}
.auth-card .auth-tabs {
  margin-bottom:23px;
}

@media(max-width:980px) {
  .auth-card {
    max-width:420px;
  }
}
@media(max-width:720px) {
  .hero-tags {
    gap:6px;
    margin-top:12px;
  }
  .hero-tags span {
    padding:3px 8px;
    font-size:8px;
  }
  .welcome-banner .inline-actions {
    margin-top:14px;
  }
  .auth-card {
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    backdrop-filter:none;
  }
  .auth-card h2 {
    font-size:29px;
  }
}

/* ===== Orbit UI refresh v5 — 邀请轨道 / Aurora Glass ===== */
/* 登录与注册：整屏深空画布，左右两翼合成一块悬浮玻璃 */
.auth-layout {
  position:relative;
  min-height:100dvh;
  height:100dvh;
  overflow:hidden;
  padding:clamp(16px,2.2vw,32px);
  grid-template-columns:minmax(0,1fr) minmax(410px,.82fr);
  gap:0;
  align-items:stretch;
  background:
    radial-gradient(1000px 700px at 10% 6%, rgba(52,101,255,.28), transparent 62%),
    radial-gradient(860px 680px at 92% 94%, rgba(124,86,255,.2), transparent 64%),
    radial-gradient(520px 420px at 58% 42%, rgba(42,212,200,.055), transparent 70%),
    linear-gradient(135deg,#040915 0%,#071329 48%,#0b1730 100%);
}
.auth-layout::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:42px 42px;
  -webkit-mask-image:radial-gradient(ellipse at 48% 42%, #000 0%, transparent 76%);
  mask-image:radial-gradient(ellipse at 48% 42%, #000 0%, transparent 76%);
  pointer-events:none;
  z-index:0;
}
.auth-layout>.auth-story,
.auth-layout>.auth-form-side {
  position:relative;
  z-index:1;
  min-height:0;
}
.auth-layout>.auth-story {
  padding:clamp(34px,4vw,56px) clamp(34px,4.4vw,64px);
  border-radius:30px 0 0 30px;
  border:1px solid rgba(153,178,255,.14);
  border-right:0;
  background:
    radial-gradient(720px 520px at 60% 40%, rgba(70,111,255,.26), transparent 66%),
    radial-gradient(520px 420px at 4% 96%, rgba(118,89,255,.14), transparent 70%),
    linear-gradient(150deg,#061020 0%,#0a1833 52%,#0d1c3a 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.auth-layout>.auth-form-side {
  padding:clamp(24px,3.2vw,44px);
  border-radius:0 30px 30px 0;
  border:1px solid rgba(214,227,250,.82);
  border-left:0;
  background:
    radial-gradient(620px 480px at 102% -8%, rgba(216,229,255,.7), transparent 66%),
    radial-gradient(520px 400px at 0% 110%, rgba(226,236,255,.6), transparent 68%),
    linear-gradient(160deg,#fcfdff 0%,#f6f9ff 52%,#eef4ff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), -24px 0 70px rgba(3,9,24,.2);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(74,103,180,.2) transparent;
}
.auth-story::before {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:radial-gradient(ellipse at 64% 36%, #000 0%, transparent 74%);
  mask-image:radial-gradient(ellipse at 64% 36%, #000 0%, transparent 74%);
}
.auth-story::after {
  width:520px;
  height:520px;
  left:-240px;
  bottom:-290px;
  border-color:rgba(126,164,255,.18);
  box-shadow:0 0 0 48px rgba(255,255,255,.018), 0 0 0 110px rgba(255,255,255,.012);
}
.auth-story .brand {
  font-size:29px;
}
.auth-story .brand-mark {
  width:45px;
  height:45px;
  border-radius:14px;
}
.auth-story-main {
  padding-top:clamp(38px,7vh,74px);
}
.auth-story .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#9fd8ff;
  font-family:Manrope,sans-serif;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.auth-story .eyebrow::before {
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#8be8ff;
  box-shadow:0 0 12px rgba(139,232,255,.9);
}
.auth-story h1 {
  margin-top:19px;
  font-family:Manrope,"Noto Sans SC","PingFang SC",sans-serif;
  font-size:clamp(39px,4vw,58px);
  line-height:1.22;
  letter-spacing:-.055em;
  font-weight:780;
  color:#f7faff;
}
.auth-story h1>span {
  color:#8ee4ff;
  text-shadow:0 0 32px rgba(90,206,255,.34);
}
.auth-story-main>p {
  max-width:430px;
  margin-top:20px;
  color:rgba(218,231,251,.68);
  font-size:15px;
  line-height:1.95;
}
.auth-story .orbit-art {
  height:clamp(210px,26vh,286px);
  max-width:430px;
  margin:clamp(12px,3vh,28px) auto 8px;
}
.auth-story .orbit-center {
  width:104px;
  height:104px;
  border-radius:32px;
  background:linear-gradient(145deg,#8dc4ff 0%,#4f6bff 46%,#8b5cf6 100%);
  box-shadow:0 26px 70px rgba(79,107,255,.5), inset 0 1px 0 rgba(255,255,255,.48);
}
.auth-story .orbit-center::after {
  content:"";
  position:absolute;
  inset:-18px;
  border:1px solid rgba(151,193,255,.22);
  border-radius:38px;
  pointer-events:none;
}
.auth-story .orbit-satellite {
  width:47px;
  height:47px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  backdrop-filter:blur(14px);
}
.auth-story .auth-features {
  color:#9fb5d6;
  gap:18px;
  font-size:10.5px;
}
.auth-story .auth-features .icon {
  color:#8fc4ff;
}
.auth-story-footer {
  color:#7f93b5;
  font-size:10px;
  letter-spacing:.02em;
}

/* 右侧表单卡：纸感玻璃 */
.auth-layout .auth-card {
  width:100%;
  max-width:448px;
  margin:auto;
  padding:clamp(24px,2.6vw,32px);
  border:1px solid rgba(255,255,255,.94);
  border-radius:26px;
  background:linear-gradient(160deg,rgba(255,255,255,.94),rgba(248,251,255,.82));
  box-shadow:0 30px 70px rgba(18,40,84,.12), 0 2px 8px rgba(18,40,84,.04), inset 0 1px 0 #fff;
  backdrop-filter:blur(24px) saturate(150%);
}
.auth-layout .auth-card::before {
  content:"";
  display:block;
  width:42px;
  height:3px;
  border-radius:99px;
  margin:-2px 0 20px;
  background:linear-gradient(90deg,#4b7cff,#8a63ff 60%,#4bd7e8);
  box-shadow:0 0 18px rgba(88,110,255,.35);
}
.auth-layout .auth-card .eyebrow {
  color:#3b63d9;
  font-family:Manrope,sans-serif;
  font-size:10px;
  font-weight:750;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.auth-layout .auth-card h2 {
  margin:8px 0 8px;
  font-family:Manrope,"Noto Sans SC","PingFang SC",sans-serif;
  font-size:clamp(27px,2.4vw,36px);
  line-height:1.25;
  letter-spacing:-.045em;
  color:#0a1930;
}
.auth-layout .auth-description {
  margin-bottom:18px;
  color:#7c8ba3;
  font-size:12.5px;
  line-height:1.8;
}
.auth-layout .auth-tabs {
  margin-bottom:18px;
  padding:4px;
  border:1px solid #e2eaf8;
  border-radius:14px;
  background:linear-gradient(180deg,#eef4ff,#f6f9ff);
  box-shadow:inset 0 1px 3px rgba(42,65,120,.05);
}
.auth-layout .auth-tab {
  min-height:39px;
  border-radius:10px;
  color:#8493ac;
  font-size:12px;
  font-weight:650;
  transition:color .18s, background .18s, box-shadow .18s, transform .18s;
}
.auth-layout .auth-tab[aria-selected=true] {
  color:#2349bd;
  background:#fff;
  box-shadow:0 4px 14px rgba(37,63,125,.1), inset 0 0 0 1px rgba(255,255,255,.9);
}
.auth-layout .auth-card .notice {
  margin-bottom:14px;
  padding:10px 12px;
  border-radius:11px;
  border-color:#dfe9fb;
  background:linear-gradient(135deg,#f3f7ff,#f8fbff);
  color:#647792;
  font-size:10.5px;
  line-height:1.65;
}
.auth-layout .auth-card .notice .icon {
  width:15px;
  height:15px;
}
.auth-layout .field {
  gap:6px;
  margin-bottom:13px;
}
.auth-layout .field>label,
.auth-layout .field-label {
  color:#4d5f7b;
  font-size:10.5px;
  font-weight:720;
  letter-spacing:.035em;
}
.auth-layout .auth-card input {
  height:46px;
  min-height:46px;
  padding:10px 14px;
  border:1px solid #dbe6f6;
  border-radius:12px;
  background:#fbfdff;
  box-shadow:inset 0 1px 2px rgba(29,50,95,.035);
  font-size:12.5px;
  transition:border .18s, box-shadow .18s, background .18s;
}
.auth-layout .auth-card input:focus {
  border-color:#7fa2f2;
  background:#fff;
  outline:none;
  box-shadow:0 0 0 3px rgba(73,109,242,.12), 0 8px 20px rgba(40,72,160,.06);
}
.auth-layout .auth-card input::placeholder {
  color:#a3b0c3;
  font-size:11px;
}
.auth-layout .auth-card .password-wrap .icon-button {
  right:5px;
  top:3px;
  color:#8d9db6;
}
.auth-layout .auth-card .button.primary {
  min-height:48px;
  border-radius:13px;
  background:linear-gradient(105deg,#3567f3 0%,#5c55f2 48%,#7b5bf6 100%);
  box-shadow:0 14px 30px rgba(66,86,230,.25), inset 0 1px 0 rgba(255,255,255,.24);
  font-size:12.5px;
  font-weight:720;
  letter-spacing:.01em;
}
.auth-layout .auth-card .button.primary:hover {
  transform:translateY(-1px);
  box-shadow:0 18px 36px rgba(66,86,230,.32);
}
.auth-layout .auth-card .auth-bottom-note {
  margin-top:15px;
  font-size:9.5px;
  color:#97a5b9;
  line-height:1.65;
}
.auth-layout .auth-security {
  margin:18px 0 0;
  color:#7f8ea5;
  font-size:9.5px;
}

/* QQ 群入口：注册页专属 */
.qq-group-card {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 16px;
  align-items:center;
  gap:11px;
  margin:-1px 0 13px;
  padding:10px 12px;
  border:1px solid rgba(21,125,232,.18);
  border-radius:13px;
  background:
    radial-gradient(340px 120px at 100% 0%, rgba(69,176,255,.15), transparent 70%),
    linear-gradient(135deg,#edf8ff 0%,#f6fbff 58%,#f9fdff 100%);
  color:#1a4065;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .18s, border-color .18s, box-shadow .18s;
}
.qq-group-card:hover {
  transform:translateY(-1px);
  border-color:rgba(21,125,232,.36);
  box-shadow:0 10px 22px rgba(24,111,198,.12);
}
.qq-badge {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(145deg,#1cbdf5 0%,#0783dc 72%,#086bc5 100%);
  color:#fff;
  font-family:Manrope,sans-serif;
  font-size:11px;
  font-weight:800;
  letter-spacing:-.04em;
  box-shadow:0 8px 16px rgba(10,125,219,.25), inset 0 1px 0 rgba(255,255,255,.35);
}
.qq-copy {
  min-width:0;
}
.qq-copy strong {
  display:block;
  color:#123c66;
  font-size:11.5px;
  font-weight:750;
  letter-spacing:-.01em;
  line-height:1.35;
}
.qq-copy small {
  display:block;
  margin-top:2px;
  color:#6e88a6;
  font-size:9.5px;
  line-height:1.45;
}
.qq-arrow {
  color:#4a8fd6;
  display:grid;
  place-items:center;
}
.qq-arrow .icon {
  width:15px;
  height:15px;
}
@media(max-width:720px) {
  .qq-group-card {
    grid-template-columns:36px minmax(0,1fr) 15px;
    padding:10px 11px;
    margin-bottom:12px;
  }
  .qq-badge {
    width:36px;
    height:36px;
  }
}

/* 仪表盘：柔光玻璃与轨道层次 */
body {
  background-color:#eaf1fb;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(16,38,80,.026) 1px, transparent 0),
    radial-gradient(1100px 720px at 88% -8%, rgba(99,123,255,.24), transparent 62%),
    radial-gradient(820px 620px at 2% 8%, rgba(47,207,190,.09), transparent 62%),
    linear-gradient(180deg,#edf4fe 0%,#f5f8ff 42%,#edf3fc 100%);
  background-size:24px 24px, auto, auto, auto;
  background-attachment:fixed;
}
#main {
  position:relative;
}
#main::before {
  content:"";
  position:fixed;
  right:-160px;
  top:8%;
  width:480px;
  height:480px;
  border:1px solid rgba(62,104,215,.08);
  border-radius:50%;
  box-shadow:0 0 0 48px rgba(62,104,215,.025), 0 0 0 112px rgba(62,104,215,.014);
  pointer-events:none;
  z-index:-1;
}
.card {
  background:linear-gradient(165deg,rgba(255,255,255,.93),rgba(252,254,255,.86));
  border-color:rgba(218,229,246,.92);
  box-shadow:0 18px 44px rgba(20,42,86,.065), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(16px) saturate(130%);
}
.card-header {
  border-bottom-color:rgba(229,236,248,.85);
}
.stat-card {
  overflow:hidden;
}
.stat-card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 36%);
  pointer-events:none;
}
.stat-card .stat-icon {
  box-shadow:0 8px 18px rgba(70,93,190,.08);
}
.page-heading h1 {
  font-size:29px;
  letter-spacing:-1.05px;
}
.page-heading p {
  font-size:11.5px;
}
.button.primary {
  position:relative;
  overflow:hidden;
}
.button.primary::after {
  content:"";
  position:absolute;
  top:0;
  left:-70%;
  width:40%;
  height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.18),transparent);
  transform:skewX(-18deg);
  transition:left .5s ease;
  pointer-events:none;
}
.button.primary:hover::after {
  left:120%;
}

@media(max-width:980px) {
  .auth-layout {
    height:auto;
    min-height:100dvh;
    display:flex;
    flex-direction:column;
    padding:0;
    overflow:visible;
  }
  .auth-layout>.auth-story {
    border-radius:0;
    border:0;
    padding:30px 28px 34px;
    min-height:0;
  }
  .auth-layout>.auth-form-side {
    border-radius:0;
    border:0;
    padding:32px 24px 34px;
    box-shadow:none;
    overflow:visible;
  }
  .auth-layout .auth-card {
    max-width:440px;
    padding:24px;
  }
  .auth-story h1 {
    font-size:38px;
  }
}
@media(max-width:560px) {
  .auth-layout>.auth-story {
    padding:25px 22px 28px;
  }
  .auth-story .brand {
    font-size:24px;
  }
  .auth-story-main {
    padding-top:28px;
  }
  .auth-story h1 {
    font-size:31px;
    line-height:1.3;
  }
  .auth-story-main>p {
    font-size:12px;
    line-height:1.8;
  }
  .auth-story .orbit-art {
    height:160px;
    margin-top:8px;
  }
  .auth-story .auth-features {
    display:none;
  }
  .auth-layout .auth-card {
    padding:20px 18px 22px;
    border-radius:20px;
  }
  .auth-layout .auth-card h2 {
    font-size:27px;
  }
}

/* 桌面矮屏：压缩注册表单，避免卡片顶到画布边缘 */
@media(min-width:981px) and (max-height:1040px) {
  .auth-layout>.auth-form-side {
    justify-content:flex-start;
    padding-top:24px;
    padding-bottom:24px;
  }
  .auth-layout .auth-card {
    margin:0 auto;
    padding:21px 28px 22px;
  }
  .auth-layout .auth-card::before {
    margin-bottom:14px;
  }
  .auth-layout .auth-card h2 {
    font-size:31px;
  }
  .auth-layout .auth-description {
    margin-bottom:13px;
  }
  .auth-layout .auth-tabs {
    margin-bottom:13px;
  }
  .auth-layout .auth-card .notice {
    padding:8px 11px;
    margin-bottom:10px;
  }
  .auth-layout .field {
    margin-bottom:10px;
  }
  .auth-layout .auth-card input {
    height:42px;
    min-height:42px;
  }
  .auth-layout .qq-group-card {
    padding:8px 10px;
    margin-bottom:10px;
  }
  .auth-layout .auth-card .button.primary {
    min-height:45px;
  }
  .auth-layout .auth-card .auth-bottom-note {
    margin-top:10px;
  }
}

/* v5 装饰统一由面板渐变承担，避免绝对定位圆环撑出多余滚动 */
.auth-layout>.auth-form-side::before,
.auth-layout>.auth-form-side::after {
  display:none;
}

/* ===== v6 用户概览：轨道驾驶舱 ===== */
.user-hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  align-items:center;
  gap:clamp(22px,3vw,44px);
  min-height:288px;
  padding:clamp(30px,3.4vw,48px);
  border-radius:30px;
  border:1px solid rgba(161,187,255,.18);
  background:
    radial-gradient(820px 400px at 92% -22%, rgba(138,112,255,.72), transparent 62%),
    radial-gradient(620px 360px at 4% 120%, rgba(37,206,187,.17), transparent 64%),
    radial-gradient(320px 260px at 72% 100%, rgba(85,131,255,.19), transparent 70%),
    linear-gradient(118deg,#06101f 0%,#0b1b38 48%,#1d3168 100%);
  box-shadow:0 32px 78px rgba(9,23,52,.27), inset 0 1px 0 rgba(255,255,255,.08);
  color:#f7faff;
  overflow:hidden;
}
.user-hero::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:34px 34px;
  -webkit-mask-image:linear-gradient(100deg,#000 0%,rgba(0,0,0,.5) 52%,transparent 100%);
  mask-image:linear-gradient(100deg,#000 0%,rgba(0,0,0,.5) 52%,transparent 100%);
  pointer-events:none;
}
.user-hero::after {
  content:"";
  position:absolute;
  width:430px;
  height:430px;
  right:-90px;
  top:-245px;
  border:1px solid rgba(167,191,255,.18);
  border-radius:50%;
  box-shadow:0 0 0 42px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.014);
  pointer-events:none;
}
.user-hero-copy {
  position:relative;
  z-index:2;
  min-width:0;
}
.hero-kicker {
  display:flex;
  align-items:center;
  gap:9px;
  color:#9cc9ff;
  font-family:Manrope,"Noto Sans SC","PingFang SC",sans-serif;
  font-size:9px;
  font-weight:750;
  letter-spacing:.2em;
}
.hero-kicker .status-dot {
  box-shadow:0 0 0 4px rgba(105,220,198,.08), 0 0 14px rgba(105,220,198,.55);
}
.user-hero h2 {
  margin:16px 0 11px;
  font-family:Manrope,"Noto Sans SC","PingFang SC",sans-serif;
  font-size:clamp(29px,3.2vw,44px);
  line-height:1.28;
  font-weight:780;
  letter-spacing:-.055em;
  color:#fff;
}
.user-hero p {
  max-width:620px;
  color:rgba(220,233,253,.7);
  font-size:12.5px;
  line-height:1.9;
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:22px;
}
.user-hero .button.primary {
  background:#fff;
  color:#0b1e40;
  border-color:#fff;
  box-shadow:0 12px 30px rgba(2,8,20,.26);
}
.user-hero .button.primary:hover {
  background:#eff5ff;
  border-color:#eff5ff;
}
.user-hero .button:not(.primary) {
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.075);
  color:#eaf2ff;
  backdrop-filter:blur(10px);
}
.user-hero .button:not(.primary):hover {
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.3);
}
.user-hero .hero-tags {
  margin-top:19px;
}
.user-hero .hero-tags span {
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.055);
  color:rgba(232,241,255,.82);
  backdrop-filter:blur(8px);
}
.hero-statusline {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:17px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.11);
  color:rgba(208,224,247,.6);
  font-size:10px;
}
.hero-status-item {
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.hero-status-item .icon {
  width:13px;
  height:13px;
  color:#91c6ff;
}
.balance-orb {
  position:relative;
  z-index:3;
  width:284px;
  height:284px;
  justify-self:center;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(129,167,255,.22), transparent 49%),
    radial-gradient(circle at 50% 50%, rgba(9,22,48,.66), rgba(4,10,24,.16) 68%, transparent 69%);
  box-shadow:inset 0 0 70px rgba(88,130,255,.14), 0 30px 70px rgba(2,8,22,.3);
  isolation:isolate;
}
.orb-ring {
  position:absolute;
  border:1px solid rgba(150,184,255,.2);
  border-radius:50%;
  pointer-events:none;
}
.ring-a {
  inset:-13px;
  border-color:rgba(151,190,255,.2);
  animation:orbSpin 26s linear infinite;
}
.ring-b {
  inset:24px;
  border-color:rgba(168,198,255,.18);
  transform:rotate(27deg);
  animation:orbSpinReverse 20s linear infinite;
}
.ring-c {
  inset:55px;
  border-color:rgba(172,203,255,.14);
  transform:rotate(-33deg);
}
.ring-a::before,
.ring-b::before,
.ring-c::before {
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#91ddff;
  box-shadow:0 0 12px rgba(130,220,255,.9);
  top:16%;
  left:18%;
}
.ring-b::before {
  top:auto;
  left:auto;
  right:10%;
  bottom:24%;
  background:#b0a4ff;
  box-shadow:0 0 12px rgba(176,164,255,.9);
}
.ring-c::before {
  top:16%;
  left:auto;
  right:24%;
  background:#76f0d7;
}
@keyframes orbSpin {
  to { transform:rotate(360deg); }
}
@keyframes orbSpinReverse {
  to { transform:rotate(-333deg); }
}
.orb-core {
  position:relative;
  z-index:2;
  width:196px;
  height:196px;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.19);
  background:
    radial-gradient(circle at 36% 24%, rgba(255,255,255,.17), transparent 44%),
    rgba(9,22,47,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 22px 50px rgba(2,8,22,.3);
  backdrop-filter:blur(18px) saturate(140%);
}
.orb-kicker {
  color:#91c8ff;
  font-family:Manrope,sans-serif;
  font-size:8px;
  font-weight:750;
  letter-spacing:.17em;
}
.orb-value {
  margin:7px 0 2px;
  color:#fff;
  font-family:Manrope,"Noto Sans SC",sans-serif;
  font-size:34px;
  line-height:1.22;
  font-weight:780;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
  text-shadow:0 8px 30px rgba(95,142,255,.22);
}
.orb-sub {
  color:rgba(210,226,250,.62);
  font-size:9px;
  line-height:1.65;
}
.orb-chip {
  margin-top:10px;
  padding:5px 8px;
  border-radius:99px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.065);
  color:rgba(213,231,255,.78);
  font-size:8px;
  white-space:nowrap;
}
.user-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
  margin:22px 0 24px;
}
.user-stats .stat-card {
  min-height:132px;
  padding:21px 23px;
  background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);
}
.user-stats .stat-card:first-child {
  color:inherit;
  border-color:var(--line);
  background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);
  box-shadow:var(--shadow);
}
.user-stats .stat-card:first-child::before,
.user-stats .stat-card:first-child::after {
  display:none;
}
.user-stats .stat-card:first-child .stat-label {
  color:inherit;
}
.user-stats .stat-card:first-child .stat-icon {
  background:#edf2ff;
  border:0;
  color:#6b8ad9;
  box-shadow:none;
}
.user-stats .stat-card:first-child .stat-value {
  color:var(--ink);
  text-shadow:none;
}
.user-stats .stat-card:first-child .stat-foot {
  color:#a0a9b9;
}
@media(max-width:1120px) {
  .user-hero {
    grid-template-columns:minmax(0,1fr) 250px;
  }
  .balance-orb {
    width:244px;
    height:244px;
  }
  .orb-core {
    width:170px;
    height:170px;
    padding:18px 14px;
  }
  .orb-value {
    font-size:29px;
  }
}
@media(max-width:860px) {
  .user-hero {
    grid-template-columns:1fr;
    gap:28px;
  }
  .balance-orb {
    justify-self:start;
    margin-left:8px;
  }
  .user-stats {
    grid-template-columns:1fr 1fr;
  }
  .user-stats .stat-card:last-child {
    grid-column:1 / -1;
  }
}
@media(max-width:560px) {
  .user-hero {
    padding:25px 21px;
    border-radius:22px;
  }
  .user-hero h2 {
    font-size:27px;
  }
  .user-hero p {
    font-size:11.5px;
  }
  .hero-statusline {
    gap:11px;
    line-height:1.7;
  }
  .balance-orb {
    width:210px;
    height:210px;
    justify-self:center;
  }
  .orb-core {
    width:148px;
    height:148px;
  }
  .orb-value {
    font-size:25px;
  }
  .orb-chip {
    display:none;
  }
  .user-stats {
    grid-template-columns:1fr;
  }
  .user-stats .stat-card:last-child {
    grid-column:auto;
  }
}

/* ===== v7 · Personal workspace ledger ===== */
body[data-route="overview"] {
  background:
    radial-gradient(720px 320px at 8% -8%, #eaf2ff 0%, transparent 66%),
    #f2f5f9
}
body[data-route="overview"] .topbar {
  height:64px
}
body[data-route="overview"] #main {
  padding-top:24px
}
.is-overview .page-heading {
  margin-bottom:16px;
  align-items:flex-end
}
.is-overview .page-heading h1 {
  font-size:23px;
  letter-spacing:-.035em
}
.is-overview .page-heading p {
  font-size:11px;
  margin-top:4px
}
.is-overview .heading-actions .button {
  background:#fff
}

.workspace-dashboard {
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:15px;
  align-items:stretch
}
.asset-card {
  grid-column:1 / span 5;
  grid-row:1 / span 2;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:390px;
  padding:29px 28px 23px;
  border-radius:20px;
  color:#eff8fd;
  background:
    radial-gradient(360px 250px at 95% 3%, rgba(78,202,200,.15), transparent 70%),
    linear-gradient(145deg,#071422 0%,#0b1b2d 52%,#112a3a 100%);
  border:1px solid rgba(10,32,48,.9);
  box-shadow:0 20px 44px rgba(14,32,58,.16)
}
.asset-card::after {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.4),transparent 62%);
  pointer-events:none;
  z-index:-1
}
.asset-card>* {
  position:relative;
  z-index:1
}
.asset-rings {
  position:absolute;
  width:270px;
  height:270px;
  right:-88px;
  top:-88px;
  z-index:0;
  opacity:.72;
  pointer-events:none
}
.asset-ring {
  position:absolute;
  border:1px solid rgba(100,229,212,.18);
  border-radius:50%
}
.asset-ring.ring-a {
  inset:0
}
.asset-ring.ring-b {
  inset:38px;
  border-color:rgba(110,190,245,.16)
}
.asset-ring.ring-c {
  inset:78px;
  border-color:rgba(100,229,212,.22)
}
.asset-kicker {
  display:flex;
  align-items:center;
  gap:7px;
  color:#85a6b9;
  font-size:9px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase
}
.asset-kicker .status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#5ee3cf;
  box-shadow:0 0 0 5px rgba(94,227,207,.07)
}
.asset-greeting {
  margin-top:27px;
  color:#a8bfce;
  font-size:13px;
  letter-spacing:.01em
}
.asset-label {
  display:block;
  margin-top:24px;
  color:#8ca8ba;
  font-size:10px;
  letter-spacing:.06em
}
.asset-balance {
  margin-top:3px;
  color:#f5fbff;
  font-size:49px;
  line-height:1.06;
  font-weight:650;
  letter-spacing:-.055em;
  font-variant-numeric:tabular-nums
}
.asset-subline {
  margin-top:5px;
  color:#829fb2;
  font-size:9px;
  letter-spacing:.01em
}
.asset-figures {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:23px;
  padding-top:15px;
  border-top:1px solid rgba(194,222,240,.1)
}
.asset-figures span {
  display:block;
  color:#7e9bad;
  font-size:9px;
  white-space:nowrap
}
.asset-figures strong {
  display:block;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#dcecf6;
  font-size:12px;
  font-weight:500;
  font-variant-numeric:tabular-nums
}
.asset-actions {
  display:flex;
  gap:8px;
  margin-top:20px
}
.asset-card .button {
  min-height:34px;
  padding:7px 12px;
  border-color:rgba(199,224,239,.18);
  color:#b5c9d7;
  background:transparent;
  font-size:10px
}
.asset-card .button:hover {
  background:rgba(255,255,255,.06);
  border-color:rgba(199,224,239,.34)
}
.asset-card .button.primary {
  background:#eff8ff;
  color:#0a1c2a;
  border-color:#eff8ff;
  box-shadow:0 8px 22px rgba(1,8,15,.2)
}
.asset-card .button.primary:hover {
  background:#fff;
  border-color:#fff
}
.asset-status {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid rgba(194,222,240,.1);
  color:#7895a8;
  font-size:9px
}
.asset-status span {
  display:inline-flex;
  align-items:center;
  gap:4px
}
.asset-status .icon {
  width:10px;
  height:10px
}
.asset-status .status-dot {
  width:5px;
  height:5px;
  background:#5ee3cf
}

.user-chart {
  grid-column:6 / span 7;
  grid-row:1 / span 2;
  min-height:390px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:17px;
  border:1px solid #e0e7f0;
  background:#fff;
  box-shadow:0 10px 30px rgba(25,46,76,.045)
}
.user-chart .card-header {
  padding:20px 22px 14px;
  border-bottom:1px solid #f0f3f8
}
.user-chart .card-header h2 {
  font-size:12px;
  letter-spacing:-.02em
}
.user-chart .card-header p {
  margin-top:3px;
  color:#96a2b4;
  font-size:9px
}
.user-chart .chart-legend {
  font-size:9px;
  gap:12px
}
.user-chart .card-body {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:12px 20px 13px
}
.user-chart .chart-canvas {
  height:230px
}
.user-chart .chart-summary {
  margin-top:3px;
  font-size:9px
}
.user-chart .chart-table {
  margin-top:7px
}
.user-chart .chart-table summary {
  font-size:9px
}

.user-stats {
  grid-column:1 / -1;
  grid-row:3;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid #e0e7f0;
  background:#fff;
  box-shadow:0 10px 30px rgba(25,46,76,.04)
}
.workspace-dashboard .user-stats .stat-card {
  min-height:112px;
  padding:18px 22px 16px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  position:relative;
  overflow:hidden
}
.workspace-dashboard .user-stats .stat-card:not(:last-child) {
  border-right:1px solid #edf1f7
}
.workspace-dashboard .user-stats .stat-card:hover {
  transform:none;
  box-shadow:none;
  border-color:transparent
}
.workspace-dashboard .user-stats .stat-card::after {
  display:none
}
.workspace-dashboard .user-stats .stat-label {
  color:#7f8ca1;
  font-size:9px;
  letter-spacing:.02em
}
.workspace-dashboard .user-stats .stat-icon {
  width:28px;
  height:28px;
  border-radius:8px;
  background:#f2f5fa;
  color:#5777a5;
  box-shadow:none
}
.workspace-dashboard .user-stats .stat-icon .icon {
  width:14px;
  height:14px
}
.workspace-dashboard .user-stats .stat-value {
  margin:8px 0 4px;
  color:#14253d;
  font-size:25px;
  line-height:1.2;
  letter-spacing:-.04em;
  font-weight:650
}
.workspace-dashboard .user-stats .stat-card:first-child .stat-value {
  color:#14253d
}
.workspace-dashboard .user-stats .stat-foot {
  color:#98a4b5;
  font-size:9px
}

.user-recent {
  grid-column:1 / span 8;
  grid-row:4;
  overflow:hidden;
  border-radius:17px;
  border:1px solid #e0e7f0;
  background:#fff;
  box-shadow:0 10px 30px rgba(25,46,76,.04)
}
.user-recent .card-header {
  padding:18px 20px 14px;
  border-bottom:1px solid #f0f3f8
}
.user-recent .card-header h2 {
  font-size:12px
}
.user-recent .card-header p {
  margin-top:3px;
  color:#96a2b4;
  font-size:9px
}
.user-recent th {
  padding:10px 20px;
  background:#f8fafc;
  color:#8b97a9;
  font-size:9px;
  font-weight:550
}
.user-recent td {
  padding:12px 20px;
  font-size:10px
}
.user-recent tbody tr:hover {
  background:#fafcff
}

.user-quick {
  grid-column:9 / span 4;
  grid-row:4;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:17px;
  border:1px solid #e0e7f0;
  background:#fff;
  box-shadow:0 10px 30px rgba(25,46,76,.04)
}
.user-quick .card-header {
  padding:18px 20px 14px;
  border-bottom:1px solid #f0f3f8
}
.user-quick .card-header h2 {
  font-size:12px
}
.user-quick .card-header p {
  margin-top:3px;
  color:#96a2b4;
  font-size:9px
}
.user-quick .quick-steps {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:2px 0 0
}
.user-quick .quick-step {
  flex:1;
  align-items:center;
  margin:0;
  padding:11px 20px;
  border:0;
  border-bottom:1px solid #f1f4f8;
  border-radius:0;
  background:transparent;
  transform:none
}
.user-quick .quick-step:hover {
  background:#fafcff;
  transform:none
}
.user-quick .step-number {
  width:24px;
  height:24px;
  border-radius:7px;
  background:#f1f5fb;
  color:#5a78a6;
  box-shadow:none;
  font-size:9px
}
.user-quick .quick-step h3 {
  font-size:10px;
  margin-bottom:2px
}
.user-quick .quick-step p {
  font-size:9px;
  line-height:1.6
}
.user-quick .quick-step>.icon {
  width:12px;
  height:12px
}
.user-quick .quick-callout {
  margin:0;
  padding:12px 20px;
  border-top:0;
  border-radius:0;
  background:transparent;
  color:#9aa5b5;
  font-size:9px;
  line-height:1.7
}

@media(max-width:1100px) {
  .asset-card {
    grid-column:1 / -1;
    grid-row:auto;
    min-height:0
  }
  .user-chart {
    grid-column:1 / -1;
    grid-row:auto;
    min-height:0
  }
  .user-stats {
    grid-row:auto
  }
}
@media(max-width:880px) {
  .user-recent,.user-quick {
    grid-column:1 / -1;
    grid-row:auto
  }
}
@media(max-width:760px) {
  .workspace-dashboard {
    gap:12px
  }
  .asset-card {
    padding:24px 23px 21px;
    border-radius:18px
  }
  .asset-greeting {
    margin-top:22px
  }
  .asset-balance {
    font-size:43px
  }
  .asset-actions .button {
    flex:1;
    justify-content:center
  }
  .user-stats {
    grid-template-columns:1fr
  }
  .workspace-dashboard .user-stats .stat-card {
    min-height:0;
    border-right:0!important;
    border-bottom:1px solid #edf1f7
  }
  .workspace-dashboard .user-stats .stat-card:last-child {
    border-bottom:0
  }
  .workspace-dashboard .user-stats .stat-card {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:4px 12px;
    padding:13px 18px
  }
  .workspace-dashboard .user-stats .stat-label {
    grid-column:1
  }
  .workspace-dashboard .user-stats .stat-icon {
    grid-column:2;
    grid-row:1 / span 2
  }
  .workspace-dashboard .user-stats .stat-value {
    grid-column:1;
    grid-row:2;
    margin:1px 0 0;
    font-size:22px
  }
  .workspace-dashboard .user-stats .stat-foot {
    grid-column:1 / -1;
    grid-row:3;
    margin-top:3px
  }
  .user-chart .chart-canvas {
    height:215px
  }
  .user-recent .card-header,.user-quick .card-header {
    padding:16px 15px 12px
  }
  .user-recent th,.user-recent td {
    padding-left:15px;
    padding-right:15px
  }
}
@media(max-width:480px) {
  .asset-balance {
    font-size:38px
  }
  .asset-figures {
    gap:6px
  }
  .asset-figures strong {
    font-size:11px
  }
  .asset-status {
    gap:7px
  }
  .user-chart .chart-canvas {
    height:190px
  }
}

@media(max-width:560px) {
  .user-recent th:nth-child(2),.user-recent td:nth-child(2) {
    display:none
  }
  .user-recent th,.user-recent td {
    padding:10px 9px
  }
  .user-recent td:first-child {
    max-width:145px
  }
  .user-recent .badge {
    padding:2px 6px;
    font-size:8px
  }
  .user-chart .chart-canvas {
    height:175px
  }
}

/* ===== v7 · 统一用户端壳体（所有内页） ===== */
body[data-route] {
  background:
    radial-gradient(760px 340px at 8% -8%, #eaf2ff 0%, transparent 64%),
    #f2f5f9
}
body[data-route] .topbar {
  height:64px;
  background:rgba(255,255,255,.86);
  border-bottom-color:#e3e9f1;
  box-shadow:0 1px 0 rgba(255,255,255,.8),0 8px 24px rgba(20,40,72,.035)
}
body[data-route] #main {
  padding:24px 36px 24px
}
body[data-route] .page-heading {
  margin-bottom:18px;
  align-items:flex-end
}
body[data-route] .page-heading h1 {
  font-size:23px;
  letter-spacing:-.04em
}
body[data-route] .page-heading p {
  margin-top:4px;
  font-size:11px
}
body[data-route] .card:not(.asset-card) {
  background:#fff;
  border-color:#e0e7f0;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(20,42,72,.045)
}
body[data-route] .card-header {
  padding:18px 20px;
  border-bottom-color:#eef2f7
}
body[data-route] .card-header h2 {
  font-size:13px;
  letter-spacing:-.02em
}
body[data-route] .card-header p {
  margin-top:3px;
  font-size:10px
}
body[data-route] .button {
  border-radius:10px
}
body[data-route] thead {
  background: transparent;
  background-image: none
}
body[data-route] th {
  background:#f8fafc;
  color:#8b97a9;
  font-size:9px;
  font-weight:550;
  letter-spacing:.03em
}
body[data-route] td {
  padding-top:11px;
  padding-bottom:11px;
  font-size:10px
}
body[data-route] .sidebar {
  background:
    radial-gradient(380px 300px at 14% 0%, rgba(61,190,176,.11), transparent 72%),
    radial-gradient(300px 260px at 100% 72%, rgba(58,120,180,.08), transparent 70%),
    linear-gradient(180deg,#071421 0%,#0a1a2a 56%,#07131e 100%);
  border-right:1px solid rgba(155,198,218,.08)
}
body[data-route] .sidebar nav>a.active,body[data-route] .sidebar a.active {
  background:linear-gradient(100deg,rgba(59,201,183,.16),rgba(50,94,145,.1));
  box-shadow:inset 0 0 0 1px rgba(112,224,210,.18),0 8px 22px rgba(3,12,22,.16)
}
body[data-route] .sidebar nav>a.active .icon,body[data-route] .sidebar a.active .icon {
  color:#b8f4eb
}

@media(max-width:760px) {
  body[data-route] .topbar {
    height:60px
  }
  body[data-route] #main {
    padding:20px 15px 20px
  }
  body[data-route] .page-heading h1 {
    font-size:22px
  }
}

/* v7 · 用户侧栏选中态收口 */
body[data-route] .sidebar #primary-nav>a.active {
  background:linear-gradient(100deg,rgba(59,201,183,.16),rgba(50,94,145,.10));
  color:#eafaf7;
  box-shadow:inset 0 0 0 1px rgba(112,224,210,.18),0 8px 22px rgba(3,12,22,.16)
}
body[data-route] .sidebar #primary-nav>a.active .icon {
  color:#b8f4eb
}
body[data-route] .sidebar #primary-nav>a.active::before {
  background:linear-gradient(180deg,#75ebd8,#4f91bd);
  box-shadow:0 0 12px rgba(94,227,207,.5)
}

/* ===== v8 · Editorial Signal · 用户端 ===== */
body[data-route] {
  --v8-bg: #f4f1ea;
  --v8-paper: #fffdf8;
  --v8-ink: #161c25;
  --v8-muted: #7d8177;
  --v8-line: #e3ded1;
  --v8-accent: #2d4bff;
  --v8-dark: #111722;
  --v8-good: #168f63;
  background-color: var(--v8-bg);
  background-image: radial-gradient(rgba(153, 145, 126, .18) .55px, transparent .55px);
  background-size: 19px 19px;
  color: var(--v8-ink)
}
body[data-route] .main-wrap {
  margin-left: 224px;
  background: transparent
}
body[data-route] #main::before {
  display: none
}
body[data-route] .sidebar {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 224px;
  padding: 26px 14px 14px;
  background: #fbfaf5;
  border: 0;
  border-right: 1px solid #ddd8ca;
  border-radius: 0;
  box-shadow: none;
  background-image: none
}
body[data-route] .sidebar>.brand {
  margin: 0 8px 25px;
  gap: 9px;
  font-size: 24px;
  letter-spacing: -.045em;
  color: var(--v8-ink)
}
body[data-route] .sidebar>.brand>span {
  color: var(--v8-ink)
}
body[data-route] .sidebar>.brand small {
  margin-top: 4px;
  color: #918b7d;
  font-size: 8px;
  letter-spacing: 1.6px
}
body[data-route] .brand-mark {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--v8-dark);
  box-shadow: none;
  color: #f7f4ea
}
body[data-route] .brand-mark .icon {
  color: #f7f4ea;
  stroke: #f7f4ea
}
body[data-route] .brand-mark .icon {
  width: 24px;
  height: 24px
}
body[data-route] .workspace-account {
  gap: 9px;
  margin-bottom: 22px;
  padding: 9px 8px;
  background: #fffdf8;
  border-color: #e5e0d4;
  border-radius: 10px;
  color: #303844
}
body[data-route] .workspace-account .avatar {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #edf0ff;
  color: #3a4c9b;
  font-size: 11px
}
body[data-route] .workspace-account>.icon {
  color: #9d9789
}
body[data-route] .account-text strong {
  font-size: 11px;
  color: #303844
}
body[data-route] .account-text small {
  color: #969083;
  font-size: 9px
}
body[data-route] .nav-label {
  padding: 0 10px;
  margin: 0 0 8px;
  color: #a09a8c;
  font-size: 9px;
  letter-spacing: 1.2px
}
body[data-route] .nav-tools-label {
  margin-top: 22px
}
body[data-route] #primary-nav {
  gap: 2px
}
body[data-route] #primary-nav>a {
  gap: 11px;
  min-height: 36px;
  padding: 9px 11px;
  border-radius: 8px;
  color: #5e6672;
  font-size: 12px;
  font-weight: 500
}
body[data-route] #primary-nav>a .icon {
  width: 17px;
  height: 17px;
  color: #9d978a
}
body[data-route] #primary-nav>a:hover {
  background: #f1efe6;
  color: var(--v8-ink)
}
body[data-route] #primary-nav>a:hover .icon {
  color: #5f6874
}
body[data-route] .sidebar #primary-nav>a.active {
  background: #edf0ff;
  background-image: none;
  color: #283574;
  box-shadow: inset 0 0 0 1px #dbe1ff;
  font-weight: 600
}
body[data-route] .sidebar #primary-nav>a.active .icon {
  color: var(--v8-accent)
}
body[data-route] .sidebar #primary-nav>a.active::before {
  background: var(--v8-accent);
  box-shadow: none
}
body[data-route] .nav-badge {
  border: 1px solid #e1dcd0;
  background: #fbfaf5;
  color: #989285;
  font-size: 8px
}
body[data-route] .sidebar-quota {
  display: none
}
body[data-route] .sidebar-bottom {
  padding-top: 14px
}
body[data-route] .sidebar-meta {
  padding: 13px 4px 0;
  border-top: 1px solid #e6e1d4;
  color: #9c968a;
  font-size: 9px
}
body[data-route] .topbar {
  top: auto;
  height: 60px;
  margin: 0;
  padding: 0 38px;
  background: rgba(252, 250, 245, .88);
  border: 0;
  border-bottom: 1px solid #ded9cc;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(120%)
}
body[data-route] .breadcrumb {
  gap: 9px;
  font-size: 11px
}
body[data-route] .breadcrumb-root {
  color: #a39d90
}
body[data-route] .breadcrumb>.icon {
  color: #c0b9ac
}
body[data-route] .topbar-actions {
  gap: 17px
}
body[data-route] .topbar-docs {
  color: #85897d;
  font-size: 10px
}
body[data-route] .topbar-account {
  color: #555d68;
  font-size: 10px
}
body[data-route] .avatar {
  background: #eceffd;
  color: #33459d
}
body[data-route] #main {
  padding: 30px 38px 38px
}
body[data-route] #page {
  max-width: 1420px
}
body[data-route] .page-heading {
  margin-bottom: 22px;
  align-items: center
}
body[data-route] .page-heading h1 {
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -.045em;
  color: var(--v8-ink)
}
body[data-route] .page-heading p {
  margin-top: 5px;
  color: #8f9389;
  font-size: 11px
}
body[data-route] .page-footer {
  padding: 18px 38px 26px;
  margin-top: 22px;
  border-top: 1px solid #e2ddd1;
  color: #9e988b;
  font-size: 9.5px
}
body[data-route] .page-footer strong {
  color: #777c70;
  font-size: 10px
}
body[data-route] .card {
  background: var(--v8-paper);
  border-color: var(--v8-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(30, 28, 20, .03), 0 14px 32px rgba(30, 28, 20, .025);
  backdrop-filter: none
}
body[data-route] .card:not(.asset-card) {
  background: var(--v8-paper);
  border-color: var(--v8-line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(30, 28, 20, .03), 0 14px 32px rgba(30, 28, 20, .025)
}
body[data-route] .card-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #eee9dd
}
body[data-route] .card-header h2 {
  color: var(--v8-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.02em
}
body[data-route] .card-header p {
  margin-top: 4px;
  color: #96988d;
  font-size: 9px
}
body[data-route] .button {
  height: 31px;
  padding: 0 12px;
  border-color: #ddd8cb;
  border-radius: 8px;
  background: var(--v8-paper);
  color: #333b47;
  font-size: 10.5px
}
body[data-route] .button:hover {
  background: #f5f2ea;
  border-color: #c9c2b2
}
body[data-route] .button.primary {
  background: var(--v8-accent);
  border-color: var(--v8-accent);
  color: #fff;
  box-shadow: 0 5px 14px rgba(45, 75, 255, .18)
}
body[data-route] .button.primary:hover {
  background: #203ee5;
  border-color: #203ee5
}
body[data-route] th {
  padding: 11px 12px;
  background: transparent;
  border-bottom: 1px solid #e8e3d7;
  color: #9a9487;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em
}
body[data-route] td {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ece3;
  color: #4b535f;
  font-size: 10.5px
}
body[data-route] tbody tr:hover {
  background: #fbf9f3
}
body[data-route] .cell-title {
  color: #222a35;
  font-size: 10.5px;
  font-weight: 600
}
body[data-route] .cell-sub {
  color: #9a9b91;
  font-size: 9px
}
body[data-route] .table-wrap {
  border-radius: 0 0 16px 16px
}
body[data-route] .table-wrap thead,
body[data-route] .table-wrap th {
  background: transparent;
  background-image: none
}
body[data-route] .quota-strip {
  padding: 13px 17px;
  margin-bottom: 18px;
  border-color: #e6e1d5;
  border-radius: 12px;
  background: #fbf8f0;
  color: #8e9286;
  font-size: 10px
}
body[data-route] .quota-strip strong {
  color: #222a35;
  font-size: 14px
}
body[data-route] .section-note {
  color: #999b90
}

.ledger-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch
}
body[data-route] .card.ledger-balance {
  grid-column: span 5;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 328px;
  overflow: hidden;
  padding: 24px 25px 20px;
  border-radius: 18px;
  border-color: var(--v8-dark);
  background:
    radial-gradient(280px 210px at 112% -10%, rgba(74, 101, 255, .25), transparent 72%),
    var(--v8-dark);
  color: #f2f0e8;
  box-shadow: 0 18px 38px rgba(17, 23, 34, .16)
}
body[data-route] .card.ledger-balance::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 68%);
  pointer-events: none
}
body[data-route] .card.ledger-balance>* {
  position: relative;
  z-index: 1
}
.ledger-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px
}
.ledger-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8f9bab;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .14em
}
.ledger-kicker.is-good .ledger-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #69e1b2;
  box-shadow: 0 0 0 4px rgba(105, 225, 178, .1)
}
.ledger-kicker.is-empty {
  color: #e8a082
}
.ledger-kicker.is-empty .ledger-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e08a63;
  box-shadow: 0 0 0 4px rgba(224, 138, 99, .1)
}
.ledger-user {
  max-width: 45%;
  overflow: hidden;
  color: #aab4c3;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap
}
.ledger-label {
  display: block;
  margin-top: 30px;
  color: #9ea9b8;
  font-size: 10px;
  letter-spacing: .05em
}
.ledger-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 7px;
  font-variant-numeric: tabular-nums
}
.ledger-currency {
  margin-right: 1px;
  color: #a9b3c5;
  font-size: 17px;
  font-weight: 500
}
.ledger-major {
  color: #f7f4ea;
  font-size: 45px;
  font-weight: 660;
  line-height: 1;
  letter-spacing: -.06em
}
.ledger-decimal {
  color: #c2cad7;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.035em
}
.ledger-subline {
  margin-top: 6px;
  color: #8995a7;
  font-size: 9px
}
.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px
}
.ledger-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #d6dde8;
  font-size: 9.5px;
  transition: background .18s, border-color .18s
}
.ledger-action .icon {
  width: 13px;
  height: 13px
}
.ledger-action:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22)
}
.ledger-action-primary {
  background: #f3f0e7;
  border-color: #f3f0e7;
  color: var(--v8-dark)
}
.ledger-action-primary:hover {
  background: #fffdf8;
  border-color: #fffdf8
}
.ledger-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #8f9baa;
  font-size: 8.5px
}
.ledger-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}
.ledger-foot .icon {
  width: 12px;
  height: 12px;
  color: #99a6b7
}
.ledger-chart {
  grid-column: span 7;
  overflow: hidden
}
.ledger-chart .ledger-chart-total {
  padding: 4px 8px;
  border: 1px solid #e2dcd0;
  border-radius: 999px;
  color: #7b8177;
  font-size: 9px;
  font-variant-numeric: tabular-nums
}
.ledger-chart-body {
  padding: 18px 20px 15px
}
.ledger-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 13px;
  height: 190px;
  padding: 8px 2px 0;
  border-bottom: 1px solid #e4dfd2;
  background-image: linear-gradient(to top, rgba(211, 205, 191, .42) 1px, transparent 1px);
  background-size: 100% 25%;
  background-position: 0 0
}
.ledger-bar-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  height: 100%
}
.ledger-bar-value {
  height: 14px;
  color: #a09a8d;
  font-size: 9px;
  font-variant-numeric: tabular-nums
}
.ledger-bar-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 40px;
  height: 132px;
  background: transparent;
  border-radius: 5px 5px 0 0
}
.ledger-bar-fill {
  display: block;
  width: 100%;
  min-height: 3px;
  background: #dbe0f7;
  border-radius: 5px 5px 0 0
}
.ledger-bar-col.is-current .ledger-bar-fill {
  background: var(--v8-accent)
}
.ledger-bar-col.is-current .ledger-bar-value {
  color: var(--v8-ink);
  font-weight: 700
}
.ledger-bar-date {
  padding-top: 8px;
  color: #9d978a;
  font-size: 9px;
  font-variant-numeric: tabular-nums
}
.ledger-chart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 13px;
  color: #92968b;
  font-size: 9px
}
.ledger-chart-summary strong {
  color: #343c47;
  font-size: 10px;
  font-weight: 600
}
.ledger-chart-summary .money {
  color: #343c47
}
.ledger-chart-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #6570a7;
  font-size: 9px
}
.ledger-chart-link .icon {
  width: 12px;
  height: 12px
}
.ledger-data {
  margin-top: 9px;
  border-top: 1px solid #eee9dd;
  color: #9b9588;
  font-size: 9px
}
.ledger-data summary {
  padding: 9px 0 3px;
  cursor: pointer;
  list-style: none
}
.ledger-data summary::before {
  content: "+";
  display: inline-block;
  width: 13px;
  color: #7d8494
}
.ledger-data[open] summary::before {
  content: "–"
}
.ledger-data .table-wrap {
  margin-top: 8px
}
body[data-route] .card.ledger-metrics {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 0
}
.ledger-metric {
  min-width: 0;
  padding: 18px 21px 17px
}
.ledger-metric + .ledger-metric {
  border-left: 1px solid #eee9dd
}
.ledger-metric-label {
  display: block;
  color: #979183;
  font-size: 9px;
  letter-spacing: .03em
}
.ledger-metric-value {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--v8-ink);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}
.ledger-metric-note {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #96998e;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap
}
.ledger-recent {
  grid-column: span 8;
  overflow: hidden
}
.ledger-quick {
  grid-column: span 4;
  overflow: hidden
}
body[data-route] .ledger-quick .card-header {
  padding-bottom: 11px
}
body[data-route] .ledger-quick .quick-steps {
  padding: 11px 14px 0
}
body[data-route] .ledger-quick .quick-step {
  padding: 9px 7px;
  border-bottom: 1px solid #f0ece3
}
body[data-route] .ledger-quick .quick-step:last-child {
  border-bottom: 0
}
body[data-route] .ledger-quick .quick-step h3 {
  color: #303844;
  font-size: 10.5px
}
body[data-route] .ledger-quick .quick-step p {
  color: #999b90;
  font-size: 9px
}
body[data-route] .ledger-quick .step-number {
  background: #f0f2fb;
  color: #405188
}
body[data-route] .ledger-quick .quick-callout {
  margin: 11px 14px 14px;
  padding: 11px 12px;
  border-color: #e8e3d7;
  background: #faf7ef;
  color: #85897c;
  font-size: 8.5px
}

@media (max-width: 1060px) {
  body[data-route] #main { padding: 26px 26px 32px }
  body[data-route] .topbar { padding: 0 26px }
  .ledger-board { grid-template-columns: 1fr }
  body[data-route] .card.ledger-balance,
  .ledger-chart,
  body[data-route] .card.ledger-metrics,
  .ledger-recent,
  .ledger-quick {
    grid-column: 1 / -1
  }
  body[data-route] .card.ledger-balance { min-height: 300px }
}
@media (max-width: 760px) {
  body[data-route] .main-wrap { margin-left: 0 }
  body[data-route] .sidebar { width: 280px }
  body[data-route] #main { padding: 19px 15px 26px }
  body[data-route] .page-heading h1 { font-size: 23px }
  body[data-route] .page-heading { margin-bottom: 16px }
  .ledger-board { gap: 13px }
  body[data-route] .card.ledger-balance { min-height: 285px; padding: 21px 19px 18px }
  .ledger-major { font-size: 38px }
  .ledger-decimal { font-size: 18px }
  .ledger-label { margin-top: 25px }
  .ledger-actions { margin-top: 18px }
  .ledger-bars { gap: 8px; height: 160px }
  .ledger-bar-track { height: 102px }
  .ledger-chart-body { padding: 15px 15px 13px }
  body[data-route] .card.ledger-metrics { grid-template-columns: 1fr 1fr }
  .ledger-metric { padding: 14px 15px }
  .ledger-metric:nth-child(3) { border-left: 0 }
  .ledger-metric:nth-child(n+3) { border-top: 1px solid #eee9dd }
  .ledger-metric-value { font-size: 20px }
  body[data-route] .ledger-quick .quick-steps { padding: 9px 12px 0 }
}

/* 邀请奖励 */
.referral-hero .card-body { display:flex; flex-direction:column; gap:16px; }
.referral-intro { margin:0; color:#7f8da6; font-size:12px; line-height:1.9; max-width:760px; }
.referral-code-box,
.referral-share { display:flex; align-items:center; gap:14px; padding:14px 16px; border:1px solid #e2eaf8; background:#f6f9ff; border-radius:12px; }
.referral-code-box { border-style:dashed; }
.referral-code-label { flex:0 0 auto; font-size:10px; letter-spacing:.08em; color:#8b9bb4; text-transform:uppercase; }
.referral-code { flex:1; min-width:0; font-size:17px; font-weight:650; letter-spacing:.08em; color:#3f64ca; overflow-wrap:anywhere; }
.referral-link { flex:1; min-width:0; font-size:11px; color:#65789b; overflow-wrap:anywhere; }
.referral-code-box .button,
.referral-share .button { flex:0 0 auto; }
.referral-stats { margin-top:20px; }
@media (max-width:760px) {
  .referral-code-box,
  .referral-share { flex-wrap:wrap; gap:8px; }
  .referral-code-label { width:100%; }
  .referral-code,
  .referral-link { flex:1 1 100%; }
  .referral-code-box .button,
  .referral-share .button { width:100%; justify-content:center; }
  .referral-stats { grid-template-columns:1fr 1fr; }
}

.referral-stats .stat-card:first-child {
  color:#101f38;
  border-color:var(--line);
  background:linear-gradient(180deg,#fff 0%,#f9fcff 100%);
  box-shadow:var(--shadow);
}
.referral-stats .stat-card:first-child::before,
.referral-stats .stat-card:first-child::after { display:none; }
.referral-stats .stat-card:first-child .stat-label { color:#8491a8; }
.referral-stats .stat-card:first-child .stat-icon { background:linear-gradient(145deg,#eef4ff,#e5edff); border:0; color:#3e6ff3; box-shadow:none; }
.referral-stats .stat-card:first-child .stat-value { color:#101f38; text-shadow:none; }
.referral-stats .stat-card:first-child .stat-foot { color:#8b98ae; }

/* 站点公告 */
.announcement-host { max-width:1440px; margin:0 auto 20px; }
.announcement-banner {
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:13px 15px;
  border:1px solid #dfe8fc;
  border-radius:11px;
  background:linear-gradient(135deg,#f5f8ff,#fbfcff);
  color:#617597;
  box-shadow:0 3px 12px #376cf50b;
}
.announcement-banner>.icon {
  width:18px;
  height:18px;
  margin-top:1px;
  color:#3e6ff3;
  flex-shrink:0;
}
.announcement-copy { min-width:0; flex:1; }
.announcement-copy strong {
  display:block;
  color:#283b5c;
  font-size:12px;
  margin-bottom:3px;
}
.announcement-copy p {
  margin:0;
  color:#6f809a;
  font-size:11.5px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.announcement-banner>.icon-button {
  width:30px;
  height:30px;
  margin:-4px -7px 0 0;
  color:#8b9bb7;
}
.announcement-banner>.icon-button:hover { color:#3e6ff3; }
.auth-card>.announcement-banner { margin-bottom:18px; }
@media(max-width:760px) {
  .announcement-host { margin-bottom:15px; }
  .announcement-banner { padding:12px 13px; gap:9px; }
  .announcement-banner>.icon-button { margin-right:-4px; }
}
