/* Ant Design Pro BasicLayout 静态壳：侧栏 + 顶栏 + 内容区
   新功能页复制 HTML 结构，菜单加 data-shell-nav，内容加 data-shell-panel
   侧栏配色：.antd-shell[data-sider-theme="ink|navy|mist|ocean|plum"] */
.antd-shell {
  --antd-shell-sider: 220px;
  --antd-primary: #1677ff;
  --sider-bg: #14181f;
  --sider-elev: #0e1116;
  --sider-text: rgba(255, 255, 255, 0.72);
  --sider-text-strong: #fff;
  --sider-text-muted: rgba(255, 255, 255, 0.42);
  --sider-hover-bg: rgba(255, 255, 255, 0.08);
  --sider-active-bg: var(--antd-primary);
  --sider-active-text: #fff;
  --sider-surface: rgba(255, 255, 255, 0.08);
  --sider-surface-hover: rgba(255, 255, 255, 0.12);
  --sider-surface-active: rgba(255, 255, 255, 0.16);
  --sider-border: rgba(255, 255, 255, 0.08);
  --sider-input-bg: rgba(255, 255, 255, 0.08);
  --sider-input-border: rgba(255, 255, 255, 0.16);
  --sider-placeholder: rgba(255, 255, 255, 0.35);
  --sider-edge: none;
  min-height: 100vh;
  display: flex;
  background: #f5f5f5;
}
.antd-shell[data-sider-theme="navy"] {
  --antd-primary: #1677ff;
  --sider-bg: #001529;
  --sider-elev: #002140;
  --sider-text: rgba(255, 255, 255, 0.65);
  --sider-text-strong: #fff;
  --sider-text-muted: rgba(255, 255, 255, 0.45);
  --sider-hover-bg: rgba(255, 255, 255, 0.08);
  --sider-active-bg: var(--antd-primary);
  --sider-active-text: #fff;
  --sider-surface: rgba(255, 255, 255, 0.08);
  --sider-surface-hover: rgba(255, 255, 255, 0.12);
  --sider-surface-active: rgba(255, 255, 255, 0.14);
  --sider-border: rgba(255, 255, 255, 0.08);
  --sider-input-bg: rgba(255, 255, 255, 0.08);
  --sider-input-border: rgba(255, 255, 255, 0.15);
  --sider-placeholder: rgba(255, 255, 255, 0.35);
  --sider-edge: none;
}
.antd-shell[data-sider-theme="mist"] {
  --antd-primary: #1677ff;
  --sider-bg: #f7f9fb;
  --sider-elev: #eef2f6;
  --sider-text: rgba(17, 34, 51, 0.78);
  --sider-text-strong: #112233;
  --sider-text-muted: rgba(17, 34, 51, 0.45);
  --sider-hover-bg: rgba(22, 119, 255, 0.08);
  --sider-active-bg: #e6f4ff;
  --sider-active-text: #1677ff;
  --sider-surface: #fff;
  --sider-surface-hover: #f0f4f8;
  --sider-surface-active: #fff;
  --sider-border: #e8edf2;
  --sider-input-bg: #fff;
  --sider-input-border: #d9d9d9;
  --sider-placeholder: rgba(17, 34, 51, 0.35);
  --sider-edge: 1px 0 0 #e8edf2;
}
.antd-shell[data-sider-theme="ocean"] {
  --antd-primary: #0ea5e9;
  --sider-bg: #06202d;
  --sider-elev: #041821;
  --sider-text: rgba(186, 230, 253, 0.78);
  --sider-text-strong: #f0f9ff;
  --sider-text-muted: rgba(125, 211, 252, 0.48);
  --sider-hover-bg: rgba(14, 165, 233, 0.14);
  --sider-active-bg: #0ea5e9;
  --sider-active-text: #04202c;
  --sider-surface: rgba(14, 165, 233, 0.12);
  --sider-surface-hover: rgba(14, 165, 233, 0.18);
  --sider-surface-active: rgba(14, 165, 233, 0.22);
  --sider-border: rgba(125, 211, 252, 0.12);
  --sider-input-bg: rgba(14, 165, 233, 0.1);
  --sider-input-border: rgba(125, 211, 252, 0.22);
  --sider-placeholder: rgba(186, 230, 253, 0.4);
  --sider-edge: none;
}
.antd-shell[data-sider-theme="plum"] {
  --antd-primary: #7c5cfc;
  --sider-bg: #1a1428;
  --sider-elev: #120e1c;
  --sider-text: rgba(233, 213, 255, 0.78);
  --sider-text-strong: #f5f3ff;
  --sider-text-muted: rgba(196, 181, 253, 0.48);
  --sider-hover-bg: rgba(124, 92, 252, 0.16);
  --sider-active-bg: #7c5cfc;
  --sider-active-text: #fff;
  --sider-surface: rgba(124, 92, 252, 0.14);
  --sider-surface-hover: rgba(124, 92, 252, 0.2);
  --sider-surface-active: rgba(124, 92, 252, 0.26);
  --sider-border: rgba(196, 181, 253, 0.12);
  --sider-input-bg: rgba(124, 92, 252, 0.12);
  --sider-input-border: rgba(196, 181, 253, 0.22);
  --sider-placeholder: rgba(233, 213, 255, 0.4);
  --sider-edge: none;
}
.antd-shell-sider {
  width: var(--antd-shell-sider);
  flex-shrink: 0;
  background: var(--sider-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  box-shadow: var(--sider-edge);
}
.antd-shell-logo {
  height: var(--antd-header-h, 56px);
  padding: 0 16px;
  background: var(--sider-elev);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sider-text-strong);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}
.antd-shell-logo img {
  width: 28px;
  height: 28px;
  display: block;
}
.antd-shell-corp {
  position: relative;
  flex-shrink: 0;
  padding: 0 8px 12px;
}
.antd-shell-sider > .antd-shell-corp:first-child {
  padding-top: 12px;
}
.antd-shell-corp-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 0 8px 0 6px;
  border: 1px solid var(--sider-border);
  border-radius: 6px;
  background: var(--sider-surface);
  color: var(--sider-text-strong);
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}
.antd-shell-corp-trigger:hover {
  background: var(--sider-surface-hover);
}
.antd-shell-corp-trigger[aria-expanded="true"] {
  background: var(--sider-surface-active);
}
.antd-shell-corp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--antd-primary, #1677ff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.antd-shell-corp-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.antd-shell-corp-kicker {
  font-size: 11px;
  color: var(--sider-text-muted);
  line-height: 1.2;
}
.antd-shell-corp-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--sider-text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.antd-shell-corp-caret {
  flex-shrink: 0;
  color: var(--sider-text-muted);
  transition: transform 0.18s ease;
}
.antd-shell-corp-trigger[aria-expanded="true"] .antd-shell-corp-caret {
  transform: rotate(180deg);
}
.antd-shell-corp-panel {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  width: 280px;
  max-width: calc(100vw - var(--antd-shell-sider) - 24px);
  z-index: 200;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12),
    0 9px 28px 8px rgba(0, 0, 0, 0.05);
  padding: 8px;
  display: flex;
  flex-direction: column;
}
.antd-shell-corp-panel.hidden {
  display: none;
}
.antd-shell-corp-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background: #fff;
  color: rgba(0, 0, 0, 0.88);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.antd-shell-corp-search input:focus {
  border-color: var(--antd-primary, #1677ff);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.1);
}
.antd-shell-corp-list {
  margin-top: 6px;
  max-height: 320px;
  overflow-y: auto;
}
.antd-shell-corp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.antd-shell-corp-item:hover {
  background: #f5f5f5;
}
.antd-shell-corp-item.is-current {
  background: #e6f4ff;
}
.antd-shell-corp-item-avatar {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #1677ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.antd-shell-corp-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.antd-shell-corp-item-name {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.antd-shell-corp-item.is-current .antd-shell-corp-item-name {
  color: #1677ff;
  font-weight: 600;
}
.antd-shell-corp-item-id {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.antd-shell-corp-item-check {
  flex-shrink: 0;
  color: #1677ff;
  font-weight: 700;
  font-size: 14px;
}
.antd-shell-corp-empty {
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  padding: 20px 8px;
}
.antd-shell-menu {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 0 16px;
}
.antd-shell-group:first-child {
  padding-top: 8px;
}
.antd-shell-group {
  padding: 16px 20px 8px;
  color: var(--sider-text-muted);
  font-size: 12px;
  line-height: 1;
}
.antd-shell-item {
  display: flex;
  align-items: center;
  margin: 4px 8px;
  padding: 0 16px;
  height: 40px;
  border-radius: 6px;
  color: var(--sider-text);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  border: 0;
  background: transparent;
  width: calc(100% - 16px);
  text-align: left;
  box-sizing: border-box;
}
.antd-shell-item:hover {
  color: var(--sider-text-strong);
  background: var(--sider-hover-bg);
}
.antd-shell-item.is-active {
  color: var(--sider-active-text);
  background: var(--sider-active-bg);
}
.antd-shell-item.is-disabled,
.antd-shell-item[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}
.antd-shell-item.is-disabled:hover,
.antd-shell-item[aria-disabled="true"]:hover {
  color: var(--sider-text);
  background: transparent;
}
.antd-shell-foot {
  flex-shrink: 0;
  padding: 12px;
  border-top: 1px solid var(--sider-border);
  background: var(--sider-elev);
}
.antd-shell-foot-label {
  font-size: 12px;
  color: var(--sider-text-muted);
  margin-bottom: 6px;
}
.antd-shell-token {
  display: flex;
  gap: 6px;
}
.antd-shell-token input {
  flex: 1;
  min-width: 0;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--sider-input-border);
  background: var(--sider-input-bg);
  color: var(--sider-text-strong);
  font-size: 12px;
}
.antd-shell-token input::placeholder {
  color: var(--sider-placeholder);
}
.antd-shell-token button {
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: var(--antd-primary, #1677ff);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.antd-shell-link {
  display: block;
  margin-top: 8px;
  color: var(--sider-text);
  font-size: 13px;
  text-decoration: none;
}
.antd-shell-link:hover {
  color: var(--sider-text-strong);
}
.antd-shell-user {
  position: relative;
  margin-left: 4px;
}
.antd-shell-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 8px 0 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.antd-shell-user-trigger:hover,
.antd-shell-user-trigger[aria-expanded="true"] {
  background: #f5f5f5;
}
.antd-shell-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--antd-primary, #1677ff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.antd-shell-user-name {
  font-size: 14px;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.antd-shell-user-caret {
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}
.antd-shell-user-trigger[aria-expanded="true"] .antd-shell-user-caret {
  transform: rotate(180deg);
}
.antd-shell-user-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 208px;
  z-index: 40;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12),
    0 9px 28px 8px rgba(0, 0, 0, 0.05);
  padding: 4px;
}
.antd-shell-user-menu.hidden {
  display: none;
}
.antd-shell-user-meta {
  padding: 10px 12px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
}
.antd-shell-user-meta-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.antd-shell-user-meta-role {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.antd-shell-user-meta-role:empty {
  display: none;
}
.antd-shell-user-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.88);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.antd-shell-user-item:hover {
  background: #f5f5f5;
}
.antd-shell-user-item.is-danger {
  color: #ff4d4f;
}
.antd-shell-user-item.is-danger:hover {
  background: #fff1f0;
}
.antd-shell-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.antd-shell-modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.antd-shell-modal-panel {
  position: relative;
  width: 520px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 80px);
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);
}
.antd-shell-modal-panel.is-wide {
  width: 720px;
}
#trkConfirm {
  z-index: 1200;
}
.antd-shell-modal-panel.is-confirm {
  width: 440px;
}
.antd-shell-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.antd-shell-modal-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}
.antd-shell-modal-body {
  padding: 16px;
  overflow: auto;
  flex: 1;
}
.antd-shell-modal-foot {
  padding: 10px 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.trk-crm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
#trkCrmTagFilterBtn.is-on {
  color: #1677ff;
  border-color: #91caff;
}
#trkCrmBody [data-filter-tag] {
  cursor: pointer;
}
#trkCrmBody [data-filter-tag]:hover {
  filter: brightness(0.96);
}
.trk-crm-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
}
.trk-tag-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.trk-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.trk-tag-picker-group {
  margin-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
}
.trk-tag-picker-group h4,
.trk-tag-picker-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.85);
  text-align: left;
  cursor: pointer;
}
.trk-tag-picker-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
}
.trk-tag-picker-group:not(.is-collapsed) .trk-tag-picker-caret {
  transform: rotate(90deg);
}
.trk-tag-picker-gname {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trk-tag-picker-gcount {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
}
.trk-tag-picker-group.is-collapsed .trk-tag-picker-items {
  display: none;
}
.trk-tag-picker-items {
  padding: 0 0 8px 16px;
}
.trk-tag-picker-group label,
.trk-tag-pick-none {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 8px 0;
  font-size: 13px;
  cursor: pointer;
}
#trkTagPick .trk-pick-tag-one {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 16px;
  accent-color: #1677ff;
  cursor: pointer;
}
#trkTagPick {
  z-index: 1300;
}
.trk-tag-combo {
  position: relative;
  min-width: 0;
}
.trk-tag-pick-btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding-right: 28px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.trk-tag-pick-btn .ant-tag {
  max-width: calc(100% - 4px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.trk-tag-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}
.trk-tag-clear:hover {
  background: rgba(0, 0, 0, 0.35);
}
.trk-clearable,
.trk-group-combo-main {
  position: relative;
  display: inline-block;
  min-width: 0;
  vertical-align: middle;
}
.trk-clearable {
  display: inline-flex;
  align-items: center;
}
.trk-clearable.has-value .trk-antd-select,
.trk-group-combo.has-value [data-group-pick],
.trk-group-combo-main.has-value .trk-antd-select {
  padding-right: 46px;
}
.trk-clearable .trk-tag-clear,
.trk-group-combo-main .trk-tag-clear {
  right: 26px;
}
.trk-tag-picker-list {
  max-height: min(420px, calc(100vh - 240px));
  overflow: auto;
  padding-right: 4px;
}
.trk-tag-pick-none {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  cursor: pointer;
}
#trkTagGroups .ant-card:last-child {
  margin-bottom: 0;
}
.antd-shell-modal-head .ant-btn {
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.45);
}
.antd-shell-main {
  margin-left: var(--antd-shell-sider);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.antd-shell-header {
  min-height: var(--antd-header-h, 56px);
  height: auto;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
}
.antd-shell-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  line-height: 1.3;
}
.antd-shell-desc {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}
.antd-shell-extra {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 21;
}
.antd-shell-content {
  padding: 16px 24px 24px;
  flex: 1;
}
body.antd-shell-page {
  margin: 0;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.sys-dialog {
  position: fixed;
  inset: 0;
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sys-dialog.hidden { display: none; }
.sys-dialog-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.sys-dialog-box {
  position: relative;
  z-index: 1;
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.sys-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 0;
}
.sys-dialog-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}
.sys-dialog-close {
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.sys-dialog-body { padding: 12px 24px 8px; }
.sys-dialog-msg {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.sys-dialog-msg.hidden { display: none; }
.sys-dialog-field { margin-top: 12px; }
.sys-dialog-field.hidden { display: none; }
.sys-dialog-input {
  width: 100%;
  height: 32px;
  padding: 0 11px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}
.sys-dialog-input:focus {
  outline: none;
  border-color: #1677ff;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}
.sys-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 24px 16px;
}

.antd-shell .mobile-nav-toggle {
  display: none;
}
.antd-shell-titles {
  min-width: 0;
  flex: 1;
}
.antd-shell-mask {
  display: none;
}

@media (max-width: 960px) {
  .antd-shell-sider {
    z-index: 1200;
    transform: translate3d(-110%, 0, 0);
    transition: transform 0.28s ease;
    width: min(var(--antd-shell-sider), 86vw);
    pointer-events: none;
  }
  .antd-shell.is-sider-open .antd-shell-sider {
    transform: none;
    pointer-events: auto;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.16);
  }
  .antd-shell-main {
    margin-left: 0;
  }
  .antd-shell-header {
    padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px 8px;
    gap: 8px;
  }
  .antd-shell-desc {
    display: none;
  }
  .antd-shell-content {
    padding: 12px;
  }
  .antd-shell-user-name {
    display: none;
  }
  .antd-shell-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.45);
  }
  .antd-shell.is-sider-open .antd-shell-mask {
    display: block;
  }
  .antd-shell.is-mobile .mobile-nav-toggle,
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .antd-shell-corp-panel {
    position: fixed;
    top: auto;
    bottom: 12px;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
  }
  .trk-create-bar,
  .trk-card-extra,
  .trk-visit-extra,
  .trk-crm-toolbar {
    flex-wrap: wrap;
  }
  .antd-shell-modal-panel,
  .antd-shell-modal-panel.is-wide,
  .antd-shell-modal-panel.is-confirm {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }
}
