* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#root {
  width: 100%;
  height: 100%;
  overflow: hidden;
  scrollbar-width: none;
}

body {
  --home-card-radius: 15px;
  --home-modal-glass-bg: rgba(255, 255, 255, 0.72);
  --home-modal-glass-border: rgba(255, 255, 255, 0.72);
  --home-modal-glass-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --home-modal-divider: rgba(100, 116, 139, 0.28);
  --home-modal-control-bg: rgba(255, 255, 255, 0.16);
  --home-modal-control-border: rgba(148, 163, 184, 0.28);
  --home-modal-inner-bg: rgba(255, 255, 255, 0.42);
  --home-modal-inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 8px 20px rgba(15, 23, 42, 0.05);
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
}

body .ant-card,
body .ant-alert,
body .ant-collapse,
body .ant-descriptions-bordered > .ant-descriptions-view,
body .ant-table-wrapper .ant-table,
body .ant-table-wrapper .ant-table-container,
body .ant-modal-container,
body .ant-drawer-content,
body .ant-popover-inner,
body .ant-dropdown-menu,
body .ant-select-dropdown,
body .ant-cascader-dropdown,
body .ant-picker-dropdown .ant-picker-panel-container,
body .ant-message-notice-content,
body .ant-upload-wrapper .ant-upload-drag,
body [class*="card_"],
body [class*="Card_"],
body [class*="panel_"],
body [class*="Panel_"],
body [class*="section_"],
body [class*="Section_"],
body [class*="box_"],
body [class*="Box_"],
body [class*="container_"],
body [class*="Container_"],
body [class*="item_"],
body [class*="Item_"],
body [class*="table_"],
body [class*="Table_"],
body [class*="list_"],
body [class*="List_"],
body [class*="toolbar_"],
body [class*="Toolbar_"],
body [class*="notice_"],
body [class*="Notice_"],
body [class*="preview_"],
body [class*="Preview_"],
body [class*="empty_"],
body [class*="Empty_"],
body [class*="shell_"],
body [class*="Shell_"],
body [class*="hero_"],
body [class*="Hero_"],
body [class*="contentStyle_"],
body [class*="pageWrap_"],
body [class*="summaryCard_"],
body [class*="metricCard_"],
body [class*="statsCard_"],
body [class*="overviewCard_"],
body [class*="panelCard_"],
body [class*="tableCard_"],
body [class*="searchCard_"] {
  border-radius: var(--home-card-radius) !important;
}

body .ant-btn:not(.ant-btn-circle):not(.ant-btn-round):not(.ai-dispatch-capsule),
body .ant-tabs-tab,
body .ant-pagination-item,
body .ant-pagination-prev .ant-pagination-item-link,
body .ant-pagination-next .ant-pagination-item-link,
body input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']),
body textarea,
body select {
  border-radius: var(--home-card-radius) !important;
}

body:not(.app-dark-theme) .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-color: var(--home-modal-control-border) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  background-color: rgba(255, 255, 255, 0.56) !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

body:not(.app-dark-theme) .ant-select-dropdown,
body:not(.app-dark-theme) .ant-cascader-dropdown {
  border: 1px solid var(--home-modal-control-border) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  background-color: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.66) !important;
}

body:not(.app-dark-theme) .ant-select-item,
body:not(.app-dark-theme) .ant-cascader-menu-item {
  color: #334155;
  background: transparent;
  border-radius: 10px;
}

body:not(.app-dark-theme) .ant-select-item-option-active:not(.ant-select-item-option-disabled),
body:not(.app-dark-theme) .ant-cascader-menu-item:hover:not(.ant-cascader-menu-item-disabled) {
  background: rgba(255, 255, 255, 0.5) !important;
}

body:not(.app-dark-theme) .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
body:not(.app-dark-theme) .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {
  color: #1e293b !important;
  background: rgba(226, 232, 240, 0.56) !important;
  font-weight: 600;
}

body.app-dark-theme {
  --home-app-bg: #11121c;
  --home-surface-bg: #1c1b2b;
  --home-modal-bg: #1c1b2b;
  --home-modal-glass-bg: rgba(38, 36, 56, 0.7);
  --home-modal-glass-border: rgba(190, 176, 255, 0.2);
  --home-modal-glass-shadow: 0 24px 64px rgba(3, 7, 18, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --home-modal-divider: rgba(203, 213, 225, 0.2);
  --home-modal-control-bg: rgba(18, 18, 31, 0.5);
  --home-modal-control-border: rgba(190, 176, 255, 0.2);
  --home-modal-inner-bg: rgba(24, 23, 39, 0.48);
  --home-modal-inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(3, 7, 18, 0.18);
  --home-elevated-bg: #252337;
  --home-card-bg: #222033;
  --home-card-border: rgba(154, 132, 244, 0.18);
  --home-text: #f8fafc;
  --home-muted-text: #a9a2c6;
  --home-border: rgba(154, 132, 244, 0.16);
  --home-field-bg: #171622;
  --home-primary: #9a84f4;
  --home-table-line: rgba(154, 132, 244, 0.14);
  --home-scrollbar-track: #171622;
  --home-scrollbar-thumb: rgba(169, 162, 198, 0.62);
  --home-scrollbar-thumb-hover: rgba(216, 208, 255, 0.78);
  color: var(--home-text);
  background: var(--home-app-bg);
  scrollbar-color: var(--home-scrollbar-thumb) var(--home-scrollbar-track);
}

body.app-dark-theme *,
body.app-dark-theme .ant-modal-root .ant-modal-wrap,
body.app-dark-theme .ant-modal-root .ant-modal-body,
body.app-dark-theme .ant-drawer-body,
body.app-dark-theme .ant-select-dropdown,
body.app-dark-theme .ant-picker-dropdown {
  scrollbar-color: var(--home-scrollbar-thumb) var(--home-scrollbar-track);
}

body.app-dark-theme *::-webkit-scrollbar,
body.app-dark-theme .ant-modal-root .ant-modal-wrap::-webkit-scrollbar,
body.app-dark-theme .ant-modal-root .ant-modal-body::-webkit-scrollbar,
body.app-dark-theme .ant-drawer-body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.app-dark-theme *::-webkit-scrollbar-track,
body.app-dark-theme .ant-modal-root .ant-modal-wrap::-webkit-scrollbar-track,
body.app-dark-theme .ant-modal-root .ant-modal-body::-webkit-scrollbar-track,
body.app-dark-theme .ant-drawer-body::-webkit-scrollbar-track {
  background: var(--home-scrollbar-track);
}

body.app-dark-theme *::-webkit-scrollbar-thumb,
body.app-dark-theme .ant-modal-root .ant-modal-wrap::-webkit-scrollbar-thumb,
body.app-dark-theme .ant-modal-root .ant-modal-body::-webkit-scrollbar-thumb,
body.app-dark-theme .ant-drawer-body::-webkit-scrollbar-thumb {
  min-height: 40px;
  border: 2px solid var(--home-scrollbar-track);
  border-radius: 999px;
  background: var(--home-scrollbar-thumb);
}

body.app-dark-theme *::-webkit-scrollbar-thumb:hover,
body.app-dark-theme .ant-modal-root .ant-modal-wrap::-webkit-scrollbar-thumb:hover,
body.app-dark-theme .ant-modal-root .ant-modal-body::-webkit-scrollbar-thumb:hover,
body.app-dark-theme .ant-drawer-body::-webkit-scrollbar-thumb:hover {
  background: var(--home-scrollbar-thumb-hover);
}

body.app-dark-theme *::-webkit-scrollbar-button,
body.app-dark-theme .ant-modal-root .ant-modal-wrap::-webkit-scrollbar-button,
body.app-dark-theme .ant-modal-root .ant-modal-body::-webkit-scrollbar-button,
body.app-dark-theme .ant-drawer-body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body.app-dark-theme .ant-modal-root,
body.app-dark-theme .ant-modal-root .ant-modal,
body.app-dark-theme .ant-modal-root .ant-modal-content {
  --ant-modal-content-bg: var(--home-modal-bg);
  --ant-modal-header-bg: var(--home-modal-bg);
  --ant-color-bg-container: var(--home-modal-bg);
  --ant-color-bg-elevated: var(--home-modal-bg);
  --ant-color-text: var(--home-text);
  --ant-color-text-secondary: var(--home-muted-text);
  --ant-color-text-disabled: rgba(216, 208, 238, 0.48);
}

body.app-dark-theme .ant-modal-root .ant-modal-mask {
  background-color: rgba(3, 7, 18, 0.5);
}

body.app-dark-theme .ant-modal-root .ant-modal-content,
body.app-dark-theme .ant-modal-root .ant-modal-header,
body.app-dark-theme .ant-modal-root .ant-modal-footer,
body.app-dark-theme .ant-drawer-content,
body.app-dark-theme .ant-drawer-header,
body.app-dark-theme .ant-drawer-body,
body.app-dark-theme .ant-popover-inner,
body.app-dark-theme .ant-dropdown-menu,
body.app-dark-theme .ant-select-dropdown,
body.app-dark-theme .ant-cascader-dropdown,
body.app-dark-theme .ant-picker-dropdown .ant-picker-panel-container {
  color: var(--home-text) !important;
  background: var(--home-surface-bg) !important;
  border-color: var(--home-border) !important;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-modal-container {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--home-modal-glass-border) !important;
  background: var(--home-modal-glass-bg) !important;
  background-color: var(--home-modal-glass-bg) !important;
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  background-clip: padding-box;
  border-radius: 15px !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: var(--home-modal-glass-shadow) !important;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-modal-content {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-modal-header {
  background: transparent !important;
  background-color: transparent !important;
  padding: 20px 24px 16px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--home-modal-divider) !important;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-modal-body {
  color: var(--home-text, inherit) !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 20px 24px !important;
  border-radius: 15px;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-modal-footer {
  background: transparent !important;
  background-color: transparent !important;
  padding: 16px 24px 24px !important;
  margin-top: 0 !important;
  border-top: 1px solid var(--home-modal-divider) !important;
}

body.app-dark-theme .ant-modal-root .ant-modal-confirm-body-wrapper,
body.app-dark-theme .ant-modal-root .ant-modal-confirm-body,
body.app-dark-theme .ant-modal-root .ant-modal-confirm-content,
body.app-dark-theme .ant-modal-root .ant-modal-confirm-btns {
  background: transparent !important;
  background-color: transparent !important;
}

body.app-dark-theme .ant-modal-root .ant-table,
body.app-dark-theme .ant-modal-root .ant-table-container,
body.app-dark-theme .ant-modal-root .ant-table-cell,
body.app-dark-theme .ant-modal-root .ant-table-tbody > tr > td {
  color: var(--home-text) !important;
  background: var(--home-modal-bg) !important;
  border-color: var(--home-table-line) !important;
}

body.app-dark-theme .ant-modal-root .ant-table-thead > tr > th {
  color: var(--home-text) !important;
  background: var(--home-modal-bg) !important;
  border-color: var(--home-table-line) !important;
}

body.app-dark-theme .ant-modal-root .ant-table-tbody > tr:hover > td {
  background: var(--home-modal-bg) !important;
}

body.app-dark-theme .ant-modal-root [class*="agencyProfileCard"],
body.app-dark-theme .ant-modal-root [class*="agencySection"],
body.app-dark-theme .ant-modal-root [class*="agencyStatCard"],
body.app-dark-theme .ant-modal-root [class*="agencyNoticeCard"],
body.app-dark-theme .ant-modal-root [class*="agencyLogTableWrap"],
body.app-dark-theme .ant-modal-root [class*="detailSection"],
body.app-dark-theme .ant-modal-root [class*="detailCard"],
body.app-dark-theme .ant-modal-root [class*="staffHeroCard"],
body.app-dark-theme .ant-modal-root [class*="summaryCard"],
body.app-dark-theme .ant-modal-root [class*="summaryBlock"],
body.app-dark-theme .ant-modal-root [class*="timelineCard"],
body.app-dark-theme .ant-modal-root [class*="timelineBox"],
body.app-dark-theme .ant-modal-root [class*="infoMiniCard"],
body.app-dark-theme .ant-modal-root [class*="editFormSection"],
body.app-dark-theme .ant-modal-root [class*="formNotice"],
body.app-dark-theme .ant-modal-root [class*="iconUploadField"],
body.app-dark-theme .ant-modal-root [class*="videoFileUploadRow"],
body.app-dark-theme .ant-modal-root [class*="contentMediaUploadPreview"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionTreeWrap"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionSelectedWrap"],
body.app-dark-theme .ant-modal-root [class*="assignUserSearchPanel"],
body.app-dark-theme .ant-modal-root [class*="communityPostHero"],
body.app-dark-theme .ant-modal-root [class*="communityPostContentCard"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetrics"] {
  background: var(--home-modal-inner-bg) !important;
  background-color: var(--home-modal-inner-bg) !important;
  border-color: var(--home-modal-control-border) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  box-shadow: var(--home-modal-inner-shadow) !important;
}

body.app-dark-theme .ant-modal-root [class*="sectionInlineHeader"] h3,
body.app-dark-theme .ant-modal-root [class*="timelineCardHeader"] strong,
body.app-dark-theme .ant-modal-root [class*="timelineContent"] strong {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-root [class*="sectionMeta"],
body.app-dark-theme .ant-modal-root [class*="timelineCardMeta"],
body.app-dark-theme .ant-modal-root [class*="timelineContent"] span,
body.app-dark-theme .ant-modal-root [class*="timelineContent"] p,
body.app-dark-theme .ant-modal-root [class*="logResultModalBody"] p {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-modal-root [class*="logResultModalBody"] p:first-child {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-title,
body.app-dark-theme .ant-drawer-title,
body.app-dark-theme .ant-popover-title,
body.app-dark-theme .ant-dropdown-menu-title-content,
body.app-dark-theme .ant-select-item,
body.app-dark-theme .ant-picker-content th,
body.app-dark-theme .ant-picker-cell {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-confirm-title,
body.app-dark-theme .ant-modal-confirm-content,
body.app-dark-theme .ant-modal-root .ant-form-item-label > label,
body.app-dark-theme .ant-modal-root .ant-radio-wrapper,
body.app-dark-theme .ant-modal-root .ant-checkbox-wrapper,
body.app-dark-theme .ant-modal-root .ant-descriptions-item-label,
body.app-dark-theme .ant-modal-root .ant-descriptions-item-content {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-close,
body.app-dark-theme .ant-drawer-close,
body.app-dark-theme .ant-select-item-option-disabled,
body.app-dark-theme .ant-picker-header button,
body.app-dark-theme .ant-picker-header-view,
body.app-dark-theme .ant-picker-cell-disabled {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-modal-root .ant-form-item-extra,
body.app-dark-theme .ant-modal-root .ant-form-item-explain,
body.app-dark-theme .ant-modal-root .ant-modal-confirm-content,
body.app-dark-theme .ant-modal-root .ant-upload-hint {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-modal-root .ant-input-disabled,
body.app-dark-theme .ant-modal-root .ant-input[disabled],
body.app-dark-theme .ant-modal-root .ant-picker-disabled,
body.app-dark-theme .ant-modal-root .ant-select-disabled .ant-select-selector,
body.app-dark-theme .ant-modal-root textarea:disabled {
  color: rgba(216, 208, 238, 0.6) !important;
  -webkit-text-fill-color: rgba(216, 208, 238, 0.6) !important;
  background: rgba(23, 22, 34, 0.72) !important;
  border-color: var(--home-border) !important;
}

body.app-dark-theme .ant-modal-root .ant-tree,
body.app-dark-theme .ant-modal-root .ant-tree-list {
  color: var(--home-text) !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.app-dark-theme .ant-modal-root .ant-upload,
body.app-dark-theme .ant-modal-root .ant-upload-list,
body.app-dark-theme .ant-modal-root .ant-upload-list-item,
body.app-dark-theme .ant-modal-root .ant-card,
body.app-dark-theme .ant-modal-root .ant-card-body {
  color: var(--home-text) !important;
  background: var(--home-modal-inner-bg) !important;
  background-color: var(--home-modal-inner-bg) !important;
  border-color: var(--home-modal-control-border) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
}

body.app-dark-theme .ant-modal-root .ant-tree-node-content-wrapper,
body.app-dark-theme .ant-modal-root .ant-checkbox-wrapper,
body.app-dark-theme .ant-modal-root .ant-radio-wrapper {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-root .ant-tree-node-content-wrapper:hover,
body.app-dark-theme .ant-modal-root .ant-tree-node-selected {
  background: rgba(154, 132, 244, 0.14) !important;
}

body.app-dark-theme .ant-modal-root .ant-checkbox-disabled + span,
body.app-dark-theme .ant-modal-root .ant-radio-disabled + span,
body.app-dark-theme .ant-modal-root .ant-select-disabled,
body.app-dark-theme .ant-modal-root .ant-select-disabled .ant-select-selection-item,
body.app-dark-theme .ant-modal-root .ant-select-disabled .ant-select-selection-placeholder {
  color: rgba(216, 208, 238, 0.54) !important;
}

body.app-dark-theme .ant-dropdown-menu-item:hover,
body.app-dark-theme .ant-select-item-option-active,
body.app-dark-theme .ant-select-item-option-selected,
body.app-dark-theme .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
body.app-dark-theme .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
body.app-dark-theme .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
  color: #ece9ff !important;
  background: rgba(154, 132, 244, 0.22) !important;
}

body.app-dark-theme .ant-modal-root .ant-btn-default {
  color: var(--home-text) !important;
  background: var(--home-field-bg) !important;
  border-color: var(--home-border) !important;
}

body.app-dark-theme .ant-modal-root .ant-btn-default:hover,
body.app-dark-theme .ant-modal-root .ant-btn-default:focus {
  color: #ece9ff !important;
  background: rgba(154, 132, 244, 0.18) !important;
  border-color: rgba(216, 208, 255, 0.32) !important;
}

body.app-dark-theme .ant-modal-root .ant-btn-primary {
  color: #fff !important;
  background: var(--home-primary) !important;
  border-color: var(--home-primary) !important;
  box-shadow: none !important;
}

body.app-dark-theme .ant-modal-root .ant-btn-primary:disabled,
body.app-dark-theme .ant-modal-root .ant-btn-primary.ant-btn-disabled {
  color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.app-dark-theme .ant-modal-root .ant-modal-confirm-body .anticon {
  color: var(--home-primary) !important;
}

body.app-dark-theme .ant-modal-root [class*="detailLabel"],
body.app-dark-theme .ant-modal-root [class*="detailItem"] > span,
body.app-dark-theme .ant-modal-root [class*="detailItem"] label,
body.app-dark-theme .ant-modal-root [class*="baseInfoGrid"] span,
body.app-dark-theme .ant-modal-root [class*="orderDetailGrid"] span,
body.app-dark-theme .ant-modal-root [class*="agencyProfileGrid"] span,
body.app-dark-theme .ant-modal-root [class*="complaintInfoGrid"] span,
body.app-dark-theme .ant-modal-root [class*="reviewInfoGrid"] span,
body.app-dark-theme .ant-modal-root [class*="certificateMetaGrid"] span,
body.app-dark-theme .ant-modal-root [class*="timelineContent"] p,
body.app-dark-theme .ant-modal-root [class*="modalTip"] {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-modal-root [class*="detailValue"],
body.app-dark-theme .ant-modal-root [class*="detailItem"] > strong,
body.app-dark-theme .ant-modal-root [class*="baseInfoGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="orderDetailGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="agencyProfileGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="complaintInfoGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="reviewInfoGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="certificateMetaGrid"] strong,
body.app-dark-theme .ant-modal-root [class*="timelineContent"] strong,
body.app-dark-theme .ant-modal-root [class*="modalTitleRow"],
body.app-dark-theme .ant-modal-root [class*="confirmModalBody"],
body.app-dark-theme .ant-modal-root [class*="confirmBody"] {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-modal-root [class*="confirmModalBody"] strong,
body.app-dark-theme .ant-modal-root [class*="confirmBody"] strong {
  color: #ece9ff !important;
}

body.app-dark-theme .ant-input,
body.app-dark-theme .ant-input-affix-wrapper,
body.app-dark-theme .ant-input-number,
body.app-dark-theme .ant-picker,
body.app-dark-theme .ant-select-selector,
body.app-dark-theme .ant-textarea {
  color: var(--home-text) !important;
  background: var(--home-field-bg) !important;
  border-color: var(--home-border) !important;
}

body.app-dark-theme .ant-input-affix-wrapper > input.ant-input,
body.app-dark-theme .ant-input-affix-wrapper > textarea.ant-input {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body.app-dark-theme .ant-input::placeholder,
body.app-dark-theme textarea::placeholder,
body.app-dark-theme .ant-select-selection-placeholder,
body.app-dark-theme .ant-picker-input > input::placeholder {
  color: var(--home-muted-text) !important;
}

/* Keep validation feedback legible without letting Ant Design restore light fields. */
body.app-dark-theme .ant-form-item-has-error .ant-input,
body.app-dark-theme .ant-form-item-has-error .ant-input-affix-wrapper,
body.app-dark-theme .ant-form-item-has-error .ant-input-number,
body.app-dark-theme .ant-form-item-has-error .ant-picker,
body.app-dark-theme .ant-form-item-has-error .ant-select-selector,
body.app-dark-theme .ant-form-item-has-error .ant-mentions,
body.app-dark-theme .ant-input.ant-input-status-error,
body.app-dark-theme .ant-input-affix-wrapper.ant-input-status-error,
body.app-dark-theme .ant-input-number.ant-input-number-status-error,
body.app-dark-theme .ant-picker.ant-picker-status-error,
body.app-dark-theme .ant-select.ant-select-status-error .ant-select-selector,
body.app-dark-theme .ant-mentions.ant-mentions-status-error {
  color: var(--home-text) !important;
  border-color: #f87171 !important;
  background: var(--home-field-bg) !important;
  background-color: var(--home-field-bg) !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.12) !important;
}

body.app-dark-theme .ant-form-item-has-error .ant-input,
body.app-dark-theme .ant-form-item-has-error .ant-input-number-input,
body.app-dark-theme .ant-form-item-has-error .ant-picker-input > input,
body.app-dark-theme .ant-form-item-has-error .ant-select-selection-item,
body.app-dark-theme .ant-form-item-has-error .ant-select-selection-search-input,
body.app-dark-theme .ant-form-item-has-error .ant-mentions textarea {
  color: var(--home-text) !important;
  -webkit-text-fill-color: var(--home-text) !important;
}

body.app-dark-theme .ant-form-item-has-error .ant-input-affix-wrapper .ant-input,
body.app-dark-theme .ant-form-item-has-error .ant-input-number-input,
body.app-dark-theme .ant-form-item-has-error .ant-picker-input > input,
body.app-dark-theme .ant-form-item-has-error .ant-select-selection-search-input {
  background: transparent !important;
  background-color: transparent !important;
}

body.app-dark-theme .ant-form-item .ant-form-item-explain-error,
body.app-dark-theme .ant-form-item .ant-form-item-feedback-icon {
  color: #fca5a5 !important;
}

body.app-dark-theme .ant-modal-root [class*="labeledDetailPanel"],
body.app-dark-theme .ant-modal-root [class*="basicFormGrid"],
body.app-dark-theme .ant-modal-root [class*="editFormGrid"],
body.app-dark-theme .ant-modal-root [class*="editFormSectionGrid"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionPanel"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionSelectedList"],
body.app-dark-theme .ant-modal-root [class*="assignUserSearchForm"],
body.app-dark-theme .ant-modal-root [class*="communityPostDetail"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetaGrid"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetricGrid"],
body.app-dark-theme .ant-modal-root [class*="reportAuditPanel"],
body.app-dark-theme .ant-modal-root [class*="reportAuditSummaryGrid"],
body.app-dark-theme .ant-modal-root [class*="reportAuditMetaGrid"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceGrid"],
body.app-dark-theme .ant-modal-root [class*="auditDecisionPanel"],
body.app-dark-theme .ant-modal-root [class*="auditDecisionMetaRow"],
body.app-dark-theme .ant-modal-root [class*="auditDecisionMetaItem"],
body.app-dark-theme .ant-modal-root [class*="detailGridThree"],
body.app-dark-theme .ant-modal-root [class*="detailModalBody"] {
  color: var(--home-text) !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.app-dark-theme .ant-modal-root [class*="editFormSection"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionTreeWrap"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionSelectedWrap"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionTag"],
body.app-dark-theme .ant-modal-root [class*="assignUserSearchPanel"],
body.app-dark-theme .ant-modal-root [class*="iconUploadField"],
body.app-dark-theme .ant-modal-root [class*="videoFileUploadRow"],
body.app-dark-theme .ant-modal-root [class*="communityPostHero"],
body.app-dark-theme .ant-modal-root [class*="communityPostContentCard"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetrics"],
body.app-dark-theme .ant-modal-root [class*="communityPostAuditMediaPlaceholder"],
body.app-dark-theme .ant-modal-root [class*="reportAuditNotice"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceBox"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceCard"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewBox"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewCard"],
body.app-dark-theme .ant-modal-root [class*="detailSection"],
body.app-dark-theme .ant-modal-root [class*="actionSection"],
body.app-dark-theme .ant-modal-root [class*="auditBox"],
body.app-dark-theme .ant-modal-root [class*="timelineBox"] {
  color: var(--home-text) !important;
  background: var(--home-modal-inner-bg) !important;
  background-color: var(--home-modal-inner-bg) !important;
  border-color: var(--home-modal-control-border) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  box-shadow: var(--home-modal-inner-shadow) !important;
}

body.app-dark-theme .ant-modal-root [class*="iconPreviewBox"],
body.app-dark-theme .ant-modal-root [class*="menuIconPreviewBox"],
body.app-dark-theme .ant-modal-root [class*="menuIconPickerItem"],
body.app-dark-theme .ant-modal-root [class*="contentMediaUploadPreview"],
body.app-dark-theme .ant-modal-root [class*="communityPostMediaBox"],
body.app-dark-theme .ant-modal-root [class*="communityPostImage"],
body.app-dark-theme .ant-modal-root [class*="communityPostVideo"],
body.app-dark-theme .ant-modal-root [class*="profileAuditFieldValue"],
body.app-dark-theme .ant-modal-root [class*="reportEvidencePreview"],
body.app-dark-theme .ant-modal-root [class*="uploadBox"],
body.app-dark-theme .ant-modal-root [class*="fileGroup"],
body.app-dark-theme .ant-modal-root [class*="previewBox"] {
  color: var(--home-text) !important;
  background: var(--home-field-bg) !important;
  background-color: var(--home-field-bg) !important;
  border-color: var(--home-card-border) !important;
}

body.app-dark-theme .ant-modal-root [class*="detailLabel"],
body.app-dark-theme .ant-modal-root [class*="labeledDetailLabel"],
body.app-dark-theme .ant-modal-root [class*="basicLabel"],
body.app-dark-theme .ant-modal-root [class*="communityPostSummary"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetricLabel"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetaLabel"],
body.app-dark-theme .ant-modal-root [class*="assignUserIntro"],
body.app-dark-theme .ant-modal-root [class*="reportAuditSummaryLabel"],
body.app-dark-theme .ant-modal-root [class*="reportAuditMetaLabel"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceMeta"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewCopy"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewLabel"],
body.app-dark-theme .ant-modal-root [class*="auditDecisionMetaLabel"],
body.app-dark-theme .ant-modal-root [class*="fileName"],
body.app-dark-theme .ant-modal-root [class*="help"],
body.app-dark-theme .ant-modal-root [class*="limit"] {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-modal-root [class*="detailValue"],
body.app-dark-theme .ant-modal-root [class*="labeledDetailValue"],
body.app-dark-theme .ant-modal-root [class*="editFormSectionEyebrow"],
body.app-dark-theme .ant-modal-root [class*="editFormSectionTitle"],
body.app-dark-theme .ant-modal-root [class*="editFormSectionExtra"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionLabel"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionSelectedTitle"],
body.app-dark-theme .ant-modal-root [class*="communityPostEyebrow"],
body.app-dark-theme .ant-modal-root [class*="communityPostTitle"],
body.app-dark-theme .ant-modal-root [class*="communityPostAuthor"],
body.app-dark-theme .ant-modal-root [class*="communityPostSectionHeader"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetricValue"],
body.app-dark-theme .ant-modal-root [class*="communityPostMetaValue"],
body.app-dark-theme .ant-modal-root [class*="reportAuditNoticeTitle"],
body.app-dark-theme .ant-modal-root [class*="reportAuditNoticeDesc"],
body.app-dark-theme .ant-modal-root [class*="reportAuditSummaryValue"],
body.app-dark-theme .ant-modal-root [class*="reportAuditMetaValue"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceHeader"],
body.app-dark-theme .ant-modal-root [class*="reportEvidenceName"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewTitle"],
body.app-dark-theme .ant-modal-root [class*="serviceCardPreviewIcon"],
body.app-dark-theme .ant-modal-root [class*="auditDecisionMetaValue"],
body.app-dark-theme .ant-modal-root [class*="rolePermissionPanel"] .ant-tree-title,
body.app-dark-theme .ant-modal-root [class*="rolePermissionPanel"] .ant-tree-switcher {
  color: var(--home-text) !important;
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-input,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-input-affix-wrapper,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-input-number,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-picker,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-select-selector,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-cascader-picker,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-mentions,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-upload-wrapper .ant-upload-drag {
  border-color: var(--home-modal-control-border) !important;
  background: var(--home-modal-control-bg) !important;
  background-color: var(--home-modal-control-bg) !important;
  border-radius: 15px !important;
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-input-affix-wrapper .ant-input,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-input-number-input,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-picker-input > input,
body .ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal .ant-select-selection-search-input {
  background: transparent !important;
  background-color: transparent !important;
}

body.app-dark-theme .ant-drawer [class*="softPhonePanel"],
body.app-dark-theme .ant-drawer [class*="alertSoftPhonePanel"] {
  color: var(--home-text) !important;
  background: var(--home-app-bg) !important;
  background-color: var(--home-app-bg) !important;
}

body.app-dark-theme .ant-drawer [class*="softPhoneInfoCard"],
body.app-dark-theme .ant-drawer [class*="softPhoneFormCard"],
body.app-dark-theme .ant-drawer [class*="softPhoneIdleCard"],
body.app-dark-theme .ant-drawer [class*="softPhoneMetricGrid"] > div,
body.app-dark-theme .ant-drawer [class*="alertSoftPhoneContactCard"],
body.app-dark-theme .ant-drawer [class*="alertSoftPhoneDebugCard"] {
  color: var(--home-text) !important;
  background: var(--home-modal-bg) !important;
  background-color: var(--home-modal-bg) !important;
  border-color: var(--home-card-border) !important;
  box-shadow: none !important;
}

body.app-dark-theme .ant-drawer [class*="softPhoneGhostButton"],
body.app-dark-theme .ant-drawer [class*="softPhoneSignOutButton"],
body.app-dark-theme .ant-drawer [class*="alertSoftPhoneSignButton"] {
  box-shadow: none !important;
}

/* modal-mask: fixed inset-0 z-40 items-center justify-center bg-slate/45 p-6 */
.ant-modal-root .ant-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 40 !important;
  background-color: rgba(15, 23, 42, 0.45);
}

.ant-modal-root:not(.ai-dispatch-confirm-root):not([class*="aiModalRoot"]) .ant-modal-mask {
  -webkit-backdrop-filter: blur(8px) saturate(90%) !important;
  backdrop-filter: blur(8px) saturate(90%) !important;
}

.ant-modal-root .ant-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 40 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}

.ant-modal-root .ant-modal {
  top: auto !important;
  padding-bottom: 0 !important;
  margin: 0;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  pointer-events: none;
}

.ant-modal-root .ant-modal-container {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  pointer-events: auto;
  overflow: hidden;
}

.ant-modal-root .ant-modal-header,
.ant-modal-root .ant-modal-footer {
  flex-shrink: 0;
}

.ant-modal-root .ant-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.ai-dispatch-confirm-root.ant-modal-root .ant-modal-mask {
  z-index: 6200 !important;
}

.ai-dispatch-confirm-root.ant-modal-root .ant-modal-wrap {
  z-index: 6200 !important;
}

/* 表格操作列：缩小按钮间距 */
.ant-table-wrapper .ant-table-tbody .ant-space {
  gap: 4px !important;
}

.ant-table-wrapper .ant-table-tbody .ant-btn-link.ant-btn-sm {
  padding-inline: 2px;
  margin-inline: 0;
}

.ant-table-wrapper .ant-table {
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease;
}

body:not(.app-dark-theme) .ant-table-wrapper .ant-table-tbody > tr:nth-child(2n + 1) > td {
  background: #fff !important;
}

body:not(.app-dark-theme) .ant-table-wrapper .ant-table-tbody > tr:nth-child(2n) > td {
  background: rgba(148, 163, 184, 0.055) !important;
}

body:not(.app-dark-theme) .ant-table-wrapper .ant-table-tbody > tr > td {
  border-bottom-color: transparent !important;
}

body:not(.app-dark-theme) .ant-table-wrapper .ant-table-tbody > tr:nth-child(2n):hover > td,
body:not(.app-dark-theme) .ant-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td {
  background: rgba(237, 251, 255, 0.96) !important;
}

.ant-table-wrapper .ant-table-placeholder,
.ant-table-wrapper .ant-empty {
  transition: opacity 180ms ease, transform 180ms ease;
}

@supports selector(.ant-table-wrapper:has(.ant-table-placeholder)) {
  .ant-table-wrapper:has(.ant-table-placeholder) .ant-table {
    opacity: 0.88;
    transform: scaleY(0.986);
  }

  .ant-table-wrapper:not(:has(.ant-table-placeholder)) .ant-table {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ant-table-wrapper .ant-table,
  .ant-table-wrapper .ant-table-placeholder,
  .ant-table-wrapper .ant-empty {
    transition: none;
  }
}

body:not(.app-dark-theme) .ant-input.ant-input-disabled,
body:not(.app-dark-theme) .ant-input[disabled],
body:not(.app-dark-theme) .ant-input-affix-wrapper-disabled,
body:not(.app-dark-theme) .ant-input-number-disabled,
body:not(.app-dark-theme) .ant-picker-disabled,
body:not(.app-dark-theme) .ant-select.ant-select-disabled .ant-select-selector,
body:not(.app-dark-theme) .ant-mentions-disabled,
body:not(.app-dark-theme) textarea:disabled {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  background: #e5e7eb !important;
  background-color: #e5e7eb !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

body:not(.app-dark-theme) .ant-input-affix-wrapper-disabled > .ant-input,
body:not(.app-dark-theme) .ant-input-number-disabled .ant-input-number-input,
body:not(.app-dark-theme) .ant-picker-disabled .ant-picker-input > input {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  background: transparent !important;
  background-color: transparent !important;
}

body:not(.app-dark-theme) .ant-input-disabled::placeholder,
body:not(.app-dark-theme) .ant-input[disabled]::placeholder,
body:not(.app-dark-theme) .ant-picker-disabled input::placeholder,
body:not(.app-dark-theme) .ant-select-disabled .ant-select-selection-item,
body:not(.app-dark-theme) .ant-select-disabled .ant-select-selection-placeholder,
body:not(.app-dark-theme) .ant-select-disabled .ant-select-arrow {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
}

body:not(.app-dark-theme) .ant-checkbox-wrapper-disabled .ant-checkbox-inner,
body:not(.app-dark-theme) .ant-radio-wrapper-disabled .ant-radio-inner {
  border-color: #cbd5e1 !important;
  background: #e5e7eb !important;
}

body:not(.app-dark-theme) .ant-checkbox-wrapper-disabled,
body:not(.app-dark-theme) .ant-radio-wrapper-disabled,
body:not(.app-dark-theme) .ant-checkbox-wrapper-disabled > span,
body:not(.app-dark-theme) .ant-radio-wrapper-disabled > span {
  color: #94a3b8 !important;
}

body:not(.app-dark-theme) .ant-switch-disabled,
body:not(.app-dark-theme) .ant-slider-disabled .ant-slider-rail,
body:not(.app-dark-theme) .ant-slider-disabled .ant-slider-track {
  background: #cbd5e1 !important;
}

body:not(.app-dark-theme) .ant-btn:disabled,
body:not(.app-dark-theme) .ant-btn.ant-btn-disabled {
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  background: #e5e7eb !important;
  box-shadow: none !important;
}

/* 亮色模式下通知使用浅色毛玻璃。 */
body:not(.app-dark-theme) .ant-notification .ant-notification-notice {
  color: #1f2937 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16) !important;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

body:not(.app-dark-theme) .ant-notification .ant-notification-notice-message,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-message *,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-title,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-title * {
  color: #111827 !important;
}

body:not(.app-dark-theme) .ant-notification .ant-notification-notice-description,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-description * {
  color: #4b5563 !important;
}

body:not(.app-dark-theme) .ant-notification .ant-notification-notice-close,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-close * {
  color: #6b7280 !important;
}

body:not(.app-dark-theme) .ant-notification .ant-notification-notice-close:hover,
body:not(.app-dark-theme) .ant-notification .ant-notification-notice-close:hover * {
  color: #111827 !important;
}

/* 通知（notification）暗色主题适配 */
body.app-dark-theme .ant-notification .ant-notification-notice {
  color: var(--home-text) !important;
  background: rgba(14, 16, 26, 0.88) !important;
  border: 1px solid rgba(216, 208, 255, 0.2) !important;
  box-shadow: 0 14px 40px rgba(3, 7, 18, 0.54) !important;
}

body.app-dark-theme .ant-notification .ant-notification-notice-message,
body.app-dark-theme .ant-notification .ant-notification-notice-message *,
body.app-dark-theme .ant-notification .ant-notification-notice-title,
body.app-dark-theme .ant-notification .ant-notification-notice-title * {
  color: var(--home-text) !important;
}

body.app-dark-theme .ant-notification .ant-notification-notice-description {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-notification .ant-notification-notice-close {
  color: var(--home-muted-text) !important;
}

body.app-dark-theme .ant-notification .ant-notification-notice-close:hover {
  color: var(--home-text) !important;
}

/* WebSocket 消息在暗色主题中必须保持足够的文字对比度。 */
body.app-dark-theme .websocket-notification.ant-notification-notice {
  background: rgba(14, 16, 26, 0.88) !important;
}

body.app-dark-theme .websocket-notification .ant-notification-notice-message,
body.app-dark-theme .websocket-notification .ant-notification-notice-message *,
body.app-dark-theme .websocket-notification .ant-notification-notice-title,
body.app-dark-theme .websocket-notification .ant-notification-notice-title *,
body.app-dark-theme .websocket-notification.ant-notification-notice-message,
body.app-dark-theme .websocket-notification.ant-notification-notice-title {
  color: #f8fafc !important;
}

body.app-dark-theme .websocket-notification .ant-notification-notice-description,
body.app-dark-theme .websocket-notification .ant-notification-notice-description * {
  color: #d9d4ec !important;
}

body.app-dark-theme .websocket-notification .ant-notification-notice-close,
body.app-dark-theme .websocket-notification .ant-notification-notice-close * {
  color: #d9d4ec !important;
}

body.app-dark-theme .websocket-notification .ant-notification-notice-close:hover,
body.app-dark-theme .websocket-notification .ant-notification-notice-close:hover * {
  color: #f8fafc !important;
}
._addressMapPicker_7875f_1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
._addressMapModal_7875f_6 .ant-modal-content {
  background: var(--home-card-bg, #fff);
}
._addressMapModal_7875f_6 .ant-modal-header {
  background: var(--home-card-bg, #fff);
}
._addressMapToolbar_7875f_12 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
._addressMapSelected_7875f_17 {
  color: #344054;
  font-size: 13px;
  line-height: 1.6;
}
._addressMapBody_7875f_22 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  min-height: 440px;
}
._addressMapBody_7875f_22 > * {
  min-width: 0;
}
._addressMapCanvas_7875f_31 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 440px;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid #d9e2f1;
  border-radius: 8px;
  background: #f8fafc;
}
._addressMapPreview_7875f_43 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f7;
  cursor: grab;
  touch-action: none;
}
._addressMapPreviewDragging_7875f_53 {
  cursor: grabbing;
}
._addressMapTileLayer_7875f_56 {
  position: absolute;
  inset: 0;
}
._addressMapTile_7875f_56 {
  position: absolute;
  width: 256px;
  height: 256px;
  user-select: none;
  -webkit-user-drag: none;
}
._addressMapPin_7875f_67 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.16);
}
._addressMapZoomControls_7875f_79 {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
._addressMapZoomControls_7875f_79 .ant-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-color: #dbe4ff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
._addressMapPreviewCard_7875f_96 {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #dbe4ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
._addressMapPreviewCard_7875f_96 strong,
._addressMapPreviewCard_7875f_96 span {
  display: block;
}
._addressMapPreviewCard_7875f_96 strong {
  margin-bottom: 6px;
  font-size: 14px;
  color: #0f172a;
}
._addressMapPreviewCard_7875f_96 span {
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}
._addressMapResultList_7875f_121 {
  min-height: 440px;
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid #d9e2f1;
  border-radius: 8px;
  background: var(--home-card-bg, #fff);
}
._addressMapResultItem_7875f_129 {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
._addressMapResultItem_7875f_129:hover {
  background: #f5f8ff;
}
._addressMapResultItem_7875f_129 strong {
  display: block;
  margin-bottom: 4px;
  color: #172033;
  font-size: 14px;
}
._addressMapResultItem_7875f_129 span {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}
._addressMapEmpty_7875f_154 {
  padding: 18px 12px;
  color: #98a2b3;
  font-size: 13px;
  text-align: center;
}
body.app-dark-theme ._addressMapModal_7875f_6 .ant-modal-content,
body.app-dark-theme ._addressMapModal_7875f_6 .ant-modal-header,
body.app-dark-theme ._addressMapModal_7875f_6 .ant-modal-body,
body.app-dark-theme ._addressMapModal_7875f_6 .ant-modal-footer {
  color: var(--home-text) !important;
  border-color: var(--home-border) !important;
  background: var(--home-modal-bg) !important;
  background-color: var(--home-modal-bg) !important;
}
body.app-dark-theme ._addressMapSelected_7875f_17,
body.app-dark-theme ._addressMapEmpty_7875f_154 {
  color: var(--home-muted-text) !important;
}
body.app-dark-theme ._addressMapCanvas_7875f_31,
body.app-dark-theme ._addressMapPreview_7875f_43,
body.app-dark-theme ._addressMapResultList_7875f_121 {
  border-color: var(--home-card-border) !important;
  background: var(--home-field-bg) !important;
  background-color: var(--home-field-bg) !important;
}
body.app-dark-theme ._addressMapPreviewCard_7875f_96 {
  border-color: rgba(216, 208, 255, 0.28) !important;
  background: rgba(28, 27, 43, 0.94) !important;
  background-color: rgba(28, 27, 43, 0.94) !important;
  box-shadow: 0 12px 28px rgba(3, 7, 18, 0.42) !important;
}
body.app-dark-theme ._addressMapPreviewCard_7875f_96 strong {
  color: var(--home-text) !important;
}
body.app-dark-theme ._addressMapPreviewCard_7875f_96 span {
  color: var(--home-muted-text) !important;
}
body.app-dark-theme ._addressMapResultItem_7875f_129 {
  border-bottom-color: var(--home-border) !important;
  background: transparent !important;
}
body.app-dark-theme ._addressMapResultItem_7875f_129 strong {
  color: var(--home-text) !important;
}
body.app-dark-theme ._addressMapResultItem_7875f_129 span {
  color: var(--home-muted-text) !important;
}
body.app-dark-theme ._addressMapResultItem_7875f_129:hover,
body.app-dark-theme ._addressMapResultItem_7875f_129:focus {
  background: rgba(154, 132, 244, 0.14) !important;
}
body.app-dark-theme ._addressMapPin_7875f_67 {
  border-color: #ffe7ea !important;
  background: #ff6f7d !important;
  box-shadow: 0 0 0 6px rgba(255, 111, 125, 0.18) !important;
}
._imageUpload_1ecne_1 {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
._imagePreview_1ecne_6 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  overflow: hidden;
  color: #9aa5b5;
  font-size: 12px;
  background: #fafbfd;
  border: 1px dashed #d9e0ea;
  border-radius: 15px;
}
._imagePreview_1ecne_6 .ant-image {
  display: block;
}
._imageUploadActions_1ecne_23 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
._imageHint_1ecne_29,
._stockHint_1ecne_30 {
  color: #9aa5b5;
  font-size: 12px;
}
._storeSelector_1ecne_34 {
  width: 100%;
  overflow: hidden;
  border: 1px solid #d9e0ea;
  border-radius: 15px;
}
._storeSelectorToolbar_1ecne_40 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fafbfd;
  border-bottom: 1px solid #e8edf4;
}
._storeSelectorToolbar_1ecne_40 .ant-input-affix-wrapper {
  flex: 1;
  min-width: 0;
}
._storeSelectorCount_1ecne_52 {
  flex: 0 0 auto;
  color: #d4380d;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
._storeSelectorAction_1ecne_59 {
  flex: 0 0 auto;
  padding: 0;
  color: #1677ff;
  font-size: 12px;
  line-height: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
._storeSelectorAction_1ecne_59:disabled {
  color: #b7c0cc;
  cursor: not-allowed;
}
._storeSelectorList_1ecne_73 {
  display: flex;
  flex-wrap: wrap;
  max-height: 260px;
  overflow-y: auto;
  padding: 10px 14px;
  gap: 4px 14px;
}
._storeSelectorOption_1ecne_81 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
  padding: 4px 0;
  flex: 0 0 130px;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
._storeSelectorOptionText_1ecne_92 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._storeSelectorEmpty_1ecne_98 {
  width: 100%;
  padding: 14px;
  color: #9aa5b5;
  font-size: 12px;
  text-align: center;
}
._stockEditor_1ecne_105 {
  width: 100%;
  padding: 12px;
  background: #fafbfd;
  border: 1px solid #e8edf4;
  border-radius: 15px;
}
._stockEditorTitle_1ecne_112 {
  margin-bottom: 8px;
  color: #5a6678;
  font-size: 12px;
}
._stockRows_1ecne_117 {
  max-height: 220px;
  overflow-y: auto;
}
._stockRow_1ecne_117 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #e8edf4;
}
._stockRow_1ecne_117:last-child {
  border-bottom: 0;
}
._stockStoreName_1ecne_131 {
  width: 120px;
  overflow: hidden;
  color: #5a6678;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._stockUnit_1ecne_138 {
  color: #9aa5b5;
  font-size: 12px;
}
._stockEmpty_1ecne_142 {
  padding: 12px;
  color: #9aa5b5;
  background: #fafbfd;
  border: 1px dashed #d9e0ea;
  border-radius: 15px;
}
._productEditEditor_1ecne_149 {
  width: 100%;
}
._productEditDetails_1ecne_152 {
  width: 100%;
}
._productEditDetailLine_1ecne_155 {
  display: flex;
  padding: 9px 0;
  font-size: 13px;
}
._productEditDetailKey_1ecne_160 {
  width: 96px;
  flex: 0 0 96px;
  color: #9aa5b5;
}
._productEditDetailValue_1ecne_165 {
  flex: 1;
  min-width: 0;
  color: #334155;
  word-break: break-all;
}
._productEditInlineHint_1ecne_171 {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #9aa5b5;
  font-size: 12px;
}
._productEditFieldContent_1ecne_177 {
  flex: 1;
  min-width: 0;
}
._productEditFormItem_1ecne_181 {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}
._productEditFormItem_1ecne_181 .ant-input-number {
  width: 100%;
}
._productEditFieldContent_1ecne_177 .ant-form-item-explain {
  margin-top: 4px;
}
._productEditFieldContent_1ecne_177 .ant-form-item-explain-error {
  color: #ff4d4f;
}
._productEditInlineControl_1ecne_195 {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
}
._productEditOverrideBlock_1ecne_201 {
  margin-top: 8px;
}
._productEditSingleStoreSetup_1ecne_204 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-bottom: 8px;
  background: #fafbfd;
  border: 1px solid #d9e0ea;
  border-radius: 15px;
}
._productEditSingleStoreSetup_1ecne_204 .ant-select {
  flex: 1;
  min-width: 0;
}
._productEditProductName_1ecne_218 {
  font-weight: 700;
}
._productEditCoin_1ecne_221 {
  color: #d4380d;
  font-weight: 700;
}
._productEditSectionHeader_1ecne_225 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 8px;
  color: #9aa5b5;
  font-size: 12px;
}
._productEditStockRows_1ecne_234 {
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 12px;
  background: #fafbfd;
  border: 1px solid #d9e0ea;
  border-radius: 15px;
}
._productEditStockRow_1ecne_234 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 7px 0;
  border-bottom: 1px solid #e8edf4;
  font-size: 13px;
}
._productEditStockRow_1ecne_234:last-child {
  border-bottom: 0;
}
._productEditStoreName_1ecne_254 {
  width: 110px;
  flex: 0 0 110px;
  overflow: hidden;
  color: #5a6678;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._productEditStockRow_1ecne_234 .ant-input-number {
  width: 90px;
  height: 32px;
}
._productEditStockRow_1ecne_234 .ant-input-number-input {
  height: 30px;
  text-align: center;
}
._productEditStockRow_1ecne_234 .ant-btn {
  width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0;
  color: #9aa5b5;
  font-size: 16px;
}
._productEditStockRow_1ecne_234 .ant-btn:hover {
  color: #d4380d !important;
  background: transparent !important;
}
._productEditEmpty_1ecne_282 {
  padding: 12px;
  color: #9aa5b5;
  font-size: 12px;
  text-align: center;
}
._productEditAddRow_1ecne_288 {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 14px;
}
._productEditAddLabel_1ecne_294 {
  width: 92px;
  flex: 0 0 92px;
  padding-top: 4px;
  color: #9aa5b5;
  font-size: 13px;
}
._productEditAddContent_1ecne_301 {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
._productEditAddContent_1ecne_301 > .ant-btn {
  align-self: flex-start;
}
._productEditHint_1ecne_312 {
  display: block;
  color: #9aa5b5;
  font-size: 12px;
  line-height: 1.6;
  white-space: normal;
}
body.app-dark-theme ._productEditDetailValue_1ecne_165,
body.app-dark-theme ._productEditStoreName_1ecne_254,
body.app-dark-theme ._storeSelectorOption_1ecne_81 {
  color: var(--home-text) !important;
}
body.app-dark-theme ._productEditSectionHeader_1ecne_225,
body.app-dark-theme ._productEditAddLabel_1ecne_294,
body.app-dark-theme ._productEditHint_1ecne_312,
body.app-dark-theme ._productEditEmpty_1ecne_282,
body.app-dark-theme ._storeSelectorEmpty_1ecne_98,
body.app-dark-theme ._stockHint_1ecne_30,
body.app-dark-theme ._imageHint_1ecne_29,
body.app-dark-theme ._productEditInlineHint_1ecne_171,
body.app-dark-theme ._stockUnit_1ecne_138,
body.app-dark-theme ._stockEditorTitle_1ecne_112 {
  color: var(--home-muted-text) !important;
}
body.app-dark-theme ._productEditStockRows_1ecne_234,
body.app-dark-theme ._stockEditor_1ecne_105,
body.app-dark-theme ._stockEmpty_1ecne_142,
body.app-dark-theme ._storeSelector_1ecne_34,
body.app-dark-theme ._productEditSingleStoreSetup_1ecne_204 {
  border-color: var(--home-card-border) !important;
  background: var(--home-field-bg) !important;
  background-color: var(--home-field-bg) !important;
}
body.app-dark-theme ._productEditStockRow_1ecne_234,
body.app-dark-theme ._stockRow_1ecne_117 {
  border-bottom-color: var(--home-card-border) !important;
}
body.app-dark-theme ._storeSelectorToolbar_1ecne_40 {
  background: var(--home-elevated-bg) !important;
  border-bottom-color: var(--home-card-border) !important;
}
body.app-dark-theme ._storeSelectorOption_1ecne_81:hover {
  background: rgba(154, 132, 244, 0.12) !important;
}
body.app-dark-theme ._storeSelectorAction_1ecne_59:disabled,
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-btn:disabled {
  color: var(--home-muted-text) !important;
}
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number,
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number-input {
  color: var(--home-text) !important;
  -webkit-text-fill-color: var(--home-text) !important;
}
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number {
  border-color: var(--home-card-border) !important;
  background: var(--home-field-bg) !important;
  background-color: var(--home-field-bg) !important;
  box-shadow: none !important;
}
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number-input {
  background: transparent !important;
  background-color: transparent !important;
}
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number-disabled,
body.app-dark-theme ._productEditStockRow_1ecne_234 .ant-input-number-disabled .ant-input-number-input {
  color: var(--home-muted-text) !important;
  -webkit-text-fill-color: var(--home-muted-text) !important;
  background: var(--home-elevated-bg) !important;
  background-color: var(--home-elevated-bg) !important;
}
._errorFallback_wek5t_1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 32px;
  box-sizing: border-box;
  background: var(--home-app-bg, #f5f5f5);
  font-family: var(--home-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
}
._darkErrorFallback_wek5t_12 {
  background: var(--home-app-bg, #11121c);
}
._errorCard_wek5t_15 {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: 28px 32px 26px;
  background: var(--home-surface-bg, #ffffff);
  border: 1px solid var(--home-border, rgba(229, 231, 235, 0.9));
  border-radius: var(--home-card-radius, 15px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  color: var(--home-text, #111827);
  overflow: hidden;
}
._darkErrorFallback_wek5t_12 ._errorCard_wek5t_15 {
  background: var(--home-surface-bg, #1c1b2b);
  border-color: var(--home-border, rgba(154, 132, 244, 0.16));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
  color: var(--home-text, #FFFFFFD9);
}
._errorIconWrap_wek5t_33 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.18);
  animation: _errorIconPulse_wek5t_1 2.4s ease-in-out infinite;
}
._darkErrorFallback_wek5t_12 ._errorIconWrap_wek5t_33 {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.32);
}
@keyframes _errorIconPulse_wek5t_1 {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
._errorTitle_wek5t_64 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
._errorHint_wek5t_72 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.55;
  color: var(--home-text-secondary, #64748b);
}
._darkErrorFallback_wek5t_12 ._errorHint_wek5t_72 {
  color: #a9a2c6;
}
._errorDetail_wek5t_82 {
  max-height: 88px;
  margin: 0 0 16px;
  padding: 10px 12px;
  background: var(--home-bg-secondary, rgba(15, 23, 42, 0.04));
  border: 1px dashed var(--home-border, rgba(15, 23, 42, 0.12));
  border-radius: 8px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--home-text-secondary, #475569);
  white-space: pre-wrap;
  word-break: break-all;
  overflow: auto;
  scrollbar-width: thin;
}
._darkErrorFallback_wek5t_12 ._errorDetail_wek5t_82 {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(154, 132, 244, 0.22);
  color: #cbd5f5;
}
._errorDetail_wek5t_82::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
._errorDetail_wek5t_82::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 3px;
}
._errorActions_wek5t_111 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
._primaryButton_wek5t_117,
._secondaryButton_wek5t_118 {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
._primaryButton_wek5t_117 {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.32);
}
._primaryButton_wek5t_117:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.42);
}
._primaryButton_wek5t_117:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.28);
}
._secondaryButton_wek5t_118 {
  background: transparent;
  color: var(--home-text-secondary, #475569);
  border: 1px solid var(--home-border, rgba(15, 23, 42, 0.16));
}
._secondaryButton_wek5t_118:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--home-text, #111827);
}
._darkErrorFallback_wek5t_12 ._secondaryButton_wek5t_118 {
  color: #cbd5f5;
  border-color: rgba(154, 132, 244, 0.32);
}
._darkErrorFallback_wek5t_12 ._secondaryButton_wek5t_118:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
@media (max-width: 520px) {
  ._errorCard_wek5t_15 {
    padding: 28px 22px 24px;
  }
  ._errorTitle_wek5t_64 {
    font-size: 18px;
  }
  ._errorActions_wek5t_111 {
    flex-direction: column;
  }
  ._primaryButton_wek5t_117,
  ._secondaryButton_wek5t_118 {
    width: 100%;
  }
}
._routeFallback_1uq1g_1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 100%;
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  color: var(--home-text, #111827);
  background: var(--home-app-bg, #f5f5f5);
  border: 1px solid var(--home-border, rgba(229, 231, 235, 0.9));
  border-radius: var(--home-card-radius, 15px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}
._routeFallback_1uq1g_1::before {
  position: absolute;
  inset: 0;
  background: var(--home-surface-bg, #fff);
  border-radius: inherit;
  content: '';
}
._darkRouteFallback_1uq1g_27 {
  color: var(--home-text, #FFFFFFD9);
  background: var(--home-app-bg, #11121c);
  border-color: var(--home-border, rgba(154, 132, 244, 0.16));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}
._darkRouteFallback_1uq1g_27::before {
  background: var(--home-surface-bg, #1c1b2b);
}
._loadingContent_1uq1g_36 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
._loadingText_1uq1g_46 {
  white-space: nowrap;
}
._loadingDots_1uq1g_49 {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  height: 14px;
}
._loadingDots_1uq1g_49 span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-primary, #1677ff);
  animation: _routeLoadingDotBounce_1uq1g_1 0.72s ease-in-out infinite;
}
._darkRouteFallback_1uq1g_27 ._loadingDots_1uq1g_49 span {
  background: var(--home-primary, #8b5cf6);
}
._loadingDots_1uq1g_49 span:nth-child(2) {
  animation-delay: 0.12s;
}
._loadingDots_1uq1g_49 span:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes _routeLoadingDotBounce_1uq1g_1 {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  40% {
    transform: translateY(-7px);
    opacity: 1;
  }
}
._card_kwqou_1 {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 300px;
  max-width: calc(100vw - 32px);
  height: 80px;
  padding: 10px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 20px;
  background: linear-gradient(130deg, #020617 0%, #031713 28%, #064e3b 56%, #020617 100%);
  background-size: 220% 220%;
  color: #fff;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28), 0 0 18px rgba(6, 78, 59, 0.3);
  will-change: transform, opacity, background-position;
  animation: _incoming-card-enter_kwqou_1 360ms cubic-bezier(0.16, 1, 0.3, 1) both, _incoming-card-bg_kwqou_1 5.2s ease-in-out infinite;
}
._cardLeaving_kwqou_24 {
  pointer-events: none;
  animation: _incoming-card-leave_kwqou_1 260ms cubic-bezier(0.7, 0, 0.84, 0) both, _incoming-card-bg_kwqou_1 5.2s ease-in-out infinite;
}
@keyframes _incoming-card-enter_kwqou_1 {
  from {
    opacity: 0;
    transform: translateX(48px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes _incoming-card-leave_kwqou_1 {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(56px) scale(0.98);
  }
}
@keyframes _incoming-card-bg_kwqou_1 {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
._icon_kwqou_57 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  background: #8b949e;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex: 0 0 50px;
  text-transform: uppercase;
}
._info_kwqou_72 {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
  justify-content: start;
}
._info_kwqou_72 strong {
  max-width: 118px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._info_kwqou_72 span {
  max-width: 118px;
  color: #aeb7c2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
._info_kwqou_72 em {
  display: none;
}
._actions_kwqou_102 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
._actions_kwqou_102 .ant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  outline: none;
  box-shadow: none;
  transition: background-color 180ms ease, transform 180ms ease;
}
._actions_kwqou_102 .ant-btn > span:not(.anticon):not(.ant-btn-icon) {
  display: none;
}
._actions_kwqou_102 .ant-btn-icon,
._actions_kwqou_102 .anticon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
}
._hangupIcon_kwqou_136 {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
._hangupIcon_kwqou_136 svg path {
  stroke: currentColor;
  stroke-width: 80;
  stroke-linejoin: round;
  paint-order: stroke fill;
}
._actions_kwqou_102 .ant-btn-dangerous {
  background: #ef4444;
}
._actions_kwqou_102 .ant-btn-dangerous:hover,
._actions_kwqou_102 .ant-btn-dangerous:focus {
  background: #dc2626 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
._actions_kwqou_102 .ant-btn-dangerous:active {
  background: #b91c1c !important;
  color: #fff !important;
  transform: translateY(0);
}
._actions_kwqou_102 .ant-btn-primary {
  background: #16a34a;
}
._actions_kwqou_102 .ant-btn-primary:hover,
._actions_kwqou_102 .ant-btn-primary:focus,
._actions_kwqou_102 .ant-btn-primary:active {
  background: #15803d !important;
  color: #fff !important;
  transform: translateY(-1px);
}
._actions_kwqou_102 .ant-btn:hover,
._actions_kwqou_102 .ant-btn:focus,
._actions_kwqou_102 .ant-btn:focus-visible,
._actions_kwqou_102 .ant-btn:active {
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none;
}
@media (max-width: 900px) {
  ._card_kwqou_1 {
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
  }
}
