.admin-dashboard { min-width:0; color:#1a3d49; }
.dashboard-heading,.dashboard-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.dashboard-heading { margin-bottom:20px; }
.dashboard-heading h2 { margin:0; font-size:clamp(25px,2.8vw,34px); }
.dashboard-heading button { display:grid; place-items:center; width:38px; height:38px; border:1px solid #cadbd5; border-radius:10px; background:rgba(255,255,255,.72); color:#1a3d49; cursor:pointer; }
.dashboard-heading button:disabled { opacity:.55; cursor:wait; }
.dashboard-muted { margin:3px 0 0; color:#637a78; font-size:13px; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
.dashboard-stat { display:flex; flex-direction:column; align-items:flex-start; min-height:112px; padding:16px 18px; border:1px solid #d8e2dd; border-radius:14px; background:rgba(255,255,255,.72); color:#1a3d49; text-align:left; cursor:pointer; }
.dashboard-stat:hover,.dashboard-stat:focus-visible { border-color:#308180; box-shadow:0 0 0 2px rgba(48,129,128,.12); }
.dashboard-stat-label { font-size:13px; color:#52706e; }
.dashboard-stat strong { margin-top:6px; font:700 clamp(23px,2.4vw,30px)/1.2 Prompt,sans-serif; }
.dashboard-stat small { margin-top:auto; color:#69817c; font-size:12px; }
.dashboard-section { margin:0 0 24px; padding:20px; border:1px solid #d8e2dd; border-radius:16px; background:rgba(255,255,255,.54); }
.dashboard-section-heading { align-items:center; margin-bottom:16px; }
.dashboard-section-heading h3 { margin:0; font-size:19px; }
.dashboard-table-scroll { overflow:auto; border:1px solid #dce6e0; border-radius:11px; }
.dashboard-table { width:100%; min-width:650px; border-collapse:collapse; font-size:13px; }
.dashboard-table th { padding:11px 8px; background:#edf3ef; color:#496967; text-align:left; font-weight:700; white-space:nowrap; }
.dashboard-table td { padding:10px 8px; border-top:1px solid #e4ebe7; vertical-align:middle; }
.dashboard-table tr.selected td { background:#e9f3ef; }
.dashboard-table tr:hover td { background:#f1f6f2; }
.dashboard-session-name { min-width:185px; }
.dashboard-row-button { padding:0; border:0; background:none; color:#1a3d49; font-weight:700; cursor:pointer; text-align:left; }
.dashboard-row-button:hover { text-decoration:underline; }
.dashboard-session-name small,.dashboard-rate small { display:block; margin-top:2px; color:#68807a; font-size:11px; }
.dashboard-number { font-weight:700; font-variant-numeric:tabular-nums; }
.dashboard-rate strong { color:#2d8582; font-size:17px; }
.dashboard-session-detail { margin-top:18px; padding-top:17px; border-top:1px solid #dce5df; }
.dashboard-attendance-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.dashboard-attendance-group { min-width:0; padding:12px; border:1px solid #e1e9e3; border-radius:10px; background:rgba(255,255,255,.55); }
.dashboard-attendance-group > small { margin-left:8px; color:#657c79; }
.dashboard-chip-list { display:flex; flex-wrap:wrap; gap:6px; max-height:135px; overflow:auto; margin-top:9px; }
.dashboard-learner-chip,.dashboard-search-item { padding:6px 9px; border:1px solid #d3e1db; border-radius:8px; background:#fff; color:#1a3d49; text-align:left; cursor:pointer; font-size:12px; }
.dashboard-learner-chip:hover,.dashboard-search-item:hover { border-color:#308180; background:#e6f2ed; }
.dashboard-status { display:inline-block; padding:3px 8px; border-radius:99px; font-size:11px; font-weight:700; white-space:nowrap; }
.dashboard-status.onsite { background:#ddefe7; color:#267058; }
.dashboard-status.online { background:#e1eef7; color:#2d6886; }
.dashboard-status.absent { background:#f9e3e0; color:#a4433d; }
.dashboard-status.leave { background:#fcf0d9; color:#916315; }
.dashboard-status.unrecorded { background:#e8ecea; color:#687774; }
.dashboard-followup-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.dashboard-followup-item { display:flex; flex-direction:column; gap:3px; padding:10px 12px; border:1px solid #e1e9e3; border-radius:9px; background:rgba(255,255,255,.68); color:#1a3d49; text-align:left; cursor:pointer; }
.dashboard-followup-item:hover { border-color:#308180; }
.dashboard-followup-item span { color:#87684f; font-size:12px; }
.dashboard-search { width:min(280px,100%); min-height:38px; padding:7px 11px; border:1px solid #cbded5; border-radius:9px; background:#fff; color:#1a3d49; }
.dashboard-search-results { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.dashboard-profile-detail { min-height:65px; }
.dashboard-profile-grid { display:grid; grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr); gap:14px; }
.dashboard-profile-block { min-width:0; padding:14px; border:1px solid #e0e8e2; border-radius:10px; background:rgba(255,255,255,.6); }
.dashboard-profile-block h4 { margin:0 0 10px; font-size:15px; }
.dashboard-history-row { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:7px 0; border-top:1px solid #e5ece6; font-size:13px; }
.dashboard-history-row strong,.dashboard-history-row small { display:block; }
.dashboard-history-row small { margin-top:2px; color:#6b807b; font-size:11px; }
.dashboard-work-row { display:flex; flex-direction:column; gap:2px; padding:8px 0; border-top:1px solid #e5ece6; font-size:13px; }
.dashboard-work-row small { color:#6d817b; }
.dashboard-open-workshop { margin-top:12px; padding:8px 12px; border:0; border-radius:8px; background:#1a3d49; color:#fff; cursor:pointer; }
.dashboard-trend-list { display:grid; gap:9px; }
.dashboard-trend-row { display:grid; grid-template-columns:115px minmax(0,1fr) 45px; align-items:center; gap:10px; font-size:12px; }
.dashboard-workshop-trend-row { display:grid; grid-template-columns:minmax(150px,2fr) minmax(0,3fr) 50px; align-items:center; gap:10px; font-size:12px; }
.dashboard-workshop-trend-row > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-trend-track { height:10px; overflow:hidden; border-radius:99px; background:#e5ece7; }
.dashboard-trend-fill { height:100%; border-radius:inherit; background:#308180; }
.dashboard-trend-row strong { text-align:right; font-variant-numeric:tabular-nums; }
.dashboard-empty { padding:18px 0; color:#6e817d; font-size:13px; }
.dashboard-scope { margin-bottom:16px; }
.dashboard-scope-modes,.dashboard-scope-kinds { display:flex; flex-wrap:wrap; gap:6px; }
.dashboard-scope-modes button,.dashboard-scope-kinds button { padding:8px 13px; border:1px solid #cadbd5; border-radius:9px; background:rgba(255,255,255,.55); color:#214650; font:600 13px Prompt,sans-serif; cursor:pointer; }
.dashboard-scope-modes button.selected,.dashboard-scope-kinds button.selected { background:#1a3d49; border-color:#1a3d49; color:white; }
.dashboard-scope-kinds { margin-top:8px; }
.dashboard-scope-kinds button { padding:6px 11px; font-size:12px; }
.dashboard-scope-count { margin:10px 0 0; color:#607773; font-size:12px; }
.dashboard-range { display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.dashboard-range label { display:flex; align-items:center; gap:6px; color:#506a67; font-size:12px; }
.dashboard-range input { padding:6px 8px; border:1px solid #cadbd5; border-radius:7px; background:#fff; color:#1a3d49; }
.dashboard-overview { display:grid; grid-template-columns:minmax(245px,1.05fr) minmax(0,2fr); gap:12px; margin-bottom:18px; }
.dashboard-donut-card,.dashboard-metric { border:1px solid #d8e2dd; border-radius:14px; background:rgba(255,255,255,.6); }
.dashboard-donut-card { display:flex; flex-direction:column; align-items:center; padding:15px; }
.dashboard-kicker { align-self:flex-start; margin:0 0 8px; color:#526f6c; font-size:13px; font-weight:700; }
.dashboard-donut { position:relative; width:clamp(145px,16vw,205px); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; }
.dashboard-donut-center { width:69%; height:69%; display:grid; align-content:center; justify-items:center; border-radius:50%; background:#f8faf8; }
.dashboard-donut-center strong { font:700 clamp(25px,3vw,38px)/1 Prompt,sans-serif; }
.dashboard-donut-center span { font-size:12px; }
.dashboard-chart-legend { display:flex; justify-content:center; flex-wrap:wrap; gap:5px 12px; margin-top:10px; font-size:11px; }
.dashboard-chart-legend span::before { content:''; display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:50%; background:var(--legend-color); }
.dashboard-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.dashboard-metric { display:flex; flex-direction:column; min-width:0; min-height:88px; padding:12px 14px; color:#1a3d49; text-align:left; }
.dashboard-metric.primary { grid-column:span 2; background:#e7f3ee; }
.dashboard-metric.elearning { grid-column:span 2; }
.dashboard-metric.workshop { cursor:pointer; font-family:inherit; }
.dashboard-metric.workshop:hover,.dashboard-metric.workshop:focus-visible { border-color:#308180; box-shadow:0 0 0 2px rgba(48,129,128,.12); }
.dashboard-metric > span { color:#53726c; font-size:12px; }
.dashboard-metric strong { margin:5px 0; font:700 clamp(20px,2.3vw,30px)/1.2 Prompt,sans-serif; }
.dashboard-metric small { margin-top:auto; color:#6b817d; font-size:11px; }
.dashboard-utility { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:16px; }
.dashboard-utility .dashboard-search-results { flex-basis:100%; margin:0; }
.dashboard-table th { padding:5px 7px; }
.dashboard-table td { padding:6px 7px; }
.dashboard-table tbody tr { cursor:pointer; }
.dashboard-table tbody tr:focus-visible { outline:2px solid #308180; outline-offset:-2px; }
.dashboard-table .applicants-heading-button { display:flex; align-items:center; justify-content:space-between; gap:4px; width:100%; padding:4px 2px; border:0; background:none; color:inherit; font:inherit; cursor:pointer; white-space:nowrap; }
.dashboard-filter-summary,.dashboard-pagination { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0; color:#627c76; font-size:12px; }
.dashboard-filter-summary button,.dashboard-pagination button { padding:4px 8px; border:1px solid #cbdcd4; border-radius:7px; background:#fff; color:#1a3d49; cursor:pointer; }
.dashboard-pagination { justify-content:flex-end; }
.dashboard-pagination button:disabled { opacity:.45; cursor:default; }
.dashboard-filter-sort { display:flex; gap:5px; margin:7px 0; }
.dashboard-filter-sort button { flex:1; padding:5px; border:1px solid #cadbd5; border-radius:6px; background:#fff; color:#1a3d49; cursor:pointer; }
.dashboard-profile-dialog { width:min(860px,calc(100vw - 24px)); max-height:min(85vh,850px); padding:0; overflow:auto; border:1px solid #dce8e2; border-radius:18px; color:#1a3d49; }
.dashboard-profile-dialog::backdrop { background:rgba(16,40,44,.4); backdrop-filter:blur(6px); }
.dashboard-profile-header { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid #dce6df; }
.dashboard-profile-header h2 { margin:0; font-size:19px; }
.dashboard-profile-header button { width:30px; height:30px; border:1px solid #cbdcd4; border-radius:50%; background:rgba(255,255,255,.8); color:#1a3d49; cursor:pointer; }
.dashboard-profile-content { padding:18px; }
.dashboard-status.live { background:#ddefe7; color:#267058; }
.dashboard-status.elearning { background:#dfeefa; color:#2d6886; }
@media(max-width:1050px) { .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .dashboard-overview { grid-template-columns:1fr; } }
@media(max-width:680px) { .dashboard-stats,.dashboard-attendance-groups,.dashboard-followup-list,.dashboard-profile-grid { grid-template-columns:1fr; } .dashboard-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } .dashboard-metric { padding:10px 8px; } .dashboard-metric strong { font-size:19px; } .dashboard-metric small { font-size:10px; } .dashboard-section { padding:15px; } .dashboard-section-heading { align-items:stretch; flex-direction:column; } .dashboard-search { width:100%; } .dashboard-trend-row { grid-template-columns:90px minmax(0,1fr) 38px; } .dashboard-workshop-trend-row { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 45px; } }
