| 1 |
.bkbg-stc-app { |
| 2 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 3 |
-webkit-font-smoothing: antialiased; |
| 4 |
} |
| 5 |
.bkbg-stc-card { |
| 6 |
margin: 0 auto; |
| 7 |
padding: 40px 36px; |
| 8 |
box-shadow: 0 4px 32px rgba(0,0,0,0.08); |
| 9 |
} |
| 10 |
.bkbg-stc-title { |
| 11 |
text-align: center; |
| 12 |
font-family: var(--bkstc-tt-font-family, inherit); |
| 13 |
font-size: var(--bkstc-tt-font-size-d, var(--bkstc-tt-sz, 26px)); |
| 14 |
font-weight: var(--bkstc-tt-font-weight, var(--bkstc-tt-wt, 800)); |
| 15 |
font-style: var(--bkstc-tt-font-style, normal); |
| 16 |
text-decoration: var(--bkstc-tt-text-decoration, none); |
| 17 |
text-transform: var(--bkstc-tt-text-transform, none); |
| 18 |
line-height: var(--bkstc-tt-line-height-d, var(--bkstc-tt-lh, 1.2)); |
| 19 |
letter-spacing: var(--bkstc-tt-letter-spacing-d, normal); |
| 20 |
word-spacing: var(--bkstc-tt-word-spacing-d, normal); |
| 21 |
margin-bottom: 6px; |
| 22 |
} |
| 23 |
.bkbg-stc-subtitle { |
| 24 |
text-align: center; |
| 25 |
font-family: var(--bkstc-st-font-family, inherit); |
| 26 |
font-size: var(--bkstc-st-font-size-d, var(--bkstc-st-sz, 14px)); |
| 27 |
font-weight: var(--bkstc-st-font-weight, normal); |
| 28 |
font-style: var(--bkstc-st-font-style, normal); |
| 29 |
text-decoration: var(--bkstc-st-text-decoration, none); |
| 30 |
text-transform: var(--bkstc-st-text-transform, none); |
| 31 |
line-height: var(--bkstc-st-line-height-d, var(--bkstc-st-lh, 1.5)); |
| 32 |
letter-spacing: var(--bkstc-st-letter-spacing-d, normal); |
| 33 |
word-spacing: var(--bkstc-st-word-spacing-d, normal); |
| 34 |
color: #6b7280; |
| 35 |
margin-bottom: 24px; |
| 36 |
} |
| 37 |
/* ---- Typography responsive — tablet ---- */ |
| 38 |
@media (max-width: 1024px) { |
| 39 |
.bkbg-stc-title { font-size: var(--bkstc-tt-font-size-t, var(--bkstc-tt-font-size-d, var(--bkstc-tt-sz, 26px))); line-height: var(--bkstc-tt-line-height-t, var(--bkstc-tt-line-height-d, var(--bkstc-tt-lh, 1.2))); letter-spacing: var(--bkstc-tt-letter-spacing-t, var(--bkstc-tt-letter-spacing-d, normal)); word-spacing: var(--bkstc-tt-word-spacing-t, var(--bkstc-tt-word-spacing-d, normal)); } |
| 40 |
.bkbg-stc-subtitle { font-size: var(--bkstc-st-font-size-t, var(--bkstc-st-font-size-d, var(--bkstc-st-sz, 14px))); line-height: var(--bkstc-st-line-height-t, var(--bkstc-st-line-height-d, var(--bkstc-st-lh, 1.5))); letter-spacing: var(--bkstc-st-letter-spacing-t, var(--bkstc-st-letter-spacing-d, normal)); word-spacing: var(--bkstc-st-word-spacing-t, var(--bkstc-st-word-spacing-d, normal)); } |
| 41 |
} |
| 42 |
/* ---- Typography responsive — mobile ---- */ |
| 43 |
@media (max-width: 767px) { |
| 44 |
.bkbg-stc-title { font-size: var(--bkstc-tt-font-size-m, var(--bkstc-tt-font-size-t, var(--bkstc-tt-font-size-d, var(--bkstc-tt-sz, 26px)))); line-height: var(--bkstc-tt-line-height-m, var(--bkstc-tt-line-height-t, var(--bkstc-tt-line-height-d, var(--bkstc-tt-lh, 1.2)))); letter-spacing: var(--bkstc-tt-letter-spacing-m, var(--bkstc-tt-letter-spacing-t, var(--bkstc-tt-letter-spacing-d, normal))); word-spacing: var(--bkstc-tt-word-spacing-m, var(--bkstc-tt-word-spacing-t, var(--bkstc-tt-word-spacing-d, normal))); } |
| 45 |
.bkbg-stc-subtitle { font-size: var(--bkstc-st-font-size-m, var(--bkstc-st-font-size-t, var(--bkstc-st-font-size-d, var(--bkstc-st-sz, 14px)))); line-height: var(--bkstc-st-line-height-m, var(--bkstc-st-line-height-t, var(--bkstc-st-line-height-d, var(--bkstc-st-lh, 1.5)))); letter-spacing: var(--bkstc-st-letter-spacing-m, var(--bkstc-st-letter-spacing-t, var(--bkstc-st-letter-spacing-d, normal))); word-spacing: var(--bkstc-st-word-spacing-m, var(--bkstc-st-word-spacing-t, var(--bkstc-st-word-spacing-d, normal))); } |
| 46 |
} |
| 47 |
.bkbg-stc-lbl { |
| 48 |
display: block; |
| 49 |
font-size: 12px; |
| 50 |
font-weight: 700; |
| 51 |
text-transform: uppercase; |
| 52 |
letter-spacing: 0.05em; |
| 53 |
margin-bottom: 6px; |
| 54 |
} |
| 55 |
.bkbg-stc-textarea { |
| 56 |
width: 100%; |
| 57 |
min-height: 72px; |
| 58 |
padding: 12px 14px; |
| 59 |
border-radius: 8px; |
| 60 |
border: 1.5px solid #d1d5db; |
| 61 |
background: #f9fafb; |
| 62 |
font-family: 'Courier New', Courier, monospace; |
| 63 |
font-size: 14px; |
| 64 |
color: #111827; |
| 65 |
resize: vertical; |
| 66 |
box-sizing: border-box; |
| 67 |
outline: none; |
| 68 |
transition: border-color 0.15s; |
| 69 |
margin-bottom: 0; |
| 70 |
} |
| 71 |
.bkbg-stc-textarea:focus { border-color: #6c3fb5; } |
| 72 |
.bkbg-stc-row { |
| 73 |
display: flex; |
| 74 |
align-items: center; |
| 75 |
gap: 10px; |
| 76 |
margin: 14px 0; |
| 77 |
flex-wrap: wrap; |
| 78 |
} |
| 79 |
.bkbg-stc-calc-btn { |
| 80 |
padding: 11px 28px; |
| 81 |
font-size: 14px; |
| 82 |
font-weight: 700; |
| 83 |
color: #fff; |
| 84 |
border: none; |
| 85 |
border-radius: 8px; |
| 86 |
cursor: pointer; |
| 87 |
transition: opacity 0.2s, transform 0.1s; |
| 88 |
} |
| 89 |
.bkbg-stc-calc-btn:hover { opacity: 0.88; transform: translateY(-1px); } |
| 90 |
.bkbg-stc-calc-btn:active { transform: translateY(0); } |
| 91 |
.bkbg-stc-clear-btn { |
| 92 |
padding: 11px 20px; |
| 93 |
font-size: 14px; |
| 94 |
font-weight: 600; |
| 95 |
color: #6b7280; |
| 96 |
background: #f3f4f6; |
| 97 |
border: 1.5px solid #e5e7eb; |
| 98 |
border-radius: 8px; |
| 99 |
cursor: pointer; |
| 100 |
transition: background 0.15s; |
| 101 |
} |
| 102 |
.bkbg-stc-clear-btn:hover { background: #e5e7eb; } |
| 103 |
.bkbg-stc-error { |
| 104 |
font-size: 13px; |
| 105 |
color: #ef4444; |
| 106 |
margin-bottom: 10px; |
| 107 |
min-height: 18px; |
| 108 |
} |
| 109 |
/* Stat grid */ |
| 110 |
.bkbg-stc-grid { |
| 111 |
display: grid; |
| 112 |
grid-template-columns: repeat(3, 1fr); |
| 113 |
gap: 12px; |
| 114 |
margin-bottom: 24px; |
| 115 |
} |
| 116 |
@media (max-width: 520px) { .bkbg-stc-grid { grid-template-columns: repeat(2, 1fr); } } |
| 117 |
@media (max-width: 380px) { .bkbg-stc-grid { grid-template-columns: 1fr; } } |
| 118 |
.bkbg-stc-stat-card { |
| 119 |
border-radius: 12px; |
| 120 |
padding: 14px 12px; |
| 121 |
text-align: center; |
| 122 |
border-top: 3px solid transparent; |
| 123 |
transition: transform 0.15s; |
| 124 |
} |
| 125 |
.bkbg-stc-stat-card:hover { transform: translateY(-2px); } |
| 126 |
.bkbg-stc-stat-lbl { |
| 127 |
font-size: 11px; |
| 128 |
font-weight: 700; |
| 129 |
text-transform: uppercase; |
| 130 |
letter-spacing: 0.06em; |
| 131 |
color: #9ca3af; |
| 132 |
margin-bottom: 5px; |
| 133 |
} |
| 134 |
.bkbg-stc-stat-val { |
| 135 |
font-size: 22px; |
| 136 |
font-weight: 800; |
| 137 |
line-height: 1.1; |
| 138 |
} |
| 139 |
/* Histogram */ |
| 140 |
.bkbg-stc-section-title { |
| 141 |
font-size: 13px; |
| 142 |
font-weight: 700; |
| 143 |
text-transform: uppercase; |
| 144 |
letter-spacing: 0.05em; |
| 145 |
color: #9ca3af; |
| 146 |
margin-bottom: 12px; |
| 147 |
} |
| 148 |
.bkbg-stc-histogram { |
| 149 |
display: flex; |
| 150 |
align-items: flex-end; |
| 151 |
gap: 4px; |
| 152 |
height: 100px; |
| 153 |
margin-bottom: 6px; |
| 154 |
} |
| 155 |
.bkbg-stc-hist-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; } |
| 156 |
.bkbg-stc-hist-bar { |
| 157 |
width: 100%; |
| 158 |
border-radius: 4px 4px 0 0; |
| 159 |
min-height: 4px; |
| 160 |
transition: height 0.4s cubic-bezier(0.4,0,0.2,1); |
| 161 |
} |
| 162 |
.bkbg-stc-hist-lbl { font-size: 10px; color: #9ca3af; white-space: nowrap; } |
| 163 |
/* Box plot */ |
| 164 |
.bkbg-stc-boxplot-wrap { |
| 165 |
padding: 16px 0 8px; |
| 166 |
position: relative; |
| 167 |
margin-bottom: 24px; |
| 168 |
} |
| 169 |
.bkbg-stc-boxplot-track { |
| 170 |
height: 8px; |
| 171 |
background: #e5e7eb; |
| 172 |
border-radius: 99px; |
| 173 |
position: relative; |
| 174 |
margin: 16px 0 8px; |
| 175 |
} |
| 176 |
.bkbg-stc-boxplot-iqr { |
| 177 |
position: absolute; |
| 178 |
top: 0; |
| 179 |
height: 100%; |
| 180 |
border-radius: 4px; |
| 181 |
} |
| 182 |
.bkbg-stc-boxplot-median { |
| 183 |
position: absolute; |
| 184 |
top: -6px; |
| 185 |
width: 4px; |
| 186 |
height: 20px; |
| 187 |
border-radius: 2px; |
| 188 |
transform: translateX(-50%); |
| 189 |
} |
| 190 |
.bkbg-stc-boxplot-labels { |
| 191 |
display: flex; |
| 192 |
justify-content: space-between; |
| 193 |
font-size: 11px; |
| 194 |
color: #6b7280; |
| 195 |
font-weight: 600; |
| 196 |
} |
| 197 |
/* Sorted list */ |
| 198 |
.bkbg-stc-sorted { |
| 199 |
display: flex; |
| 200 |
flex-wrap: wrap; |
| 201 |
gap: 6px; |
| 202 |
padding: 14px; |
| 203 |
border-radius: 8px; |
| 204 |
border: 1.5px solid #e5e7eb; |
| 205 |
max-height: 120px; |
| 206 |
overflow-y: auto; |
| 207 |
} |
| 208 |
.bkbg-stc-pill { |
| 209 |
padding: 3px 10px; |
| 210 |
border-radius: 99px; |
| 211 |
font-size: 13px; |
| 212 |
font-weight: 600; |
| 213 |
background: #f3f4f6; |
| 214 |
color: #374151; |
| 215 |
} |
| 216 |
.bkbg-stc-pill-outlier { background: #fee2e2; color: #dc2626; } |
| 217 |
.bkbg-stc-pill-mode { color: #fff; } |
| 218 |
.bkbg-stc-sep { height: 1px; background: #e5e7eb; margin: 20px 0; } |
| 219 |
@media (max-width: 600px) { |
| 220 |
.bkbg-stc-card { padding: 24px 16px; } |
| 221 |
} |
| 222 |
|