/* ============================================================
   COMPONENTS
   ============================================================ */
.section { margin-bottom: 36px; }
.section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 17px; font-weight: 650;
    display: flex; align-items: center; gap: 9px;
}
.section-title svg { width: 18px; height: 18px; color: var(--accent); }
.section-link { font-size: 13px; color: var(--accent); font-weight: 600; }
.section-link:hover { color: var(--accent-bright); }

/* Stat cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--accent-dim); }
.stat-card .ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--accent-soft);
    color: var(--accent-bright);
    margin-bottom: 16px;
}
.stat-card .ic svg { width: 22px; height: 22px; }
.stat-card .val { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; }
.stat-card .lbl { color: var(--text-secondary); font-size: 13.5px; margin-top: 6px; }
.stat-card .trend { position: absolute; top: 22px; right: 22px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* Quick actions */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.qa-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 16px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    text-align: center;
    transition: all .18s ease;
}
.qa-card:hover { background: var(--bg-surface-2); border-color: var(--accent-dim); transform: translateY(-3px); }
.qa-card .ic {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent-soft), transparent);
    border: 1px solid var(--border-strong);
    color: var(--accent-bright);
}
.qa-card .ic svg { width: 24px; height: 24px; }
.qa-card .t { font-size: 13px; font-weight: 600; letter-spacing: .3px; }

/* Workspace cards */
.ws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.ws-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all .18s ease;
}
.ws-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.ws-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ws-folder {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: var(--accent-soft);
    display: grid; place-items: center;
    color: var(--accent-bright);
}
.ws-folder svg { width: 22px; height: 22px; }
.ws-star { color: var(--accent); }
.ws-star svg { width: 18px; height: 18px; fill: var(--accent); }
.ws-card .name { font-weight: 650; font-size: 15px; }
.ws-card .cat { font-size: 11px; letter-spacing: 1px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; }

/* Recent list */
.recent-list { display: flex; flex-direction: column; gap: 12px; }
.recent-row {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: all .18s ease;
}
.recent-row:hover { border-color: var(--accent-dim); background: var(--bg-surface-2); }
.recent-row .ws-folder { width: 46px; height: 46px; }
.recent-row .info { flex: 1; }
.recent-row .info .name { font-weight: 650; font-size: 15px; }
.recent-row .info .meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; letter-spacing: .4px; }
.recent-row .chev { color: var(--text-muted); }
.recent-row .chev svg { width: 20px; height: 20px; }

