:root { color: #1f2933; background: #f6f8fb; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; min-height: 100vh; } a { color: inherit; text-decoration: none; } .app-shell { display: grid; min-height: 100vh; grid-template-columns: 248px 1fr; } .sidebar { border-right: 1px solid #e4e7ed; background: #ffffff; padding: 20px 16px; } .brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; } .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #0f766e; color: #ffffff; } .nav { display: grid; gap: 6px; margin-top: 24px; } .nav-link { display: flex; align-items: center; gap: 10px; min-height: 40px; border-radius: 8px; padding: 0 12px; color: #52616f; } .nav-link.router-link-active { background: #e8f5f2; color: #0f766e; font-weight: 600; } .main { min-width: 0; padding: 32px; } .admin-shell { display: grid; min-height: 100vh; grid-template-columns: 260px 1fr; background: #f5f7fb; } .admin-sidebar { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #dfe5ec; background: #111827; padding: 20px 16px; color: #dbe4ee; } .admin-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #ffffff; font-weight: 700; } .admin-nav { display: grid; gap: 6px; margin-top: 28px; } .admin-nav-link { display: flex; align-items: center; gap: 10px; min-height: 42px; border-radius: 8px; padding: 0 12px; color: #b7c3d2; } .admin-nav-link.router-link-active { background: #0f766e; color: #ffffff; font-weight: 600; } .admin-workspace { min-width: 0; overflow: hidden; } .admin-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid #e4e7ed; background: #ffffff; padding: 0 28px; } .admin-topbar span { display: block; color: #6b7785; font-size: 12px; } .admin-topbar strong { display: block; margin-top: 3px; color: #111827; } .admin-main { width: 100%; min-width: 0; padding: 28px clamp(18px, 2.4vw, 36px); } .admin-main .page { max-width: none; } .admin-login-shell { display: grid; min-height: 100vh; place-items: center; background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(17, 24, 39, 0.08)), #f5f7fb; padding: 24px; } .admin-login-panel { width: min(420px, 100%); border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 28px; box-shadow: 0 20px 60px rgba(17, 24, 39, 0.10); } .admin-login-brand { display: inline-flex; align-items: center; gap: 10px; color: #111827; font-weight: 700; } .admin-login-header { margin: 28px 0 22px; } .admin-login-header h1 { font-size: 30px; } .admin-login-header p:last-child { margin: 10px 0 0; color: #52616f; } .admin-captcha-row { display: grid; grid-template-columns: 1fr 132px; gap: 10px; width: 100%; } .captcha-image-button { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid #dcdfe6; border-radius: 6px; background: #ffffff; padding: 0; cursor: pointer; overflow: hidden; } .captcha-image-button:disabled { cursor: wait; opacity: 0.7; } .captcha-image-button img { display: block; width: 132px; height: 44px; } .page { width: 100%; max-width: 1440px; } .page-header { max-width: 720px; } .eyebrow { margin: 0 0 8px; color: #0f766e; font-size: 13px; font-weight: 700; text-transform: uppercase; } h1 { margin: 0; font-size: 32px; line-height: 1.2; } .page-header p:last-child { margin: 12px 0 0; color: #52616f; line-height: 1.7; } .metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; } .metric-card { border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 18px; } .metric-card span { display: block; color: #6b7785; font-size: 13px; } .metric-card strong { display: block; margin-top: 8px; font-size: 20px; } .dashboard-metrics { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } .dashboard-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; } .dashboard-panel { max-width: none; } .pending-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-top: 1px solid #e4e7ed; color: #52616f; } .pending-row:first-of-type { border-top: 0; } .pending-row strong { color: #111827; } .login-form { max-width: 420px; margin-top: 28px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 20px; } .code-row { display: grid; grid-template-columns: 1fr 96px; gap: 10px; width: 100%; } .notice { max-width: 520px; margin-top: 24px; } .status-panel { max-width: 520px; margin-top: 24px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 18px; } .status-panel span { color: #6b7785; font-size: 13px; } .status-panel strong { display: block; margin-top: 6px; color: #0f766e; font-size: 22px; } .status-panel p { margin: 8px 0 0; color: #52616f; } .listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; } .listing-card { display: block; min-height: 172px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 18px; } .listing-card span { color: #0f766e; font-size: 13px; font-weight: 700; } .listing-card strong { display: block; margin-top: 10px; font-size: 20px; } .listing-card p { color: #52616f; line-height: 1.6; } .listing-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; } .listing-price b { color: #111827; } .listing-price em { color: #6b7785; font-style: normal; } .detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; } .page-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; max-width: 100%; } .table-panel, .listing-form { margin-top: 28px; } .table-panel { width: 100%; overflow-x: auto; } .table-panel .el-table__inner-wrapper { min-width: 760px; } .listing-form { max-width: 860px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 20px; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } .order-panel { max-width: min(100%, 560px); margin-top: 28px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 20px; } .order-panel p { margin: 0 0 12px; color: #52616f; } .order-panel h2 { margin: 0 0 14px; font-size: 18px; } .timeline-item { border-top: 1px solid #e4e7ed; padding: 14px 0; } .timeline-item:first-of-type { border-top: 0; } .timeline-item strong { display: block; } .timeline-item span { color: #6b7785; font-size: 13px; } .panel-action { margin-top: 14px; } .upload-line input { width: 100%; } .upload-stack { display: grid; gap: 10px; width: 100%; } .upload-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; } .evidence-list { display: grid; gap: 8px; } .evidence-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; } .evidence-row span { overflow-wrap: anywhere; color: #52616f; } .full-control { width: 100%; } .dialog-body { display: grid; gap: 10px; } .dialog-body p { margin: 0; color: #52616f; line-height: 1.6; } .toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: flex-end; } .filter-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; margin-top: 24px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 16px; } .filter-panel .el-form-item { margin-bottom: 0; } .table-subtext { display: block; margin-top: 4px; color: #6b7785; font-size: 12px; } .code-panel { max-width: none; } .code-panel pre { overflow-x: auto; margin: 0; border-radius: 6px; background: #111827; color: #dbe4ee; padding: 14px; line-height: 1.6; } .notification-list { display: grid; gap: 12px; margin-top: 28px; } .notification-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border: 1px solid #e4e7ed; border-radius: 8px; background: #ffffff; padding: 16px; } .notification-item.unread { border-color: #0f766e; } .notification-item span { color: #0f766e; font-size: 13px; font-weight: 700; } .notification-item h2 { margin: 6px 0; font-size: 18px; } .notification-item p { margin: 0 0 8px; color: #52616f; } .notification-item small { color: #6b7785; } .notification-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } @media (max-width: 1180px) { .admin-shell { grid-template-columns: 220px 1fr; } .admin-sidebar { padding: 18px 12px; } .admin-nav-link { padding: 0 10px; } } @media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { position: sticky; top: 0; z-index: 10; border-right: 0; border-bottom: 1px solid #1f2937; padding: 12px 14px; } .admin-brand { min-height: 36px; } .admin-nav { grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 2px; } .admin-nav-link { min-height: 38px; white-space: nowrap; } .admin-topbar { min-height: 58px; padding: 0 16px; } .admin-main { padding: 22px 16px; } } @media (max-width: 760px) { .app-shell { grid-template-columns: 1fr; } .sidebar { position: sticky; top: 0; z-index: 10; border-right: 0; border-bottom: 1px solid #e4e7ed; } .nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; } .main { padding: 24px 16px; } .metric-grid { grid-template-columns: 1fr; } .listing-grid, .detail-grid, .dashboard-metrics, .dashboard-panels, .form-grid { grid-template-columns: 1fr; } .page-header-row { display: grid; } .toolbar-actions { justify-content: flex-start; } } @media (max-width: 520px) { .admin-topbar { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding: 12px 16px; } .admin-topbar .el-button { width: 100%; } .dashboard-panels { grid-template-columns: 1fr; } .admin-captcha-row, .code-row { grid-template-columns: 1fr; } .captcha-image-button, .captcha-image-button img { width: 100%; } }