.dashboard { padding: 12px 0; box-sizing: border-box; } /* ===== Banner ===== */ .dashboard-banner { width: 100%; height: 150px; border-radius: 14px; overflow: hidden; position: relative; background: #3a4a3a; margin-bottom: 12px; } .banner-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; } .banner-gradient { position: absolute; inset: 0; background: linear-gradient( to right, rgba(12, 16, 12, 0.86) 0%, rgba(12, 16, 12, 0.6) 35%, rgba(12, 16, 12, 0.08) 70%, transparent 100% ); } .banner-logo { position: absolute; top: 16px; right: 16px; height: 64px; width: auto; opacity: 0.9; } .banner-text { position: absolute; bottom: 20px; left: 20px; z-index: 2; } .banner-eyebrow { font-size: 11px; color: #cdd8c8; letter-spacing: 1px; margin-bottom: 4px; } .banner-title { font-size: 21px; font-weight: 500; color: #ffffff; margin: 0 0 4px; line-height: 1.2; } .banner-subtitle { font-size: 12px; color: #d6e0d0; margin: 0 0 4px; } .banner-hint { font-size: 11px; color: #bcc8b6; margin: 0; } .change-cover-btn { position: absolute; bottom: 16px; right: 16px; z-index: 3; } /* 默认渐变底图(无题图时) */ .banner-default-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #3a4a3a 0%, #5a7a5a 50%, #7a9a6a 100%); } /* ===== KPI Strip ===== */ .kpi-strip { display: flex; gap: 12px; margin-bottom: 12px; } .kpi-chip { flex: 1; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 16px; height: 48px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); } .kpi-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .kpi-label { font-size: 11px; color: #6b6b6b; margin: 0; white-space: nowrap; } .kpi-value { font-size: 15px; font-weight: 600; color: #1a1a1a; margin: 0; } /* ===== Bar Chart Card ===== */ .bar-chart-card { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; } .bar-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .bar-chart-title { font-size: 15px; font-weight: 500; color: #3b4a3b; margin: 0; } .bar-chart-hint { font-size: 11px; color: #888780; } .bars-wrapper { display: flex; justify-content: space-between; align-items: flex-end; height: 180px; padding: 0 4px; gap: 4px; } .bar-item { display: flex; flex-direction: column; align-items: center; flex: 1; max-width: 42px; min-width: 20px; justify-content: flex-end; height: 180px; } .bar { width: 100%; max-width: 38px; border-radius: 7px 7px 0 0; transition: all 0.3s; cursor: pointer; position: relative; } .bar-number { font-size: 9px; font-weight: 600; text-align: center; white-space: nowrap; margin-bottom: 2px; } .bar-program { font-size: 10px; color: #6b6b6b; text-align: center; max-width: 64px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-top: 4px; } .chart-legend { display: flex; justify-content: center; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; } .legend-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #6b6b6b; } .dot { width: 8px; height: 8px; border-radius: 50%; } /* ===== Bottom Two Columns ===== */ .bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .side-card { background: #fff; border-radius: 14px; padding: 16px; } .side-card-title { font-size: 15px; font-weight: 500; color: #3b4a3b; margin: 0 0 12px; } /* Radar placeholder card */ .radar-placeholder { border: 1.5px dashed #c8d9b0; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 120px; padding: 16px; position: relative; } .radar-placeholder-label { position: absolute; top: 8px; right: 8px; font-size: 10px; color: #bcc8b6; background: #fbf9f1; padding: 2px 6px; border-radius: 6px; } .radar-placeholder p { font-size: 13px; color: #6b6b6b; margin: 8px 0 4px; } .radar-placeholder small { font-size: 11px; color: #999; } .radar-sample-items { width: 100%; margin-bottom: 8px; } .radar-sample-item { font-size: 12px; color: #4a5a4a; padding: 4px 8px; background: #f0f7ec; border-radius: 6px; margin-bottom: 4px; } /* Schedule list */ .schedule-list { list-style: none; padding: 0; margin: 0; } .schedule-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 12px; } .schedule-item:last-child { border-bottom: none; } .schedule-ep { color: #1a1a1a; font-weight: 500; } .schedule-name { color: #4a5a4a; flex: 1; margin: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .schedule-date { color: #888780; font-size: 11px; } .schedule-editor { color: #6b6b6b; font-size: 11px; } /* Loading state */ .chart-loading { display: flex; align-items: center; justify-content: center; height: 180px; color: #999; }