caustino commited on
Commit
210e757
·
verified ·
1 Parent(s): 4ae5159

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +754 -564
index.html CHANGED
@@ -1,580 +1,770 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
 
3
  <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>SSA Medical Discovery Platform | Enterprise Dashboard</title>
7
- <!-- Import Inter Font for modern UI -->
8
- <link href="https://fonts.googleapis.com/css2?family=Inter:300,400,500,600,700&display=swap" rel="stylesheet">
9
- <!-- Import FontAwesome for Icons -->
10
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
- <style>
13
- /* --- CSS VARIABLES & THEME --- */
14
- :root {
15
- --primary: #2563eb; /* Royal Blue */
16
- --primary-dark: #1e40af;
17
- --secondary: #0f172a; /* Slate Dark */
18
- --accent: #10b981; /* Emerald Green */
19
- --danger: #ef4444;
20
- --warning: #f59e0b;
21
- --bg-body: #f8fafc;
22
- --bg-card: #ffffff;
23
- --text-main: #1e293b;
24
- --text-muted: #64748b;
25
- --border: #e2e8f0;
26
- --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
27
- --radius: 8px;
28
- --sidebar-width: 260px;
29
- }
30
-
31
- /* --- RESET & BASE --- */
32
- * { box-sizing: box-sizing; margin: 0; padding: 0; }
33
-
34
- body {
35
- font-family: 'Inter', sans-serif;
36
- background-color: --bg-body;
37
- color: --text-main;
38
- display: flex;
39
- height: 100vh;
40
- overflow: hidden;
41
- }
42
-
43
- a { text-decoration: none; color: inherit; transition: 0.2s; }
44
-
45
- /* --- LAYOUT --- */
46
- .app-container {
47
- display: flex;
48
- width: 100%;
49
- height: 100%;
50
- }
51
-
52
- /* --- SIDEBAR --- */
53
- .sidebar {
54
- width: --sidebar-width;
55
- background-color: --bg-card;
56
- border-right: 1px solid --border;
57
- display: flex;
58
- flex-direction: column;
59
- padding: 1.5rem;
60
- transition: transform 0.3s ease;
61
- z-index: 10;
62
- }
63
-
64
- .brand {
65
- font-weight: 700;
66
- font-size: 1.25rem;
67
- color: --primary;
68
- margin-bottom: 2rem;
69
- display: flex;
70
- align-items: center;
71
- gap: 10px;
72
- }
73
-
74
- .nav-links {
75
- list-style: none;
76
- flex-grow: 1;
77
- }
78
-
79
- .nav-item {
80
- margin-bottom: 0.5rem;
81
- }
82
-
83
- .nav-link {
84
- display: flex;
85
- align-items: center;
86
- padding: 0.75rem 1rem;
87
- color: --text-muted;
88
- border-radius: --radius;
89
- font-weight: 500;
90
- gap: 12px;
91
- }
92
-
93
- .nav-link:hover, .nav-link.active {
94
- background-color: #f1f5f9;
95
- color: --primary;
96
- font-weight: 600;
97
- }
98
-
99
- .nav-link i { width: 20px; text-align: center; }
100
-
101
- .sidebar-footer {
102
- margin-top: auto;
103
- border-top: 1px solid --border;
104
- padding-top: 1rem;
105
- }
106
-
107
- .anycoder-link {
108
- display: flex;
109
- align-items: center;
110
- gap: 8px;
111
- font-size: 0.85rem;
112
- color: --text-muted;
113
- font-weight: 500;
114
- }
115
-
116
- .anycoder-link:hover { color: --primary; }
117
-
118
- /* --- MAIN CONTENT --- */
119
- .main-content {
120
- flex-grow: 1;
121
- background-color: --bg-body;
122
- overflow-y: auto;
123
- padding: 2rem;
124
- position: relative;
125
- }
126
-
127
- .header {
128
- display: flex;
129
- justify-content: space-between;
130
- align-items: center;
131
- margin-bottom: 2rem;
132
- }
133
-
134
- .header-title h1 { font-size: 1.5rem; font-weight: 600; color: --text-main; }
135
- .header-title p { color: --text-muted; font-size: 0.9rem; }
136
-
137
- .user-profile {
138
- display: flex;
139
- align-items: center;
140
- gap: 1rem;
141
- background: --bg-card;
142
- padding: 0.5rem 1rem;
143
- border-radius: 50px;
144
- border: 1px solid --border;
145
- box-shadow: --shadow;
146
- }
147
-
148
- .badge {
149
- padding: 4px 8px;
150
- border-radius: 4px;
151
- font-size: 0.75rem;
152
- font-weight: 600;
153
- text-transform: uppercase;
154
- }
155
- .badge-secure { background: --accent; color: white; }
156
- .badge-warning { background: --warning; color: white; }
157
-
158
- /* --- GRID & CARDS --- */
159
- .dashboard-grid {
160
- display: grid;
161
- grid-template-columns: repeat(3, 1fr);
162
- gap: 1.5rem;
163
- }
164
-
165
- .card {
166
- background: --bg-card;
167
- border-radius: --radius;
168
- padding: 1.5rem;
169
- box-shadow: --shadow;
170
- border: 1px solid --border;
171
- transition: transform 0.2s;
172
- }
173
-
174
- .card:hover { transform: translateY(-2px); }
175
-
176
- .card-header {
177
- display: flex;
178
- justify-content: space-between;
179
- align-items: center;
180
- margin-bottom: 1rem;
181
- color: --text-muted;
182
- font-size: 0.85rem;
183
- font-weight: 600;
184
- }
185
-
186
- /* --- WORKFLOW VISUALIZATION --- */
187
- .workflow-container {
188
- grid-column: span 2;
189
- display: flex;
190
- flex-direction: column;
191
- gap: 1rem;
192
- }
193
-
194
- .workflow-step {
195
- display: flex;
196
- align-items: center;
197
- gap: 1rem;
198
- padding: 1rem;
199
- background: #f8fafc;
200
- border-radius: --radius;
201
- border-left: 4px solid --border;
202
- }
203
-
204
- .workflow-step.active { border-left-color: --primary; background: #eff6ff; }
205
- .workflow-step.completed { border-left-color: --accent; }
206
-
207
- .step-icon {
208
- width: 30px;
209
- height: 30px;
210
- background: --primary;
211
- color: white;
212
- border-radius: 50%;
213
- display: flex;
214
- align-items: center;
215
- justify-content: center;
216
- font-size: 0.8rem;
217
- }
218
-
219
- .step-content { flex-grow: 1; }
220
- .step-title { font-weight: 600; color: --text-main; }
221
- .step-desc { font-size: 0.85rem; color: --text-muted; }
222
-
223
- /* --- COMPLIANCE MATRIX --- */
224
- .compliance-grid {
225
- display: grid;
226
- grid-template-columns: repeat(2, 1fr);
227
- gap: 1rem;
228
- }
229
-
230
- .compliance-item {
231
- display: flex;
232
- align-items: center;
233
- justify-content: space-between;
234
- padding: 0.8rem;
235
- background: #f8fafc;
236
- border-radius: 4px;
237
- }
238
-
239
- .status-dot {
240
- width: 10px;
241
- height: 10px;
242
- border-radius: 50%;
243
- background: --border;
244
- }
245
- .status-dot.green { background: --accent; }
246
- .status-dot.red { background: --danger; }
247
-
248
- /* --- GENOMIC DATA TABLE --- */
249
- .data-table {
250
- width: 100%;
251
- border-collapse: collapse;
252
- font-size: 0.85rem;
253
- }
254
-
255
- .data-table th { text-align: left; color: --text-muted; padding: 0.5rem; border-bottom: 1px solid --border; }
256
- .data-table td { padding: 0.8rem 0.5rem; border-bottom: 1px solid #f1f5f9; }
257
-
258
- .confidence-bar {
259
- height: 4px;
260
- background: #e2e8f0;
261
- border-radius: 2px;
262
- width: 100px;
263
- overflow: hidden;
264
- }
265
- .confidence-fill { height: 100%; background: --primary; }
266
-
267
- /* --- MOBILE RESPONSIVENESS --- */
268
- @media (max-width: 1024px) {
269
- .dashboard-grid { grid-template-columns: 1fr; }
270
- .workflow-container { grid-column: span 1; }
271
- }
272
-
273
- @media (max-width: 768px) {
274
- .sidebar {
275
- position: absolute;
276
- transform: translateX(-100%);
277
- height: 100%;
278
- box-shadow: --shadow;
279
- }
280
- .sidebar.open { transform: translateX(0); }
281
-
282
- .mobile-menu-btn {
283
- display: block;
284
- font-size: 1.5rem;
285
- cursor: pointer;
286
- color: --text-main;
287
- }
288
- .header-title h1 { font-size: 1.2rem; }
289
- }
290
-
291
- /* --- UTILITIES --- */
292
- .btn {
293
- padding: 0.6rem 1.2rem;
294
- border-radius: --radius;
295
- border: none;
296
- cursor: pointer;
297
- font-weight: 500;
298
- font-size: 0.9rem;
299
- transition: 0.2s;
300
- }
301
- .btn-primary { background: --primary; color: white; }
302
- .btn-primary:hover { background: --primary-dark; }
303
-
304
- /* --- ANIMATION --- */
305
- @keyframes pulse {
306
- 0% { opacity: 1; }
307
- 50% { opacity: 0.5; }
308
- 100% { opacity: 1; }
309
- }
310
- .processing { animation: pulse 1.5s infinite; }
311
-
312
- </style>
313
  </head>
 
314
  <body>
315
 
316
- <div class="app-container">
317
- <!-- SIDEBAR -->
318
- <nav class="sidebar" id="sidebar">
319
- <div class="brand">
320
- <i class="fa-solid fa-network-wired"></i>
321
- SSA Discovery
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  </div>
323
-
324
- <ul class="nav-links">
325
- <li class="nav-item"><a href="#" class="nav-link active"><i class="fa-solid fa-chart-line"></i> Dashboard</a></li>
326
- <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-folder-open"></i> Case Registry</a></li>
327
- <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-robot"></i> AI Workflow</a></li>
328
- <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-file-upload"></i> Evidence Upload</a></li>
329
- <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-shield-halved"></i> Compliance</a></li>
330
- <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-dna"></i> Genomic PRS</a></li>
331
- </ul>
332
-
333
- <div class="sidebar-footer">
334
- <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link" target="_blank">
335
- <i class="fa-solid fa-code"></i> Built with anycoder
336
- </a>
337
  </div>
338
- </nav>
339
-
340
- <!-- MAIN CONTENT -->
341
- <main class="main-content">
342
- <!-- HEADER -->
343
- <div class="header">
344
- <div class="header-title">
345
- <i class="fa-solid fa-bars mobile-menu-btn" onclick="toggleSidebar()" style="display:none; margin-right: 1rem;"></i>
346
- <h1>Case #2024-SSA-8921</h1>
347
- <p>Subject: Neurogenetic Disability Claim / Subchapter V Estate Asset</p>
348
- </div>
349
- <div class="user-profile">
350
- <div class="badge badge-secure">Kyber-768 Active</div>
351
- <div class="badge badge-warning">Audit Mode</div>
352
- <div style="font-weight: 600; font-size: 0.9rem;">Dr. A. Reviewer</div>
353
- <i class="fa-solid fa-circle-user" style="color: --text-muted;"></i>
354
- </div>
355
  </div>
356
-
357
- <!-- DASHBOARD GRID -->
358
- <div class="dashboard-grid">
359
-
360
- <!-- WORKFLOW STATUS (Left Column) -->
361
- <div class="card workflow-container">
362
- <div class="card-header">
363
- <span>Multi-Agent Orchestration</span>
364
- <span class="badge badge-secure">Running</span>
365
- </div>
366
-
367
- <!-- Step 1: Ingestion -->
368
- <div class="workflow-step completed">
369
- <div class="step-icon"><i class="fa-solid fa-check"></i></div>
370
- <div class="step-content">
371
- <div class="step-title">Document Ingestion</div>
372
- <div class="step-desc">OCR & Layout Analysis Complete</div>
373
- </div>
374
- </div>
375
-
376
- <!-- Step 2: Medical Extraction -->
377
- <div class="workflow-step completed">
378
- <div class="step-icon"><i class="fa-solid fa-check"></i></div>
379
- <div class="step-content">
380
- <div class="step-title">Medical Extraction Agent</div>
381
- <div class="step-desc">ICD-10 Normalization: 98% Match</div>
382
- </div>
383
- </div>
384
-
385
- <!-- Step 3: PRS Calculation -->
386
- <div class="workflow-step active">
387
- <div class="step-icon processing"><i class="fa-solid fa-spinner"></i></div>
388
- <div class="step-content">
389
- <div class="step-title">PRS Computation (GWAS)</div>
390
- <div class="step-desc">Calculating Polygenic Risk Score... Ancestry: EUR</div>
391
- </div>
392
- </div>
393
-
394
- <!-- Step 4: Legal Synthesis -->
395
- <div class="workflow-step">
396
- <div class="step-icon"><i class="fa-solid fa-lock"></i></div>
397
- <div class="step-content">
398
- <div class="step-title">Legal Brief Synthesis</div>
399
- <div class="step-desc">Waiting for PRS completion...</div>
400
- </div>
401
- </div>
402
- </div>
403
-
404
- <!-- COMPLIANCE MATRIX (Right Column Top) -->
405
- <div class="card">
406
- <div class="card-header">
407
- <span>Regulatory Compliance Engine</span>
408
- <i class="fa-solid fa-shield-check"></i>
409
- </div>
410
- <div class="compliance-grid">
411
- <div class="compliance-item">
412
- <span>HIPAA Privacy</span>
413
- <div class="status-dot green"></div>
414
- </div>
415
- <div class="compliance-item">
416
- <span>GINA Genetic</span>
417
- <div class="status-dot green"></div>
418
- </div>
419
- <div class="compliance-item">
420
- <span>SSR 16-4p</span>
421
- <div class="status-dot green"></div>
422
- </div>
423
- <div class="compliance-item">
424
- <span>ADA Accessibility</span>
425
- <div class="status-dot red"></div>
426
- </div>
427
- </div>
428
- <div style="margin-top: 1rem; font-size: 0.85rem; color: --text-muted;">
429
- <strong>SET Ledger:</strong> <span style="font-family: monospace;">sha3-256: 8a7...f39</span>
430
- </div>
431
- </div>
432
-
433
- <!-- GENOMIC DATA (Bottom Full Width) -->
434
- <div class="card" style="grid-column: span 3;">
435
- <div class="card-header">
436
- <span>Genomic Evidence Trace (PRS)</span>
437
- <button class="btn btn-primary" onclick="alert('Exporting JSON Schema...')">Export Evidence</button>
438
- </div>
439
-
440
- <table class="data-table">
441
- <thead>
442
- <tr>
443
- <th>SNP ID</th>
444
- <th>Allele</th>
445
- <th>Effect Size</th>
446
- <th>Confidence</th>
447
- <th>Source (DOI)</th>
448
- <th>Status</th>
449
- </tr>
450
- </thead>
451
- <tbody>
452
- <tr>
453
- <td>rs4680 (COMT)</td>
454
- <td>Val/Val</td>
455
- <td>0.45</td>
456
- <td><div class="confidence-bar"><div class="confidence-fill" style="width: 90%;"></div></div></td>
457
- <td>10.1038/ng.3945</td>
458
- <td style="color: --accent;">Verified</td>
459
- </tr>
460
- <tr>
461
- <td>rs10838543</td>
462
- <td>A/A</td>
463
- <td>0.12</td>
464
- <td><div class="confidence-bar"><div class="confidence-fill" style="width: 75%;"></div></div></td>
465
- <td>10.1001/psych.2023</td>
466
- <td style="color: --accent;">Verified</td>
467
- </tr>
468
- <tr>
469
- <td>rs1234567</td>
470
- <td>G/T</td>
471
- <td>0.03</td>
472
- <td><div class="confidence-bar"><div class="confidence-fill" style="width: 40%;"></div></div></td>
473
- <td>Pending Review</td>
474
- <td style="color: --warning;">Low Confidence</td>
475
- </tr>
476
- <tr>
477
- <td>rs987654</td>
478
- <td>C/C</td>
479
- <td>0.82</td>
480
- <td><div class="confidence-bar"><div class="confidence-fill" style="width: 95%;"></div></div></td>
481
- <td>10.1016/j.cell.2022</td>
482
- <td style="color: --accent;">Verified</td>
483
- </tr>
484
- </tbody>
485
- </table>
486
- </div>
487
-
488
- <!-- CREDITOR MATRIX (Bottom Right) -->
489
- <div class="card">
490
- <div class="card-header">
491
- <span>Bankruptcy Estate (Subchapter V)</span>
492
- <i class="fa-solid fa-file-contract"></i>
493
- </div>
494
- <div style="margin-bottom: 1rem;">
495
- <h3 style="font-size: 1.2rem;">Asset Valuation</h3>
496
- <div style="font-size: 2rem; font-weight: 700; color: --primary;">$1,250,000</div>
497
- <p style="color: --text-muted; font-size: 0.85rem;">IP Assets + Litigation Claims</p>
498
- </div>
499
- <div style="margin-top: 1rem; border-top: 1px solid --border; padding-top: 1rem;">
500
- <div style="display: flex; justify-content: space-between; margin-bottom: 0.5rem;">
501
- <span>Creditor Matrix</span>
502
- <span style="font-weight: 600;">Generated</span>
503
- </div>
504
- <div style="display: flex; justify-content: space-between; margin-bottom: 0.5rem;">
505
- <span>Trustee Status</span>
506
- <span style="font-weight: 600;">Pending Review</span>
507
- </div>
508
- </div>
509
- </div>
510
-
511
  </div>
512
- </main>
513
- </div>
514
-
515
- <script>
516
- // --- Mobile Sidebar Logic ---
517
- function toggleSidebar() {
518
- const sidebar = document.getElementById('sidebar');
519
- sidebar.classList.toggle('open');
520
-
521
- // Adjust media query logic for JS
522
- if (window.innerWidth > 768) {
523
- sidebar.style.transform = sidebar.classList.contains('open') ? 'translateX(0)' : 'translateX(-100%';
524
- }
525
- }
526
-
527
- // --- Dynamic Check for Mobile Menu Button ---
528
- function checkMobile() {
529
- const btn = document.querySelector('.mobile-menu-btn');
530
- if (window.innerWidth <= 768) {
531
- btn.style.display = 'block';
532
- } else {
533
- btn.style.display = 'none';
534
- document.getElementById('sidebar').style.transform = 'translateX(0)';
535
- }
536
- }
537
-
538
- window.addEventListener('resize', checkMobile);
539
- checkMobile(); // Initial check
540
-
541
- // --- Mock Workflow Progression ---
542
- // Simulates the AI agent processing steps
543
- const workflowSteps = document.querySelectorAll('.workflow-step');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
544
 
545
- setTimeout(() => {
546
- // Step 3 is already active (PRS)
547
- const step3 = workflowSteps[2];
548
- step3.classList.add('completed');
549
- step3.querySelector('.step-icon').innerHTML = '<i class="fa-solid fa-check"></i>';
550
- step3.querySelector('.step-desc').innerText = "PRS Calculation Complete: 0.87 Risk Score";
551
-
552
- // Step 4 becomes active
553
- const step4 = workflowSteps[3];
554
- step4.classList.add('active');
555
- step4.querySelector('.step-icon').classList.remove('processing');
556
- step4.querySelector('.step-icon').innerHTML = '<i class="fa-solid fa-spinner"></i>';
557
- step4.querySelector('.step-icon').classList.add('processing');
558
- step4.querySelector('.step-desc').innerText = "Synthesizing Brief...";
 
 
 
559
 
560
- }, 3000);
561
-
562
- // --- Navigation Click Handling ---
563
- const navLinks = document.querySelectorAll('.nav-link');
564
- navLinks.forEach(link => {
565
- link.addEventListener('click', (e) => {
566
- e.preventDefault();
567
- navLinks.forEach(l => l.classList.remove('active'));
568
- link.classList.add('active');
569
-
570
- // Simple view simulation
571
- if(link.innerText.includes('Evidence Upload')) {
572
- alert('Opening Secure Upload Interface... (Kyber-768 Encryption Ready)');
573
- } else if(link.innerText.includes('Genomic PRS')) {
574
- alert('Loading Genome Browser...');
575
- }
576
- });
577
  });
578
- </script>
 
579
  </body>
 
580
  </html>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
+
4
  <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>SSA Discovery | Subchapter V & Daubert Compliance</title>
8
+ <!-- Import Inter Font for modern UI -->
9
+ <link href="https://fonts.googleapis.com/css2?family=Inter:300,400,500,600,700&display=swap" rel="stylesheet">
10
+ <!-- Import FontAwesome for Icons -->
11
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
12
+
13
+ <style>
14
+ /* --- CSS VARIABLES & THEME --- */
15
+ :root {
16
+ --primary: #2563eb;
17
+ --primary-dark: #1e40af;
18
+ --secondary: #0f172a;
19
+ --accent: #10b981;
20
+ --danger: #ef4444;
21
+ --warning: #f59e0b;
22
+ --bg-body: #f8fafc;
23
+ --bg-card: #ffffff;
24
+ --text-main: #1e293b;
25
+ --text-muted: #64748b;
26
+ --border: #e2e8f0;
27
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
28
+ --radius: 8px;
29
+ --sidebar-width: 280px;
30
+ }
31
+
32
+ /* --- RESET & BASE --- */
33
+ * {
34
+ box-sizing: box-sizing;
35
+ margin: 0;
36
+ padding: 0;
37
+ }
38
+
39
+ body {
40
+ font-family: 'Inter', sans-serif;
41
+ background-color: var(--bg-body);
42
+ color: var(--text-main);
43
+ display: flex;
44
+ height: 100vh;
45
+ overflow: hidden;
46
+ }
47
+
48
+ a {
49
+ text-decoration: none;
50
+ color: inherit;
51
+ transition: 0.2s;
52
+ }
53
+
54
+ /* --- LAYOUT --- */
55
+ .app-container {
56
+ display: flex;
57
+ width: 100%;
58
+ height: 100%;
59
+ }
60
+
61
+ /* --- SIDEBAR --- */
62
+ .sidebar {
63
+ width: var(--sidebar-width);
64
+ background-color: var(--bg-card);
65
+ border-right: 1px solid var(--border);
66
+ display: flex;
67
+ flex-direction: column;
68
+ padding: 1.5rem;
69
+ transition: transform 0.3s ease;
70
+ z-index: 10;
71
+ }
72
+
73
+ .brand {
74
+ font-weight: 700;
75
+ font-size: 1.1rem;
76
+ color: var(--primary);
77
+ margin-bottom: 2rem;
78
+ display: flex;
79
+ align-items: center;
80
+ gap: 10px;
81
+ }
82
+
83
+ .nav-section-title {
84
+ font-size: 0.75rem;
85
+ text-transform: uppercase;
86
+ letter-spacing: 0.05em;
87
+ color: var(--text-muted);
88
+ margin-top: 1.5rem;
89
+ margin-bottom: 0.5rem;
90
+ font-weight: 600;
91
+ }
92
+
93
+ .nav-links {
94
+ list-style: none;
95
+ flex-grow: 1;
96
+ }
97
+
98
+ .nav-item {
99
+ margin-bottom: 0.25rem;
100
+ }
101
+
102
+ .nav-link {
103
+ display: flex;
104
+ align-items: center;
105
+ padding: 0.6rem 0.8rem;
106
+ color: var(--text-muted);
107
+ border-radius: var(--radius);
108
+ font-weight: 500;
109
+ gap: 10px;
110
+ font-size: 0.9rem;
111
+ }
112
+
113
+ .nav-link:hover,
114
+ .nav-link.active {
115
+ background-color: #f1f5f9;
116
+ color: var(--primary);
117
+ font-weight: 600;
118
+ }
119
+
120
+ .nav-link i {
121
+ width: 20px;
122
+ text-align: center;
123
+ }
124
+
125
+ .sidebar-footer {
126
+ margin-top: auto;
127
+ border-top: 1px solid var(--border);
128
+ padding-top: 1rem;
129
+ }
130
+
131
+ .anycoder-link {
132
+ display: flex;
133
+ align-items: center;
134
+ gap: 8px;
135
+ font-size: 0.8rem;
136
+ color: var(--text-muted);
137
+ font-weight: 500;
138
+ }
139
+
140
+ .anycoder-link:hover {
141
+ color: var(--primary);
142
+ }
143
+
144
+ /* --- MAIN CONTENT --- */
145
+ .main-content {
146
+ flex-grow: 1;
147
+ background-color: var(--bg-body);
148
+ overflow-y: auto;
149
+ padding: 2rem;
150
+ position: relative;
151
+ }
152
+
153
+ .header {
154
+ display: flex;
155
+ justify-content: space-between;
156
+ align-items: center;
157
+ margin-bottom: 2rem;
158
+ }
159
+
160
+ .header-title h1 {
161
+ font-size: 1.5rem;
162
+ font-weight: 600;
163
+ color: var(--text-main);
164
+ }
165
+
166
+ .header-title p {
167
+ color: var(--text-muted);
168
+ font-size: 0.9rem;
169
+ margin-top: 4px;
170
+ }
171
+
172
+ .user-profile {
173
+ display: flex;
174
+ align-items: center;
175
+ gap: 1rem;
176
+ background: var(--bg-card);
177
+ padding: 0.5rem 1rem;
178
+ border-radius: 50px;
179
+ border: 1px solid var(--border);
180
+ box-shadow: var(--shadow);
181
+ }
182
+
183
+ .badge {
184
+ padding: 4px 8px;
185
+ border-radius: 4px;
186
+ font-size: 0.75rem;
187
+ font-weight: 600;
188
+ text-transform: uppercase;
189
+ }
190
+
191
+ .badge-secure {
192
+ background: var(--accent);
193
+ color: white;
194
+ }
195
+
196
+ .badge-warning {
197
+ background: var(--warning);
198
+ color: white;
199
+ }
200
+
201
+ .badge-estate {
202
+ background: var(--secondary);
203
+ color: white;
204
+ }
205
+
206
+ /* --- GRID & CARDS --- */
207
+ .dashboard-grid {
208
+ display: grid;
209
+ grid-template-columns: repeat(3, 1fr);
210
+ gap: 1.5rem;
211
+ }
212
+
213
+ .card {
214
+ background: var(--bg-card);
215
+ border-radius: var(--radius);
216
+ padding: 1.5rem;
217
+ box-shadow: var(--shadow);
218
+ border: 1px solid var(--border);
219
+ transition: transform 0.2s;
220
+ }
221
+
222
+ .card:hover {
223
+ transform: translateY(-2px);
224
+ }
225
+
226
+ .card-header {
227
+ display: flex;
228
+ justify-content: space-between;
229
+ align-items: center;
230
+ margin-bottom: 1rem;
231
+ color: var(--text-muted);
232
+ font-size: 0.85rem;
233
+ font-weight: 600;
234
+ border-bottom: 1px solid #f1f5f9;
235
+ padding-bottom: 0.5rem;
236
+ }
237
+
238
+ /* --- DAUBERT / REPRODUCIBILITY WORKFLOW --- */
239
+ .workflow-container {
240
+ grid-column: span 2;
241
+ display: flex;
242
+ flex-direction: column;
243
+ gap: 1rem;
244
+ }
245
+
246
+ .workflow-step {
247
+ display: flex;
248
+ align-items: center;
249
+ gap: 1rem;
250
+ padding: 1rem;
251
+ background: #f8fafc;
252
+ border-radius: var(--radius);
253
+ border-left: 4px solid var(--border);
254
+ }
255
+
256
+ .workflow-step.active {
257
+ border-left-color: var(--primary);
258
+ background: #eff6ff;
259
+ }
260
+
261
+ .workflow-step.completed {
262
+ border-left-color: var(--accent);
263
+ }
264
+
265
+ .workflow-step.daubert-check {
266
+ border-left-color: var(--warning);
267
+ background: #fff7ed;
268
+ }
269
+
270
+ .step-icon {
271
+ width: 30px;
272
+ height: 30px;
273
+ background: var(--primary);
274
+ color: white;
275
+ border-radius: 50%;
276
+ display: flex;
277
+ align-items: center;
278
+ justify-content: center;
279
+ font-size: 0.8rem;
280
+ }
281
+
282
+ .step-content {
283
+ flex-grow: 1;
284
+ }
285
+
286
+ .step-title {
287
+ font-weight: 600;
288
+ color: var(--text-main);
289
+ }
290
+
291
+ .step-desc {
292
+ font-size: 0.85rem;
293
+ color: var(--text-muted);
294
+ }
295
+
296
+ /* --- CREDITOR MATRIX --- */
297
+ .creditor-list {
298
+ display: flex;
299
+ flex-direction: column;
300
+ gap: 0.5rem;
301
+ }
302
+
303
+ .creditor-item {
304
+ display: flex;
305
+ justify-content: space-between;
306
+ align-items: center;
307
+ padding: 0.8rem;
308
+ background: #f8fafc;
309
+ border-radius: 4px;
310
+ border: 1px solid transparent;
311
+ }
312
+
313
+ .creditor-item:hover {
314
+ border-color: var(--border);
315
+ }
316
+
317
+ .creditor-name {
318
+ font-weight: 500;
319
+ font-size: 0.9rem;
320
+ }
321
+
322
+ .creditor-type {
323
+ font-size: 0.75rem;
324
+ color: var(--text-muted);
325
+ text-transform: uppercase;
326
+ }
327
+
328
+ .creditor-amount {
329
+ font-weight: 600;
330
+ color: var(--text-main);
331
+ }
332
+
333
+ /* --- DATA TABLE --- */
334
+ .data-table {
335
+ width: 100%;
336
+ border-collapse: collapse;
337
+ font-size: 0.85rem;
338
+ }
339
+
340
+ .data-table th {
341
+ text-align: left;
342
+ color: var(--text-muted);
343
+ padding: 0.8rem 0.5rem;
344
+ border-bottom: 1px solid var(--border);
345
+ font-weight: 600;
346
+ }
347
+
348
+ .data-table td {
349
+ padding: 0.8rem 0.5rem;
350
+ border-bottom: 1px solid #f1f5f9;
351
+ }
352
+
353
+ .confidence-bar {
354
+ height: 6px;
355
+ background: #e2e8f0;
356
+ border-radius: 3px;
357
+ width: 80px;
358
+ overflow: hidden;
359
+ }
360
+
361
+ .confidence-fill {
362
+ height: 100%;
363
+ background: var(--primary);
364
+ }
365
+
366
+ /* --- MOBILE RESPONSIVENESS --- */
367
+ @media (max-width: 1024px) {
368
+ .dashboard-grid {
369
+ grid-template-columns: 1fr;
370
+ }
371
+
372
+ .workflow-container {
373
+ grid-column: span 1;
374
+ }
375
+ }
376
+
377
+ @media (max-width: 768px) {
378
+ .sidebar {
379
+ position: absolute;
380
+ transform: translateX(-100%);
381
+ height: 100%;
382
+ box-shadow: var(--shadow);
383
+ }
384
+
385
+ .sidebar.open {
386
+ transform: translateX(0);
387
+ }
388
+
389
+ .mobile-menu-btn {
390
+ display: block;
391
+ font-size: 1.5rem;
392
+ cursor: pointer;
393
+ color: var(--text-main);
394
+ }
395
+
396
+ .header-title h1 {
397
+ font-size: 1.2rem;
398
+ }
399
+ }
400
+
401
+ /* --- UTILITIES --- */
402
+ .btn {
403
+ padding: 0.6rem 1.2rem;
404
+ border-radius: var(--radius);
405
+ border: none;
406
+ cursor: pointer;
407
+ font-weight: 500;
408
+ font-size: 0.9rem;
409
+ transition: 0.2s;
410
+ }
411
+
412
+ .btn-primary {
413
+ background: var(--primary);
414
+ color: white;
415
+ }
416
+
417
+ .btn-primary:hover {
418
+ background: var(--primary-dark);
419
+ }
420
+
421
+ .btn-outline {
422
+ background: transparent;
423
+ border: 1px solid var(--border);
424
+ color: var(--text-main);
425
+ }
426
+
427
+ .btn-outline:hover {
428
+ background: #f1f5f9;
429
+ }
430
+
431
+ /* --- ANIMATION --- */
432
+ @keyframes pulse {
433
+ 0% { opacity: 1; }
434
+ 50% { opacity: 0.5; }
435
+ 100% { opacity: 1; }
436
+ }
437
+
438
+ .processing {
439
+ animation: pulse 1.5s infinite;
440
+ }
441
 
442
+ .manifest-tag {
443
+ font-family: monospace;
444
+ background: #f1f5f9;
445
+ padding: 2px 6px;
446
+ border-radius: 3px;
447
+ font-size: 0.75rem;
448
+ color: var(--text-muted);
449
+ }
450
+ </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
451
  </head>
452
+
453
  <body>
454
 
455
+ <div class="app-container">
456
+ <!-- SIDEBAR -->
457
+ <nav class="sidebar" id="sidebar">
458
+ <div class="brand">
459
+ <i class="fa-solid fa-network-wired"></i>
460
+ SSA Discovery
461
+ </div>
462
+
463
+ <!-- TRACK A: FINANCE -->
464
+ <div class="nav-section-title">Track A: Bankruptcy (Subchapter V)</div>
465
+ <ul class="nav-links">
466
+ <li class="nav-item"><a href="#" class="nav-link active"><i class="fa-solid fa-chart-line"></i> Dashboard</a></li>
467
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-file-contract"></i> Creditor Matrix</a></li>
468
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-gem"></i> IP Asset Valuation</a></li>
469
+ </ul>
470
+
471
+ <!-- TRACK B: SCIENCE -->
472
+ <div class="nav-section-title">Track B: Scientific Core</div>
473
+ <ul class="nav-links">
474
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-dna"></i> PRS Stratification</a></li>
475
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-flask"></i> Daubert Engine</a></li>
476
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-shield-check"></i> Reproducibility</a></li>
477
+ </ul>
478
+
479
+ <!-- TRACK C: LITIGATION -->
480
+ <div class="nav-section-title">Track C: Litigation</div>
481
+ <ul class="nav-links">
482
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-landmark"></i> Certiorari Petition</a></li>
483
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-folder-open"></i> Case Registry</a></li>
484
+ <li class="nav-item"><a href="#" class="nav-link"><i class="fa-solid fa-robot"></i> Gov-LLM Tools</a></li>
485
+ </ul>
486
+
487
+ <div class="sidebar-footer">
488
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link" target="_blank">
489
+ <i class="fa-solid fa-code"></i> Built with anycoder
490
+ </a>
491
+ </div>
492
+ </nav>
493
+
494
+ <!-- MAIN CONTENT -->
495
+ <main class="main-content">
496
+ <!-- HEADER -->
497
+ <div class="header">
498
+ <div class="header-title">
499
+ <i class="fa-solid fa-bars mobile-menu-btn" onclick="toggleSidebar()" style="display:none; margin-right: 1rem;"></i>
500
+ <h1>Estate Asset: #2024-SSA-8921</h1>
501
+ <p>Subject: Subchapter V Estate / Neurogenetic Disability Claim</p>
502
+ </div>
503
+ <div class="user-profile">
504
+ <div class="badge badge-secure">Kyber-768 Active</div>
505
+ <div class="badge badge-warning">Audit Mode</div>
506
+ <div class="badge badge-estate">Estate Asset</div>
507
+ <div style="font-weight: 600; font-size: 0.9rem;">Dr. A. Reviewer</div>
508
+ <i class="fa-solid fa-circle-user" style="color: var(--text-muted);"></i>
509
+ </div>
510
+ </div>
511
+
512
+ <!-- DASHBOARD GRID -->
513
+ <div class="dashboard-grid">
514
+
515
+ <!-- DAUBERT / REPRODUCIBILITY WORKFLOW (Left Column) -->
516
+ <div class="card workflow-container">
517
+ <div class="card-header">
518
+ <span>Daubert Compliance & Reproducibility Engine</span>
519
+ <span class="badge badge-secure">Validating</span>
520
+ </div>
521
+
522
+ <!-- Step 1: Data Integrity -->
523
+ <div class="workflow-step completed">
524
+ <div class="step-icon"><i class="fa-solid fa-check"></i></div>
525
+ <div class="step-content">
526
+ <div class="step-title">Cryptographic Provenance</div>
527
+ <div class="step-desc">SHA3-256 Hash Verified. Chain of Custody: Immutable.</div>
528
  </div>
529
+ </div>
530
+
531
+ <!-- Step 2: Statistical Methodology -->
532
+ <div class="workflow-step completed">
533
+ <div class="step-icon"><i class="fa-solid fa-check"></i></div>
534
+ <div class="step-content">
535
+ <div class="step-title">Statistical Calibration</div>
536
+ <div class="step-desc">PRS-CSx Recalibration Complete. Ancestry: EUR (PCA Matched).</div>
 
 
 
 
 
 
537
  </div>
538
+ </div>
539
+
540
+ <!-- Step 3: Reproducibility Manifest -->
541
+ <div class="workflow-step daubert-check">
542
+ <div class="step-icon processing"><i class="fa-solid fa-spinner"></i></div>
543
+ <div class="step-content">
544
+ <div class="step-title">Reproducibility Manifest Generation</div>
545
+ <div class="step-desc">Generating JSON Manifest (Docker Hash, RNG Seed, Git Commit)...</div>
 
 
 
 
 
 
 
 
 
546
  </div>
547
+ </div>
548
+
549
+ <!-- Step 4: Expert Report Synthesis -->
550
+ <div class="workflow-step">
551
+ <div class="step-icon"><i class="fa-solid fa-lock"></i></div>
552
+ <div class="step-content">
553
+ <div class="step-title">Expert Report Synthesis</div>
554
+ <div class="step-desc">Pending Manifest Validation...</div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  </div>
556
+ </div>
557
+ </div>
558
+
559
+ <!-- CREDITOR MATRIX (Right Column Top) -->
560
+ <div class="card">
561
+ <div class="card-header">
562
+ <span>Subchapter V Creditor Matrix</span>
563
+ <i class="fa-solid fa-file-contract"></i>
564
+ </div>
565
+ <div class="creditor-list">
566
+ <div class="creditor-item">
567
+ <div>
568
+ <div class="creditor-name">IRS (Tax Liability)</div>
569
+ <div class="creditor-type">Priority Unsecured</div>
570
+ </div>
571
+ <div class="creditor-amount">$42,500.00</div>
572
+ </div>
573
+ <div class="creditor-item">
574
+ <div>
575
+ <div class="creditor-name">Chase Bank (Mortgage)</div>
576
+ <div class="creditor-type">Secured</div>
577
+ </div>
578
+ <div class="creditor-amount">$210,000.00</div>
579
+ </div>
580
+ <div class="creditor-item">
581
+ <div>
582
+ <div class="creditor-name">Vendor: OpenRouter</div>
583
+ <div class="creditor-type">Unsecured</div>
584
+ </div>
585
+ <div class="creditor-amount">$1,250.00</div>
586
+ </div>
587
+ </div>
588
+ <div style="margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 0.8rem;">
589
+ <button class="btn btn-outline" style="width: 100%; font-size: 0.8rem;" onclick="alert('Exporting Court-Compliant Creditor Matrix (CSV/PDF)...')">
590
+ <i class="fa-solid fa-download"></i> Export Matrix
591
+ </button>
592
+ </div>
593
+ </div>
594
+
595
+ <!-- GENOMIC DATA / PRS STRATIFICATION (Bottom Full Width) -->
596
+ <div class="card" style="grid-column: span 3;">
597
+ <div class="card-header">
598
+ <span>Probabilistic Risk Stratification (PRS)</span>
599
+ <div style="display: flex; gap: 0.5rem;">
600
+ <button class="btn btn-outline" onclick="alert('Downloading Reproducibility Manifest JSON...')">
601
+ <i class="fa-solid fa-file-code"></i> Manifest
602
+ </button>
603
+ <button class="btn btn-primary" onclick="alert('Exporting Evidence Trace...')">
604
+ <i class="fa-solid fa-download"></i> Export Evidence
605
+ </button>
606
+ </div>
607
+ </div>
608
+
609
+ <table class="data-table">
610
+ <thead>
611
+ <tr>
612
+ <th>SNP ID</th>
613
+ <th>Allele</th>
614
+ <th>Effect Size</th>
615
+ <th>Confidence</th>
616
+ <th>Source (DOI)</th>
617
+ <th>Status</th>
618
+ </tr>
619
+ </thead>
620
+ <tbody>
621
+ <tr>
622
+ <td>rs4680 (COMT)</td>
623
+ <td>Val/Val</td>
624
+ <td>0.45</td>
625
+ <td>
626
+ <div class="confidence-bar">
627
+ <div class="confidence-fill" style="width: 90%;"></div>
628
+ </div>
629
+ </td>
630
+ <td>10.1038/ng.3945</td>
631
+ <td style="color: var(--accent);">Verified</td>
632
+ </tr>
633
+ <tr>
634
+ <td>rs10838543</td>
635
+ <td>A/A</td>
636
+ <td>0.12</td>
637
+ <td>
638
+ <div class="confidence-bar">
639
+ <div class="confidence-fill" style="width: 75%;"></div>
640
+ </div>
641
+ </td>
642
+ <td>10.1001/psych.2023</td>
643
+ <td style="color: var(--accent);">Verified</td>
644
+ </tr>
645
+ <tr>
646
+ <td>rs1234567</td>
647
+ <td>G/T</td>
648
+ <td>0.03</td>
649
+ <td>
650
+ <div class="confidence-bar">
651
+ <div class="confidence-fill" style="width: 40%;"></div>
652
+ </div>
653
+ </td>
654
+ <td>Pending Review</td>
655
+ <td style="color: var(--warning);">Low Confidence</td>
656
+ </tr>
657
+ <tr>
658
+ <td>rs987654</td>
659
+ <td>C/C</td>
660
+ <td>0.82</td>
661
+ <td>
662
+ <div class="confidence-bar">
663
+ <div class="confidence-fill" style="width: 95%;"></div>
664
+ </div>
665
+ </td>
666
+ <td>10.1016/j.cell.2022</td>
667
+ <td style="color: var(--accent);">Verified</td>
668
+ </tr>
669
+ </tbody>
670
+ </table>
671
+ <div style="margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted);">
672
+ <i class="fa-solid fa-circle-info"></i> <strong>Note:</strong> This data is presented as <strong>probabilistic risk stratification</strong> rather than diagnostic certainty. It does not establish legal incapacity.
673
+ </div>
674
+ </div>
675
+
676
+ <!-- IP ASSET VALUATION (Bottom Right) -->
677
+ <div class="card">
678
+ <div class="card-header">
679
+ <span>IP Asset Valuation (Estate)</span>
680
+ <i class="fa-solid fa-gem"></i>
681
+ </div>
682
+ <div style="margin-bottom: 1rem;">
683
+ <h3 style="font-size: 1.2rem;">Total Estimated Value</h3>
684
+ <div style="font-size: 2rem; font-weight: 700; color: var(--primary);">$1,250,000</div>
685
+ <p style="color: var(--text-muted); font-size: 0.85rem;">Includes: Gov-LLM Algo, PRS Engine, UI Codebase</p>
686
+ </div>
687
+ <div style="margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 1rem;">
688
+ <div style="display: flex; justify-content: space-between; margin-bottom: 0.5rem;">
689
+ <span>Trustee Status</span>
690
+ <span style="font-weight: 600;">Pending Review</span>
691
+ </div>
692
+ <div style="display: flex; justify-content: space-between; margin-bottom: 0.5rem;">
693
+ <span>Valuation Method</span>
694
+ <span class="manifest-tag">Income Approach</span>
695
+ </div>
696
+ </div>
697
+ </div>
698
+
699
+ </div>
700
+ </main>
701
+ </div>
702
+
703
+ <script>
704
+ // --- Mobile Sidebar Logic ---
705
+ function toggleSidebar() {
706
+ const sidebar = document.getElementById('sidebar');
707
+ sidebar.classList.toggle('open');
708
+
709
+ // Adjust media query logic for JS
710
+ if (window.innerWidth > 768) {
711
+ sidebar.style.transform = sidebar.classList.contains('open') ? 'translateX(0)' : 'translateX(-100%';
712
+ }
713
+ }
714
+
715
+ // --- Dynamic Check for Mobile Menu Button ---
716
+ function checkMobile() {
717
+ const btn = document.querySelector('.mobile-menu-btn');
718
+ if (window.innerWidth <= 768) {
719
+ btn.style.display = 'block';
720
+ } else {
721
+ btn.style.display = 'none';
722
+ document.getElementById('sidebar').style.transform = 'translateX(0)';
723
+ }
724
+ }
725
+
726
+ window.addEventListener('resize', checkMobile);
727
+ checkMobile(); // Initial check
728
+
729
+ // --- Mock Workflow Progression ---
730
+ // Simulates the Daubert compliance check
731
+ const workflowSteps = document.querySelectorAll('.workflow-step');
732
+
733
+ setTimeout(() => {
734
+ // Step 3 is already active (Reproducibility)
735
+ const step3 = workflowSteps[2];
736
+ step3.classList.add('completed');
737
+ step3.classList.remove('daubert-check');
738
+ step3.querySelector('.step-icon').innerHTML = '<i class="fa-solid fa-check"></i>';
739
+ step3.querySelector('.step-desc').innerText = "Manifest Generated: sha3-256:8a7...f39";
740
 
741
+ // Step 4 becomes active
742
+ const step4 = workflowSteps[3];
743
+ step4.classList.add('active');
744
+ step4.querySelector('.step-icon').classList.remove('processing');
745
+ step4.querySelector('.step-icon').innerHTML = '<i class="fa-solid fa-spinner"></i>';
746
+ step4.querySelector('.step-icon').classList.add('processing');
747
+ step4.querySelector('.step-desc').innerText = "Synthesizing Expert Report...";
748
+
749
+ }, 3000);
750
+
751
+ // --- Navigation Click Handling ---
752
+ const navLinks = document.querySelectorAll('.nav-link');
753
+ navLinks.forEach(link => {
754
+ link.addEventListener('click', (e) => {
755
+ e.preventDefault();
756
+ navLinks.forEach(l => l.classList.remove('active'));
757
+ link.classList.add('active');
758
 
759
+ // Simple view simulation
760
+ if(link.innerText.includes('Creditor Matrix')) {
761
+ alert('Opening Creditor Matrix Generator (Subchapter V)...');
762
+ } else if(link.innerText.includes('Certiorari Petition')) {
763
+ alert('Loading Certiorari Petition Builder (28 U.S.C. §1257)...');
764
+ }
 
 
 
 
 
 
 
 
 
 
 
765
  });
766
+ });
767
+ </script>
768
  </body>
769
+
770
  </html>