File size: 3,726 Bytes
c44fab6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
958ebfa
 
 
 
 
 
 
 
c44fab6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4944128
c44fab6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
958ebfa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c44fab6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

.header-brand-link:hover {
  opacity: 0.8;
}

.app-logo {
  height: 32px;
  width: auto;
}

.app-title {
  font-size: 20px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  margin: 0;
}

.app-title-link {
  all: unset;
  cursor: pointer;
}

.app-title-link:hover {
  opacity: 0.8;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions-mobile {
  display: none;
}

.header-actions-desktop {
  display: inline-flex;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: all 0.15s;
}

.icon-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.app-main {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.sidebar {
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 57px);
}

.content {
  flex: 1;
  min-height: 0;
  padding: 20px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Tablet: stack sidebar above content ──────────────────────── */
@media (max-width: 900px) {
  .app-header {
    padding: 10px 16px;
  }
  .app-main {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    min-width: auto;
    max-height: 200px;
    flex-shrink: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-primary);
  }
  .content {
    padding: 16px;
  }
}

/* ── Small tablet / large phone (<600px) ──────────────────────── */
@media (max-width: 600px) {
  .app-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-left {
    flex: 1 1 auto;
    min-width: 0;
  }
  .header-right {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
    max-width: 100%;
    min-width: 0;
  }
  .header-actions-desktop {
    display: none !important;
  }
  .header-actions-mobile {
    display: block;
  }
}

/* ── Phone ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .app-header {
    padding: 8px 12px;
    gap: 4px;
  }
  .app-logo {
    height: 24px;
  }
  .app-title {
    font-size: 14px;
  }
  .header-left {
    gap: 6px;
  }
  .header-right {
    gap: 4px;
  }
  .icon-btn {
    width: 32px;
    height: 32px;
  }
  .sidebar {
    max-height: 160px;
    padding: 8px;
  }
  .content {
    padding: 12px;
  }
}