added submission history, data insights, download all functionality

This commit is contained in:
2026-06-01 12:54:56 +02:00
parent 9a6fa22d84
commit bee7b74e53
19 changed files with 1863 additions and 110 deletions

View File

@ -1720,6 +1720,176 @@ table.data-table tbody tr.row-orphan-category td {
border-radius: 8px;
color: var(--toast-error-fg);
}
.insights-kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 16px;
}
.insights-kpi {
padding: 20px;
text-align: center;
}
.insights-kpi-value {
font-size: 2rem;
font-weight: 700;
color: var(--text);
line-height: 1.2;
}
.insights-kpi-label {
font-size: 0.85rem;
color: var(--text-secondary);
margin-top: 6px;
}
.insights-charts-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-top: 20px;
}
.insights-chart-card h3 {
margin: 0 0 4px;
font-size: 1rem;
}
.insights-chart-hint {
margin: 0 0 14px;
font-size: 0.82rem;
color: var(--text-secondary);
}
.insights-vchart {
display: flex;
align-items: flex-end;
gap: 6px;
height: 160px;
padding: 8px 4px 0;
border-bottom: 1px solid var(--border);
}
.insights-vchart-col {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}
.insights-vchart-bar-wrap {
flex: 1;
width: 100%;
max-width: 36px;
display: flex;
align-items: flex-end;
justify-content: center;
}
.insights-vchart-bar {
width: 100%;
min-height: 2px;
border-radius: 4px 4px 0 0;
background: linear-gradient(180deg, var(--primary-hover), var(--primary));
transition: height 0.2s ease;
}
.insights-vchart-value {
font-size: 0.7rem;
color: var(--text-secondary);
margin-top: 4px;
line-height: 1;
}
.insights-vchart-label {
font-size: 0.65rem;
color: var(--text-secondary);
margin-top: 2px;
text-align: center;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.insights-hchart {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 16px;
}
.insights-hchart-row {
display: grid;
grid-template-columns: minmax(100px, 28%) 1fr minmax(40px, auto);
gap: 10px;
align-items: center;
font-size: 0.85rem;
}
.insights-hchart-label {
color: var(--text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.insights-hchart-track {
height: 22px;
background: var(--surface-muted);
border-radius: 4px;
overflow: hidden;
}
.insights-hchart-fill {
height: 100%;
min-width: 2px;
border-radius: 4px;
background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}
.insights-hchart-fill--warn {
background: linear-gradient(90deg, #d97706, var(--warning));
}
.insights-hchart-fill--muted {
background: var(--border);
}
.insights-hchart-num {
text-align: right;
color: var(--text-secondary);
font-variant-numeric: tabular-nums;
}
.followup-note-input {
width: 100%;
min-width: 180px;
max-width: 320px;
font-family: inherit;
font-size: 0.85rem;
padding: 8px;
border: 1px solid var(--border);
border-radius: 6px;
background: var(--surface);
color: var(--text);
resize: vertical;
}
.export-actions-cell {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
}
.export-actions-cell .btn {
margin: 0;
}
.coach-recent-panel {
padding: 12px 8px 8px 32px;
background: var(--surface-muted);
border-radius: 8px;
margin: 4px 0 8px;
}
.data-table-compact td,
.data-table-compact th {
padding: 8px 10px;
font-size: 0.85rem;
}
.btn-link {
background: none;
border: none;
padding: 0 6px 0 0;
color: var(--accent);
cursor: pointer;
min-width: auto;
}
.coach-detail-row td {
border-top: none;
padding-top: 0;
}
input:disabled,
select:disabled {
background: var(--surface-muted);