html, body, #root { width: 100%; min-height: 100%; margin: 0; }
body { background: #f4f6fa; color: #17263a; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
* { box-sizing: border-box; }
.admin-shell { --admin-accent: #2467eb; --admin-active: #edf3ff; min-height: 100vh; }
.admin-shell--kunzhiyi { --admin-accent: #087f9b; --admin-active: #e9f6f9; }
.admin-main { min-width: 0; }
.admin-sider { position: sticky; top: 0; height: 100vh; border-right: 1px solid #e6ebf2; }
.admin-sider .ant-layout-sider-children { display: flex; flex-direction: column; }
.brand-block { min-height: 86px; padding: 22px 20px; display: flex; align-items: center; gap: 11px; }
.brand-logo, .login-logo { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; }
.brand-logo-image { display: block; width: 40px; height: 40px; object-fit: contain; }
.brand-logo--zhijuren .brand-logo-image { transform: scale(1.25); }
.brand-title.ant-typography { display: block; color: #17263a; font-size: 17px; font-weight: 650; }
.brand-sub { margin-top: 3px; color: #7a8799; font-size: 11px; letter-spacing: 1px; }
.admin-nav-caption { padding: 10px 23px 8px; color: #8a96a7; font-size: 11px; letter-spacing: 1px; }
.admin-navigation-scroll { min-height: 0; flex: 1; overflow-y: auto; padding-bottom: 12px; }
.admin-navigation.ant-menu-inline { border-inline-end: 0; background: transparent; }
.admin-navigation .ant-menu-submenu-title, .admin-navigation .ant-menu-item { font-size: 13px; }
.admin-navigation .ant-menu-sub .ant-menu-item { font-size: 12px; }
.admin-sidebar-footer { margin: 0 20px; padding: 17px 0 20px; border-top: 1px solid #e6ebf2; color: #8a96a7; font-size: 10px; }
.admin-sidebar-footer strong { display: block; color: #5b6b81; font-size: 11px; font-weight: 500; margin-bottom: 5px; }
.admin-header { position: sticky; top: 0; z-index: 10; min-height: 72px; height: auto; line-height: normal; padding: 14px 28px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e6ebf2; }
.admin-header-location, .admin-header-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.admin-header .ant-breadcrumb { font-size: 12px; }
.admin-session-user { display: flex; align-items: center; gap: 9px; }
.admin-session-user .ant-avatar { background: var(--admin-active); color: var(--admin-accent); }
.admin-session-user > span:last-child { font-size: 12px; color: #33465e; white-space: nowrap; }
.admin-session-user small { display: block; font-size: 10px; color: #8a96a7; margin-top: 2px; }
.admin-logout { color: #6e7b8d; font-size: 12px; }
.admin-mobile-menu { display: none; }
.admin-content { padding: 30px; min-width: 0; }
.admin-content > div { min-width: 0; }
.admin-content .ant-card { border-color: #e6ebf2; box-shadow: none; }
.admin-content > div > h3.ant-typography { margin-top: 0; }
.admin-navigation-drawer .ant-drawer-header { padding: 0 16px 0 0; }
.admin-navigation-drawer .ant-drawer-body { padding: 10px 0; }
.admin-navigation-drawer .brand-block { padding: 18px 8px; }
.toolbar { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.dashboard-page { width: 100%; max-width: 1600px; margin: 0 auto; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.dashboard-eyebrow { display: block; font-size: 11px; letter-spacing: 2px; font-weight: 600; color: var(--admin-accent); margin-bottom: 7px; }
.dashboard-heading h1 { margin: 0; color: #17263a; font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.8px; }
.dashboard-heading p { margin: 7px 0 0; color: #7a8799; font-size: 13px; }
.dashboard-date { color: #8a96a7; font-size: 12px; white-space: nowrap; }
.dashboard-error { margin-bottom: 18px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.dashboard-stat-card .ant-card-body { padding: 22px; }
.dashboard-stat-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #7a8799; font-size: 13px; margin-bottom: 9px; }
.dashboard-stat-label .anticon { color: #8a96a7; font-size: 16px; }
.dashboard-stat-card .ant-statistic-content { font-size: 30px; font-weight: 600; line-height: 1.4; }
.dashboard-stat-card .ant-skeleton { margin: 5px 0; }
.dashboard-stat-card .ant-skeleton-input { max-width: 100%; }
.dashboard-stat-note { display: block; margin-top: 6px; color: #8a96a7; font-size: 11px; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; }
.dashboard-section-heading h2 { margin: 0; color: #25374f; font-size: 15px; font-weight: 600; }
.dashboard-section-heading > span { color: #8a96a7; font-size: 11px; }
.dashboard-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.dashboard-action { padding: 20px; border: 1px solid #e6ebf2; border-radius: 12px; background: #fff; color: #17263a; display: block; transition: border-color .15s, background .15s; }
.dashboard-action > .anticon { display: block; width: fit-content; color: var(--admin-accent); font-size: 22px; margin-bottom: 13px; }
.dashboard-action strong { display: block; color: #25374f; font-weight: 600; font-size: 14px; }
.dashboard-action > span:last-child { display: block; color: #8a96a7; margin-top: 5px; font-size: 12px; }
.dashboard-action:hover { color: var(--admin-accent); border-color: var(--admin-accent); background: var(--admin-active); }
.dashboard-action:focus-visible, .dashboard-business-entry:focus-visible, .dashboard-more a:focus-visible { outline: 2px solid var(--admin-accent); outline-offset: 3px; }
.dashboard-detail-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.dashboard-detail-grid .ant-card-body { padding: 23px; }
.dashboard-business-entry { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid #edf0f5; color: #7a8799; }
.dashboard-business-entry:first-of-type { border-top: 0; }
.dashboard-business-entry > .anticon { font-size: 18px; }
.dashboard-business-entry > .anticon:last-child { margin-left: auto; font-size: 13px; }
.dashboard-business-entry strong { display: block; font-size: 13px; font-weight: 500; color: #33465e; }
.dashboard-business-entry small { display: block; margin-top: 4px; color: #8a96a7; font-size: 12px; }
.dashboard-business-entry:hover strong { color: var(--admin-accent); }
.dashboard-account { padding: 9px 0 16px; border-bottom: 1px solid #edf0f5; }
.dashboard-account + .dashboard-account { padding-top: 15px; }
.dashboard-account .ant-statistic-title { color: #8a96a7; font-size: 12px; }
.dashboard-account .ant-statistic-content { font-size: 27px; font-weight: 600; }
.dashboard-account-links { display: flex; flex-wrap: wrap; gap: 17px; padding-top: 17px; font-size: 12px; }
.dashboard-account-links a { color: var(--admin-accent); }
.dashboard-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.dashboard-more a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid #e6ebf2; border-radius: 9px; color: #7a8799; background: #fff; font-size: 12px; }
.dashboard-more strong { color: #33465e; font-weight: 600; font-variant-numeric: tabular-nums; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 20% 0, rgba(40,169,255,.32), transparent 30%), linear-gradient(180deg,#040a14,#071326 58%,#050b15); }
.login-card { width: 420px; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.login-logo { margin-bottom: 16px; }
.login-form { margin-top: 24px; }
@media (min-width: 1600px) { .admin-content { padding: 36px 44px; } }
@media (max-width: 1100px) { .admin-header { padding: 14px 22px; } .admin-content { padding: 24px; } .dashboard-stat-card .ant-card-body { padding: 18px; } .dashboard-action { padding: 18px; } .dashboard-stat-note { font-size: 10px; } }
@media (max-width: 900px) { .admin-session-user > span:last-child { display: none; } .admin-header-actions { gap: 8px; } .dashboard-stats, .dashboard-action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-detail-grid { grid-template-columns: 1fr; } .dashboard-more { grid-template-columns: repeat(2,minmax(0,1fr)); } .dashboard-date { display: none; } }
@media (max-width: 768px) { .admin-sider { display: none; } .admin-mobile-menu { display: inline-flex; flex-shrink: 0; } .admin-header { padding: 12px 16px; gap: 10px; } .admin-header-location { gap: 10px; } .admin-header .ant-breadcrumb li:first-child, .admin-header .ant-breadcrumb li:first-child + .ant-breadcrumb-separator { display: none; } .admin-session-user, .admin-logout .ant-btn-icon + span { display: none; } .admin-content { padding: 20px 16px; } .toolbar { flex-direction: column; } .dashboard-heading h1 { font-size: 25px; } .dashboard-heading p { font-size: 12px; } .dashboard-stats, .dashboard-action-grid { gap: 12px; } .dashboard-detail-grid .ant-card-body { padding: 20px; } .login-card { width: calc(100vw - 32px); } }
@media (prefers-reduced-motion: reduce) { .dashboard-action { transition: none; } }
