
.etf-quant-terminal {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 1200px;
    margin: 20px auto;
}

.eq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.eq-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.eq-subtitle {
    font-size: 0.875rem;
    color: #94a3b8;
}

.eq-status-badge {
    background: #1e293b;
    color: #10b981;
    border: 1px solid #059669;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eq-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.eq-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.eq-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.eq-form-section-title {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 12px;
    border-top: 1px solid #334155;
    margin-top: 8px;
}

.eq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eq-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
}

.eq-input {
    background-color: #0f172a;
    border: 1px solid #475569;
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.eq-input:focus {
    border-color: #38bdf8;
}

.eq-checkbox-field {
    justify-content: flex-end;
}

.eq-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.eq-form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.eq-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.eq-btn-primary {
    background-color: #0284c7;
    color: #ffffff;
}

.eq-btn-primary:hover {
    background-color: #0369a1;
}

.eq-btn-secondary {
    background-color: #334155;
    color: #cbd5e1;
}

.eq-btn-secondary:hover {
    background-color: #475569;
}

.eq-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.eq-kpi-card {
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.eq-kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.eq-kpi-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f8fafc;

}

.eq-kpi-val.highlight { color: #38bdf8; }
.eq-kpi-val.green { color: #34d399; }
.eq-kpi-val.red { color: #f87171; }
.eq-kpi-val.amber { color: #fbbf24; }
.eq-kpi-val.blue { color: #818cf8; }

.eq-kpi-sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

.eq-chart-container {
    margin-bottom: 24px;
}

.eq-chart-header h3 {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0 0 16px 0;
}

.eq-canvas-wrapper {
    position: relative;
    height: 380px;
    width: 100%;
}

.eq-canvas-wrapper.sm {
    height: 200px;
}

.eq-table-wrapper {
    overflow-x: auto;
}

.eq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.eq-table th {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 10px 12px;
    border-bottom: 2px solid #334155;
}

.eq-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #334155;
    color: #cbd5e1;
}

.eq-table td.highlight-date {
    color: #38bdf8;
    font-weight: 600;
}

.eq-table td.fee-cell {
    color: #fbbf24;
    font-family: monospace;
}

.badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge.tier-p1 { background: #065f46; color: #34d399; }
.badge.tier-p2 { background: #1e40af; color: #60a5fa; }
.badge.tier-p3 { background: #92400e; color: #fbbf24; }
.badge.tier-p4 { background: #374151; color: #9ca3af; }
