Spaces:
Runtime error
Runtime error
Claude Opus 4.6
Design system overhaul: neutral monochrome theme, Geist Variable font, new chart palette
d933a8b Download static/css/components.css from StrategyForge/PRISM-Marketing-Mix-Intelligence: direct link, hf CLI and curl.
- Browser
- Download file 48.9 kB
-
https://huggingface.co/spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/resolve/main/static/css/components.css
- Command line
-
hf download hf://spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/static/css/components.css
-
curl -L -o components.css https://huggingface.co/spaces/StrategyForge/PRISM-Marketing-Mix-Intelligence/resolve/main/static/css/components.css
48.9 kB
/* ===== Section Headers (Diagnostics) ===== */
.section-header {
display: flex;
align-items: center;
gap: 12px;
margin: 32px 0 16px 0;
padding: 12px 20px;
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
border-left: 3px solid var(--accent-gold);
}
.section-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--text-primary, #f0f2f5);
}
.section-subtitle {
font-size: 12px;
color: var(--text-muted, #6b7280);
margin-left: auto;
}
.section-header.collapsible {
cursor: pointer;
user-select: none;
transition: background 0.2s;
}
.section-header.collapsible:hover {
background: var(--bg-card-hover);
}
.section-toggle {
font-size: 12px;
color: var(--text-muted, #6b7280);
margin-left: 8px;
}
/* ===== Change Badges ===== */
.change-badge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
white-space: nowrap;
}
.change-badge.positive { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.change-badge.neutral { background: rgba(156, 163, 175, 0.12); color: #9ca3af; }
.change-badge.negative { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
/* ===== Summary Table (Diagnostics) ===== */
.summary-table tbody tr {
transition: background 0.2s;
}
.summary-table tbody tr:hover {
background: var(--bg-card-hover);
}
.summary-table td:first-child {
font-weight: 500;
}
/* ===== Collapsible Content ===== */
.collapsible-content {
transition: all 0.3s ease;
}
/* ===== Side-by-Side Chart + Table ===== */
.charts-grid .table-container {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-lg);
padding: 16px;
overflow-x: auto;
}
.charts-grid .table-container .table-header {
margin-bottom: 8px;
}
.charts-grid .table-container .table-header h3 {
font-size: 14px;
margin: 0;
color: var(--text-primary, #ffffff);
}
/* ===== KPI Cards ===== */
.kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.kpi-card {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
padding: 20px;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.kpi-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: var(--accent-gold);
opacity: 0;
transition: opacity 0.25s;
}
.kpi-card:hover {
border-color: var(--border-card);
box-shadow: var(--shadow-glow);
transform: translateY(-4px);
}
.kpi-card:hover::before { opacity: 1; }
.kpi-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.kpi-icon {
width: 38px;
height: 38px;
border-radius: var(--radius-sm);
background: var(--accent-gold-dim);
border: 1px solid var(--accent-gold-glow);
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-gold);
}
.kpi-icon svg { width: 18px; height: 18px; }
.kpi-change {
font-size: 12px;
font-weight: 600;
padding: 3px 8px;
border-radius: 20px;
display: flex;
align-items: center;
gap: 3px;
}
.kpi-change.positive { background: var(--positive-bg); color: var(--positive); }
.kpi-change.negative { background: var(--negative-bg); color: var(--negative); }
.kpi-value {
font-size: 26px;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 4px;
letter-spacing: -0.5px;
}
.kpi-label {
font-size: 12px;
color: var(--text-muted);
font-weight: 500;
}
/* ===== Chart Containers ===== */
.charts-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 24px;
}
.charts-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.charts-grid .full-width { grid-column: 1 / -1; }
.chart-container {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
overflow: hidden;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: var(--shadow-card);
}
.chart-container:hover {
border-color: var(--border-card);
box-shadow: var(--shadow-glow);
}
.chart-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px 0;
}
.chart-title {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.chart-actions { display: flex; gap: 6px; }
.chart-action-btn {
background: var(--bg-glass, transparent);
border: 1px solid var(--border-glass, var(--border-card));
color: var(--text-muted);
width: 28px;
height: 28px;
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
padding: 0;
}
.chart-action-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--text-muted); }
.chart-action-btn svg { width: 14px; height: 14px; }
.chart-area {
padding: 8px 12px 12px;
min-height: 320px;
max-height: 650px;
position: relative;
overflow: hidden;
}
.chart-area .loading-overlay {
position: absolute;
inset: 0;
background: var(--bg-card);
display: flex;
align-items: center;
justify-content: center;
z-index: 5;
}
/* ===== Data Tables ===== */
.table-container {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
overflow: hidden;
margin-bottom: 24px;
box-shadow: var(--shadow-card);
}
.table-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid var(--border-subtle);
}
.table-header h3 {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
}
.table-search {
background: var(--bg-input);
border: 1px solid var(--border-card);
color: var(--text-primary);
padding: 6px 12px;
border-radius: var(--radius-sm);
font-size: 12px;
font-family: var(--font);
width: 220px;
outline: none;
}
.table-search:focus { border-color: var(--accent-gold); }
.table-search::placeholder { color: var(--text-muted); }
.table-wrapper { overflow-x: auto; }
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.data-table th {
background: var(--bg-secondary);
color: var(--text-muted);
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 10px 16px;
text-align: left;
white-space: nowrap;
cursor: pointer;
position: sticky;
top: 0;
border-bottom: 1px solid var(--border-card);
user-select: none;
transition: color 0.2s;
}
.data-table th:hover { color: var(--accent-gold); }
.data-table th.sorted { color: var(--accent-gold); }
.data-table th .sort-icon { margin-left: 4px; opacity: 0.5; }
.data-table th.sorted .sort-icon { opacity: 1; }
.data-table td {
padding: 10px 16px;
border-bottom: 1px solid var(--border-subtle);
color: var(--text-secondary);
white-space: nowrap;
}
.data-table tr:hover td { background: var(--bg-card-hover); color: var(--text-primary); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .currency::before { content: '$'; }
.data-table .positive-val { color: var(--positive); }
.data-table .negative-val { color: var(--negative); }
.table-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
border-top: 1px solid var(--border-subtle);
font-size: 12px;
color: var(--text-muted);
}
.table-pagination { display: flex; gap: 4px; }
.page-btn {
background: var(--bg-input);
border: 1px solid var(--border-card);
color: var(--text-secondary);
width: 30px;
height: 30px;
border-radius: 6px;
cursor: pointer;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
font-family: var(--font);
}
.page-btn:hover { background: var(--bg-card-hover); }
.page-btn.active { background: var(--accent-gradient); color: var(--accent-gradient-fg); border-color: transparent; }
/* ===== Screen-Specific Filters ===== */
.screen-filters {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
padding: 16px 20px;
margin-bottom: 20px;
display: flex;
align-items: flex-end;
gap: 16px;
flex-wrap: wrap;
position: relative;
z-index: 10;
}
.screen-filters .filter-group select { min-width: 150px; }
/* ===== Upload Area ===== */
.upload-sources-layout {
margin-bottom: 16px;
}
.upload-zone {
background: var(--bg-card);
border: 2px dashed var(--border-card);
border-radius: var(--radius-lg);
padding: 32px;
text-align: center;
cursor: pointer;
transition: all 0.25s ease;
margin-bottom: 16px;
}
.upload-zone:hover, .upload-zone.dragover {
border-color: var(--accent-gold);
background: var(--accent-gold-dim);
box-shadow: var(--shadow-glow);
}
.upload-zone .upload-icon {
width: 48px;
height: 48px;
margin: 0 auto 12px;
background: var(--accent-gold-dim);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-gold);
}
.upload-zone .upload-icon svg { width: 22px; height: 22px; }
.upload-zone h3 { color: var(--text-primary); font-size: 15px; margin-bottom: 6px; }
.upload-zone p { color: var(--text-muted); font-size: 12px; }
.upload-zone .file-types { margin-top: 10px; display: flex; gap: 8px; justify-content: center; }
.upload-zone .file-type-badge {
background: var(--bg-input);
border: 1px solid var(--border-card);
padding: 3px 10px;
border-radius: 20px;
font-size: 11px;
color: var(--text-muted);
}
/* Source Selector (after file pick) */
.source-selector {
background: var(--bg-card);
border: 1px solid var(--accent-gold);
border-radius: var(--radius-md);
padding: 16px 20px;
margin-bottom: 16px;
}
.selected-file-info {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
font-size: 13px;
color: var(--text-primary);
font-weight: 500;
}
.selected-file-info .file-icon { font-size: 18px; }
.btn-cancel-upload {
margin-left: auto;
background: none;
border: none;
color: var(--text-muted);
font-size: 18px;
cursor: pointer;
padding: 2px 6px;
border-radius: 4px;
}
.btn-cancel-upload:hover { background: var(--negative-bg); color: var(--negative); }
.source-type-row {
display: flex;
align-items: center;
gap: 12px;
}
.source-type-row label {
font-size: 12px;
color: var(--text-muted);
font-weight: 500;
}
.source-type-row select {
flex: 1;
max-width: 220px;
}
.btn-upload {
background: var(--accent-gradient);
color: var(--accent-gradient-fg);
border: none;
padding: 8px 20px;
border-radius: var(--radius-md);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s;
}
.btn-upload:hover { opacity: 0.9; }
.btn-upload:disabled { opacity: 0.5; cursor: not-allowed; }
/* Section description text */
.section-desc {
font-size: 12px;
color: var(--text-muted);
margin: -8px 0 16px 0;
line-height: 1.5;
}
/* Schema header icon */
.schema-icon { margin-right: 8px; }
.schema-field-header {
font-weight: 600 !important;
border-bottom: 2px solid var(--border-card) !important;
margin-bottom: 4px;
}
.schema-field-header .field-name { color: var(--text-muted) !important; font-family: inherit !important; }
.schema-field-header .field-type { color: var(--text-muted) !important; }
.schema-field-header .field-req { background: none !important; color: var(--text-muted) !important; }
/* ===== Status Cards ===== */
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.status-card {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-md);
padding: 16px;
}
.status-card .status-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.status-card .status-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.status-badge {
font-size: 10px;
font-weight: 600;
padding: 2px 8px;
border-radius: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-badge.active { background: var(--positive-bg); color: var(--positive); }
.status-badge.warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.status-badge.missing { background: var(--negative-bg); color: var(--negative); }
/* Ad-Level Analysis status badges */
.status-badge.status-active { background: var(--positive-bg); color: var(--positive); }
.status-badge.status-paused { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.status-badge.status-completed { background: rgba(107, 114, 128, 0.12); color: #6b7280; }
/* Ad ID cell styling */
.ad-id-cell {
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
font-size: 11px;
background: rgba(255,255,255,0.04);
padding: 2px 6px;
border-radius: 4px;
color: var(--accent-teal);
}
/* Format badge in ad table */
.format-badge {
font-size: 10px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
background: rgba(59, 130, 246, 0.12);
color: #3b82f6;
white-space: nowrap;
}
/* ROI badge for promo tables */
.roi-badge {
font-size: 11px;
font-weight: 600;
padding: 2px 6px;
border-radius: 4px;
}
.roi-badge.positive { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.roi-badge.neutral { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.roi-badge.negative { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
/* Variance coloring in trade promo table */
td.positive { color: #22c55e; }
td.negative { color: #ef4444; }
/* Chart metric selector (inline dropdown on chart header) */
.chart-metric-select {
background: var(--bg-input, rgba(255,255,255,0.05));
border: 1px solid var(--border-card);
color: var(--text-primary);
padding: 4px 24px 4px 10px;
border-radius: var(--radius-sm, 6px);
font-size: 11px;
font-family: var(--font);
outline: none;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 6px center;
}
.chart-metric-select:hover { border-color: var(--accent-teal); }
.chart-metric-select:focus { border-color: var(--accent-teal); box-shadow: 0 0 0 2px rgba(255,255,255,0.08); }
.status-card .status-detail {
display: flex;
justify-content: space-between;
font-size: 11px;
color: var(--text-muted);
margin-top: 6px;
}
.status-card .quality-bar {
height: 4px;
background: var(--border-card);
border-radius: 2px;
margin-top: 10px;
overflow: hidden;
}
.status-card .quality-fill {
height: 100%;
border-radius: 2px;
transition: width 0.5s;
}
/* ===== Schema Accordion ===== */
.schema-section {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-md);
margin-bottom: 8px;
overflow: hidden;
}
.schema-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 20px;
cursor: pointer;
transition: background 0.2s;
}
.schema-header:hover { background: var(--bg-card-hover); }
.schema-header h4 { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.schema-header .field-count { font-size: 11px; color: var(--text-muted); }
.schema-body {
padding: 0 20px 16px;
display: none;
}
.schema-section.open .schema-body { display: block; }
.schema-field {
display: flex;
align-items: center;
padding: 6px 0;
border-bottom: 1px solid var(--border-subtle);
font-size: 12px;
}
.schema-field:last-child { border-bottom: none; }
.schema-field .field-name { width: 200px; font-weight: 500; color: var(--text-primary); font-family: 'SF Mono', 'Fira Code', monospace; }
.schema-field .field-type { width: 100px; color: var(--accent-gold); }
.schema-field .field-req {
font-size: 10px;
padding: 1px 6px;
border-radius: 4px;
}
.schema-field .field-req.required { background: var(--accent-gold-dim); color: var(--accent-gold); }
.schema-field .field-req.optional { background: rgba(107, 114, 128, 0.15); color: var(--text-muted); }
/* ===== Validation Results ===== */
.validation-results {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-lg);
padding: 20px;
margin-bottom: 24px;
display: none;
}
.validation-results.visible { display: block; }
.validation-check {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 0;
border-bottom: 1px solid var(--border-subtle);
font-size: 13px;
}
.validation-check:last-child { border-bottom: none; }
.check-icon {
width: 20px;
height: 20px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
flex-shrink: 0;
}
.check-icon.pass { background: var(--positive-bg); color: var(--positive); }
.check-icon.fail { background: var(--negative-bg); color: var(--negative); }
.check-icon.warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); }
.check-icon.info { background: rgba(59, 130, 246, 0.12); color: var(--info); }
.check-name { font-weight: 500; color: var(--text-primary); min-width: 160px; }
.check-detail { color: var(--text-secondary); }
/* ===== Loading Spinner ===== */
.spinner {
width: 32px;
height: 32px;
border: 3px solid var(--border-card);
border-top-color: var(--accent-gold);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ===== Fullscreen Modal ===== */
[data-theme="light"] .chart-fullscreen-overlay {
background: rgba(0, 0, 0, 0.4);
}
.chart-fullscreen-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 1000;
display: none;
align-items: center;
justify-content: center;
padding: 40px;
}
.chart-fullscreen-overlay.active { display: flex; }
.chart-fullscreen-content {
background: var(--bg-card-solid, var(--bg-card));
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-xl, var(--radius-lg));
width: 90vw;
height: 80vh;
position: relative;
padding: 20px;
backdrop-filter: blur(16px);
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.fullscreen-close {
position: absolute;
top: 12px;
right: 12px;
background: var(--bg-input);
border: 1px solid var(--border-card);
color: var(--text-secondary);
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
/* ===== Alert Bell Badge ===== */
.alert-bell-btn { position: relative; }
.alert-bell-count {
position: absolute;
top: 2px;
right: 2px;
background: #ef4444;
color: #fff;
font-size: 9px;
font-weight: 700;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
/* ===== Alert Summary Grid ===== */
.alert-summary-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-bottom: 20px;
}
.alert-summary-card {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
padding: 20px;
cursor: pointer;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.alert-summary-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
}
.alert-summary-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.alert-cat-alert::before { background: #ef4444; }
.alert-cat-worry::before { background: #f59e0b; }
.alert-cat-win::before { background: #22c55e; }
.alert-cat-opportunity::before { background: #3b82f6; }
.alert-cat-icon {
width: 36px; height: 36px;
border-radius: var(--radius-sm);
display: flex; align-items: center; justify-content: center;
margin-bottom: 10px;
}
.alert-cat-alert .alert-cat-icon { background: rgba(239,68,68,0.12); color: #ef4444; }
.alert-cat-worry .alert-cat-icon { background: rgba(245,158,11,0.12); color: #f59e0b; }
.alert-cat-win .alert-cat-icon { background: rgba(34,197,94,0.12); color: #22c55e; }
.alert-cat-opportunity .alert-cat-icon { background: rgba(59,130,246,0.12); color: #3b82f6; }
.alert-cat-count { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.alert-cat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.alert-cat-top { font-size: 11px; color: var(--text-secondary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* ===== Alert Filter Tabs ===== */
.alert-filter-tabs {
display: flex; gap: 6px; margin-bottom: 16px;
}
.alert-tab {
background: var(--bg-card);
border: 1px solid var(--border-card);
color: var(--text-secondary);
padding: 7px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 500;
cursor: pointer;
font-family: var(--font);
transition: all 0.2s;
}
.alert-tab:hover { border-color: var(--accent-gold); color: var(--text-primary); }
.alert-tab.active { background: var(--accent-gradient); color: var(--accent-gradient-fg); border-color: transparent; }
/* ===== Alert Feed ===== */
.alert-feed { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.alert-empty { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; }
.alert-card {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-md);
padding: 16px 20px;
display: flex;
gap: 16px;
align-items: flex-start;
transition: all 0.25s ease;
border-left: 3px solid transparent;
}
.alert-card:hover { border-color: var(--border-card); box-shadow: var(--shadow-card); }
.alert-card-alert { border-left-color: #ef4444; }
.alert-card-worry { border-left-color: #f59e0b; }
.alert-card-win { border-left-color: #22c55e; }
.alert-card-opportunity { border-left-color: #3b82f6; }
.alert-badge {
font-size: 10px; font-weight: 600; padding: 4px 10px;
border-radius: 20px; display: flex; align-items: center; gap: 4px;
white-space: nowrap; text-transform: uppercase; letter-spacing: 0.3px;
}
.alert-badge-alert { background: rgba(239,68,68,0.12); color: #ef4444; }
.alert-badge-worry { background: rgba(245,158,11,0.12); color: #f59e0b; }
.alert-badge-win { background: rgba(34,197,94,0.12); color: #22c55e; }
.alert-badge-opportunity { background: rgba(59,130,246,0.12); color: #3b82f6; }
.alert-card-body { flex: 1; }
.alert-card-headline { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.alert-card-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.alert-card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-meta-tag {
font-size: 10px; padding: 2px 8px;
background: var(--bg-input); border-radius: 4px; color: var(--text-muted);
}
.alert-meta-time { font-size: 10px; color: var(--text-muted); margin-left: auto; }
.alert-card-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.alert-action-btn {
background: var(--bg-input);
border: 1px solid var(--border-card);
color: var(--text-secondary);
padding: 5px 10px;
border-radius: 6px;
font-size: 11px;
cursor: pointer;
display: flex; align-items: center; gap: 4px;
font-family: var(--font);
transition: all 0.2s;
white-space: nowrap;
}
.alert-action-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--accent-gold); }
/* ===== Simulation Panel ===== */
.sim-overlay {
position: fixed; inset: 0; background: rgba(0,0,0,0.5);
z-index: 900; display: none;
}
.sim-overlay.open { display: block; }
.sim-panel {
position: fixed; top: 0; right: -420px; width: 400px; height: 100vh;
background: var(--bg-secondary);
backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
border-left: 1px solid var(--border-glass, var(--border-card));
z-index: 901; transition: right 0.3s ease;
display: flex; flex-direction: column;
box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}
.sim-panel.open { right: 0; }
.sim-header {
display: flex; align-items: center; justify-content: space-between;
padding: 20px; border-bottom: 1px solid var(--border-subtle);
}
.sim-header h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.sim-close {
background: none; border: none; color: var(--text-secondary);
font-size: 18px; cursor: pointer; width: 28px; height: 28px;
display: flex; align-items: center; justify-content: center;
}
.sim-body { padding: 20px; flex: 1; overflow-y: auto; }
.sim-input-group { margin-bottom: 20px; }
.sim-input-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.sim-input-group select {
width: 100%; background: var(--bg-input); border: 1px solid var(--border-card);
color: var(--text-primary); padding: 8px 12px; border-radius: var(--radius-sm);
font-size: 13px; font-family: var(--font);
}
.sim-slider-row { display: flex; align-items: center; gap: 12px; }
.sim-slider-row input[type="range"] { flex: 1; accent-color: var(--accent-gold); }
.sim-value { font-size: 16px; font-weight: 700; color: var(--text-primary); min-width: 50px; text-align: right; }
.sim-run-btn { width: 100%; text-align: center; justify-content: center; padding: 10px; font-size: 13px; }
.sim-results { margin-top: 24px; }
.sim-results h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.sim-comparison { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sim-col { flex: 1; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-sm); padding: 12px; }
.sim-col-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.5px; }
.sim-metric { display: flex; justify-content: space-between; padding: 4px 0; font-size: 12px; }
.sim-metric-label { color: var(--text-muted); }
.sim-metric-val { font-weight: 600; color: var(--text-primary); }
.sim-arrow { font-size: 20px; color: var(--text-muted); flex-shrink: 0; }
.sim-impact-row { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 6px; font-size: 13px; color: var(--text-secondary); }
.sim-impact-row.positive strong { color: #22c55e; }
.sim-impact-row.negative strong { color: #ef4444; }
/* ===== NOVA Chat Drawer ===== */
.nova-overlay {
position: fixed; inset: 0; background: rgba(0,0,0,0.3);
z-index: 800; display: none;
}
.nova-overlay.open { display: block; }
.nova-drawer {
position: fixed; top: 0; right: -420px; width: 400px; height: 100vh;
background: var(--bg-secondary);
backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
border-left: 1px solid var(--border-glass, var(--border-card));
z-index: 801; transition: right 0.3s ease;
display: flex; flex-direction: column;
box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}
.nova-drawer.open { right: 0; }
.nova-header {
display: flex; align-items: center; justify-content: space-between;
padding: 16px 20px; border-bottom: 1px solid var(--border-subtle);
background: var(--bg-secondary);
}
.nova-brand { display: flex; align-items: center; gap: 12px; }
.nova-logo {
width: 36px; height: 36px; border-radius: 50%;
background: var(--accent-gold-dim); display: flex;
align-items: center; justify-content: center; color: var(--accent-gold);
}
.nova-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.nova-subtitle { font-size: 10px; color: var(--text-muted); }
.nova-close {
background: none; border: none; color: var(--text-secondary);
font-size: 18px; cursor: pointer;
}
.nova-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.nova-msg { display: flex; }
.nova-msg-bot { justify-content: flex-start; }
.nova-msg-user { justify-content: flex-end; }
.nova-msg-content {
max-width: 90%; padding: 10px 14px; border-radius: 12px;
font-size: 12px; line-height: 1.6; color: var(--text-primary);
}
.nova-msg-bot .nova-msg-content {
background: var(--bg-card); border: 1px solid var(--border-card);
border-bottom-left-radius: 4px;
}
.nova-msg-user .nova-msg-content {
background: var(--accent-gradient); color: var(--accent-gradient-fg);
border-bottom-right-radius: 4px;
}
.nova-msg-content ul { margin: 6px 0 0 16px; }
.nova-msg-content li { margin-bottom: 3px; }
.nova-typing { display: flex; gap: 4px; padding: 4px 0; }
.nova-typing span {
width: 6px; height: 6px; border-radius: 50%;
background: var(--text-muted); animation: novaBounce 1.2s infinite;
}
.nova-typing span:nth-child(2) { animation-delay: 0.2s; }
.nova-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes novaBounce {
0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
40% { opacity: 1; transform: scale(1.2); }
}
.nova-suggestions { display: flex; gap: 6px; padding: 8px 16px; flex-wrap: wrap; }
.nova-suggestion-btn {
background: var(--bg-card); border: 1px solid var(--border-card);
color: var(--text-secondary); padding: 6px 12px; border-radius: 20px;
font-size: 11px; cursor: pointer; font-family: var(--font); transition: all 0.2s;
}
.nova-suggestion-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.nova-input-area {
display: flex; gap: 8px; padding: 12px 16px;
border-top: 1px solid var(--border-subtle);
}
.nova-input {
flex: 1; background: var(--bg-input); border: 1px solid var(--border-card);
color: var(--text-primary); padding: 10px 14px; border-radius: var(--radius-sm);
font-size: 12px; font-family: var(--font); outline: none;
}
.nova-input:focus { border-color: var(--accent-gold); }
.nova-input::placeholder { color: var(--text-muted); }
.nova-send-btn {
background: var(--accent-gradient); border: none; color: var(--accent-gradient-fg);
width: 38px; height: 38px; border-radius: var(--radius-sm);
cursor: pointer; display: flex; align-items: center; justify-content: center;
transition: all 0.2s;
}
.nova-send-btn:hover { opacity: 0.85; }
/* ===== NOVA Floating Button ===== */
.nova-fab {
position: fixed; bottom: 24px; right: 24px;
background: var(--accent-gradient); color: var(--accent-gradient-fg);
border: none; border-radius: 50px;
padding: 12px 20px; font-size: 13px; font-weight: 600;
cursor: pointer; display: flex; align-items: center; gap: 8px;
box-shadow: var(--shadow-glow);
z-index: 700; font-family: var(--font);
transition: all 0.3s;
letter-spacing: 0.3px;
}
.nova-fab:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 6px 28px oklch(0 0 0 / 25%); }
.nova-fab-label { font-weight: 700; }
/* ===== NOVA Insight Cards (per-screen) ===== */
.nova-insights {
display: flex; gap: 12px; margin-bottom: 20px; overflow-x: auto;
padding-bottom: 4px;
}
.nova-insight-card {
background: var(--bg-card); border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-md); padding: 14px 18px;
min-width: 280px; max-width: 320px; flex-shrink: 0;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;
backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nova-insight-card:hover { border-color: var(--border-card); box-shadow: var(--shadow-glow); transform: translateY(-4px); }
.nova-insight-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.nova-insight-icon {
width: 24px; height: 24px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-size: 12px;
}
.nova-insight-icon.insight { background: rgba(59,130,246,0.12); color: #3b82f6; }
.nova-insight-icon.warning { background: rgba(245,158,11,0.12); color: #f59e0b; }
.nova-insight-icon.success { background: rgba(34,197,94,0.12); color: #22c55e; }
.nova-insight-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.nova-insight-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.nova-insight-text strong { color: var(--text-primary); }
/* ===== Transform Cards ===== */
.transform-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
}
.transform-card {
background: var(--bg-input); border: 1px solid var(--border-card);
border-radius: var(--radius-md); padding: 16px; cursor: pointer;
transition: all 0.2s; text-align: center;
}
.transform-card:hover { border-color: var(--accent-gold); background: var(--accent-gold-dim); }
.transform-icon { font-size: 24px; margin-bottom: 8px; }
.transform-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.transform-desc { font-size: 11px; color: var(--text-muted); }
/* ===== Responsive alerts ===== */
@media (max-width: 900px) {
.alert-summary-grid { grid-template-columns: repeat(2, 1fr); }
.alert-card { flex-direction: column; }
.alert-card-actions { flex-direction: row; }
.aira-drawer, .sim-panel { width: 100%; right: -100%; }
}
/* ===== Pipeline Tracker ===== */
.pipeline-tracker {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
margin: 24px 0;
padding: 24px;
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
backdrop-filter: blur(8px);
}
.pipeline-step {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
min-width: 80px;
}
.step-circle {
width: 44px;
height: 44px;
border-radius: 50%;
background: var(--bg-primary);
border: 2px solid var(--border-card);
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 16px;
color: var(--text-muted);
transition: all 0.3s;
}
.pipeline-step.active .step-circle {
border-color: var(--accent-gold);
color: var(--accent-gold);
background: rgba(212, 168, 71, 0.1);
}
.pipeline-step.complete .step-circle {
border-color: var(--positive);
color: #fff;
background: var(--positive);
}
.step-label {
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.step-count {
font-size: 11px;
color: var(--text-muted);
}
.pipeline-connector {
width: 60px;
height: 3px;
background: var(--border-card);
margin: 0 4px;
margin-bottom: 30px;
border-radius: 2px;
transition: background 0.3s;
}
.pipeline-connector.filled {
background: var(--positive);
}
/* ===== Section Titles ===== */
.section-title {
color: var(--text-primary);
font-size: 15px;
margin: 24px 0 12px 0;
}
/* ===== Source Cards Grid ===== */
.source-cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
margin-bottom: 20px;
}
.source-card {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: 10px;
padding: 16px;
transition: border-color 0.3s;
}
.source-card.layer-raw, .source-card.layer-raw_available {
border-left: 3px solid var(--text-muted);
}
.source-card.layer-bronze {
border-left: 3px solid #cd7f32;
}
.source-card.layer-silver, .source-card.layer-gold {
border-left: 3px solid var(--positive);
}
.source-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.source-name {
font-weight: 600;
font-size: 13px;
color: var(--text-primary);
}
.source-layer-badge {
font-size: 10px;
font-weight: 700;
padding: 2px 8px;
border-radius: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
background: var(--bg-primary);
color: var(--text-muted);
}
.source-layer-badge.layer-raw, .source-layer-badge.layer-raw_available { color: var(--text-secondary); }
.source-layer-badge.layer-bronze { color: #cd7f32; }
.source-layer-badge.layer-silver { color: #c0c0c0; }
.source-layer-badge.layer-gold { color: var(--accent-gold); background: rgba(212, 168, 71, 0.15); }
.source-card-body {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 10px;
}
.source-stat {
font-size: 11px;
color: var(--text-muted);
}
.source-stat span {
font-weight: 600;
color: var(--text-secondary);
}
.source-card-footer {
display: flex;
justify-content: flex-end;
}
.btn-source-action {
background: var(--accent-gradient);
color: var(--accent-gradient-fg);
border: none;
padding: 5px 14px;
border-radius: 8px;
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-source-action:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.source-transforms {
font-size: 11px;
color: var(--accent-gold);
font-weight: 600;
}
.source-badge.gold {
font-size: 10px;
font-weight: 700;
padding: 2px 10px;
border-radius: 10px;
background: rgba(212, 168, 71, 0.15);
color: var(--accent-gold);
}
/* ===== Agent Cards ===== */
.agent-cards-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 12px;
margin-bottom: 20px;
}
.agent-card {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: 10px;
padding: 16px;
display: flex;
gap: 12px;
align-items: flex-start;
cursor: pointer;
transition: all 0.2s;
}
.agent-card:hover {
border-color: var(--accent-gold);
transform: translateY(-1px);
}
.agent-card.processing {
opacity: 0.7;
pointer-events: none;
}
.agent-icon {
font-size: 24px;
flex-shrink: 0;
}
.agent-info { flex: 1; }
.agent-name {
font-weight: 600;
font-size: 13px;
color: var(--text-primary);
margin-bottom: 4px;
}
.agent-desc {
font-size: 11px;
color: var(--text-muted);
line-height: 1.4;
}
.agent-status {
flex-shrink: 0;
display: flex;
align-items: center;
}
.agent-done {
color: var(--positive);
font-size: 12px;
font-weight: 600;
}
.agent-spinner {
width: 18px;
height: 18px;
border: 2px solid var(--border-card);
border-top-color: var(--accent-gold);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ===== Transform Cards (pipeline) ===== */
.transform-card.completed {
border-color: var(--positive);
}
.transform-card.processing {
opacity: 0.7;
pointer-events: none;
}
.transform-result {
margin-top: 8px;
font-size: 11px;
min-height: 18px;
}
.tx-done {
color: var(--positive);
font-weight: 600;
}
.tx-error {
color: var(--negative);
font-weight: 600;
}
/* ===== Results Panel ===== */
.pipeline-results {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-card);
margin: 20px 0;
overflow: hidden;
}
.results-tabs {
display: flex;
border-bottom: 1px solid var(--border-card);
padding: 0 16px;
}
.results-tab {
background: none;
border: none;
padding: 12px 20px;
color: var(--text-muted);
font-size: 13px;
font-weight: 500;
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s;
}
.results-tab.active {
color: var(--accent-gold);
border-bottom-color: var(--accent-gold);
}
.results-tab:hover { color: var(--text-primary); }
.results-content {
padding: 16px;
max-height: 500px;
overflow-y: auto;
}
.results-empty {
text-align: center;
color: var(--text-muted);
padding: 40px;
font-size: 13px;
}
/* Profile Results */
.profile-source {
margin-bottom: 20px;
border: 1px solid var(--border-card);
border-radius: 8px;
overflow: hidden;
}
.profile-source-header {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: rgba(255,255,255,0.03);
border-bottom: 1px solid var(--border-card);
font-size: 13px;
}
.profile-badge {
font-size: 11px;
font-weight: 700;
padding: 2px 10px;
border-radius: 10px;
}
.profile-badge.quality-good { background: rgba(34,197,94,0.15); color: var(--positive); }
.profile-badge.quality-warn { background: rgba(245,158,11,0.15); color: #f59e0b; }
.profile-badge.quality-bad { background: rgba(239,68,68,0.15); color: var(--negative); }
.profile-meta {
font-size: 11px;
color: var(--text-muted);
margin-left: auto;
}
.profile-table {
width: 100%;
font-size: 12px;
border-collapse: collapse;
}
.profile-table th {
text-align: left;
padding: 8px 10px;
color: var(--text-muted);
font-weight: 600;
border-bottom: 1px solid var(--border-card);
font-size: 11px;
text-transform: uppercase;
}
.profile-table td {
padding: 6px 10px;
border-bottom: 1px solid rgba(255,255,255,0.03);
color: var(--text-secondary);
}
.profile-table tr.has-issues td { color: var(--text-primary); }
.issue-badge {
display: inline-block;
font-size: 10px;
padding: 1px 6px;
border-radius: 6px;
background: rgba(239,68,68,0.12);
color: var(--negative);
margin: 1px 2px;
}
.no-issue {
font-size: 10px;
color: var(--positive);
}
/* Mapping Results */
.mapping-actions {
margin-bottom: 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.mapping-actions-info {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: var(--text-muted);
}
.mapping-actions-info svg { color: var(--accent-teal); flex-shrink: 0; }
.mapping-source {
margin-bottom: 16px;
border: 1px solid var(--border-card);
border-radius: 8px;
overflow: hidden;
}
.mapping-source-header {
padding: 10px 14px;
background: rgba(255,255,255,0.03);
border-bottom: 1px solid var(--border-card);
font-size: 13px;
display: flex;
align-items: center;
justify-content: space-between;
}
.mapping-col-count {
font-size: 11px;
color: var(--text-muted);
font-weight: 400;
}
.mapping-table {
width: 100%;
font-size: 12px;
border-collapse: collapse;
}
.mapping-table th {
text-align: left;
padding: 8px 12px;
color: var(--text-muted);
font-weight: 600;
border-bottom: 1px solid var(--border-card);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.mapping-table td {
padding: 7px 12px;
border-bottom: 1px solid rgba(255,255,255,0.03);
color: var(--text-secondary);
}
.mapping-raw-col code {
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
font-size: 12px;
color: var(--text-primary);
background: rgba(255,255,255,0.04);
padding: 2px 6px;
border-radius: 4px;
}
/* Mapping dropdown select */
.mapping-select {
background: var(--bg-input);
border: 1px solid var(--border-card);
color: var(--text-primary);
padding: 5px 28px 5px 10px;
border-radius: var(--radius-sm);
font-size: 12px;
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
outline: none;
cursor: pointer;
transition: border-color 0.2s, box-shadow 0.2s;
min-width: 180px;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
}
.mapping-select:hover { border-color: var(--accent-teal); }
.mapping-select:focus {
border-color: var(--accent-gold);
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.mapping-select option {
background: var(--bg-card);
color: var(--text-primary);
padding: 4px;
}
/* Row states */
.mapping-row-drop {
opacity: 0.45;
}
.mapping-row-drop td { text-decoration: line-through; text-decoration-color: var(--text-muted); }
.mapping-row-drop .mapping-select { text-decoration: none; }
.mapping-row-unmapped {
background: rgba(239, 68, 68, 0.04);
}
.mapping-row-edited {
background: rgba(255, 255, 255, 0.03);
}
.mapping-row-edited td:first-child {
border-left: 3px solid var(--accent-teal);
}
/* Method text */
.mapping-method {
font-size: 11px;
color: var(--text-muted);
}
/* Confidence badges */
.conf-badge {
display: inline-block;
font-size: 10px;
font-weight: 700;
padding: 2px 8px;
border-radius: 8px;
}
.conf-badge.conf-high { background: rgba(34,197,94,0.15); color: var(--positive); }
.conf-badge.conf-med { background: rgba(245,158,11,0.15); color: #f59e0b; }
.conf-badge.conf-low { background: rgba(239,68,68,0.12); color: var(--negative); }
.conf-badge.conf-manual { background: rgba(59,130,246,0.15); color: var(--info, #3b82f6); }
/* Preview */
.preview-controls {
display: flex;
gap: 10px;
margin-bottom: 12px;
}
.preview-controls select {
background: var(--bg-primary);
border: 1px solid var(--border-card);
color: var(--text-primary);
padding: 6px 12px;
border-radius: 6px;
font-size: 12px;
}
.preview-info {
font-size: 11px;
color: var(--text-muted);
margin-bottom: 8px;
}
.null-cell {
color: var(--text-muted);
font-style: italic;
}
/* Log */
.log-list { display: flex; flex-direction: column; gap: 6px; }
.log-entry {
display: flex;
gap: 10px;
align-items: center;
padding: 8px 10px;
background: rgba(255,255,255,0.02);
border-radius: 6px;
font-size: 12px;
}
.log-time { color: var(--text-muted); font-size: 10px; min-width: 130px; }
.log-source {
font-weight: 600;
color: var(--accent-gold);
min-width: 100px;
}
.log-op {
font-size: 10px;
padding: 2px 6px;
border-radius: 4px;
background: rgba(255,255,255,0.06);
color: var(--text-muted);
min-width: 100px;
text-align: center;
}
.log-msg { color: var(--text-secondary); flex: 1; }
/* ===== Gold Banner ===== */
.gold-banner {
background: var(--accent-gold-dim);
border: 1px solid var(--accent-gold-glow);
border-radius: var(--radius-lg);
padding: 20px;
margin: 20px 0;
}
.gold-banner-content {
display: flex;
align-items: center;
gap: 16px;
}
.gold-banner-content p {
font-size: 12px;
color: var(--text-muted);
margin: 4px 0 0;
}
.gold-icon { font-size: 28px; }
.btn-gold {
background: var(--accent-gradient);
color: var(--accent-gradient-fg);
border: none;
padding: 10px 24px;
border-radius: var(--radius-sm);
font-weight: 700;
font-size: 13px;
cursor: pointer;
margin-left: auto;
white-space: nowrap;
transition: all 0.2s ease;
}
.btn-gold:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.gold-banner.activated {
border-color: var(--positive);
background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.05));
}
/* ===== Section Headers (Diagnostics) ===== */
.section-header {
display: flex;
align-items: center;
gap: 12px;
margin: 32px 0 16px 0;
padding: 12px 20px;
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
border-left: 3px solid var(--accent-gold);
}
.section-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: var(--text-primary, #f0f2f5);
}
.section-subtitle {
font-size: 12px;
color: var(--text-muted, #6b7280);
margin-left: auto;
}
.section-header.collapsible {
cursor: pointer;
user-select: none;
transition: background 0.2s;
}
.section-header.collapsible:hover {
background: var(--bg-card-hover);
}
.section-toggle {
font-size: 12px;
color: var(--text-muted, #6b7280);
margin-left: 8px;
}
/* ===== Change Badges ===== */
.change-badge {
display: inline-block;
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
white-space: nowrap;
}
.change-badge.positive { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.change-badge.neutral { background: rgba(156, 163, 175, 0.12); color: #9ca3af; }
.change-badge.negative { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
/* ===== Summary Table (Diagnostics) ===== */
.summary-table tbody tr {
transition: background 0.2s;
}
.summary-table tbody tr:hover {
background: var(--bg-card-hover);
}
.summary-table td:first-child {
font-weight: 500;
}
/* ===== Collapsible Content ===== */
.collapsible-content {
transition: all 0.3s ease;
}
/* ===== Side-by-Side Chart + Table ===== */
.charts-grid .table-container {
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: var(--radius-lg);
padding: 16px;
overflow-x: auto;
}
.charts-grid .table-container .table-header {
margin-bottom: 8px;
}
.charts-grid .table-container .table-header h3 {
font-size: 14px;
margin: 0;
color: var(--text-primary, #ffffff);
}
/* ===== KPI Cards ===== */
.kpi-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-bottom: 24px;
}
.kpi-card {
background: var(--bg-card);
border: 1px solid var(--border-glass, var(--border-card));
border-radius: var(--radius-lg);
padding: 20px;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.kpi-card::before {