/* Dashboard Styles */
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.dash-header h2 { margin: 0; font-size: 1.5em; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.dash-stat-card { background: var(--hksi-card-bg); padding: 20px 16px; border-radius: var(--hksi-radius); box-shadow: var(--hksi-shadow); text-align: center; }
.dash-stat-value { font-size: 1.75em; font-weight: 700; line-height: 1.2; }
.dash-stat-label { font-size: 0.85em; color: var(--hksi-text-light); margin-top: 4px; }
.dash-section { margin-bottom: 32px; }
.dash-section h3 { font-size: 1.15em; margin: 0 0 12px; }
.dash-empty { color: var(--hksi-text-light); text-align: center; padding: 24px; background: var(--hksi-card-bg); border-radius: var(--hksi-radius); box-shadow: var(--hksi-shadow); }
.dash-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dash-note-card { background: var(--hksi-card-bg); padding: 16px; border-radius: var(--hksi-radius); box-shadow: var(--hksi-shadow); border-left: 3px solid var(--hksi-primary); }
.dash-note-q { font-size: 0.8em; color: var(--hksi-text-light); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-note-text { font-size: 0.9em; line-height: 1.5; margin-bottom: 8px; }
.dash-note-date { font-size: 0.75em; color: var(--hksi-gray-light); }
.membership-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8em; font-weight: 600; margin-left: 8px; }
.membership-badge.free { background: rgba(107,114,128,0.1); color: var(--hksi-gray); }
.membership-badge.premium { background: rgba(37,99,235,0.1); color: var(--hksi-primary); }

@media (max-width: 768px) {
    .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dash-notes { grid-template-columns: 1fr; }
}
