LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
/* Metrics Dashboard Styles */
.metrics-dashboard {
padding: 12px;
background-color: var(--background);
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.metrics-dashboard-container {
background-color: var(--card);
flex: 1;
min-height: 0;
overflow-y: auto;
}
.metrics-header-button {
padding: 0px 4px;
}
.metrics-error {
margin-bottom: 16px;
}
/* Tabs alignment — direct child only to avoid nested deployment tabs */
.metrics-dashboard-container > .ant-tabs > .ant-tabs-nav {
padding: 0 14px;
}
/* Tab content padding — direct child only */
.metrics-dashboard-container > .ant-tabs
> .ant-tabs-content-holder
> .ant-tabs-content {
padding: 16px;
}
/* Summary Cards - Matching Reference Design */
.metrics-summary {
margin-bottom: 24px;
}
.summary-card {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
border-radius: 12px;
height: 100%;
min-height: 90px;
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.summary-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.summary-card-icon {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border-radius: 12px;
flex-shrink: 0;
}
.summary-card-icon span {
font-size: 24px;
/* width/height, not font-size alone: antd shipped an icon FONT (sized by
* font-size); lucide ships SVGs, which ignore it and fall back to their
* own 24px default. font-size is kept for any text in the same element. */
width: 24px;
height: 24px;
}
.summary-card-content {
flex: 1;
min-width: 0;
}
.summary-card-label {
font-size: 13px;
color: #666;
margin-bottom: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.summary-card-value {
font-size: 24px;
font-weight: 600;
color: #1a1a1a;
line-height: 1.2;
}
.summary-card-suffix {
font-size: 16px;
font-weight: 500;
color: #666;
}
/* Chart Card */
.chart-card .ant-card-head-title {
font-weight: 600;
}
.metric-card {
height: 100%;
border-radius: 8px;
transition: box-shadow 0.3s ease;
}
.metric-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.metric-title {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
}
.metric-icon {
font-size: 16px;
/* width/height, not font-size alone: antd shipped an icon FONT (sized by
* font-size); lucide ships SVGs, which ignore it and fall back to their
* own 24px default. font-size is kept for any text in the same element. */
width: 16px;
height: 16px;
}
.metric-count {
margin-top: 8px;
font-size: 12px;
color: #8c8c8c;
}
/* Loading State */
.metrics-loading {
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
min-height: 200px;
}
.metrics-empty {
padding: 40px;
}
/* Dashboard Empty State */
.metrics-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80px 24px;
text-align: center;
}
.metrics-empty-state-icon {
width: 120px;
height: 120px;
margin-bottom: 24px;
opacity: 0.6;
}
.metrics-empty-state-title {
margin-bottom: 8px !important;
color: #262626;
}
.metrics-empty-state-text {
font-size: 13px;
line-height: 22px;
max-width: 360px;
margin-bottom: 24px;
}
.metrics-empty-state-actions {
margin-top: 8px;
}
/* Chart Components */
.metrics-chart-card {
height: 100%;
}
.chart-container {
width: 100%;
min-height: 280px;
}
/* Chart Tooltip */
.metrics-chart-tooltip {
background: rgba(255, 255, 255, 0.96);
border: 1px solid #e8e8e8;
border-radius: 4px;
padding: 10px 14px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.metrics-chart-tooltip .tooltip-label {
font-weight: 600;
margin-bottom: 6px;
color: #262626;
border-bottom: 1px solid #f0f0f0;
padding-bottom: 6px;
}
.metrics-chart-tooltip p {
margin: 4px 0;
font-size: 13px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.metrics-dashboard {
padding: 12px;
}
}
/* Period Info */
.period-info {
margin-bottom: 16px;
padding: 12px;
background: white;
border-radius: 6px;
}
/* Recent Activity Styles */
.recent-activity-list {
max-height: 280px;
overflow-y: auto;
}
.recent-activity-item {
padding: 10px 24px !important;
border-bottom: 1px solid #f0f0f0;
}
.recent-activity-clickable {
cursor: pointer;
transition: background-color 0.2s;
}
.recent-activity-clickable:hover {
background-color: #f5f5f5;
}
.recent-activity-item:last-child {
border-bottom: none;
}
.recent-activity-content {
display: flex;
flex-direction: column;
gap: 4px;
width: 100%;
}
.recent-activity-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.recent-activity-type {
display: flex;
align-items: center;
font-size: 13px;
}
.recent-activity-file {
font-size: 13px;
color: #595959;
max-width: 100%;
}
.recent-activity-meta {
font-size: 12px;
display: flex;
align-items: center;
gap: 4px;
}
.recent-activity-info {
font-size: 11px;
/* width/height, not font-size alone: these classes sit on lucide SVGs,
* which ignore font-size and fall back to their own 24px default. The
* antd originals were an icon FONT, where font-size was the size. */
width: 11px;
height: 11px;
color: #8c8c8c;
cursor: help;
}
.recent-activity-time {
font-size: 12px;
}
/* Subscription Usage Tab — Legacy */
.subscription-usage-tab {
max-width: 600px;
margin: 0 auto;
}
.subscription-plan-card {
text-align: center;
padding: 20px;
background: #e6f4ff;
border: 1px solid #91caff;
border-radius: 8px;
max-width: 400px;
margin: 0 auto;
}
.subscription-plan-name {
font-size: 16px;
font-weight: 600;
color: #262626;
margin-bottom: 4px;
}
.subscription-plan-pages {
font-size: 13px;
color: #595959;
}
/* Subscription Usage Tab — V2 */
.subscription-usage-tab-v2 {
display: flex;
flex-direction: column;
gap: 16px;
}
.subscription-loading {
display: flex;
justify-content: center;
padding: 60px;
}
.subscription-overdue-tag-v2 {
margin-bottom: 4px;
}
/* Plan Card V2 */
.subscription-plan-card-v2 {
border-radius: 8px;
}
.subscription-plan-info {
display: flex;
flex-direction: column;
gap: 10px;
}
.subscription-plan-total {
display: flex;
align-items: baseline;
gap: 8px;
}
.subscription-plan-total-value {
font-size: 32px;
font-weight: 700;
color: #262626;
line-height: 1;
}
.subscription-plan-total-label {
font-size: 13px;
color: #8c8c8c;
}
.subscription-plan-renewal {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #595959;
}
.subscription-upgrade-btn {
align-self: flex-start;
margin-top: 4px;
color: var(--success);
border-color: var(--success);
}
.subscription-upgrade-btn:hover {
color: #389e0d;
border-color: #389e0d;
}
/* Stat cards inside plan card */
.subscription-stat {
text-align: center;
padding: 12px 8px;
background: #fafafa;
border-radius: 8px;
}
.subscription-stat-icon {
font-size: 16px;
/* width/height, not font-size alone: antd shipped an icon FONT (sized by
* font-size); lucide ships SVGs, which ignore it and fall back to their
* own 24px default. font-size is kept for any text in the same element. */
width: 16px;
height: 16px;
color: var(--primary);
margin-bottom: 6px;
}
.subscription-stat-value {
font-size: 20px;
font-weight: 600;
color: #262626;
line-height: 1.2;
}
.subscription-stat-label {
font-size: 11px;
color: #8c8c8c;
margin-top: 2px;
}
/* Chart & Table cards */
.subscription-chart-card,
.subscription-table-card {
border-radius: 8px;
}
.subscription-chart-card .ant-card-head-title,
.subscription-table-card .ant-card-head-title {
font-size: 13px;
font-weight: 600;
}
/* Stat sub-label (e.g. peak date) */
.subscription-stat-sub {
font-size: 10px;
color: #b0b0b0;
margin-top: 2px;
}
/* Window note on chart card */
.subscription-window-note {
font-size: 12px;
color: #8c8c8c;
font-weight: 400;
}
/* Peak day row highlight in table */
.subscription-peak-row td {
background: #fff7e6 !important;
}
.subscription-peak-row:hover td {
background: #fff1cc !important;
}
@media (max-width: 768px) {
.subscription-plan-total-value {
font-size: 24px;
}
.subscription-stat-value {
font-size: 16px;
}
}
.subscription-overdue-tag {
margin-bottom: 12px;
}
/* Compact execution display */
.execution-compact {
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
}
.execution-success {
color: var(--success);
font-size: 12px;
}
.execution-error {
color: #ff4d4f;
font-size: 12px;
}
/* Deployment Type Tabs */
.deployment-type-tabs {
padding-left: 24px;
}
/* LLM Usage Table */
.llm-usage-card .ant-card-body {
padding: 0;
}
.llm-usage-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
border-bottom: 1px solid #f0f0f0;
}
.llm-usage-title {
font-size: 16px;
color: #262626;
}
.llm-usage-table {
padding: 0 24px;
}
.llm-usage-table .ant-table-thead > tr > th {
background: #fafafa;
color: #595959;
font-weight: 600;
font-size: 13px;
border-bottom: 2px solid #f0f0f0;
}
.llm-usage-table .ant-table-tbody > tr > td {
color: #434343;
font-size: 13px;
}
.llm-usage-table .ant-table-tbody > tr:hover > td {
background: #f5f7fa;
}
.llm-usage-table .ant-table-tbody > tr > td:not(:first-child) {
font-variant-numeric: tabular-nums;
}
.llm-usage-tag-compact {
margin-inline-end: 2px;
}
.llm-usage-error-alert {
margin: 16px 24px;
}
.llm-usage-subtitle {
font-size: 12px;
padding: 0 24px;
}
.llm-usage-info-icon {
color: #8c8c8c;
font-size: 12px;
/* width/height, not font-size alone: antd shipped an icon FONT (sized by
* font-size); lucide ships SVGs, which ignore it and fall back to their
* own 24px default. font-size is kept for any text in the same element. */
width: 12px;
height: 12px;
}