File size: 2,265 Bytes
5ed471e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    background: #f5f5f5;
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #333;
}

.subtitle {
    color: #666;
    margin-bottom: 32px;
    font-size: 14px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #333;
}

button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
    font-family: inherit;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover { background: #1d4ed8; }
.btn-primary:disabled { background: #93c5fd; cursor: not-allowed; }

.btn-success {
    background: #16a34a;
    color: white;
}

.btn-success:hover { background: #15803d; }
.btn-success:disabled { background: #86efac; cursor: not-allowed; }

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover { background: #b91c1c; }

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover { background: #e5e7eb; }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.status-disconnected {
    background: #fee2e2;
    color: #dc2626;
}

.status-connected {
    background: #dcfce7;
    color: #16a34a;
}

#output {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #374151;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 16px;
}

.output-line {
    margin-bottom: 4px;
}

.note {
    background: #fef3c7;
    border: 1px solid #fde047;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #854d0e;
    margin-bottom: 16px;
}