/* ========================================== Dashboard Surface — Layout Only ========================================== v0.31.1: ZERO component CSS overrides. Only grid, flex, sizing, and spacing. All SDK components style themselves. ========================================== */ .surface-dashboard { display: flex; flex-direction: column; height: 100%; overflow: hidden; } /* ── Topbar ──────────────────────────────── */ .dashboard-topbar { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 44px; flex-shrink: 0; background: var(--bg-secondary); border-bottom: 1px solid var(--border); } .dashboard-topbar-back { display: flex; align-items: center; gap: 4px; color: var(--text-2); text-decoration: none; font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: var(--radius); transition: color 0.15s, background 0.15s; } .dashboard-topbar-back:hover { color: var(--text); background: var(--bg-hover); } .dashboard-topbar-title { font-size: 14px; font-weight: 600; color: var(--text); } .dashboard-topbar-sep { width: 1px; height: 18px; background: var(--border); } .dashboard-topbar-spacer { flex: 1; } /* ── Body ────────────────────────────────── */ .dashboard-body { display: flex; flex: 1; min-height: 0; } /* ── Sidebar ─────────────────────────────── */ .dashboard-sidebar { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; border-right: 1px solid var(--border); min-height: 0; } /* ── Main Content ────────────────────────── */ .dashboard-main { flex: 1; overflow-y: auto; padding: 20px; min-width: 0; } .dashboard-greeting { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 4px; } .dashboard-subtitle { font-size: 13px; color: var(--text-3); margin-bottom: 20px; } .dashboard-filter-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; } .dashboard-filter-label { font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.5px; } /* ── Cards Grid ──────────────────────────── */ .dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; } .dashboard-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.15s; } .dashboard-card:hover { border-color: var(--border-elevated); } .dashboard-card-header { display: flex; align-items: center; gap: 8px; } .dashboard-card-title { font-size: 14px; font-weight: 600; color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dashboard-card-meta { font-size: 11px; color: var(--text-3); } .dashboard-card-desc { font-size: 12px; color: var(--text-2); line-height: 1.4; } .dashboard-card-actions { display: flex; justify-content: flex-end; margin-top: 4px; } .dashboard-empty { text-align: center; color: var(--text-3); font-size: 13px; padding: 40px 20px; } /* ── Admin Section ───────────────────────── */ .dashboard-admin-section { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); } .dashboard-section-title { font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }