:root {
  --ink: rgba(0,0,0,.85);
  --paper: #f0f2f5;
  --line: #f0f0f0;
  --aside: 210px;
  --primary: #1890ff;
  --danger: #ff4d4f;
  --success: #52c41a;
  --warning: #faad14;
}
html, body { height: 100%; margin: 0; }
.app-body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
}
.desk-body { background: var(--paper); }
.auth-body { background: #eceff5; }
.ant-message { z-index: 1300; top: 16px; }
.app-page { max-width: 720px; margin: 48px auto; padding: 24px; background: #fff; border-radius: 2px; }
.app-page h1 { margin: 0 0 12px; font-size: 22px; }
.app-page p { margin: 0; line-height: 1.7; color: rgba(0,0,0,.65); }
.app-page a { color: #1890ff; }

.app-shell.ant-layout { height: 100%; display: flex; flex-direction: row; background: var(--paper); }
.app-aside {
  width: var(--aside);
  flex: 0 0 var(--aside);
  max-width: var(--aside);
  min-width: var(--aside);
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width .2s cubic-bezier(.645,.045,.355,1), min-width .2s cubic-bezier(.645,.045,.355,1), max-width .2s cubic-bezier(.645,.045,.355,1), transform .2s cubic-bezier(.645,.045,.355,1);
}
.app-aside.ant-layout-sider { background: #fff; }
.app-aside.collapsed { width: 64px; flex-basis: 64px; min-width: 64px; max-width: 64px; }
.app-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  transition: padding .2s;
}
.app-logo-text { font-weight: 600; font-size: 16px; text-align: center; white-space: nowrap; overflow: hidden; width: 100%; }
.app-logo-img { display: block; max-width: 100%; max-height: 32px; object-fit: contain; }
.app-aside.collapsed .app-logo { padding: 0 8px; }
.app-aside.collapsed .app-logo-img { max-width: 40px; max-height: 28px; }
.app-aside.collapsed .app-logo-text { font-size: 14px; }
.app-aside.collapsed .menu-title, .app-aside.collapsed .ant-menu-title-content { display: none; }
.app-menu.ant-menu { flex: 1; overflow-y: auto; overflow-x: hidden; border-right: 0; }
.app-menu::-webkit-scrollbar { width: 0; height: 0; }
.ant-menu-item,
.app-menu .ant-menu-submenu { margin: 0 !important; width: 100% !important; padding: 0 !important; }
.app-menu.ant-menu-inline > .ant-menu-item { height: 46px !important; line-height: 46px !important; }
.app-menu.ant-menu-inline > .ant-menu-submenu { height: auto !important; line-height: 46px !important; }
.ant-menu-item .app-menu-item,
.app-menu .ant-menu-submenu-title.app-menu-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  height: 46px !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 16px 0 24px !important;
  color: inherit;
  text-decoration: none;
  line-height: 46px !important;
  box-sizing: border-box;
  width: 100% !important;
}
.app-menu .ant-menu-submenu-title.app-menu-group {
  position: relative;
  padding-right: 36px !important;
  cursor: pointer;
  user-select: none;
}
.app-menu-arrow {
  position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  margin-top: -5px; border-right: 1.5px solid rgba(0,0,0,.45); border-bottom: 1.5px solid rgba(0,0,0,.45);
  transform: rotate(-45deg); transition: transform .2s ease;
}
.ant-menu-submenu-open > .app-menu-group .app-menu-arrow {
  transform: rotate(45deg);
  margin-top: -7px;
}
.app-menu .ant-menu-sub { background: transparent !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.app-menu .ant-menu-sub .app-menu-item { padding-left: 52px !important; height: 40px; min-height: 40px; line-height: 40px; }
.app-menu .ant-menu-sub .ant-menu-item { height: 40px !important; line-height: 40px !important; }
.ant-menu-inline .ant-menu-item::after { border-right: 3px solid #1890ff; }
.app-menu-ico { width: 18px; height: 18px; flex-shrink: 0; display: grid; place-items: center; }
.app-menu-ico svg { width: 16px; height: 16px; display: block; }
.app-aside.collapsed .app-menu-arrow,
.app-aside.collapsed .ant-menu-sub { display: none !important; }
.menu-title { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.menu-unread {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  font-size: 12px; font-weight: 600; color: #fff; background: #ff4d4f;
  border-radius: 9px; line-height: 1;
}
.app-right, .app-right.ant-layout { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; background: var(--paper); }
.app-navbar.ant-layout-header {
  height: 48px; line-height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 0 16px; z-index: 20; box-shadow: 0 1px 4px rgba(0,21,41,.08); overflow: visible;
}
.app-navbar-left, .app-navbar-right { display: flex; align-items: center; height: 100%; }
.app-navbar-left { gap: 12px; }
.app-navbar-right { gap: 12px; }
.app-nav-balance {
  display: inline-flex; align-items: center; gap: 8px;
  margin-right: 4px; white-space: nowrap;
}
.app-nav-bal-text { font-size: 13px; color: rgba(0,0,0,.65); }
.app-nav-bal-text b { color: rgba(0,0,0,.85); font-weight: 600; }
.app-compare-link { color: #ff4d4f; font-weight: 600; font-size: 14px; text-decoration: none; margin-right: 8px; white-space: nowrap; }
.app-compare-link:hover { color: #ff7875; }
.app-fold.ant-btn { width: 32px; padding: 0; color: rgba(0,0,0,.65); }
.app-user-trigger {
  position: relative; display: flex; align-items: center; gap: 8px; height: 48px;
  padding: 0 8px 0 12px; cursor: pointer; transition: background .3s;
}
.app-user-trigger:hover { background: #fafafa; }
.ant-avatar-blue { background: #1890ff; color: #fff; }
.app-user-trigger .ant-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 32px; height: 32px; line-height: 32px;
  overflow: hidden; vertical-align: middle;
}
.app-user-trigger .ant-avatar-string {
  position: static; left: auto; top: auto; transform: none;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; line-height: 1; font-size: 14px;
}
.app-avatar-name { font-size: 14px; color: rgba(0,0,0,.85); line-height: 1; }
.app-caret { font-size: 12px; color: rgba(0,0,0,.45); line-height: 1; display: inline-flex; transition: transform .3s; }
.app-caret svg { display: block; }
.app-user-trigger.open .app-caret { transform: rotate(180deg); }
.app-user-trigger .ant-dropdown {
  position: absolute; left: auto; right: 0; top: 100%;
  width: max-content; min-width: 100%; z-index: 1050;
}
.app-user-trigger .ant-dropdown-menu {
  width: max-content; min-width: 100% !important; box-sizing: border-box;
}
.app-user-trigger .ant-dropdown-menu-item {
  white-space: nowrap; flex-wrap: nowrap; word-break: keep-all;
}
.app-user-trigger .ant-dropdown[hidden] { display: none !important; }
.app-main { flex: 1; min-height: 0; background: #f5f7fa; padding: 12px; overflow: auto; }
.page-head { margin-bottom: 8px; animation: antFadeIn .25s ease; }
.app-main .ant-page-header { padding: 0 0 8px; }
.app-main .ant-page-header-heading-title { font-size: 20px; }
.app-main .ant-page-header-content { padding-top: 0; }
.app-main .ant-page-header-content p { margin: 0; color: rgba(0,0,0,.45); font-size: 14px; }
.page-body {
  background: #fff; border-radius: 2px; padding: 18px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,.03), 0 1px 6px -1px rgba(0,0,0,.02), 0 2px 4px 0 rgba(0,0,0,.02);
  animation: antFadeIn .3s ease;
}
.app-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 30; animation: antFadeIn .2s ease; }

.ant-table-wrapper { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ant-table-container,
.ant-table-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ant-table table { width: max-content !important; min-width: 100%; table-layout: auto; }
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td { white-space: nowrap; overflow: visible; word-break: keep-all; vertical-align: middle; }
.ant-table-placeholder .ant-table-cell { white-space: normal; word-break: normal; }
.ant-empty { padding: 24px 0; }
.muted { color: rgba(0,0,0,.45); font-size: 13px; }
.rich-html { font-size: 14px; line-height: 1.7; color: rgba(0,0,0,.65); text-align: left; word-break: break-word; white-space: normal; }
.rich-html img { max-width: 100%; height: auto; }
.tool-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tool-left, .tool-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tool-right { margin-left: auto; }
.tool-left:empty { display: none; }
.tool-left:empty + .tool-right { margin-left: 0; }
.tool-bar:not(:has(.tool-left:not(:empty))) .tool-right { margin-left: 0; }
.tool-left input, .tool-right input { width: 200px; }
.tool-left select, .tool-right select { width: 140px; min-height: 32px; }
.app-input, .auth-form input, .app-field input, .app-field textarea, .app-field select,
.tool-left input, .tool-right input, .tool-left select, .tool-right select,
.ant-form-item .ant-input, .ant-form-item textarea.ant-input, .ant-form-item select.ant-input {
  height: 32px; padding: 4px 11px; border: 1px solid #d9d9d9; border-radius: 2px; outline: none;
  box-sizing: border-box; font-size: 14px; color: rgba(0,0,0,.85); background: #fff;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}
.app-input, .auth-form input, .app-field input, .app-field textarea, .app-field select,
.ant-form-item .ant-input, .ant-form-item textarea.ant-input, .ant-form-item select.ant-input {
  width: 100%;
}
.app-field textarea, .ant-form-item textarea.ant-input { height: auto; padding: 4px 11px; min-height: 80px; }
.app-input:hover, .auth-form input:hover, .app-field input:hover, .app-field textarea:hover, .app-field select:hover,
.tool-left input:hover, .tool-right input:hover, .ant-input:hover {
  border-color: #40a9ff;
}
.app-input:focus, .auth-form input:focus, .app-field input:focus, .app-field textarea:focus, .app-field select:focus,
.tool-left input:focus, .ant-input:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24,144,255,.2);
}
.ant-form-item { display: block; margin-bottom: 16px; }
.ant-form-item-label,
.ant-form-item-label > label,
.ant-form-horizontal .ant-form-item-label,
.app-field > span,
.app-label {
  display: block; float: none; width: auto; overflow: visible;
  margin-bottom: 8px; color: rgba(0,0,0,.85); font-size: 14px;
  text-align: left; white-space: normal; vertical-align: top;
}
.app-btn, a.app-btn, button.app-btn {
  display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center;
  height: 32px; padding: 4px 15px; border: 1px solid #d9d9d9; border-radius: 2px; background: #fff;
  color: rgba(0,0,0,.85); cursor: pointer; font-size: 14px; line-height: 1.5715; text-decoration: none;
  box-sizing: border-box; white-space: nowrap; word-break: keep-all; writing-mode: horizontal-tb;
  width: auto; max-width: none; flex-shrink: 0;
  transition: all .3s cubic-bezier(.645,.045,.355,1); box-shadow: 0 2px 0 rgba(0,0,0,.015);
}
.app-btn:hover { color: #40a9ff; border-color: #40a9ff; }
.app-btn-primary { background: #1890ff; border-color: #1890ff; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.12); box-shadow: 0 2px 0 rgba(0,0,0,.045); }
.app-btn-primary:hover { background: #40a9ff; border-color: #40a9ff; color: #fff; }
.app-btn-danger { background: #ff4d4f; border-color: #ff4d4f; color: #fff; }
.app-btn-danger:hover { background: #ff7875; border-color: #ff7875; color: #fff; }
.app-btn-success { background: #52c41a; border-color: #52c41a; color: #fff; }
.app-btn-warning { background: #faad14; border-color: #faad14; color: #fff; }
.app-btn-sm { height: 24px; padding: 0 7px; font-size: 14px; white-space: nowrap; }
.app-btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.pager { margin-top: 16px; }
.pager .ant-pagination { display: flex; flex-wrap: wrap; align-items: center; }
.app-field { margin-bottom: 16px; }

.ant-tabs { margin-bottom: 16px; }
.ant-tabs-ink-bar { transition: width .3s cubic-bezier(.645,.045,.355,1), left .3s cubic-bezier(.645,.045,.355,1); }
.ant-modal, .ant-modal-content, .ant-modal-header, .ant-modal-title, .ant-modal-body { text-align: left; }
.ant-modal-body p { margin: 0; }
.qs-shop-dialog-body p { margin: 0 0 .75rem; }
.ant-modal-footer { text-align: right; }
.ant-btn { white-space: nowrap; flex-direction: row; flex-wrap: nowrap; writing-mode: horizontal-tb; word-break: keep-all; }
.ant-modal-footer .ant-btn {
  display: inline-flex; align-items: center; justify-content: center;
}
.app-btn.ant-btn-loading,
.ant-btn.ant-btn-loading {
  pointer-events: none; opacity: .65;
}
.app-btn .ant-btn-loading-icon,
.ant-btn .ant-btn-loading-icon {
  display: inline-flex !important; align-items: center; margin-right: 8px; line-height: 0;
}
.app-btn .ant-btn-loading-icon .ant-spin,
.ant-btn .ant-btn-loading-icon .ant-spin {
  position: relative !important; display: inline-block !important; opacity: 1 !important;
}
.app-btn .ant-btn-loading-icon .ant-spin-dot,
.ant-btn .ant-btn-loading-icon .ant-spin-dot {
  position: relative; display: inline-block; margin: 0 !important;
  font-size: 14px; width: 14px; height: 14px;
}
.app-btn-primary .ant-btn-loading-icon .ant-spin-dot-item,
.ant-btn-primary .ant-btn-loading-icon .ant-spin-dot-item {
  background-color: #fff;
}
#appModal[data-busy="1"] .ant-modal-close,
#appModal[data-busy="1"] [data-cancel] { pointer-events: none; opacity: .45; }
.ant-switch.is-busy { pointer-events: none; }
.ant-table-cell .app-btn, .ant-table-cell .ant-btn, .ant-table-cell a.app-btn {
  display: inline-flex; flex-direction: row; flex-wrap: nowrap; white-space: nowrap; width: auto;
}
[data-shop-popup] .ant-modal-mask,
[data-shop-popup] .ant-modal-wrap { z-index: 1100; }

.stat-grid { display: grid; gap: 14px; margin-bottom: 18px; width: 100%; }
.stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card {
  background: #fafafa; border: 1px solid #f0f0f0; border-radius: 2px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; min-height: 86px; box-sizing: border-box;
  transition: box-shadow .3s cubic-bezier(.645,.045,.355,1), border-color .3s, transform .2s;
}
.stat-card.is-link { cursor: pointer; }
.stat-card.is-link:hover { border-color: #91d5ff; box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.stat-icon { width: 44px; height: 44px; border-radius: 10px; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.stat-icon svg { width: 22px; height: 22px; display: block; }
.stat-icon.blue { background: #1890ff; }
.stat-icon.cyan { background: #13c2c2; }
.stat-icon.orange { background: #fa8c16; }
.stat-icon.red { background: #f5222d; }
.stat-icon.green { background: #52c41a; }
.stat-icon.teal { background: #13c2c2; }
.stat-icon.purple { background: #722ed1; }
.stat-icon.gray { background: #8c8c8c; }
.stat-k { color: #909399; font-size: 13px; }
.stat-v { font-size: 22px; font-weight: 700; line-height: 1.3; }
.stat-s { color: #909399; font-size: 12px; }
.stat-span { grid-column: 1 / -1; }
.line-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-expire { display: flex; gap: 8px; align-items: center; min-width: 0; }
.meta-expire .addon-group { width: 100%; }
.line-share { padding: 10px 14px; }
.share-field { margin-bottom: 14px; }
.share-label { color: #606266; font-size: 14px; margin-bottom: 8px; }
.qr-img { width: 160px; height: 160px; display: block; }
.ant-modal-body:has(> .qr-pop) { padding: 0; }
.qr-pop { width: 100%; height: 100%; display: block; object-fit: contain; aspect-ratio: 1 / 1; padding: 10px; box-sizing: border-box; }
.addon-group {
  display: flex !important; flex-wrap: nowrap; align-items: stretch; width: 100%; float: none;
}
.addon-group > .ant-input {
  flex: 1 1 auto; min-width: 0; width: auto !important; height: 32px; border-radius: 2px 0 0 2px;
}
.addon-group > .ant-btn,
.addon-group > .app-btn {
  flex: 0 0 auto; height: 32px; margin-left: -1px; border-radius: 0 2px 2px 0; white-space: nowrap;
}
.addon-group > .ant-input[readonly] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fafafa; }
.addon-area { display: flex; gap: 8px; align-items: flex-start; width: 100%; }
.addon-area > .ant-input {
  flex: 1; min-width: 0; width: auto !important; height: auto !important; min-height: 96px; resize: vertical;
}
.addon-area > .ant-input[readonly] { background: #fafafa; }
.addon-area > input.ant-input {
  height: 32px !important; min-height: 32px !important; resize: none;
  overflow-x: auto; overflow-y: hidden; white-space: nowrap;
}
.addon-area > .ant-btn { flex: 0 0 auto; height: 32px; }
.one-row { display: flex; gap: 8px; align-items: stretch; }
.one-row .ant-input, .one-row input, .one-row textarea { flex: 1; min-width: 0; }
.mono { font-family: Consolas, "Courier New", monospace; }
.pkg-row { display: flex; gap: 0; margin-bottom: 12px; }
.opt-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.opt-row .ant-input { width: 110px !important; flex: 0 0 110px; height: 32px; }
.opt-unit { color: #909399; font-size: 13px; white-space: nowrap; }
.pager select { width: auto; min-width: 72px; height: 32px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ov-split { display: flex; flex-wrap: wrap; gap: 14px; width: 100%; align-items: stretch; }
.ov-col { min-width: 0; max-width: 100%; flex: 1 1 560px; border: 1px solid #f0f0f0; border-radius: 2px; padding: 12px; overflow: auto; }
.ov-orders { flex: 1 1 640px; }
.ov-users { flex: 1 1 480px; }
.traf-mini { line-height: 1.2; min-width: 0; }
.traf-mini .ant-progress { margin-bottom: 0; }
.traf-mini-use { font-size: 12px; color: rgba(0,0,0,.45); white-space: nowrap; margin-top: 2px; }
.unread-tag {
  display: inline-block; margin-left: 6px; padding: 0 6px; height: 18px; line-height: 18px;
  font-size: 12px; font-weight: 600; color: #fff; background: #f56c6c; border-radius: 9px;
}
.dash-hello {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px;
  padding: 16px 18px; border: 1px solid #f0f0f0; border-radius: 2px;
  background: linear-gradient(120deg, #e6f7ff 0%, #fafafa 58%, #fff 100%);
}
.dash-hello-k { font-size: 16px; font-weight: 700; }
.dash-hello-v { margin-top: 4px; color: #909399; font-size: 13px; }
.notice-list { display: flex; flex-direction: column; gap: 10px; }
.notice-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; transition: box-shadow .3s; text-decoration: none; color: inherit; }
a.notice-row:hover { box-shadow: 0 2px 8px rgba(0,0,0,.06); color: inherit; }
.notice-detail { max-width: 860px; }
.notice-detail-title { margin: 0 0 8px; font-size: 22px; font-weight: 600; color: rgba(0,0,0,.85); line-height: 1.4; }
.notice-detail-time { margin-bottom: 16px; color: rgba(0,0,0,.45); font-size: 13px; }
.notice-detail-body { padding-top: 4px; }
.notice-edit .app-textarea, .notice-edit textarea.ant-input { min-height: 280px; }
.notice-edit-actions { margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.notice-main { flex: 1; min-width: 0; }
.notice-title { font-weight: 700; font-size: 15px; }
.notice-time { color: #909399; font-size: 12px; margin-top: 4px; }
.acct-row { display: flex; gap: 16px; margin-bottom: 16px; }
.acct-col { flex: 1; min-width: 0; }
.acct-email,
.acct-email-group {
  display: flex; align-items: center; gap: 8px; width: 100%;
}
.acct-email .ant-input,
.acct-email-group .ant-input {
  flex: 1 1 auto; min-width: 0; width: auto !important; height: 32px; border-radius: 2px;
}
.acct-email .ant-btn,
.acct-email-group .ant-btn {
  flex: 0 0 auto; height: 32px; margin: 0; border-radius: 2px; white-space: nowrap;
}
.acct-form { width: 50%; max-width: 50%; box-sizing: border-box; }
.acct-email .ant-input[disabled],
.acct-email .ant-input[readonly],
.acct-form .ant-input[disabled],
.acct-form .ant-input[readonly] {
  cursor: text !important;
  color: rgba(0, 0, 0, .85);
}
.tool-left.filter-inline,
.filter-inline {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; width: 100%;
}
.filter-inline input[data-kw] { width: 220px !important; flex: 0 0 220px; min-width: 0; }
.filter-inline select[data-type] { width: 112px !important; flex: 0 0 112px; }
.filter-inline select[data-st] { width: 132px !important; flex: 0 0 132px; }
.filter-inline [data-q] { flex: 0 0 auto; }
.app-textarea {
  display: block; width: 100% !important; min-height: 240px !important; height: auto !important;
  line-height: 1.5715; resize: vertical;
}
.app-inline-spin.ant-spin {
  display: inline-flex !important; align-items: center; gap: 8px; color: #1890ff; vertical-align: middle;
}
.app-inline-spin .ant-spin-dot { display: inline-block; position: relative; }
.app-inline-spin .ant-spin-text { display: inline; padding: 0; color: rgba(0,0,0,.65); font-size: 14px; }
.ant-table-cell .app-inline-spin { white-space: nowrap; }
.ant-table-cell .ant-checkbox-wrapper { display: inline-flex; }
.ant-table-cell .ant-checkbox { top: 0; }
.line-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.line-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.line-meta, .line-auth { border: 1px solid #f0f0f0; border-radius: 2px; overflow: hidden; background: #fff; }
.meta-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.line-auth .meta-row { grid-template-columns: 108px minmax(0, 1fr); }
.meta-row:last-child { border-bottom: none; }
.meta-k { color: #909399; font-size: 13px; }
.meta-v { color: #303133; font-size: 14px; word-break: break-all; }
.meta-copy { display: flex; align-items: center; gap: 8px; }
.meta-traf-top { display: flex; justify-content: space-between; }
.meta-traf .ant-progress { margin-bottom: 0; }
.buy-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.buy-pane {
  border: 1px solid #eef1f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 56, 100, 0.06);
}
.buy-main { padding: 18px 22px 22px; }
.buy-side-wrap {
  position: sticky;
  top: calc(var(--qs-header-height, 60px) + 16px);
  align-self: start;
  overflow-anchor: none;
  z-index: 5;
}
.buy-side { padding: 0; overflow: hidden; }
.buy-side-head {
  padding: 18px 20px 10px;
  border-bottom: 1px solid #f0f3f8;
}
.buy-side-hint { margin-top: 4px; font-size: 12px; color: #909399; }
.buy-side .pane-title { margin-bottom: 0; }
.pane-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2a37;
  position: relative;
  padding-left: 12px;
}
.pane-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 3px;
  height: 1em;
  border-radius: 2px;
  background: #1890ff;
}
.cfg-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid #f5f7fb;
}
.cfg-row:last-child { border-bottom: 0; }
.cfg-label { color: #909399; font-size: 14px; line-height: 1.4; }
.cfg-val { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.cfg-pick.ant-btn {
  min-width: 72px; height: 32px !important; min-height: 32px; padding: 0 14px; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; font-size: 13px; box-sizing: border-box; white-space: nowrap;
  cursor: default; border-radius: 4px;
}
button.cfg-pick.ant-btn { cursor: pointer; }
.cfg-select { max-width: 320px; }
.cfg-radio-list { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.cfg-radio { display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; color: #303133; }
.cfg-range { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; }
.cfg-range-input {
  flex: 1; height: 4px; min-width: 120px; appearance: none; -webkit-appearance: none; border-radius: 999px;
  background: #e5e7eb; outline: none;
  background-image: linear-gradient(to right, #1890ff 0%, #e5e7eb 0%);
  background-size: 100% 4px; background-repeat: no-repeat; background-position: center;
}
.cfg-range-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: #1890ff; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(24,144,255,.35); cursor: pointer;
}
.cfg-range-input::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #1890ff; border: 2px solid #fff; cursor: pointer;
}
.cfg-range-num { width: 64px !important; text-align: center; }
.cfg-range-unit { color: #909399; font-size: 13px; white-space: nowrap; }
.cfg-os { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.cfg-os-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-os-item {
  min-width: 96px; height: 40px; padding: 0 12px; border: 1px solid #d9d9d9; border-radius: 4px;
  background: #fff; color: #303133; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.cfg-os-item.is-active { border-color: #1890ff; color: #1890ff; background: #e6f7ff; }
.cfg-os-ico {
  width: 20px; height: 20px; display: inline-block; flex: 0 0 20px; object-fit: contain;
}
.cfg-os-version-block { max-width: 320px; width: 100%; }
.cfg-os-version-label { font-size: 12px; color: #909399; margin-bottom: 6px; }
.cfg-os-version { width: 100%; }
.cfg-host-input { max-width: 320px; }
.cfg-pwd { flex-direction: column; align-items: flex-start !important; gap: 10px; width: 100%; }
.cfg-pwd-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-pwd-field { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.cfg-pwd-field .ant-input { flex: 1; min-width: 0; }
.buy-spec {
  list-style: none; margin: 0; padding: 8px 20px;
  border-bottom: 1px solid #f0f3f8; max-height: 280px; overflow: auto;
}
.buy-spec li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; font-size: 13px; color: #5b6577;
}
.buy-spec .k { color: #909399; flex: 0 0 auto; }
.buy-spec .v { text-align: right; color: #1f2a37; word-break: break-all; }
.buy-side-foot { padding: 12px 20px 18px; }
.buy-form.compact .buy-split { grid-template-columns: minmax(0, 1fr); }
.buy-form.compact .buy-side-wrap { position: static; width: 100%; }
.buy-form.compact .buy-side,
.buy-form.compact .buy-pane.buy-side { width: 100%; box-sizing: border-box; }
.side-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13px; }
.side-row .k { color: #909399; }
.side-row .v { color: #1f2a37; }
.side-price {
  margin: 6px 0 0; font-size: 32px; font-weight: 700; color: #f56c6c;
  letter-spacing: -0.5px; line-height: 1.1;
}
.side-price small { font-size: 16px; font-weight: 600; margin-right: 2px; }
.side-off { min-height: 18px; margin: 4px 0 10px; font-size: 12px; color: #67c23a; }
.svc-prod{line-height:1.35;white-space:normal;max-width:280px}
.svc-prod-name{color:#3fbf70;font-weight:600;word-break:keep-all;overflow-wrap:break-word}
a.svc-prod-name:hover{filter:brightness(1.08)}
.svc-prod-id{margin-top:2px;color:rgba(0,0,0,.45);font-size:12px;font-weight:400;white-space:nowrap}
.svc-user-link,.svc-ip-link{color:#1890ff;font-weight:500}
.svc-user-link:hover,.svc-ip-link:hover{color:#40a9ff}
.job-st{display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:1;white-space:nowrap}
.job-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.job-dot-ok{background:#15C6B2}
.job-dot-fail{background:#FD365B}
.job-dot-wait{background:#faad14}
.job-st-loading{
  width:14px;height:14px;border:2px solid #d9d9d9;border-top-color:#1890ff;border-radius:50%;
  display:inline-block;animation:job-spin .8s linear infinite;
}
@keyframes job-spin{to{transform:rotate(360deg)}}
.svc-status-cell{position:relative;display:inline-flex;align-items:center;white-space:nowrap;line-height:1;padding:0;margin:0;vertical-align:middle}
.ant-table-tbody > tr > td:has(.svc-status-cell){vertical-align:middle}
.svc-status-cell .ant-tag{
  margin:0;border-radius:999px;padding:0 10px;height:22px;line-height:22px;border:0;
  display:inline-flex;align-items:center
}
.svc-status-cell .ant-tag-success{background:#3fbf70;color:#fff}
.svc-status-cell .ant-tag-warning{background:#fca426;color:#fff}
.svc-status-cell .ant-tag-error{background:#e31519;color:#fff}
.svc-status-cell .ant-tag-default{background:#959799;color:#fff}
.svc-power-wrap{
  position:absolute;left:0;top:0;z-index:2;
  width:14px;height:14px;margin:0;padding:0;
  transform:translate(-35%,-35%);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;pointer-events:auto
}
.svc-power-wrap .app-inline-spin{
  display:flex !important;align-items:center;justify-content:center;
  gap:0 !important;line-height:0;width:14px;height:14px;margin:0
}
.svc-power-wrap .ant-spin-dot{
  font-size:12px !important;width:12px !important;height:12px !important;margin:0
}
.svc-power-wrap .ant-spin-text{display:none !important}
.svc-power-dot{
  width:14px;height:14px;border-radius:50%;
  box-sizing:border-box;border:2px solid #fff;display:block
}
.svc-power-dot.is-on{background:#67c23a}
.svc-power-dot.is-off{background:#f56c6c}
.svc-power-dot.is-unknown{background:#c0c4cc}
.coupon-value-wrap{position:relative;width:100%}
.coupon-value-wrap .ant-input{width:100%;padding-right:36px;box-sizing:border-box}
.coupon-value-unit{
  position:absolute;right:11px;top:50%;transform:translateY(-50%);
  color:rgba(0,0,0,.45);font-size:14px;line-height:1;pointer-events:none;user-select:none
}
.coupon-prod-select{min-height:168px;height:auto;padding:6px 8px;line-height:1.6}
.side-bal {
  display: flex; gap: 8px; align-items: center; margin: 0 0 10px;
  font-size: 13px; color: #5b6577; cursor: pointer;
}
.buy-side .addon-group { width: 100%; display: flex; }
.buy-side .addon-group .ant-input { flex: 1; min-width: 0; }
.buy-submit,
button.ant-btn.buy-submit {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 100% !important; max-width: none; height: 40px !important; min-height: 40px;
  margin-top: 12px; padding: 4px 15px; font-size: 15px; line-height: 1; box-sizing: border-box;
}
.buy-submit > span { display: inline-flex; align-items: center; line-height: 1; }
.buy-submit > .ant-btn-loading-icon {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 14px; line-height: 0;
}
.buy-submit > .ant-btn-loading-icon .anticon {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding-right: 8px; height: 14px; line-height: 0; font-size: 14px;
  vertical-align: 0 !important; animation: none;
}
.buy-submit svg,
.qs-page-back svg,
.ant-btn .anticon svg {
  display: block; width: 14px; height: 14px; margin: 0 !important; vertical-align: 0 !important;
}
.qs-page-back.ant-btn {
  display: inline-flex !important; flex-direction: row; align-items: center; justify-content: center;
  height: 32px; line-height: 1; padding: 0 15px; margin-bottom: 16px; vertical-align: middle;
}
.qs-page-back .anticon {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 14px; height: 14px; line-height: 0; font-size: 14px; vertical-align: 0 !important;
}
.qs-page-back.ant-btn > .anticon + span {
  display: inline-flex; align-items: center; margin-left: 8px; line-height: 1;
}
.pay-ways { display: flex; flex-direction: column; gap: 10px; }
.pay-way {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid #d9d9d9; border-radius: 2px; background: #fff; cursor: pointer; text-align: left;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}
.pay-way.on { border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,.2); background: #e6f7ff; }
.pay-ico { width: 28px; height: 28px; border-radius: 6px; }
.pay-setup { margin-bottom: 0; }
.pay-row, .popup-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-meta, .popup-meta { flex: 1; }
.prod-bind-list { display:flex; flex-direction:column; gap:8px; max-height:280px; overflow:auto; padding:8px 12px; border:1px solid #f0f0f0; border-radius:6px; background:#fafafa; }
.prod-bind-item { display:flex; align-items:center; gap:8px; margin:0; font-size:14px; cursor:pointer; }
.sys-split { display: flex; gap: 24px; }
.sys-col { flex: 1; min-width: 0; }
.sys-pair { display: flex; gap: 16px; }
.sys-pair > .ant-form-item { flex: 1; min-width: 0; }
.logo-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo-preview { height: 48px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 2px; background: #fafafa; }
.logo-preview img { max-height: 36px; max-width: 160px; }
.logo-hint { margin-top: 6px; margin-bottom: 12px; color: #909399; font-size: 12px; }
.desc-list { border: 1px solid var(--line); border-radius: 4px; }
.desc-row { display: grid; grid-template-columns: 100px 1fr; border-bottom: 1px solid var(--line); align-items: center; }
.desc-row:last-child { border-bottom: 0; }
.desc-row > .desc-k,
.desc-row > .desc-v,
.desc-row > span { padding: 8px 12px; min-width: 0; }
.desc-row > .desc-k,
.desc-row > span:first-child { background: #fafafa; color: #909399; }
.desc-row > .desc-v,
.desc-row > span:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: rgba(0,0,0,.85); }
.desc-row .ant-tag { margin: 0 !important; }

.auth-page { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 28px 16px; box-sizing: border-box; }
.auth-card {
  width: min(880px, 100%); min-height: 560px; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 465px);
  background: #fff; border-radius: 2px; box-shadow: 0 3px 6px -4px rgba(0,0,0,.12), 0 6px 16px 0 rgba(0,0,0,.08), 0 9px 28px 8px rgba(0,0,0,.05); overflow: hidden;
  animation: antZoomIn .2s cubic-bezier(.08,.82,.17,1);
}
.auth-main { padding: 42px 40px 36px; display: flex; flex-direction: column; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: inherit; text-decoration: none; width: fit-content; min-height: 36px; }
.auth-mark { width: 28px; height: 28px; border-radius: 2px; display: grid; place-items: center; background: #1890ff; color: #fff; font-size: 11px; font-weight: 800; }
.auth-name { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: #1f2d3d; }
.auth-logo { display: block; max-height: 36px; max-width: 180px; object-fit: contain; }
.auth-main h1 { margin: 0 0 22px; font-size: 28px; font-weight: 800; color: #1f2d3d; }
.auth-hint { margin: -12px 0 20px; color: #909399; font-size: 13px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.auth-tab {
  flex: 1; height: 36px; border: 1px solid #d9d9d9; background: #fff; border-radius: 6px;
  color: rgba(0,0,0,.65); cursor: pointer; font-size: 13px;
}
.auth-tab.on { border-color: #1890ff; color: #1890ff; background: #e6f7ff; }
.auth-tab:disabled { opacity: .45; cursor: not-allowed; }
.auth-item { display: block; margin-bottom: 16px; color: #606266; font-size: 13px; }
.auth-item input { margin-top: 4px; height: 40px; }
.auth-item[hidden] { display: none !important; }
.auth-extra { margin: 2px 0 14px; color: #909399; font-size: 12px; }
.auth-submit { width: 100%; height: 40px; }
.auth-submit.ant-btn { width: 100%; }
.auth-submit[disabled] { opacity: .7; }
.cap-row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 8px; width: 100%; margin-top: 4px; }
.cap-row > .ant-input,
.auth-form .cap-row input,
.ant-form-item .cap-row > .ant-input {
  flex: 1 1 auto; min-width: 0; width: auto !important;
}
.cap-box {
  display: block; border: 1px solid #d9d9d9; border-radius: 2px; cursor: pointer; background: #fafafa;
  box-sizing: border-box;
}
.cap-row .cap-box {
  flex: 0 0 110px; width: 110px; min-width: 110px; height: 32px;
}
.cap-row .cap-send {
  flex: 0 0 auto; width: auto; min-width: 110px; height: 32px; padding: 0 15px; white-space: nowrap;
}
.auth-item .cap-row > .ant-input,
.auth-item .cap-row input { height: 40px; margin-top: 0; }
.auth-item .cap-row .cap-box,
.auth-item .cap-row .cap-send.ant-btn { height: 40px !important; }
.cap-send { border: 1px solid #d9d9d9; border-radius: 2px; background: #fff; cursor: pointer; font-size: 14px; transition: all .3s; }
.auth-footer { margin-top: 14px; }
.auth-center { text-align: center; color: #909399; font-size: 13px; }
.auth-row { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.auth-link { color: #1890ff; font-size: 13px; text-decoration: none; }
.auth-link:hover { color: #40a9ff; }
.auth-side { margin: 16px; border-radius: 2px; background: linear-gradient(180deg, #40a9ff 0%, #1890ff 100%); color: #fff; display: flex; flex-direction: column; overflow: hidden; min-height: 520px; }
.auth-map { flex: 1; min-height: 220px; padding: 28px 16px 8px; display: flex; align-items: center; }
.auth-map-wrap { position: relative; width: 100%; line-height: 0; overflow: visible; }
.auth-map-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(15,35,95,.22)); }
.auth-map-pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; z-index: 1; }
.auth-map-pin.is-on { z-index: 2; }
.auth-map-dot { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.22); animation: antFadeIn 1.2s ease-in-out infinite alternate; }
.auth-map-label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-block; box-sizing: border-box; white-space: nowrap;
  padding: 4px 8px; border-radius: 3px;
  background: rgba(8, 22, 48, .92); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility .2s;
}
.auth-map-label::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px;
  border: 5px solid transparent; border-top-color: rgba(8, 22, 48, .92); border-bottom-width: 0;
}
.auth-map-pin.is-on .auth-map-label { opacity: 1; visibility: visible; }
.auth-agree {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 2px 0 14px; color: #606266; font-size: 13px; line-height: 1.6;
}
.auth-agree .ant-checkbox-wrapper { display: inline-flex; align-items: center; margin: 0 !important; }
.auth-agree .ant-checkbox { top: 0; }
.auth-form .auth-agree input.ant-checkbox-input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: pointer; border: 0; box-shadow: none; background: transparent;
}
.auth-agree-text { color: #606266; }
.auth-agree-text a { margin: 0 .35em; }
.rich-html.auth-legal-body { max-height: 60vh; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.auth-side-copy { padding: 4px 28px 28px; }
.auth-side-copy h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: #fff; }
.auth-side-copy ul { margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.9; }
.qs-shop-dialog-body { max-height: 60vh; overflow: auto; color: #677788; line-height: 1.7; word-break: break-word; }
.qs-shop-dialog-body img { max-width: 100%; }

.user-back-bar { margin: 0 0 8px; }
.sup-st { display: inline-flex; cursor: pointer; line-height: 1; }
.sup-st .anticon, .sup-st .ant-spin { pointer-events: none; }
.user-detail-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.user-detail-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.user-detail-name { letter-spacing: .02em; }
.user-overview { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 16px; align-items: start; }
.user-profile { background: #fff; border: 1px solid #f0f0f0; border-radius: 2px; padding: 18px 20px; }
.user-profile-title { font-weight: 600; margin-bottom: 14px; }
.user-kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.user-kv .k { color: #8c8c8c; flex-shrink: 0; }
.user-kv .v { color: rgba(0,0,0,.85); text-align: right; word-break: break-all; }
.user-bal-adj { color: #1890ff; margin-right: 6px; }
.user-bal-adj:hover { color: #40a9ff; }
.user-profile-acts { margin-top: 16px; }
.user-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.user-stat-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 2px; padding: 18px 20px; min-height: 110px; }
.user-stat-card .k { color: #8c8c8c; font-size: 13px; margin-bottom: 8px; }
.user-stat-card .v { font-size: 28px; font-weight: 700; line-height: 1.2; }
.user-stat-card .v.is-danger, .is-danger { color: #f5222d; }
.is-ok { color: #52c41a; }
.user-stat-card .s { color: #8c8c8c; font-size: 12px; margin-top: 8px; }
@media (max-width: 900px) {
  .buy-split { grid-template-columns: 1fr; }
  .buy-side-wrap { position: static; }
  .user-overview { grid-template-columns: 1fr; }
  .user-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .auth-card { grid-template-columns: 1fr; min-height: 0; }
  .auth-side { display: none; }
  .line-cols { grid-template-columns: 1fr; }
}
@media (max-width: 992px) { .stat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .app-aside { position: fixed; left: 0; top: 0; bottom: 0; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .app-aside.open { transform: translateX(0); }
  .app-avatar-name, .app-caret, .ant-breadcrumb { display: none; }
  .stat-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid-3 .stat-card:nth-child(3) { grid-column: 1 / -1; }
  .stat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-split, .sys-split, .acct-row { flex-direction: column; }
  .acct-form { width: 100%; max-width: 100%; }
  .ov-col, .ov-orders, .ov-users { width: 100%; max-width: 100%; flex: 1 1 auto; }
  .tool-bar { flex-direction: column; align-items: stretch; }
  .tool-left, .tool-right { width: 100%; margin-left: 0; }
  .tool-left input, .tool-right input, .tool-left select, .tool-right select { flex: 1; width: auto; }
  .filter-inline {
    overflow: visible; width: 100%; gap: 6px;
  }
  .filter-inline input[data-kw],
  .filter-inline select[data-type],
  .filter-inline select[data-st],
  .filter-inline input,
  .filter-inline select {
    flex: 1 1 0 !important; width: auto !important; min-width: 0 !important;
  }
  .filter-inline input[data-kw] { flex: 1.5 1 0 !important; }
  .filter-inline select[data-type] { flex: 0.8 1 0 !important; }
  .filter-inline select[data-st] { flex: 1 1 0 !important; }
  .filter-inline [data-q] { flex: 0 0 auto !important; padding: 4px 10px; }
}

/* ??????????? */
.shelf-tip{margin:0 0 14px;padding:10px 12px;background:#f6ffed;border:1px solid #b7eb8f;border-radius:4px;color:rgba(0,0,0,.65);font-size:13px;line-height:1.6}
.shelf-toolbar{margin-bottom:14px}
.shelf-table-wrap{width:100%;overflow-x:auto}
.shelf-table{width:100%;border-collapse:collapse;min-width:900px}
.shelf-table th,.shelf-table td{padding:10px 12px;border-bottom:1px solid #f0f0f0;text-align:left;font-size:13px;vertical-align:middle}
.shelf-table thead th{background:#fafafa;color:rgba(0,0,0,.65);font-weight:600}
.shelf-cat-row{background:#f7fbff}
.shelf-first-row{background:#e8f3ff}
.shelf-second-row{background:#f7fbff}
.shelf-cat-title{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.shelf-cat-title-sub{padding-left:18px}
.shelf-cat-title:hover .shelf-cat-name,.shelf-cat-title:hover .shelf-toggle{color:#1890ff}
.shelf-cat-name{color:#1890ff;font-weight:600;word-break:keep-all;overflow-wrap:break-word;white-space:normal;hyphens:none}
.shelf-first-row .shelf-cat-name{color:#096dd9}
.shelf-prod-row td:nth-child(2){padding-left:36px}
.shelf-prod-row[data-root] td:nth-child(2){padding-left:52px}
.shelf-second-row td:nth-child(2){padding-left:8px}
.shelf-prod-name{color:rgba(0,0,0,.65);word-break:keep-all;overflow-wrap:break-word;white-space:normal}
.shelf-name{line-height:1.35;word-break:keep-all;overflow-wrap:break-word}
.shelf-name-up{color:rgba(0,0,0,.45);font-size:12px}
.shelf-name-local{color:rgba(0,0,0,.65);font-weight:400}
@media (max-width:767.98px){
  .shelf-prod-name,.shelf-name,.shelf-name-up,.shelf-name-local,.shelf-cat-name{
    white-space:normal;word-break:keep-all;overflow-wrap:break-word;hyphens:none
  }
}
.shelf-hidden{color:#fa8c16;font-size:12px}
.shelf-tag-up-hidden{display:inline-block;margin-left:6px;padding:0 6px;border:1px solid #ffbb96;background:#fff7e6;color:#d46b08;border-radius:2px;font-size:12px;line-height:20px;vertical-align:middle;font-weight:400}
.shelf-price{line-height:1.35}
.shelf-price-up{color:rgba(0,0,0,.45);font-size:12px}
.shelf-price-local{color:rgba(0,0,0,.65);font-weight:400}
.shelf-toggle,.shelf-drag-handle{
  border:0;background:transparent;color:rgba(0,0,0,.45);
  padding:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;vertical-align:middle
}
.shelf-drag-handle{cursor:grab;color:rgba(0,0,0,.35)}
.shelf-drag-handle:hover{color:#1890ff}
.shelf-drag-handle:active{cursor:grabbing}
.shelf-toggle .anticon,.shelf-drag-handle .anticon{display:inline-flex;font-size:12px;transition:transform .2s ease}
.shelf-cat-title.is-open .shelf-toggle .anticon{transform:rotate(90deg)}
.shelf-drag{white-space:nowrap;width:48px;text-align:center}
.shelf-dragging{opacity:.45;background:#e6f7ff !important}
.shelf-drag-over{box-shadow:inset 0 2px 0 #1890ff}
.shelf-empty{text-align:center;color:rgba(0,0,0,.45);padding:28px 12px !important}
.shelf-prod-empty td{background:#fcfcfc}
.shelf-stock{line-height:1.35}
.shelf-stock-host{color:rgba(0,0,0,.85);font-variant-numeric:tabular-nums}
.shelf-stock-up{font-size:12px;margin-top:2px}

/* ????????? */
.pull-log-warn{margin:0 0 12px;padding:10px 12px;background:#fff7e6;border:1px solid #ffd591;border-radius:4px;color:#d46b08;font-size:13px;line-height:1.6}
.pull-log-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13px;gap:12px}
.pull-log-bar{height:8px;background:#f5f5f5;border-radius:4px;overflow:hidden;margin-bottom:12px}
.pull-log-bar-inner{height:100%;background:#1890ff;transition:width .2s ease}
.pull-log-list{height:360px;overflow:auto;border:1px solid #f0f0f0;border-radius:4px;background:#fafafa;padding:8px 10px;font-size:12px;line-height:1.55}
.pull-log-line{display:flex;gap:8px;padding:2px 0;border-bottom:1px dashed #f0f0f0}
.pull-log-line:last-child{border-bottom:0}
.pull-log-time{flex:0 0 58px;color:rgba(0,0,0,.35);font-variant-numeric:tabular-nums}
.pull-log-text{flex:1;word-break:break-all;color:rgba(0,0,0,.65)}
.pull-log-ok .pull-log-text{color:#389e0d}
.pull-log-err .pull-log-text{color:#cf1322}
.pull-log-warn .pull-log-text{color:#d46b08}
.pull-log-info .pull-log-text{color:rgba(0,0,0,.65)}
.tk-box { display: flex; flex-direction: column; gap: 12px; }
.tk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0; }
.tk-user { color: rgba(0,0,0,.65); }
.tk-list { max-height: 360px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 8px; }
.tk-msg { max-width: 86%; padding: 10px 12px; border-radius: 8px; background: #f5f5f5; }
.tk-msg.is-me { align-self: flex-end; background: #e6f7ff; }
.tk-msg.is-other { align-self: flex-start; background: #fafafa; border: 1px solid #f0f0f0; }
.tk-msg-hd { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 12px; color: rgba(0,0,0,.45); }
.tk-msg-hd b { color: rgba(0,0,0,.75); font-weight: 600; }
.tk-msg-bd { white-space: pre-wrap; word-break: break-word; line-height: 1.6; color: rgba(0,0,0,.85); }
.tk-file { display: inline-block; margin-top: 6px; margin-right: 8px; font-size: 12px; color: #1890ff; }
.tk-close { display: flex; align-items: center; gap: 6px; color: rgba(0,0,0,.65); font-size: 13px; }
.renew-box{padding:4px 0 8px}
.renew-row{display:flex;align-items:flex-start;gap:16px;margin-bottom:18px}
.renew-label{width:88px;flex:0 0 88px;text-align:right;padding-top:6px;color:rgba(0,0,0,.85)}
.renew-cycles{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.renew-amount{display:flex;align-items:baseline;gap:8px;flex:1;padding-top:2px}
.renew-price{color:#1890ff;font-size:24px;line-height:1.2}
.renew-price b{font-weight:600}
.renew-cycle-zh{color:rgba(0,0,0,.65);font-size:14px}
.renew-due{flex:1;padding-top:6px;line-height:1.6}
.renew-bal{display:flex;align-items:center;gap:8px;margin:4px 0 16px 104px}
.renew-actions{margin-left:104px}
@media(max-width:575.98px){
  .renew-row{flex-direction:column;gap:8px}
  .renew-label{width:auto;flex:none;text-align:left;padding-top:0}
  .renew-bal,.renew-actions{margin-left:0}
}
