.cf-card {
border-radius: 12px;
box-shadow: 0 4px 12px rgba(15,23,42,0.08);
margin: 16px 0;
background: #ffffff;
max-width: 100%;
}
.cf-card-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.cf-title {
font-size: 18px;
font-weight: 700;
display: flex;
align-items: center;
color: #b9004e;
gap: 8px;
}
.cf-title-icon {
width: 18px;
height: 18px;
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
background: #eef2ff;
color: #4f46e5;
}
.cf-toggle-wrap {
margin: 10px 0 5px 0; 
display: flex;
justify-content: flex-end; 
gap: 8px;
}
.cf-toggle-btn {
padding: 5px 12px;
border-radius: 20px;
border: 1px solid #94a3b8; 
background: #f1f5f9;      
color: #334155;           
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.cf-toggle-btn:hover {
background: #e2e8f0;
}
.cf-toggle-active {
background: #4f46e5;
border-color: #4f46e5;
color: #ffffff;
}
.cf-table-wrap {
width: 100%;
overflow-x: auto;
margin-top: 5px;
}
.cf-table {
width: 100%;
border-collapse: collapse;
min-width: 500px;
}
.cf-table th,
.cf-table td {
padding: 10px 12px;
border-bottom: 1px solid #e5e7eb;
font-size: 15px;
text-align: right;
white-space: nowrap;
}
.cf-table th:first-child,
.cf-table td:first-child {
text-align: left;
}
.cf-table thead {
background: #ccccff; 
}
.cf-header-unit {
display: block;
font-size: 13px;
font-weight: 400;
margin-top: 2px;
}
.cf-table tbody tr:nth-child(odd) {
background: #f9fafb;
}
.cf-chart-wrap {
position: relative;
height: 320px;
margin-top: 16px;
display: none;
}
.cf-summary-box {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 3px;
margin-bottom: 15px;
font-size: 15px;
line-height: 1.6;
}
.cf-summary-section-title {
font-size: 12px;
text-transform: uppercase;
color: #0000ff;
font-weight: 700;
margin-bottom: 6px;
letter-spacing: 0.5px;
}
.cf-summary-text {
margin-bottom: 12px;
font-size: 15px;
}
.cf-summary-text strong {
color: #1e293b;
}
.cf-summary-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
gap: 10px;
}
.cf-metric-card {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 6px;
padding: 6px 6px;
display: flex;
flex-direction: column;
}
.cf-metric-name {
color: #663300;
font-weight: 500;
margin-bottom: 4px;
text-transform: uppercase;
font-size: 12px;
}
.cf-metric-stats {
display: flex;
align-items: baseline;
gap: 6px;
font-weight: 600;
font-size: 14px;
}
.cf-divider {
border: 0;
border-top: 1px dashed #cbd5e1;
margin: 16px 0;
}
.cf-up { color: #03762d; }
.cf-down { color: #d00000; }
.cf-neutral { color: #64748b; }
@media (max-width: 640px) {
.cf-card { padding: 0px; }
.cf-title { font-size: 16px; }
.cf-chart-wrap { height: 300px; }
}
.cf-shortcode-box {
background: #eef2ff;
border: 1px solid #c7d2fe;
padding: 15px;
border-radius: 6px;
margin-bottom: 20px;
}
.cf-shortcode-box code {
background: #fff;
padding: 2px 6px;
font-size: 1.1em;
user-select: all;
}