@jjlmoya/utils-home 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -4
- package/scripts/postinstall.mjs +27 -0
- package/src/entries.ts +23 -0
- package/src/tool/dewPointCalculator/component.astro +0 -232
- package/src/tool/dewPointCalculator/dew-point-calculator.css +230 -0
- package/src/tool/dewPointCalculator/entry.ts +32 -0
- package/src/tool/dewPointCalculator/index.ts +2 -34
- package/src/tool/heatingComparator/component.astro +0 -269
- package/src/tool/heatingComparator/entry.ts +30 -0
- package/src/tool/heatingComparator/heating-consumption-comparator.css +267 -0
- package/src/tool/heatingComparator/index.ts +2 -32
- package/src/tool/ledSavingCalculator/component.astro +0 -305
- package/src/tool/ledSavingCalculator/entry.ts +31 -0
- package/src/tool/ledSavingCalculator/index.ts +2 -33
- package/src/tool/ledSavingCalculator/led-saving-calculator.css +303 -0
- package/src/tool/projectorCalculator/component.astro +0 -359
- package/src/tool/projectorCalculator/entry.ts +31 -0
- package/src/tool/projectorCalculator/index.ts +2 -33
- package/src/tool/projectorCalculator/projector-throw-calculator.css +357 -0
- package/src/tool/qrGenerator/component.astro +0 -266
- package/src/tool/qrGenerator/entry.ts +30 -0
- package/src/tool/qrGenerator/index.ts +2 -32
- package/src/tool/qrGenerator/qr-generator.css +264 -0
- package/src/tool/solarCalculator/component.astro +0 -298
- package/src/tool/solarCalculator/entry.ts +30 -0
- package/src/tool/solarCalculator/index.ts +2 -32
- package/src/tool/solarCalculator/solar-panel-calculator.css +296 -0
- package/src/tool/tariffComparator/component.astro +0 -337
- package/src/tool/tariffComparator/electricity-tariff-comparator.css +335 -0
- package/src/tool/tariffComparator/entry.ts +31 -0
- package/src/tool/tariffComparator/index.ts +2 -33
- package/src/tools.ts +1 -1
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
.solar-wrapper {
|
|
2
|
+
--solar-p: #f97316;
|
|
3
|
+
--solar-winter: #3b82f6;
|
|
4
|
+
--solar-summer: #eab308;
|
|
5
|
+
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 1rem 0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.solar-card {
|
|
11
|
+
background: var(--bg-surface);
|
|
12
|
+
width: calc(100% - 24px);
|
|
13
|
+
max-width: 960px;
|
|
14
|
+
margin: 0 auto;
|
|
15
|
+
border-radius: 24px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
border: 1px solid var(--border-color);
|
|
20
|
+
color: var(--text-main);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (min-width: 768px) {
|
|
24
|
+
.solar-card {
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
min-height: 560px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.solar-left {
|
|
31
|
+
flex: 0 0 auto;
|
|
32
|
+
width: 100%;
|
|
33
|
+
padding: 32px;
|
|
34
|
+
border-bottom: 1px solid var(--border-color);
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: 24px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (min-width: 768px) {
|
|
41
|
+
.solar-left {
|
|
42
|
+
width: 340px;
|
|
43
|
+
border-bottom: none;
|
|
44
|
+
border-right: 1px solid var(--border-color);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.solar-right {
|
|
49
|
+
flex: 1;
|
|
50
|
+
background: #020617;
|
|
51
|
+
position: relative;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
min-height: 380px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.viz-dots {
|
|
60
|
+
position: absolute;
|
|
61
|
+
inset: 0;
|
|
62
|
+
opacity: 0.15;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
background-image: radial-gradient(#fff 1px, transparent 1px);
|
|
65
|
+
background-size: 24px 24px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.viz-svg {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
position: relative;
|
|
72
|
+
z-index: 1;
|
|
73
|
+
padding: 1rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sun-pulse {
|
|
77
|
+
animation: pulse 2s ease-in-out infinite;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes pulse {
|
|
81
|
+
0%, 100% { opacity: 0.2; }
|
|
82
|
+
50% { opacity: 0.5; }
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.field-group {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
gap: 8px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.field-label {
|
|
92
|
+
font-size: 11px;
|
|
93
|
+
font-weight: 700;
|
|
94
|
+
color: var(--text-muted);
|
|
95
|
+
text-transform: uppercase;
|
|
96
|
+
letter-spacing: 0.1em;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.lat-row {
|
|
100
|
+
position: relative;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.lat-input {
|
|
104
|
+
width: 100%;
|
|
105
|
+
font-size: 2.5rem;
|
|
106
|
+
font-weight: 900;
|
|
107
|
+
color: var(--text-main);
|
|
108
|
+
background: transparent;
|
|
109
|
+
border: none;
|
|
110
|
+
border-bottom: 2px solid var(--border-color);
|
|
111
|
+
padding: 4px 2.5rem 4px 0;
|
|
112
|
+
outline: none;
|
|
113
|
+
transition: border-color 0.2s;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.lat-input:focus {
|
|
118
|
+
border-color: var(--solar-p);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.deg-unit {
|
|
122
|
+
position: absolute;
|
|
123
|
+
right: 8px;
|
|
124
|
+
bottom: 8px;
|
|
125
|
+
font-size: 1.5rem;
|
|
126
|
+
color: var(--text-muted);
|
|
127
|
+
font-weight: 300;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.locate-btn {
|
|
131
|
+
display: inline-flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: 6px;
|
|
134
|
+
background: none;
|
|
135
|
+
border: none;
|
|
136
|
+
color: var(--solar-p);
|
|
137
|
+
font-size: 0.8125rem;
|
|
138
|
+
font-weight: 700;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
padding: 0;
|
|
141
|
+
transition: opacity 0.2s;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.locate-btn:hover {
|
|
145
|
+
opacity: 0.75;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.locate-btn.loading {
|
|
149
|
+
opacity: 0.5;
|
|
150
|
+
pointer-events: none;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.locate-btn svg {
|
|
154
|
+
width: 16px;
|
|
155
|
+
height: 16px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.optimal-card {
|
|
159
|
+
background: var(--bg-muted);
|
|
160
|
+
border-radius: 16px;
|
|
161
|
+
padding: 20px;
|
|
162
|
+
border: 1px solid var(--border-color);
|
|
163
|
+
position: relative;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.optimal-card::after {
|
|
168
|
+
content: '';
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 0;
|
|
171
|
+
right: 0;
|
|
172
|
+
width: 80px;
|
|
173
|
+
height: 80px;
|
|
174
|
+
background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.2), transparent);
|
|
175
|
+
border-radius: 0 0 0 80px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.optimal-label {
|
|
179
|
+
font-size: 0.8125rem;
|
|
180
|
+
color: var(--text-muted);
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
margin: 0 0 4px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.optimal-value-row {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: baseline;
|
|
188
|
+
gap: 4px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.optimal-value {
|
|
192
|
+
font-size: 3.5rem;
|
|
193
|
+
font-weight: 900;
|
|
194
|
+
color: var(--text-main);
|
|
195
|
+
line-height: 1;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.optimal-deg {
|
|
199
|
+
font-size: 1.5rem;
|
|
200
|
+
font-weight: 700;
|
|
201
|
+
color: var(--solar-p);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.efficiency-tag {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
gap: 4px;
|
|
208
|
+
font-size: 0.75rem;
|
|
209
|
+
color: #16a34a;
|
|
210
|
+
font-weight: 600;
|
|
211
|
+
margin: 8px 0 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.efficiency-tag svg {
|
|
215
|
+
width: 12px;
|
|
216
|
+
height: 12px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.season-grid {
|
|
220
|
+
display: grid;
|
|
221
|
+
grid-template-columns: 1fr 1fr;
|
|
222
|
+
gap: 12px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.season-card {
|
|
226
|
+
border-radius: 12px;
|
|
227
|
+
padding: 14px;
|
|
228
|
+
border: 1px solid transparent;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.season-card.winter {
|
|
232
|
+
background: rgba(59, 130, 246, 0.08);
|
|
233
|
+
border-color: rgba(59, 130, 246, 0.2);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.season-card.summer {
|
|
237
|
+
background: rgba(234, 179, 8, 0.08);
|
|
238
|
+
border-color: rgba(234, 179, 8, 0.2);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.season-header {
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
gap: 6px;
|
|
245
|
+
margin-bottom: 8px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.season-header svg {
|
|
249
|
+
width: 14px;
|
|
250
|
+
height: 14px;
|
|
251
|
+
flex-shrink: 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.season-card.winter .season-header svg {
|
|
255
|
+
color: var(--solar-winter);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.season-card.summer .season-header svg {
|
|
259
|
+
color: var(--solar-summer);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.season-name {
|
|
263
|
+
font-size: 0.6875rem;
|
|
264
|
+
font-weight: 800;
|
|
265
|
+
text-transform: uppercase;
|
|
266
|
+
letter-spacing: 0.08em;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.season-card.winter .season-name {
|
|
270
|
+
color: var(--solar-winter);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.season-card.summer .season-name {
|
|
274
|
+
color: var(--solar-summer);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.season-value {
|
|
278
|
+
font-size: 1.5rem;
|
|
279
|
+
font-weight: 700;
|
|
280
|
+
color: var(--text-main);
|
|
281
|
+
margin: 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.hemi-badge {
|
|
285
|
+
display: inline-block;
|
|
286
|
+
padding: 6px 14px;
|
|
287
|
+
background: var(--bg-muted);
|
|
288
|
+
border: 1px solid var(--border-color);
|
|
289
|
+
border-radius: 8px;
|
|
290
|
+
font-size: 0.6875rem;
|
|
291
|
+
font-weight: 700;
|
|
292
|
+
color: var(--text-muted);
|
|
293
|
+
text-transform: uppercase;
|
|
294
|
+
letter-spacing: 0.08em;
|
|
295
|
+
align-self: flex-start;
|
|
296
|
+
}
|
|
@@ -256,340 +256,3 @@ function iBarH(val: number): number {
|
|
|
256
256
|
init();
|
|
257
257
|
</script>
|
|
258
258
|
|
|
259
|
-
<style>
|
|
260
|
-
.tc-wrapper {
|
|
261
|
-
--tc-p: #f59e0b;
|
|
262
|
-
|
|
263
|
-
width: 100%;
|
|
264
|
-
padding: 1rem 0;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.tc-card {
|
|
268
|
-
background: var(--bg-surface);
|
|
269
|
-
width: calc(100% - 24px);
|
|
270
|
-
max-width: 960px;
|
|
271
|
-
margin: 0 auto;
|
|
272
|
-
border-radius: 24px;
|
|
273
|
-
overflow: hidden;
|
|
274
|
-
display: flex;
|
|
275
|
-
flex-direction: column;
|
|
276
|
-
gap: 0;
|
|
277
|
-
border: 1px solid var(--border-color);
|
|
278
|
-
color: var(--text-main);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.tc-inputs {
|
|
282
|
-
display: grid;
|
|
283
|
-
grid-template-columns: 1fr;
|
|
284
|
-
gap: 24px;
|
|
285
|
-
padding: 32px;
|
|
286
|
-
border-bottom: 1px solid var(--border-color);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
@media (min-width: 640px) {
|
|
290
|
-
.tc-inputs {
|
|
291
|
-
grid-template-columns: 1fr 1fr;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.tc-input-group {
|
|
296
|
-
display: flex;
|
|
297
|
-
flex-direction: column;
|
|
298
|
-
gap: 10px;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.tc-label {
|
|
302
|
-
font-size: 0.6875rem;
|
|
303
|
-
font-weight: 700;
|
|
304
|
-
text-transform: uppercase;
|
|
305
|
-
letter-spacing: 0.1em;
|
|
306
|
-
color: var(--tc-p);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.tc-slider {
|
|
310
|
-
width: 100%;
|
|
311
|
-
height: 6px;
|
|
312
|
-
accent-color: var(--tc-p);
|
|
313
|
-
cursor: pointer;
|
|
314
|
-
border-radius: 9999px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.tc-value-row {
|
|
318
|
-
display: flex;
|
|
319
|
-
align-items: baseline;
|
|
320
|
-
gap: 6px;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.tc-value {
|
|
324
|
-
font-size: 2rem;
|
|
325
|
-
font-weight: 900;
|
|
326
|
-
color: var(--text-main);
|
|
327
|
-
line-height: 1;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
.tc-unit {
|
|
331
|
-
font-size: 0.8125rem;
|
|
332
|
-
color: var(--text-muted);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.tc-results {
|
|
336
|
-
display: grid;
|
|
337
|
-
grid-template-columns: 1fr;
|
|
338
|
-
gap: 16px;
|
|
339
|
-
padding: 24px 32px;
|
|
340
|
-
border-bottom: 1px solid var(--border-color);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
@media (min-width: 640px) {
|
|
344
|
-
.tc-results {
|
|
345
|
-
grid-template-columns: 1fr 1fr;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.tc-tariff-card {
|
|
350
|
-
border-radius: 16px;
|
|
351
|
-
padding: 20px;
|
|
352
|
-
display: flex;
|
|
353
|
-
flex-direction: column;
|
|
354
|
-
gap: 12px;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.tc-market-card {
|
|
358
|
-
background: rgba(245, 158, 11, 0.06);
|
|
359
|
-
border: 1px solid rgba(245, 158, 11, 0.2);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.tc-free-card {
|
|
363
|
-
background: rgba(14, 165, 233, 0.06);
|
|
364
|
-
border: 1px solid rgba(14, 165, 233, 0.2);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.tc-tariff-label {
|
|
368
|
-
font-size: 0.625rem;
|
|
369
|
-
font-weight: 900;
|
|
370
|
-
text-transform: uppercase;
|
|
371
|
-
letter-spacing: 0.12em;
|
|
372
|
-
padding: 4px 10px;
|
|
373
|
-
border-radius: 9999px;
|
|
374
|
-
align-self: flex-start;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.tc-market-label {
|
|
378
|
-
background: #fbbf24;
|
|
379
|
-
color: #78350f;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.tc-free-label {
|
|
383
|
-
background: #38bdf8;
|
|
384
|
-
color: #0c4a6e;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.tc-price-main {
|
|
388
|
-
display: flex;
|
|
389
|
-
flex-direction: column;
|
|
390
|
-
gap: 2px;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
.tc-total {
|
|
394
|
-
font-size: 2.75rem;
|
|
395
|
-
font-weight: 900;
|
|
396
|
-
color: var(--text-main);
|
|
397
|
-
margin: 0;
|
|
398
|
-
line-height: 1;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.tc-est {
|
|
402
|
-
font-size: 0.75rem;
|
|
403
|
-
color: var(--text-muted);
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.tc-line-items {
|
|
407
|
-
display: flex;
|
|
408
|
-
flex-direction: column;
|
|
409
|
-
gap: 6px;
|
|
410
|
-
padding-top: 12px;
|
|
411
|
-
border-top: 1px solid var(--border-color);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.tc-line {
|
|
415
|
-
display: flex;
|
|
416
|
-
justify-content: space-between;
|
|
417
|
-
font-size: 0.8125rem;
|
|
418
|
-
color: var(--text-muted);
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.tc-badge {
|
|
422
|
-
align-self: flex-start;
|
|
423
|
-
padding: 5px 12px;
|
|
424
|
-
border-radius: 9999px;
|
|
425
|
-
font-size: 0.75rem;
|
|
426
|
-
font-weight: 700;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.tc-badge-better {
|
|
430
|
-
background: #22c55e;
|
|
431
|
-
color: #fff;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.tc-badge-worse {
|
|
435
|
-
background: var(--bg-muted);
|
|
436
|
-
color: var(--text-muted);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.tc-dashboard {
|
|
440
|
-
padding: 24px 32px;
|
|
441
|
-
border-bottom: 1px solid var(--border-color);
|
|
442
|
-
display: flex;
|
|
443
|
-
flex-direction: column;
|
|
444
|
-
gap: 16px;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.tc-section-label {
|
|
448
|
-
font-size: 0.6875rem;
|
|
449
|
-
font-weight: 900;
|
|
450
|
-
text-transform: uppercase;
|
|
451
|
-
letter-spacing: 0.14em;
|
|
452
|
-
color: var(--tc-p);
|
|
453
|
-
margin: 0;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.tc-dash-grid {
|
|
457
|
-
display: grid;
|
|
458
|
-
grid-template-columns: 1fr;
|
|
459
|
-
gap: 20px;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
@media (min-width: 768px) {
|
|
463
|
-
.tc-dash-grid {
|
|
464
|
-
grid-template-columns: 2fr 1fr;
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.tc-chart-svg {
|
|
469
|
-
width: 100%;
|
|
470
|
-
display: block;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.tc-bar {
|
|
474
|
-
fill: var(--tc-p);
|
|
475
|
-
opacity: 0.7;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.tc-metrics {
|
|
479
|
-
display: flex;
|
|
480
|
-
flex-direction: column;
|
|
481
|
-
gap: 12px;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
.tc-metric {
|
|
485
|
-
background: var(--bg-muted);
|
|
486
|
-
border-radius: 12px;
|
|
487
|
-
padding: 14px 16px;
|
|
488
|
-
display: flex;
|
|
489
|
-
flex-direction: column;
|
|
490
|
-
gap: 2px;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.tc-metric-label {
|
|
494
|
-
font-size: 0.625rem;
|
|
495
|
-
font-weight: 900;
|
|
496
|
-
text-transform: uppercase;
|
|
497
|
-
letter-spacing: 0.1em;
|
|
498
|
-
color: var(--text-muted);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.tc-metric-val {
|
|
502
|
-
font-size: 1.5rem;
|
|
503
|
-
font-weight: 900;
|
|
504
|
-
color: var(--text-main);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.tc-metric-sub {
|
|
508
|
-
font-size: 0.6875rem;
|
|
509
|
-
color: var(--text-muted);
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.tc-simulator {
|
|
513
|
-
padding: 24px 32px;
|
|
514
|
-
display: flex;
|
|
515
|
-
flex-direction: column;
|
|
516
|
-
gap: 16px;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
.tc-sim-grid {
|
|
520
|
-
display: grid;
|
|
521
|
-
grid-template-columns: 1fr;
|
|
522
|
-
gap: 16px;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
@media (min-width: 640px) {
|
|
526
|
-
.tc-sim-grid {
|
|
527
|
-
grid-template-columns: 1fr 1fr;
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.tc-sim-card {
|
|
532
|
-
background: var(--bg-muted);
|
|
533
|
-
border-radius: 14px;
|
|
534
|
-
padding: 16px;
|
|
535
|
-
display: flex;
|
|
536
|
-
flex-direction: column;
|
|
537
|
-
gap: 10px;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.tc-sim-title {
|
|
541
|
-
font-size: 0.8125rem;
|
|
542
|
-
font-weight: 700;
|
|
543
|
-
color: var(--text-main);
|
|
544
|
-
margin: 0;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
.tc-sim-desc {
|
|
548
|
-
font-size: 0.75rem;
|
|
549
|
-
color: var(--text-muted);
|
|
550
|
-
margin: 0;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.tc-toggle {
|
|
554
|
-
position: relative;
|
|
555
|
-
display: inline-block;
|
|
556
|
-
width: 48px;
|
|
557
|
-
height: 26px;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
.tc-toggle-input {
|
|
561
|
-
opacity: 0;
|
|
562
|
-
width: 0;
|
|
563
|
-
height: 0;
|
|
564
|
-
position: absolute;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.tc-toggle-track {
|
|
568
|
-
position: absolute;
|
|
569
|
-
cursor: pointer;
|
|
570
|
-
inset: 0;
|
|
571
|
-
background: var(--border-color);
|
|
572
|
-
border-radius: 9999px;
|
|
573
|
-
transition: background 0.3s;
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
.tc-toggle-track::before {
|
|
577
|
-
content: "";
|
|
578
|
-
position: absolute;
|
|
579
|
-
width: 18px;
|
|
580
|
-
height: 18px;
|
|
581
|
-
left: 4px;
|
|
582
|
-
top: 4px;
|
|
583
|
-
background: #fff;
|
|
584
|
-
border-radius: 50%;
|
|
585
|
-
transition: transform 0.3s;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.tc-toggle-input:checked + .tc-toggle-track {
|
|
589
|
-
background: var(--tc-p);
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
.tc-toggle-input:checked + .tc-toggle-track::before {
|
|
593
|
-
transform: translateX(22px);
|
|
594
|
-
}
|
|
595
|
-
</style>
|