:root { color: #18212f; background: #eef2f6; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; min-height: 100vh; background: linear-gradient(180deg, rgba(245, 247, 250, 0.96), rgba(231, 237, 243, 0.96)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d5dde7' stroke-width='1'%3E%3Cpath d='M0 40h120M0 80h120M40 0v120M80 0v120'/%3E%3C/g%3E%3C/svg%3E"); } button, input, textarea { font: inherit; } .app-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; } .sidebar { background: #152033; color: #f8fafc; padding: 24px 18px; } .brand { display: flex; align-items: center; gap: 12px; min-height: 56px; } .brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 8px; background: #e8f1ff; color: #152033; font-weight: 800; } .brand h1, .brand p, .workspace h2, .eyebrow { margin: 0; } .brand h1 { font-size: 17px; font-weight: 800; } .brand p { margin-top: 3px; color: #aab7c8; font-size: 12px; } .nav-list { display: grid; gap: 8px; margin-top: 30px; } .nav-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #cbd6e5; cursor: pointer; } .nav-item.active { background: #e8f1ff; color: #162033; font-weight: 700; } .nav-item:disabled { color: #6f7d90; cursor: not-allowed; } .workspace { min-width: 0; padding: 24px; } .topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; } .eyebrow { color: #4d6b92; font-size: 12px; font-weight: 800; letter-spacing: 0; } .workspace h2 { margin-top: 4px; font-size: 24px; } .token-box { display: grid; grid-template-columns: minmax(220px, 360px) 40px; gap: 8px; width: min(100%, 420px); } .metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 14px; } .metric-grid.compact { margin: 0; } .metric { min-height: 82px; padding: 14px 16px; border: 1px solid #d8e0ea; border-radius: 8px; background: #ffffff; } .metric span { display: block; color: #60708a; font-size: 13px; } .metric strong { display: block; margin-top: 8px; font-size: 26px; } .alert-line { margin-bottom: 10px; } .work-tabs { min-width: 0; } .panel { min-width: 0; border: 1px solid #d8e0ea; border-radius: 8px; background: #ffffff; overflow: hidden; } .panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-bottom: 1px solid #e6ebf2; overflow-x: auto; } .toolbar-actions, .row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .search-input { width: min(240px, 100%); } .profile-badges { display: flex; flex-wrap: wrap; gap: 6px; } .cleaner-select { width: 100%; } .option-row { display: inline-grid; gap: 2px; min-width: 0; margin-right: 8px; vertical-align: middle; } .option-row strong, .option-row span { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .option-row span { color: #69788c; font-size: 12px; } .data-table { width: 100%; } .stack { display: grid; gap: 4px; } .stack strong { font-size: 13px; } .stack span { color: #69788c; font-size: 12px; } .pager { display: flex; justify-content: flex-end; padding: 12px 14px; border-top: 1px solid #e6ebf2; } .compact-form { display: grid; gap: 4px; } .preflight-summary { display: grid; gap: 14px; } .preflight-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .preflight-meta span { min-width: 0; padding: 8px 10px; overflow: hidden; color: #334155; text-overflow: ellipsis; white-space: nowrap; background: #f5f8fb; border: 1px solid #e1e8f0; border-radius: 8px; } .preflight-table { width: 100%; } .dialog-stack { display: grid; gap: 14px; } .detail-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e1e8f0; border-radius: 8px; background: #f5f8fb; } .detail-header span { color: #60708a; font-size: 13px; } .member-form { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr) auto; gap: 10px; align-items: end; padding-top: 2px; } .member-form .el-form-item { margin-bottom: 0; } .detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .detail-grid span { display: grid; gap: 4px; min-width: 0; padding: 9px 10px; color: #60708a; font-size: 12px; border: 1px solid #e1e8f0; border-radius: 8px; background: #f5f8fb; } .trend-list { display: grid; gap: 10px; } .trend-row { display: grid; grid-template-columns: 92px minmax(80px, 1fr) minmax(360px, 2.4fr); gap: 12px; align-items: center; min-height: 38px; } .trend-date { color: #334155; font-size: 13px; font-weight: 700; } .trend-track { height: 8px; overflow: hidden; background: #e9eff5; border-radius: 999px; } .trend-bar { display: block; height: 100%; background: #2563eb; border-radius: inherit; } .trend-meta { display: flex; gap: 10px; align-items: center; min-width: 0; color: #60708a; font-size: 12px; white-space: nowrap; } .trend-meta strong { color: #101828; font-size: 14px; } .detail-grid strong { overflow: hidden; color: #18212f; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .stats-filter { display: grid; grid-template-columns: minmax(160px, 210px) repeat(3, minmax(130px, 180px)) auto; gap: 10px; align-items: end; } .stats-filter .el-form-item { margin-bottom: 0; } .stats-body { display: grid; gap: 14px; padding: 14px; } .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .stat-block { min-width: 0; border: 1px solid #e1e8f0; border-radius: 8px; overflow: hidden; } .stat-block header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #e1e8f0; background: #f5f8fb; } .stat-block h3 { margin: 0; font-size: 14px; } .stat-block header span { color: #60708a; font-size: 12px; } .el-button { border-radius: 8px; } .el-tabs__nav-wrap::after { height: 1px; background: #d8e0ea; } @media (max-width: 980px) { .app-shell { grid-template-columns: 1fr; } .sidebar { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 12px; } .nav-list { grid-auto-flow: column; grid-auto-columns: max-content; align-content: center; margin-top: 0; overflow-x: auto; } .workspace { padding: 16px; } .topbar { align-items: stretch; flex-direction: column; } .token-box { grid-template-columns: minmax(0, 1fr) 40px; width: 100%; } .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trend-row { grid-template-columns: 92px minmax(80px, 1fr); } .trend-meta { grid-column: 1 / -1; flex-wrap: wrap; } } @media (max-width: 560px) { .sidebar { grid-template-columns: 1fr; } .metric-grid { grid-template-columns: 1fr; } .panel-toolbar { align-items: stretch; flex-direction: column; } .toolbar-actions { justify-content: flex-end; } .preflight-meta { grid-template-columns: 1fr; } .member-form, .detail-grid, .trend-row, .stats-filter, .stats-grid { grid-template-columns: 1fr; } .trend-meta { grid-column: auto; } }