:root { color-scheme: light; font-synthesis: none; --color-brand: #0f9fdb; --color-brand-strong: #0879b6; --color-brand-bright: #6ee7ff; --color-brand-soft: #e1f6ff; --color-ink: #081423; --color-muted: #586a7e; --color-canvas: #edf4f8; --color-surface: rgba(255, 255, 255, 0.84); --color-border: rgba(142, 169, 187, 0.28); --color-success: #168a5b; --color-warning: #b36b13; --color-danger: #d14343; --shadow-surface: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 18px 48px rgba(24, 70, 96, 0.08); --shadow-raised: 0 1px 0 rgba(255, 255, 255, 0.94) inset, 0 28px 72px rgba(16, 88, 126, 0.16); --motion-standard: 220ms cubic-bezier(0.22, 1, 0.36, 1); --motion-spring: 420ms cubic-bezier(0.16, 1.35, 0.3, 1); --pointer-x: 72vw; --pointer-y: 18vh; } * { box-sizing: border-box; letter-spacing: 0; } html, body, #root { min-height: 100%; margin: 0; } body { min-width: 320px; overflow-x: hidden; background: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)), var(--color-canvas); color: var(--color-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.5; } .lucide { stroke-width: 1.8; } .admin-experience { position: relative; min-height: 100%; isolation: isolate; } .ambient-canvas { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(560px circle at var(--pointer-x) var(--pointer-y), rgba(34, 179, 231, 0.18), transparent 58%), linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(231, 243, 249, 0.82)); } .ambient-canvas::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(44, 91, 119, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 91, 119, 0.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 82%); content: ''; } .ambient-orbit { position: absolute; display: block; border: 1px solid rgba(15, 159, 219, 0.16); border-radius: 50%; } .ambient-orbit--one { width: 42vw; height: 42vw; top: -26vw; right: -8vw; box-shadow: 0 0 0 7vw rgba(55, 186, 231, 0.03), 0 0 0 14vw rgba(55, 186, 231, 0.025); } .ambient-orbit--two { width: 28vw; height: 28vw; bottom: -20vw; left: 14vw; border-color: rgba(22, 138, 91, 0.1); } ::selection { background: rgba(22, 143, 206, 0.2); } button, a, [role='button'] { touch-action: manipulation; } button:focus-visible, a:focus-visible, [role='button']:focus-visible { outline: 3px solid rgba(22, 143, 206, 0.28); outline-offset: 2px; } .page-content { position: relative; width: 100%; max-width: 1520px; margin: 0 auto; padding-bottom: 64px; animation: page-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) both; } .page-toolbar { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding: 12px 0 25px; border-bottom: 1px solid rgba(80, 116, 139, 0.16); } .page-toolbar::after { position: absolute; width: min(28vw, 320px); height: 2px; bottom: -1px; left: 0; background: linear-gradient(90deg, var(--color-brand), transparent); content: ''; } .page-heading { min-width: 0; } .page-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--color-brand-strong); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; } .page-kicker .lucide { animation: signal-pulse 2.4s ease-in-out infinite; } .page-title { margin: 0; color: var(--color-ink); font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; font-size: clamp(38px, 4vw, 64px); line-height: 0.98; font-weight: 760; letter-spacing: -0.055em; } .page-description { max-width: 680px; margin: 14px 0 0; color: var(--color-muted); font-size: 15px; line-height: 1.7; } .page-actions { display: flex; min-height: 40px; align-items: center; align-self: flex-end; } .surface { position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-surface); backdrop-filter: blur(20px) saturate(125%); transition: transform var(--motion-spring), border-color var(--motion-standard), box-shadow var(--motion-standard); } .surface::after { position: absolute; width: 180px; height: 180px; top: -130px; right: -100px; background: radial-gradient(circle, rgba(53, 190, 235, 0.12), transparent 68%); content: ''; pointer-events: none; } .surface:hover { border-color: rgba(44, 164, 211, 0.34); box-shadow: var(--shadow-raised); transform: translateY(-3px); } .surface-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 14px 22px; border-bottom: 1px solid rgba(125, 153, 173, 0.18); } .surface-title { display: flex; align-items: center; gap: 10px; margin: 0; color: #26384a; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: -0.012em; } .surface-title-mark { width: 8px; height: 8px; background: var(--color-brand); border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 0 0 0 4px rgba(15, 159, 219, 0.12); } .surface-body { padding: 22px; } .metric-grid, .metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; } .metric { --metric-accent: var(--color-brand); position: relative; display: flex; min-width: 0; min-height: 158px; align-items: flex-start; justify-content: space-between; gap: 12px; overflow: hidden; padding: 23px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.78)), var(--color-surface); border: 1px solid var(--color-border); border-radius: 22px; box-shadow: var(--shadow-surface); backdrop-filter: blur(18px) saturate(125%); transition: transform var(--motion-spring), border-color var(--motion-standard), box-shadow var(--motion-standard); } .metric::before { position: absolute; width: 150px; height: 150px; right: -74px; bottom: -86px; border: 1px solid color-mix(in srgb, var(--metric-accent) 23%, transparent); border-radius: 50%; content: ''; } .metric-signal { position: absolute; width: 34px; height: 3px; top: 0; left: 23px; background: var(--metric-accent); border-radius: 0 0 4px 4px; box-shadow: 0 0 18px color-mix(in srgb, var(--metric-accent) 40%, transparent); } .metric:hover { border-color: rgba(22, 143, 206, 0.3); box-shadow: var(--shadow-raised); transform: translateY(-5px) scale(1.008); } .metric--success { --metric-accent: var(--color-success); } .metric--warning { --metric-accent: var(--color-warning); } .metric--danger { --metric-accent: var(--color-danger); } .metric--default { --metric-accent: #8190a2; } .metric-copy { min-width: 0; } .metric-label { color: var(--color-muted); font-size: 13px; font-weight: 650; letter-spacing: 0.02em; } .metric-value { margin-top: 14px; overflow-wrap: anywhere; color: var(--color-ink); font-family: "Avenir Next", "SF Pro Display", sans-serif; font-size: clamp(34px, 3.1vw, 48px); line-height: 0.95; font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: -0.055em; } .metric-hint { margin-top: 13px; color: #7a8999; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; font-weight: 650; letter-spacing: 0.12em; } .metric-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; color: var(--metric-accent); background: color-mix(in srgb, var(--metric-accent) 10%, white); border: 1px solid color-mix(in srgb, var(--metric-accent) 20%, white); border-radius: 15px; transform: rotate(3deg); transition: transform var(--motion-spring), background var(--motion-standard); } .metric:hover .metric-icon { background: color-mix(in srgb, var(--metric-accent) 16%, white); transform: rotate(0deg) scale(1.08); } .split-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 22px; margin-bottom: 22px; } .dashboard-metrics { grid-template-columns: 1.25fr 0.95fr 0.95fr 0.85fr; } .dashboard-primary-surface { min-height: 100%; } .ranking-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid rgba(125, 153, 173, 0.16); } .ranking-row:last-child { border-bottom: 0; } .ranking-index { display: grid; width: 28px; height: 28px; place-items: center; color: var(--color-brand-strong); background: var(--color-brand-soft); border-radius: 9px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; font-weight: 700; } .rule-group { min-width: 0; padding: 14px 14px 0; background: #f6f9fc; border-left: 3px solid var(--color-brand); border-radius: 0 10px 10px 0; } .rule-group-title { margin: 0 0 12px; color: #263442; font-size: 15px; line-height: 1.4; font-weight: 600; } .numeric { font-variant-numeric: tabular-nums; } .danger-zone { border-color: #ffccc7; } .table-wrap { width: 100%; overflow: hidden; border-radius: 10px; } .workspace-tab-select { display: none; } .ant-table-wrapper .ant-table-cell { overflow-wrap: anywhere; } .ant-form-item-label > label { color: #33465a !important; font-weight: 600; } .ant-form-item-extra, .ant-form-item-explain { margin-top: 5px; line-height: 1.45; } .ant-btn, .ant-input, .ant-input-number, .ant-input-affix-wrapper, .ant-select-selector { transition: border-color var(--motion-standard), box-shadow var(--motion-standard), background var(--motion-standard) !important; } .ant-btn:not(.ant-btn-link):not(.ant-btn-text) { border-color: rgba(122, 153, 173, 0.34); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 22px rgba(27, 72, 98, 0.06); } .ant-btn:not(:disabled):active { transform: scale(0.97); } .ant-btn-primary:not(:disabled) { border-color: transparent; background: linear-gradient(135deg, #17ace5, #0879b6); box-shadow: 0 12px 28px rgba(9, 125, 183, 0.24); } .ant-btn-primary:not(:disabled):hover { background: linear-gradient(135deg, #26b9ef, #096da5) !important; box-shadow: 0 16px 34px rgba(9, 125, 183, 0.3); } .ant-input:hover, .ant-input-affix-wrapper:hover, .ant-input-number:hover, .ant-select:not(.ant-select-disabled):hover .ant-select-selector { border-color: rgba(22, 143, 206, 0.56) !important; } .ant-table-wrapper .ant-table-container { overflow: hidden; border: 1px solid rgba(129, 157, 176, 0.18); border-radius: 14px; } .ant-table-wrapper .ant-table-thead > tr > th { color: #3b4a5b; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; } .ant-table-wrapper .ant-table-tbody > tr > td { border-bottom-color: #edf1f5; transition: background var(--motion-standard); } .ant-tabs .ant-tabs-nav { margin-bottom: 16px; } .ant-tabs .ant-tabs-tab { min-height: 44px; padding-inline: 4px; font-weight: 650; } .ant-alert { border-radius: 12px; } .ant-alert.ant-alert-info { color: #31596d; background: #edf9fe; border-color: #bce5f6; } .ant-alert.ant-alert-success { color: #315d4b; background: #effaf5; border-color: #bfe8d4; } .ant-alert.ant-alert-warning { color: #685125; background: #fff8e8; border-color: #f0d9a7; } .ant-alert.ant-alert-error { color: #763c3c; background: #fff2f1; border-color: #f3c5c2; } .ant-alert.ant-alert-info .ant-alert-message, .ant-alert.ant-alert-info .ant-alert-icon { color: #075e87; } .ant-alert.ant-alert-success .ant-alert-message, .ant-alert.ant-alert-success .ant-alert-icon { color: #09613e; } .ant-alert.ant-alert-warning .ant-alert-message, .ant-alert.ant-alert-warning .ant-alert-icon { color: #76510a; } .ant-alert.ant-alert-error .ant-alert-message, .ant-alert.ant-alert-error .ant-alert-icon { color: #8c3030; } .ant-alert .ant-alert-description { color: inherit; } .ant-tag { margin-inline-end: 6px; padding-inline: 7px; border-radius: 6px; line-height: 22px; } .ant-descriptions-bordered .ant-descriptions-view { overflow: hidden; border-radius: 10px; } .ant-modal .ant-modal-content, .ant-drawer .ant-drawer-content { border: 1px solid rgba(220, 229, 237, 0.8); box-shadow: 0 24px 64px rgba(22, 33, 49, 0.18); } .ant-modal .ant-modal-content { border-radius: 22px; } .admin-shell .ant-layout-header { border-bottom: 1px solid rgba(116, 150, 171, 0.18); background: rgba(248, 252, 254, 0.72) !important; box-shadow: 0 12px 44px rgba(29, 76, 103, 0.05); backdrop-filter: blur(24px) saturate(145%); } .admin-shell .ant-pro-sider { border-right: 1px solid rgba(110, 231, 255, 0.08); background: radial-gradient(circle at 15% 8%, rgba(40, 166, 216, 0.18), transparent 24rem), #0b1726 !important; box-shadow: 18px 0 54px rgba(7, 25, 40, 0.13); } .admin-shell .ant-menu-dark { background: transparent !important; } .admin-shell .ant-menu-item { min-height: 44px; margin-block: 5px; border: 1px solid transparent; transition: color var(--motion-standard), background var(--motion-standard), border-color var(--motion-standard), transform var(--motion-standard) !important; } .admin-shell .ant-menu-item:not(.ant-menu-item-selected):hover { border-color: rgba(110, 231, 255, 0.08); transform: translateX(3px); } .admin-shell .ant-menu-item-selected { border-color: rgba(110, 231, 255, 0.14); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), 0 0 24px rgba(15, 159, 219, 0.08) inset; } .admin-shell .ant-pro-layout-content { padding-block: 40px 64px; background: transparent; } .brand-mark { display: grid; width: 38px; height: 38px; place-items: center; color: #ffffff; background: linear-gradient(145deg, #4dd4ff, #087db9 72%); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 13px; box-shadow: 0 10px 28px rgba(12, 137, 195, 0.28), 0 0 0 5px rgba(15, 159, 219, 0.06); transform: rotate(-3deg); } .admin-shell .ant-pro-global-header-logo h1 { display: flex; flex-direction: column; color: var(--color-ink); font-weight: 760; letter-spacing: -0.025em; } .admin-shell .ant-pro-global-header-logo h1::after { content: 'BOT OPERATIONS'; margin-top: 1px; color: #6d7e90; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 8px; font-weight: 700; letter-spacing: 0.16em; } .nav-button { min-height: 40px; } .control-plane { display: inline-flex; min-height: 32px; align-items: center; gap: 7px; padding: 0 11px; color: #557084; border: 1px solid rgba(115, 151, 173, 0.24); border-radius: 999px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.1em; } .bot-selector .ant-select-selector { background: rgba(255, 255, 255, 0.62) !important; border-color: rgba(115, 151, 173, 0.28) !important; backdrop-filter: blur(12px); } .account-button { color: #33465a; } .assistant-alert { margin-bottom: 20px; } .assistant-section + .assistant-section, .assistant-tabs { margin-top: 20px; } .assistant-tabs > .ant-tabs-nav { padding-inline: 4px; } .assistant-settings .ant-form-item { margin-bottom: 20px; } .login-stage { position: relative; min-height: 100dvh; overflow: hidden; background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(227, 243, 250, 0.74)), var(--color-canvas); isolation: isolate; } .login-stage::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(37, 100, 135, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 100, 135, 0.055) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at center, black, transparent 78%); content: ''; } .login-stage .ant-pro-form-login-page-container { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(24px) saturate(130%); } .login-stage .ant-pro-form-login-page-title { font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 760; letter-spacing: -0.045em; } .login-stage .ant-pro-form-login-page-desc { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; } .login-orbit { position: absolute; z-index: -1; display: block; border: 1px solid rgba(15, 159, 219, 0.2); border-radius: 50%; } .login-orbit--one { width: 56vw; height: 56vw; top: -34vw; right: -12vw; box-shadow: 0 0 0 10vw rgba(15, 159, 219, 0.035), 0 0 0 20vw rgba(15, 159, 219, 0.025); } .login-orbit--two { width: 24vw; height: 24vw; bottom: -13vw; left: 8vw; border-color: rgba(22, 138, 91, 0.15); } @keyframes signal-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.88); } 50% { opacity: 1; transform: scale(1); } } @keyframes page-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1023px) { .control-plane { display: none; } .metric-grid, .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split-grid { grid-template-columns: 1fr; } } @media (max-width: 575px) { .page-content { padding-bottom: 36px; } .page-toolbar { gap: 16px; margin-bottom: 22px; padding-top: 4px; padding-bottom: 20px; } .page-title { font-size: 34px; line-height: 1; } .page-description { margin-top: 10px; font-size: 14px; } .metric { min-height: 134px; padding: 18px; border-radius: 17px; } .metric-value { font-size: 32px; } .metric-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; } .surface-body, .surface-header { padding-inline: 16px; } .surface, .ant-alert { border-radius: 17px; } .ant-pro-layout .ant-pro-layout-content { padding-inline: 12px !important; padding-block: 22px 32px; } .ant-btn { min-height: 44px; } .bot-selector { width: 128px !important; } .admin-shell .ant-pro-global-header-logo h1::after { display: none; } .account-name { display: none; } .account-button { width: 42px; padding-inline: 10px; } .ant-modal { max-width: calc(100vw - 24px); margin: 12px auto; } .workspace-tab-select { display: block; width: 100%; margin-bottom: 12px; } .workspace-tabs > .ant-tabs > .ant-tabs-nav { display: none; } } @media (max-width: 359px) { .metric-grid, .metrics-grid { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; } }