File size: 85,901 Bytes
87e28f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Scaling Up Dashboard</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#1E40AF',
                        secondary: '#1E3A8A',
                        accent: '#3B82F6',
                        dark: '#1F2937',
                        light: '#F9FAFB',
                    },
                    fontFamily: {
                        sans: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Inter', sans-serif;
        }
        
        .progress-ring__circle {
            transition: stroke-dashoffset 0.35s;
            transform: rotate(-90deg);
            transform-origin: 50% 50%;
        }
        
        .animate-pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }
        
        .grid-stack-item {
            position: absolute;
        }
        
        .grid-stack-item-content {
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            height: 100%;
            padding: 1rem;
        }
        
        .sidebar-item {
            transition: all 0.2s ease;
        }
        
        .sidebar-item:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .sidebar-item.active {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        .dashboard-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .dashboard-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .priority-badge {
            font-size: 0.65rem;
            padding: 0.15rem 0.4rem;
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
    </style>
</head>
<body class="bg-gray-50">
    <div class="flex h-screen overflow-hidden">
        <!-- Mobile sidebar overlay -->
        <div id="mobileSidebarOverlay" class="fixed inset-0 z-40 bg-black bg-opacity-50 hidden"></div>
        
        <!-- Sidebar -->
        <div id="sidebar" class="hidden md:flex md:flex-shrink-0">
            <div class="flex flex-col w-64 bg-primary text-white">
                <div class="flex items-center justify-center h-16 px-4 bg-secondary">
                    <div class="flex items-center">
                        <i class="fas fa-chart-line text-2xl mr-2 text-accent"></i>
                        <span class="text-xl font-semibold">ScaleUp</span>
                    </div>
                </div>
                <div class="flex flex-col flex-grow pt-5 overflow-y-auto">
                    <div class="px-4 mb-10">
                        <div class="flex items-center justify-center">
                            <img class="h-16 w-16 rounded-full object-cover border-2 border-white" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User avatar">
                            <div class="ml-3">
                                <p class="text-sm font-medium">John Doe</p>
                                <p class="text-xs text-gray-300">CEO</p>
                            </div>
                        </div>
                    </div>
                    <nav class="flex-1 px-2 space-y-1">
                        <a href="#" class="sidebar-item active flex items-center px-4 py-3 text-sm font-medium rounded-md bg-secondary text-white">
                            <i class="fas fa-home mr-3"></i>
                            Dashboard
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-bullseye mr-3"></i>
                            Priorities
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-chart-pie mr-3"></i>
                            Metrics
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-users mr-3"></i>
                            People
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-file-alt mr-3"></i>
                            OPSP
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-calendar-alt mr-3"></i>
                            Meeting Pulse
                        </a>
                        <a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium rounded-md text-gray-300 hover:bg-secondary hover:text-white">
                            <i class="fas fa-cog mr-3"></i>
                            Settings
                        </a>
                    </nav>
                    <div class="px-4 py-4 border-t border-gray-700">
                        <div class="flex items-center">
                            <div class="p-2 rounded-full bg-blue-100 text-blue-600">
                                <i class="fas fa-question-circle"></i>
                            </div>
                            <div class="ml-3">
                                <p class="text-xs font-medium">Need help?</p>
                                <a href="#" class="text-xs text-blue-300 hover:underline">Contact support</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Main content -->
        <div class="flex flex-col flex-1 overflow-hidden">
            <!-- Top navigation -->
            <header class="bg-white shadow-sm z-10">
                <div class="flex items-center justify-between px-4 py-3">
                    <div class="flex items-center">
                        <button id="mobileSidebarButton" class="md:hidden text-gray-500 focus:outline-none">
                            <i class="fas fa-bars text-xl"></i>
                        </button>
                        <h1 class="ml-2 text-xl font-semibold text-gray-800">Scaling Up Dashboard</h1>
                    </div>
                    <div class="flex items-center space-x-4">
                        <div class="relative">
                            <button id="notificationsButton" class="text-gray-500 hover:text-gray-700 focus:outline-none relative">
                                <i class="fas fa-bell text-xl"></i>
                                <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                            </button>
                            <div id="notificationsDropdown" class="hidden absolute right-0 mt-2 w-72 bg-white rounded-md shadow-lg py-1 z-50">
                                <div class="px-4 py-2 border-b border-gray-200">
                                    <p class="text-sm font-medium text-gray-800">Notifications</p>
                                </div>
                                <div class="max-h-60 overflow-y-auto">
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0 pt-1">
                                                <div class="h-8 w-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
                                                    <i class="fas fa-calendar-check"></i>
                                                </div>
                                            </div>
                                            <div class="ml-3">
                                                <p class="text-sm font-medium">Quarterly review meeting in 2 days</p>
                                                <p class="text-xs text-gray-500">10 minutes ago</p>
                                            </div>
                                        </div>
                                    </a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0 pt-1">
                                                <div class="h-8 w-8 rounded-full bg-green-100 flex items-center justify-center text-green-600">
                                                    <i class="fas fa-check-circle"></i>
                                                </div>
                                            </div>
                                            <div class="ml-3">
                                                <p class="text-sm font-medium">New hire completed onboarding</p>
                                                <p class="text-xs text-gray-500">1 hour ago</p>
                                            </div>
                                        </div>
                                    </a>
                                    <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                                        <div class="flex items-start">
                                            <div class="flex-shrink-0 pt-1">
                                                <div class="h-8 w-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600">
                                                    <i class="fas fa-exclamation-triangle"></i>
                                                </div>
                                            </div>
                                            <div class="ml-3">
                                                <p class="text-sm font-medium">Customer NPS dropped by 5 points</p>
                                                <p class="text-xs text-gray-500">3 hours ago</p>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                                <div class="px-4 py-2 border-t border-gray-200">
                                    <a href="#" class="text-xs font-medium text-blue-600 hover:text-blue-800">View all notifications</a>
                                </div>
                            </div>
                        </div>
                        <button class="text-gray-500 hover:text-gray-700 focus:outline-none">
                            <i class="fas fa-question-circle text-xl"></i>
                        </button>
                        <div class="relative">
                            <button id="userMenuButton" class="flex items-center focus:outline-none">
                                <span class="hidden md:inline-block ml-2 text-sm font-medium text-gray-700">John Doe</span>
                                <img class="h-8 w-8 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User avatar">
                            </button>
                            <div id="userMenuDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
                                <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
                                <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
                                <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
                            </div>
                        </div>
                    </div>
                </div>
            </header>

            <!-- Main content area -->
            <main class="flex-1 overflow-y-auto p-4 bg-gray-50">
                <!-- Quick stats and company health -->
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-blue-100 text-blue-600">
                                <i class="fas fa-rocket text-xl"></i>
                            </div>
                            <div class="ml-4">
                                <p class="text-sm font-medium text-gray-500">Revenue</p>
                                <p class="text-2xl font-semibold text-gray-800">$1.2M</p>
                                <p class="text-xs text-green-500 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> +12% from last quarter
                                </p>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div id="revenueChart" style="height: 60px;"></div>
                        </div>
                    </div>
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-green-100 text-green-600">
                                <i class="fas fa-users text-xl"></i>
                            </div>
                            <div class="ml-4">
                                <p class="text-sm font-medium text-gray-500">Employees</p>
                                <p class="text-2xl font-semibold text-gray-800">84</p>
                                <p class="text-xs text-green-500 flex items-center">
                                    <i class="fas fa-arrow-up mr-1"></i> +5 this quarter
                                </p>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div id="employeesChart" style="height: 60px;"></div>
                        </div>
                    </div>
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-purple-100 text-purple-600">
                                <i class="fas fa-heart text-xl"></i>
                            </div>
                            <div class="ml-4">
                                <p class="text-sm font-medium text-gray-500">Customer NPS</p>
                                <p class="text-2xl font-semibold text-gray-800">72</p>
                                <p class="text-xs text-red-500 flex items-center">
                                    <i class="fas fa-arrow-down mr-1"></i> -3 from last quarter
                                </p>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div id="npsChart" style="height: 60px;"></div>
                        </div>
                    </div>
                    <div class="dashboard-card bg-white rounded-lg shadow p-6">
                        <div class="flex items-center">
                            <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
                                <i class="fas fa-bullseye text-xl"></i>
                            </div>
                            <div class="ml-4">
                                <p class="text-sm font-medium text-gray-500">Quarterly Goals</p>
                                <p class="text-2xl font-semibold text-gray-800">65%</p>
                                <p class="text-xs text-blue-500">On track</p>
                            </div>
                        </div>
                        <div class="mt-4">
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-blue-600 h-2.5 rounded-full" style="width: 65%"></div>
                            </div>
                            <p class="text-xs text-gray-500 mt-1">35 days remaining</p>
                        </div>
                    </div>
                </div>

                <!-- Company health scorecard -->
                <div class="mb-6">
                    <div class="bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <h2 class="text-lg font-semibold text-gray-800">Company Health Scorecard</h2>
                            <p class="text-sm text-gray-500">Key indicators across all business functions</p>
                        </div>
                        <div class="p-6">
                            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6">
                                <div class="text-center">
                                    <div class="relative inline-block mb-3">
                                        <svg class="w-16 h-16" viewBox="0 0 36 36">
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#E5E7EB"
                                                stroke-width="3"
                                                stroke-dasharray="100, 100"
                                            />
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#10B981"
                                                stroke-width="3"
                                                stroke-dasharray="85, 100"
                                            />
                                            <text x="18" y="20.5" text-anchor="middle" font-size="10" fill="#111827" font-weight="bold">85%</text>
                                        </svg>
                                    </div>
                                    <h3 class="text-sm font-medium text-gray-700">People</h3>
                                    <p class="text-xs text-gray-500">Employee engagement</p>
                                </div>
                                <div class="text-center">
                                    <div class="relative inline-block mb-3">
                                        <svg class="w-16 h-16" viewBox="0 0 36 36">
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#E5E7EB"
                                                stroke-width="3"
                                                stroke-dasharray="100, 100"
                                            />
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#3B82F6"
                                                stroke-width="3"
                                                stroke-dasharray="78, 100"
                                            />
                                            <text x="18" y="20.5" text-anchor="middle" font-size="10" fill="#111827" font-weight="bold">78%</text>
                                        </svg>
                                    </div>
                                    <h3 class="text-sm font-medium text-gray-700">Strategy</h3>
                                    <p class="text-xs text-gray-500">Execution clarity</p
                                </div>
                                <div class="text-center">
                                    <div class="relative inline-block mb-3">
                                        <svg class="w-16 h-16" viewBox="0 0 36 36">
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#E5E7EB"
                                                stroke-width="3"
                                                stroke-dasharray="100, 100"
                                            />
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#8B5CF6"
                                                stroke-width="3"
                                                stroke-dasharray="92, 100"
                                            />
                                            <text x="18" y="20.5" text-anchor="middle" font-size="10" fill="#111827" font-weight="bold">92%</text>
                                        </svg>
                                    </div>
                                    <h3 class="text-sm font-medium text-gray-700">Execution</h3>
                                    <p class="text-xs text-gray-500">Meeting rhythm</p>
                                </div>
                                <div class="text-center">
                                    <div class="relative inline-block mb-3">
                                        <svg class="w-16 h-16" viewBox="0 0 36 36">
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#E5E7EB"
                                                stroke-width="3"
                                                stroke-dasharray="100, 100"
                                            />
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none
                                                stroke="#EC4899"
                                                stroke-width="3"
                                                stroke-dasharray="65, 100"
                                            />
                                            <text x="18" y="20.5" text-anchor="middle" font-size="10" fill="#111827" font-weight="bold">65%</text>
                                        </svg>
                                    </div>
                                    <h3 class="text-sm font-medium text-gray-700">Cash</h3>
                                    <p class="text-xs text-gray-500">Financial health</p>
                                </div>
                                <div class="text-center">
                                    <div class="relative inline-block mb-3">
                                        <svg class="w-16 h-16" viewBox="0 0 36 36">
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#E5E7EB"
                                                stroke-width="3"
                                                stroke-dasharray="100, 100"
                                            />
                                            <path
                                                d="M18 2.0845
                                                    a 15.9155 15.9155 0 0 1 0 31.831
                                                    a 15.9155 15.9155 0 0 1 0 -31.831"
                                                fill="none"
                                                stroke="#F59E0B"
                                                stroke-width="3"
                                                stroke-dasharray="88, 100"
                                            />
                                            <text x="18" y="20.5" text-anchor="middle" font-size="10" fill="#111827" font-weight="bold">88%</text>
                                        </svg>
                                    </div>
                                    <h3 class="text-sm font-medium text-gray-700">Overall</h3>
                                    <p class="text-xs text-gray-500">Company health</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Main dashboard sections -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <!-- Rockefeller Habits Checklist -->
                    <div class="lg:col-span-1 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">Rockefeller Habits</h2>
                                    <p class="text-sm text-gray-500">Daily/Weekly disciplines</p>
                                </div>
                                <span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-100 rounded-full">5/10</span>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="space-y-4">
                                <div class="flex items-start">
                                    <input type="checkbox" id="habit1" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500" checked>
                                    <label for="habit1" class="ml-3 block text-sm font-medium text-gray-700">
                                        Executive team is healthy and aligned
                                        <p class="text-xs text-gray-500 mt-1">Last checked: Today</p>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="habit2" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500" checked>
                                    <label for="habit2" class="ml-3 block text-sm font-medium text-gray-700">
                                        Everyone is aligned with #1 priority
                                        <p class="text-xs text-gray-500 mt-1">Last checked: Today</p>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="habit3" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="habit3" class="ml-3 block text-sm font-medium text-gray-700">
                                        Communication rhythm is established
                                        <p class="text-xs text-gray-500 mt-1">Last checked: 2 days ago</p>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="habit4" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="habit4" class="ml-3 block text-sm font-medium text-gray-700">
                                        Every facet has a person assigned
                                        <p class="text-xs text-gray-500 mt-1">Last checked: 1 week ago</p>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="habit5" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500" checked>
                                    <label for="habit5" class="ml-3 block text-sm font-medium text-gray-700">
                                        Ongoing employee feedback
                                        <p class="text-xs text-gray-500 mt-1">Last checked: Yesterday</p>
                                    </label>
                                </div>
                            </div>
                            <div class="mt-6">
                                <button class="w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                                    <i class="fas fa-sync-alt mr-2"></i> Update Habits
                                </button>
                            </div>
                        </div>
                    </div>

                    <!-- One Page Strategic Plan -->
                    <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">One Page Strategic Plan</h2>
                                    <p class="text-sm text-gray-500">Company vision and priorities</p>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 rounded-md text-xs font-medium text-gray-700 hover:bg-gray-50">
                                        <i class="fas fa-history mr-1"></i> Version History
                                    </button>
                                    <button class="px-3 py-1 border border-transparent rounded-md text-xs font-medium text-white bg-blue-600 hover:bg-blue-700">
                                        <i class="fas fa-print mr-1"></i> Print
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-blue-100 text-blue-800 p-1 rounded mr-2">
                                            <i class="fas fa-medal text-xs"></i>
                                        </span>
                                        Core Values
                                    </h3>
                                    <ul class="space-y-3">
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-green-500 flex items-center justify-center">
                                                <i class="fas fa-check"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Customer Obsession</span>
                                                <p class="text-xs text-gray-500">Start with the customer and work backwards</p>
                                            </div>
                                        </li>
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-green-500 flex items-center justify-center">
                                                <i class="fas fa-check"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Ownership</span>
                                                <p class="text-xs text-gray-500">Think long term and don't sacrifice for short-term results</p>
                                            </div>
                                        </li>
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-green-500 flex items-center justify-center">
                                                <i class="fas fa-check"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Innovate & Simplify</span>
                                                <p class="text-xs text-gray-500">Expect and require innovation and invention</p
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-purple-100 text-purple-800 p-1 rounded mr-2">
                                            <i class="fas fa-bullseye text-xs"></i>
                                        </span>
                                        BHAG (10-25 Year Goal)
                                    </h3>
                                    <div class="bg-gray-50 p-3 rounded-lg">
                                        <p class="text-sm text-gray-700">To become the most customer-centric company in our industry, serving 1 million customers globally by 2040.</p>
                                    </div>
                                    <div class="mt-4">
                                        <h4 class="text-xs font-semibold text-gray-500 uppercase tracking-wider mb-1">Progress</h4>
                                        <div class="w-full bg-gray-200 rounded-full h-2">
                                            <div class="bg-purple-600 h-2 rounded-full" style="width: 15%"></div>
                                        </div>
                                        <p class="text-xs text-gray-500 mt-1">15% towards goal</p>
                                    </div>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-green-100 text-green-800 p-1 rounded mr-2">
                                            <i class="fas fa-chart-line text-xs"></i>
                                        </span>
                                        3-5 Year Targets
                                    </h3>
                                    <ul class="space-y-3">
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-blue-500 flex items-center justify-center">
                                                <i class="fas fa-bullseye"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">$50M annual revenue</span>
                                                <p class="text-xs text-gray-500">Current: $12M</p>
                                            </div>
                                        </li>
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-blue-500 flex items-center justify-center">
                                                <i class="fas fa-bullseye"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Expand to 3 new markets</span>
                                                <p class="text-xs text-gray-500">Current: 1 new market entered</p>
                                            </div>
                                        </li>
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-blue-500 flex items-center justify-center">
                                                <i class="fas fa-bullseye"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">300 employees</span>
                                                <p class="text-xs text-gray-500">Current: 84 employees</p>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-yellow-100 text-yellow-800 p-1 rounded mr-2">
                                            <i class="fas fa-flag text-xs"></i>
                                        </span>
                                        1 Year Priorities
                                    </h3>
                                    <ul class="space-y-3">
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-purple-500 flex items-center justify-center">
                                                <i class="fas fa-flag"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Launch new product line</span>
                                                <div class="mt-1">
                                                    <div class="w-full bg-gray-200 rounded-full h-1.5">
                                                        <div class="bg-purple-600 h-1.5 rounded-full" style="width: 45%"></div>
                                                    </div>
                                                    <p class="text-xs text-gray-500 mt-1">On track for Q4 launch</p>
                                                </div>
                                            </div>
                                        </li>
                                        <li class="flex items-start">
                                            <span class="flex-shrink-0 h-6 w-6 text-purple-500 flex items-center justify-center">
                                                <i class="fas fa-flag"></i>
                                            </span>
                                            <div class="ml-2">
                                                <span class="text-sm font-medium text-gray-700">Improve customer retention by 15%</span>
                                                <div class="mt-1">
                                                    <div class="w-full bg-gray-200 rounded-full h-1.5">
                                                        <div class="bg-purple-600 h-1.5 rounded-full" style="width: 30%"></div>
                                                    </div>
                                                    <p class="text-xs text-gray-500 mt-1">Currently at +5%</p>
                                                </div>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="mt-6">
                                <button class="w-full flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                                    <i class="fas fa-edit mr-2"></i> Edit Strategic Plan
                                </button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Quarterly Priorities and Metrics -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                    <!-- Quarterly Priorities -->
                    <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">Quarterly Priorities</h2>
                                    <p class="text-sm text-gray-500">Q3 2023 - Critical Few</p>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 rounded-md text-xs font-medium text-gray-700 hover:bg-gray-50">
                                        <i class="fas fa-plus mr-1"></i> Add Priority
                                    </button>
                                    <button class="px-3 py-1 border border-transparent rounded-md text-xs font-medium text-white bg-blue-600 hover:bg-blue-700">
                                        <i class="fas fa-sliders-h mr-1"></i> Adjust
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="space-y-6">
                                <div class="flex items-start">
                                    <div class="flex-shrink-0 h-10 w-10 rounded-full bg-green-100 flex items-center justify-center text-green-600 font-bold">
                                        1
                                    </div>
                                    <div class="ml-4 flex-1">
                                        <div class="flex items-center justify-between">
                                            <h3 class="text-md font-medium text-gray-800">Launch new marketing campaign</h3>
                                            <span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-100 rounded-full priority-badge">On Track</span>
                                        </div>
                                        <p class="text-sm text-gray-600 mt-1">Increase brand awareness and lead generation by 30%</p>
                                        <div class="mt-3">
                                            <div class="flex items-center justify-between mb-1">
                                                <span class="text-xs font-medium text-gray-500">Progress</span>
                                                <span class="text-xs font-semibold text-green-600">75%</span>
                                            </div>
                                            <div class="w-full bg-gray-200 rounded-full h-2">
                                                <div class="bg-green-500 h-2 rounded-full" style="width: 75%"></div>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <p class="text-xs text-gray-500">Due in 2 weeks</p>
                                                <p class="text-xs text-gray-500">Sarah Johnson (Owner)</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="flex items-start">
                                    <div class="flex-shrink-0 h-10 w-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 font-bold">
                                        2
                                    </div>
                                    <div class="ml-4 flex-1">
                                        <div class="flex items-center justify-between">
                                            <h3 class="text-md font-medium text-gray-800">Hire 5 new sales reps</h3>
                                            <span class="px-2 py-1 text-xs font-semibold text-blue-800 bg-blue-100 rounded-full priority-badge">In Progress</span>
                                        </div>
                                        <p class="text-sm text-gray-600 mt-1">Expand sales team to meet growing demand</p>
                                        <div class="mt-3">
                                            <div class="flex items-center justify-between mb-1">
                                                <span class="text-xs font-medium text-gray-500">Progress</span>
                                                <span class="text-xs font-semibold text-blue-600">40%</span>
                                            </div>
                                            <div class="w-full bg-gray-200 rounded-full h-2">
                                                <div class="bg-blue-500 h-2 rounded-full" style="width: 40%"></div>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <p class="text-xs text-gray-500">2 hires completed</p>
                                                <p class="text-xs text-gray-500">Michael Chen (Owner)</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="flex items-start">
                                    <div class="flex-shrink-0 h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 font-bold">
                                        3
                                    </div>
                                    <div class="ml-4 flex-1">
                                        <div class="flex items-center justify-between">
                                            <h3 class="text-md font-medium text-gray-800">Implement new CRM system</h3>
                                            <span class="px-2 py-1 text-xs font-semibold text-purple-800 bg-purple-100 rounded-full priority-badge">Needs Attention</span>
                                        </div>
                                        <p class="text-sm text-gray-600 mt-1">Improve customer relationship management and sales tracking</p>
                                        <div class="mt-3">
                                            <div class="flex items-center justify-between mb-1">
                                                <span class="text-xs font-medium text-gray-500">Progress</span>
                                                <span class="text-xs font-semibold text-purple-600">20%</span>
                                            </div>
                                            <div class="w-full bg-gray-200 rounded-full h-2">
                                                <div class="bg-purple-500 h-2 rounded-full" style="width: 20%"></div>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <p class="text-xs text-gray-500">In discovery phase</p>
                                                <p class="text-xs text-gray-500">Alex Rodriguez (Owner)</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Key Metrics -->
                    <div class="lg:col-span-1 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">Key Metrics</h2>
                                    <p class="text-sm text-gray-500">Quarterly performance</p>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 rounded-md text-xs font-medium text-gray-700 hover:bg-gray-50">
                                        <i class="fas fa-cog mr-1"></i> Configure
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="space-y-6">
                                <div>
                                    <div class="flex justify-between items-center mb-1">
                                        <span class="text-sm font-medium text-gray-700 flex items-center">
                                            <i class="fas fa-dollar-sign text-gray-400 mr-1 text-xs"></i> Revenue Growth
                                        </span>
                                        <span class="text-sm font-semibold text-green-600">+12%</span>
                                    </div>
                                    <div class="w-full bg-gray-200 rounded-full h-2">
                                        <div class="bg-green-500 h-2 rounded-full" style="width: 80%"></div>
                                    </div>
                                    <div class="flex justify-between items-center mt-1">
                                        <p class="text-xs text-gray-500">$1.2M actual</p>
                                        <p class="text-xs text-gray-500">$1.35M target</p>
                                    </div>
                                </div>
                                <div>
                                    <div class="flex justify-between items-center mb-1">
                                        <span class="text-sm font-medium text-gray-700 flex items-center">
                                            <i class="fas fa-user-plus text-gray-400 mr-1 text-xs"></i> Customer Acquisition
                                        </span>
                                        <span class="text-sm font-semibold text-blue-600">245</span>
                                    </div>
                                    <div class="w-full bg-gray-200 rounded-full h-2">
                                        <div class="bg-blue-500 h-2 rounded-full" style="width: 65%"></div>
                                    </div>
                                    <div class="flex justify-between items-center mt-1">
                                        <p class="text-xs text-gray-500">245 actual</p>
                                        <p class="text-xs text-gray-500">375 target</p>
                                    </div>
                                </div>
                                <div>
                                    <div class="flex justify-between items-center mb-1">
                                        <span class="text-sm font-medium text-gray-700 flex items-center">
                                            <i class="fas fa-heart text-gray-400 mr-1 text-xs"></i> Employee Engagement
                                        </span>
                                        <span class="text-sm font-semibold text-yellow-600">78%</span>
                                    </div>
                                    <div class="w-full bg-gray-200 rounded-full h-2">
                                        <div class="bg-yellow-500 h-2 rounded-full" style="width: 78%"></div>
                                    </div>
                                    <div class="flex justify-between items-center mt-1">
                                        <p class="text-xs text-gray-500">+3% from last quarter</p>
                                        <p class="text-xs text-gray-500">80% target</p>
                                    </div>
                                </div>
                                <div>
                                    <div class="flex justify-between items-center mb-1">
                                        <span class="text-sm font-medium text-gray-700 flex items-center">
                                            <i class="fas fa-bolt text-gray-400 mr-1 text-xs"></i> Productivity
                                        </span>
                                        <span class="text-sm font-semibold text-purple-600">1.2x</span>
                                    </div>
                                    <div class="w-full bg-gray-200 rounded-full h-2">
                                        <div class="bg-purple-500 h-2 rounded-full" style="width: 60%"></div>
                                    </div>
                                    <div class="flex justify-between items-center mt-1">
                                        <p class="text-xs text-gray-500">1.2x actual</p>
                                        <p class="text-xs text-gray-500">2x target</p>
                                    </div>
                                </div>
                            </div>
                            <div class="mt-6">
                                <div class="bg-gray-50 p-4 rounded-lg">
                                    <h3 class="text-sm font-medium text-gray-800 mb-2">Trend Analysis</h3>
                                    <div id="metricsTrendChart" style="height: 150px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Meeting Pulse and To-Dos -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
                    <!-- Meeting Pulse -->
                    <div class="lg:col-span-2 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px极客时间 6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">Meeting Pulse</h2>
                                    <p class="text-sm text-gray-500">Daily, weekly, monthly rhythm</p>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 rounded-md text-xs font-medium text-gray-700 hover:bg-gray-50">
                                        <i class="fas fa-calendar-plus mr-1"></i> Add Meeting
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="space-y-6">
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-blue-100 text-blue-800 p-1 rounded mr-2">
                                            <i class="fas fa-calendar-day text-xs"></i>
                                        </span>
                                        Daily Huddle (15 min)
                                    </h3>
                                    <div class="bg-blue-50 p-4 rounded-lg">
                                        <极客时间 div class="flex items-center justify-between">
                                            <div>
                                                <p class="text-sm font-medium text-gray-700">Today's Priorities</p>
                                                <p class="text-xs text-gray-500">8:15 AM, Conference Room</p>
                                            </div>
                                            <div class="flex space-x-2">
                                                <button class="px-3 py-1 bg-blue-100 text-blue-700 rounded-full text-xs font-medium">
                                                    <i class="fas fa-video mr-1"></i> Join
                                                </button>
                                                <button class="px-3 py-1 bg-white text-blue-700 rounded-full text-xs font-medium border border-blue-200">
                                                    <i class="fas fa-clipboard-list mr极客时间 -1"></i> Agenda
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mt-2">
                                        <div class="flex items-center text-xs text-gray-500">
                                            <i class="fas fa-info-circle mr-1"></i>
                                            <span>Next meeting: Tomorrow at 8:15 AM</span>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-green-100 text-green-800 p-1 rounded mr-2">
                                            <i class="fas fa-calendar-week text-xs"></i>
                                        </span>
                                        Weekly Meeting (90 min)
                                    </h3>
                                    <div class="bg-green-50 p-4 rounded-lg">
                                        <div class="flex items-center justify-between">
                                            <div>
                                                <p class="text-sm font-medium text-gray-700">Quarterly Priority Review</p>
                                                <p class="text-xs text-gray-500">Monday, 10:00 AM, Board Room</p>
                                            </div>
                                            <div class="flex space-x-2">
                                                <button class="px-3 py-1 bg-green-100 text-green-700 rounded-full text-xs font-medium">
                                                    <i class="fas fa-clipboard-check mr-1"></i> Prepare
                                                </button>
                                                <button class="px-3 py-1 bg-white text-green-700 rounded-full text-xs font-medium border border-green-200">
                                                    <i class="fas fa-file-alt mr-1"></i> Notes
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mt-2">
                                        <div class="flex items-center text-xs text-gray-500">
                                            <i class="fas fa-info-circle mr-1"></i>
                                            <span>Next meeting: Monday, July 10 at 10:00 AM</span>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-purple-100 text-purple-800 p-1 rounded mr-2">
                                            <i class="fas fa-calendar-alt text-xs"></i>
                                        </span>
                                        Monthly Learning (2 hours)
                                    </h3>
                                    <div class="bg-purple-50 p-4 rounded-lg">
                                        <div class="flex items-center justify-between">
                                            <div>
                                                <p class="text-sm font-medium text-gray-700">Customer Feedback Analysis</p>
                                                <p class="text-xs text-gray-500">First Friday, 1:00 PM, Training Room</p>
                                            </div>
                                            <div class="flex space-x-2">
                                                <button class="px-3 py-1 bg-purple-100 text-purple-700 rounded-full text-xs font-medium">
                                                    <i class="fas fa-chart-bar mr-1"></i> Review Data
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mt-2">
                                        <div class="flex items-center text-xs text-gray-500">
                                            <i class="fas fa-info-circle mr-1"></i>
                                            <span>Next meeting: Friday, July 7 at 1:00 PM</span>
                                        </div>
                                    </div>
                                </div>
                                <div>
                                    <h3 class="text-md font-medium text-gray-800 mb-3 flex items-center">
                                        <span class="bg-yellow-100 text-yellow-800 p-1 rounded mr-2">
                                            <i class="fas fa-calendar-check text-xs"></i>
                                        </span>
                                        Quarterly Offsite (2 days)
                                    </h3>
                                    <div class="bg-yellow-极客时间 50 p-4 rounded-lg">
                                        <div class="flex items-center justify-between">
                                            <div>
                                                <p class="text-sm font-medium text-gray-700">Strategic Planning</p>
                                                <p class="text-xs text-gray-500">Oct 15-16, Mountain View Resort</p>
                                            </div>
                                            <div class="flex space-x-2">
                                                <button class="px-3 py-1 bg-yellow-100 text-yellow-700 rounded-full text-xs font-medium">
                                                    <i class="fas fa-reply mr-1"></i> RSVP
                                                </button>
                                                <button class="px-3 py-1 bg-white text-yellow-700 rounded-full text-xs font-medium border border-yellow-200">
                                                    <i class="fas fa-map-marked-alt mr-1"></i> Location
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mt-2">
                                        <div class="flex items-center text-xs text-gray-500">
                                            <i class="fas fa-info-circle mr-1"></i>
                                            <span>90 days until offsite</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- To-Dos and Action Items -->
                    <div class="lg:col-span-1 bg-white rounded-lg shadow overflow-hidden">
                        <div class="px-6 py-4 border-b border-gray-200">
                            <div class="flex items-center justify-between">
                                <div>
                                    <h2 class="text-lg font-semibold text-gray-800">My Action Items</h2>
                                    <p class="text-sm text-gray-500">Priority tasks</p>
                                </div>
                                <div class="flex space-x-2">
                                    <button class="px-3 py-1 border border-gray-300 rounded-md text-xs font-medium text-gray-700 hover:极客时间 bg-gray-50">
                                        <i class="fas fa-filter mr-1"></i> Filter
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="p-6">
                            <div class="space-y-4">
                                <div class="flex items-start">
                                    <input type="checkbox" id="task1" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="task1" class="ml-3 block text-sm font-medium text-gray-700">
                                        Review marketing campaign results
                                        <div class="flex items-center mt-1">
                                            <span class="text-xs text-gray-500">Due tomorrow</span>
                                            <span class="ml-2 px-1 py-0.5 text-xs font-medium bg-blue-100 text-blue-800 rounded">High</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="task2" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500" checked>
                                    <label for="task2" class="ml-3 block text-sm font-medium text-gray-700 line-through text-gray-400">
                                        Interview sales candidate
                                        <div class="flex items-center mt-1">
                                            <span class="text-xs text-gray-400">Completed today</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="task3" class="mt-1 h-4 w-极客时间 4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="task3" class="ml-3 block text-sm font-medium text-gray-700">
                                        Prepare quarterly board report
                                        <div class="flex items-center mt-1">
                                            <span class="text-xs text-gray极客时间 -500">Due in 3 days</span>
                                            <span class="ml-2 px-1 py-0.5 text-xs font-medium bg-yellow-100 text-yellow-800 rounded">Medium</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="task4" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="task4" class="ml-3 block text-sm font-medium text-gray-700">
                                        Follow up with key client
                                        <div class="flex items-center mt-1">
                                            <span class="text-xs text-gray-500">Due Friday</span>
                                        </div>
                                    </label>
                                </div>
                                <div class="flex items-start">
                                    <input type="checkbox" id="task5" class="mt-1 h-4 w-4 text-blue-600 rounded focus:ring-blue-500">
                                    <label for="task5" class="ml-3 block text-sm font-medium text-gray-700">
                                        Approve budget for Q4 initiatives
                                        <div class="flex items-center mt-1">
                                            <span class="text-xs text-gray-500">Due next week</span>
                                        </div>
                                    </label>
                                </div>
                            </div>
                            <div class="mt-6">
                                <div class="flex">
                                    <input type="text" class="flex-1 min-w-0 block w-full px-3 py-2 rounded-md border border-gray-300 shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Add new action item">
                                    <button class="ml-3 inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                                        <i class="fas fa-plus mr-1"></i> Add
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        // Initialize all interactive elements
        document.addEventListener('DOMContentLoaded', function() {
            // Mobile sidebar toggle
            const mobileSidebarButton = document.getElementById('mobileSidebarButton');
            const mobileSidebarOverlay = document.getElementById('mobileSidebarOverlay');
            const sidebar = document.getElementById('sidebar');
            
            if (mobileSidebarButton && mobileSidebarOverlay && sidebar) {
                mobileSidebarButton.addEventListener('click', function() {
                    sidebar.classList.toggle('hidden');
                    mobileSidebarOverlay.classList.toggle('hidden');
                    document.body.classList.toggle('overflow-hidden');
                });
                
                mobileSidebarOverlay.addEventListener('click', function() {
                    sidebar.classList.add('hidden');
                    mobileSidebarOverlay.classList.add('hidden');
                    document.body.classList.remove('overflow-hidden');
                });
            }
            
            // Notifications dropdown
            const notificationsButton = document.getElementById('notificationsButton');
            const notificationsDropdown = document.getElementById('notificationsDropdown');
            
            if (notificationsButton && notificationsDropdown) {
                notificationsButton.addEventListener('click', function() {
                    notificationsDropdown.classList.toggle('hidden');
                    if (userMenuDropdown) userMenuDropdown.classList.add('hidden');
                });
            }
            
            // User menu dropdown
            const userMenuButton = document.getElementById('userMenuButton');
            const userMenuDropdown = document.getElementById('userMenuDropdown');
            
            if (userMenuButton && userMenuDropdown) {
                userMenuButton.addEventListener('click', function() {
                    userMenuDropdown.classList.toggle('hidden');
                    if (notificationsDropdown) notificationsDropdown.classList.add('hidden');
                });
            }
            
            // Close dropdowns when clicking outside
            document.addEventListener('click', function(event) {
                if (notificationsButton && notificationsDropdown && 
                    !notificationsButton.contains(event.target) && 
                    !notificationsDropdown.contains(event.target)) {
                    notificationsDropdown.classList.add('hidden');
                }
                if (userMenuButton && userMenuDropdown && 
                    !userMenuButton.contains(event.target) && 
                    !userMenuDropdown.contains(event.target)) {
                    userMenuDropdown.classList.add('hidden');
                }
            });
            
            // Toggle checkboxes and strike through text
            const checkboxes = document.querySelectorAll('input[type="checkbox"]');
            checkboxes.forEach(checkbox => {
                checkbox.addEventListener('change', function() {
                    const label = this.nextElementSibling;
                    if (this.checked) {
                        label.classList.add('line-through', 'text-gray-400');
                    } else {
                        label.classList.remove('line-through', 'text-gray-400');
                    }
                });
            });
            
            // Initialize mini charts only if elements exist
            if (document.querySelector("#revenueChart")) {
                const revenueChartOptions = {
                    series: [{
                        name: 'Revenue',
                        data: [30, 40, 45, 50, 49, 60, 70, 80, 90, 100, 110, 120]
                    }],
                    chart: {
                        type: 'area',
                        height: 60,
                        sparkline: {
                            enabled: true
                        },
                    },
                    stroke: {
                        curve: 'smooth',
                        width: 2
                    },
                    fill: {
                        type: 'gradient',
                        gradient: {
                            shadeIntensity: 1,
                            opacityFrom: 0.7,
                            opacityTo: 0.2,
                            stops: [0, 100]
                        }
                    },
                    colors: ['#3B82F6'],
                    tooltip: {
                        fixed: {
                            enabled: false
                        },
                        x: {
                            show: false
                        },
                        marker: {
                            show: false
                        }
                    }
                };
                
                const revenueChart = new ApexCharts(document.querySelector("#revenueChart"), revenueChartOptions);
                revenueChart.render();
            }
            
            if (document.querySelector("#employeesChart")) {
                const employeesChartOptions = {
                    series: [{
                        name: 'Employees',
                        data: [60, 65, 68, 70, 72, 75, 78, 80, 82, 84]
                    }],
                    chart: {
                        type: 'area',
                        height: 60,
                        sparkline: {
                            enabled: true
                        },
                    },
                    stroke: {
                        curve: 'smooth',
                        width: 2
                    },
                    fill: {
                        type: 'gradient',
                        gradient: {
                            shadeIntensity极客时间 : 1,
                            opacityFrom: 0.7,
                            opacityTo: 0.2,
                            stops: [0, 100]
                        }
                    },
                    colors: ['#10B981'],
                    tooltip: {
                        fixed: {
                            enabled: false
                        },
                        x: {
                            show: false
                        },
                        marker: {
                            show: false
                        }
                    }
                };
                
                const employeesChart = new ApexCharts(document.querySelector("#employeesChart"), employeesChartOptions);
                employeesChart.render();
            }
            
            if (document.querySelector("#npsChart")) {
                const npsChartOptions = {
                    series: [{
                        name: 'NPS',
                        data: [70, 72, 71, 73, 75, 74, 72, 70, 71, 72, 70, 72]
                    }],
                    chart: {
                        type: 'area',
                        height: 60,
                        sparkline: {
                            enabled: true
                        },
                    },
                    stroke: {
                        curve: 'smooth',
                        width: 2
                    },
                    fill: {
                        type: 'gradient',
                        gradient: {
                            shadeIntensity: 1,
                            opacityFrom: 0.7,
                            opacityTo: 0.2,
                            stops: [0, 100]
                        }
                    },
                    colors: ['#8B5CF6'],
                    tooltip: {
                        fixed: {
                            enabled: false
                        },
                        x: {
                            show: false
                        },
                        marker: {
                            show: false
                        }
                    }
                };
                
                const npsChart = new ApexCharts(document.querySelector("#npsChart"), npsChartOptions);
                npsChart.render();
            }
            
            // Metrics trend chart
            if (document.querySelector("#metricsTrendChart")) {
                const metricsTrendChartOptions = {
                    series: [{
                        name: 'Revenue',
                        data: [30, 40, 45, 50, 49, 60, 70, 80, 90, 100, 110, 120]
                    }, {
                        name: 'Customers',
                        data: [100, 120, 140, 160, 180, 185, 190, 210, 230, 245, 260, 280]
                    }, {
                        name: 'NPS',
                        data: [70, 72, 71, 73, 75, 74, 72, 70, 71, 72, 70, 72]
                    }],
                    chart: {
                        type: 'line',
                        height: 150,
                        toolbar: {
                            show: false
                        },
                    },
                    colors: ['#3B82F6', '#10B981', '#8B5CF6'],
                    stroke: {
                        curve: 'smooth',
                        width: 2
                    },
                    markers: {
                        size: 0
                    },
                    xaxis: {
                        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
                        labels: {
                            style: {
                                fontSize: '10px'
                            }
                        }
                    },
                    yaxis: {
                        show: false
                    },
                    tooltip: {
                        enabled: false
                    },
                    legend: {
                        show: false
                    },
                    grid: {
                        show: false
                    }
                };
                
                const metricsTrendChart = new ApexCharts(document.querySelector("#metricsTrendChart"), metricsTrendChartOptions);
                metricsTrendChart.render();
            }
            
            // Sidebar navigation active state
            const sidebarItems = document.querySelectorAll('.sidebar-item');
            sidebarItems.forEach(item => {
                item.addEventListener('click', function() {
                    sidebarItems.forEach(i => i.classList.remove('active', 'bg-secondary', 'text-white'));
                    this.classList.add('active', 'bg-secondary', 'text-white');
                });
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=JayStormX8/scale-space-v3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>