feat: add HF OAuth auth, per-user sessions, chat history sidebar
Browse files- static/style.css +391 -986
static/style.css
CHANGED
|
@@ -33,14 +33,12 @@
|
|
| 33 |
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
| 34 |
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
|
| 35 |
--shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
/* Reset Rules */
|
| 39 |
-
* {
|
| 40 |
-
margin: 0;
|
| 41 |
-
padding: 0;
|
| 42 |
-
box-sizing: border-box;
|
| 43 |
-
}
|
| 44 |
|
| 45 |
body {
|
| 46 |
background-color: var(--bg-primary);
|
|
@@ -54,24 +52,10 @@ body {
|
|
| 54 |
-webkit-font-smoothing: antialiased;
|
| 55 |
}
|
| 56 |
|
| 57 |
-
|
| 58 |
-
::-webkit-scrollbar {
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
::-webkit-scrollbar-track {
|
| 64 |
-
background: transparent;
|
| 65 |
-
}
|
| 66 |
-
|
| 67 |
-
::-webkit-scrollbar-thumb {
|
| 68 |
-
background: #e5e7eb;
|
| 69 |
-
border-radius: 10px;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
::-webkit-scrollbar-thumb:hover {
|
| 73 |
-
background: #cbd5e1;
|
| 74 |
-
}
|
| 75 |
|
| 76 |
/* Parent container */
|
| 77 |
.app-container {
|
|
@@ -82,1134 +66,555 @@ body {
|
|
| 82 |
position: relative;
|
| 83 |
}
|
| 84 |
|
| 85 |
-
/*
|
| 86 |
-
|
| 87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
display: flex;
|
| 89 |
flex-direction: column;
|
| 90 |
height: 100%;
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
| 92 |
overflow: hidden;
|
| 93 |
-
position: relative;
|
| 94 |
-
width: 100%;
|
| 95 |
}
|
| 96 |
|
| 97 |
-
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
height: 56px;
|
| 100 |
border-bottom: 1px solid var(--border-color);
|
| 101 |
-
background-color: var(--bg-card);
|
| 102 |
display: flex;
|
| 103 |
align-items: center;
|
| 104 |
justify-content: space-between;
|
| 105 |
-
padding: 0
|
| 106 |
-
|
| 107 |
}
|
| 108 |
|
| 109 |
-
.header-brand {
|
| 110 |
display: flex;
|
| 111 |
align-items: center;
|
| 112 |
-
gap:
|
|
|
|
| 113 |
}
|
| 114 |
|
| 115 |
-
.
|
| 116 |
-
|
| 117 |
-
height: 24px;
|
| 118 |
-
object-fit: contain;
|
| 119 |
-
border-radius: 50%;
|
| 120 |
flex-shrink: 0;
|
| 121 |
}
|
| 122 |
|
| 123 |
-
.
|
| 124 |
-
|
| 125 |
-
font-size: 15px;
|
| 126 |
-
font-weight: 700;
|
| 127 |
-
letter-spacing: -0.3px;
|
| 128 |
-
color: var(--text-primary);
|
| 129 |
-
}
|
| 130 |
-
|
| 131 |
-
.header-actions {
|
| 132 |
display: flex;
|
|
|
|
|
|
|
| 133 |
gap: 8px;
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
/* Simplified Header Buttons */
|
| 137 |
-
.header-btn {
|
| 138 |
-
appearance: none;
|
| 139 |
-
-webkit-appearance: none;
|
| 140 |
-
background-color: var(--bg-card);
|
| 141 |
-
border: 1px solid var(--border-color);
|
| 142 |
border-radius: var(--border-radius-sm);
|
|
|
|
| 143 |
color: var(--text-secondary);
|
| 144 |
-
padding: 6px 12px;
|
| 145 |
-
font-size: 12px;
|
| 146 |
font-family: var(--font-body);
|
|
|
|
| 147 |
font-weight: 500;
|
| 148 |
cursor: pointer;
|
| 149 |
-
display: inline-flex;
|
| 150 |
-
align-items: center;
|
| 151 |
-
justify-content: center;
|
| 152 |
-
gap: 6px;
|
| 153 |
transition: var(--transition-smooth);
|
| 154 |
-
outline: none;
|
| 155 |
-
box-shadow: var(--shadow-sm);
|
| 156 |
}
|
| 157 |
|
| 158 |
-
.
|
| 159 |
background-color: var(--btn-light-bg);
|
| 160 |
border-color: #cbd5e1;
|
| 161 |
color: var(--text-primary);
|
|
|
|
| 162 |
}
|
| 163 |
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
transform: scale(0.98);
|
| 167 |
-
}
|
| 168 |
-
|
| 169 |
-
.header-btn svg {
|
| 170 |
-
flex-shrink: 0;
|
| 171 |
-
}
|
| 172 |
-
|
| 173 |
-
/* Viewport Layout */
|
| 174 |
-
.workspace-viewport {
|
| 175 |
flex: 1;
|
| 176 |
overflow-y: auto;
|
|
|
|
| 177 |
display: flex;
|
| 178 |
flex-direction: column;
|
|
|
|
| 179 |
}
|
| 180 |
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
width: 100%;
|
| 185 |
-
margin: auto;
|
| 186 |
-
padding: 40px 20px;
|
| 187 |
-
display: flex;
|
| 188 |
-
flex-direction: column;
|
| 189 |
-
align-items: center;
|
| 190 |
-
}
|
| 191 |
-
|
| 192 |
-
.welcome-heading {
|
| 193 |
-
font-family: var(--font-heading);
|
| 194 |
-
font-size: 26px;
|
| 195 |
-
font-weight: 600;
|
| 196 |
-
color: var(--text-primary);
|
| 197 |
-
margin-bottom: 24px;
|
| 198 |
-
letter-spacing: -0.4px;
|
| 199 |
text-align: center;
|
|
|
|
|
|
|
| 200 |
}
|
| 201 |
|
| 202 |
-
|
| 203 |
-
.console-box {
|
| 204 |
-
width: 100%;
|
| 205 |
-
background-color: var(--bg-card);
|
| 206 |
-
border: 1px solid var(--border-color);
|
| 207 |
-
border-radius: var(--border-radius-lg);
|
| 208 |
-
box-shadow: var(--shadow-md);
|
| 209 |
-
padding: 12px 16px;
|
| 210 |
display: flex;
|
| 211 |
-
|
| 212 |
-
|
|
|
|
|
|
|
|
|
|
| 213 |
transition: var(--transition-smooth);
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
.console-box:focus-within {
|
| 218 |
-
border-color: var(--border-focus);
|
| 219 |
-
box-shadow: var(--shadow-lg);
|
| 220 |
-
}
|
| 221 |
-
|
| 222 |
-
.console-box textarea {
|
| 223 |
-
width: 100%;
|
| 224 |
-
border: none;
|
| 225 |
-
outline: none;
|
| 226 |
-
resize: none;
|
| 227 |
-
font-family: var(--font-body);
|
| 228 |
-
font-size: 14.5px;
|
| 229 |
-
color: var(--text-primary);
|
| 230 |
-
background: transparent;
|
| 231 |
-
line-height: 1.45;
|
| 232 |
-
min-height: 50px;
|
| 233 |
}
|
| 234 |
|
| 235 |
-
.
|
| 236 |
-
color: var(--
|
| 237 |
}
|
| 238 |
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
display: flex;
|
| 243 |
-
flex-wrap: wrap;
|
| 244 |
-
gap: 6px;
|
| 245 |
-
padding-bottom: 2px;
|
| 246 |
}
|
| 247 |
|
| 248 |
-
.
|
| 249 |
display: flex;
|
| 250 |
-
justify-content: space-between;
|
| 251 |
align-items: center;
|
| 252 |
-
|
| 253 |
-
|
|
|
|
|
|
|
| 254 |
}
|
| 255 |
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
height: 28px;
|
| 260 |
-
border-radius: 50%;
|
| 261 |
-
border: 1px solid var(--border-color);
|
| 262 |
-
background: transparent;
|
| 263 |
-
color: var(--text-secondary);
|
| 264 |
-
cursor: pointer;
|
| 265 |
-
display: flex;
|
| 266 |
-
align-items: center;
|
| 267 |
-
justify-content: center;
|
| 268 |
-
transition: var(--transition-smooth);
|
| 269 |
-
outline: none;
|
| 270 |
}
|
| 271 |
|
| 272 |
-
.
|
| 273 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
color: var(--text-primary);
|
| 275 |
}
|
| 276 |
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
border: none;
|
| 283 |
-
|
| 284 |
-
color: #ffffff;
|
| 285 |
cursor: pointer;
|
|
|
|
| 286 |
display: flex;
|
| 287 |
align-items: center;
|
| 288 |
-
|
| 289 |
transition: var(--transition-smooth);
|
| 290 |
-
|
| 291 |
}
|
| 292 |
|
| 293 |
-
.
|
| 294 |
-
|
| 295 |
}
|
| 296 |
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
}
|
| 301 |
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
font-weight: 500;
|
| 308 |
}
|
| 309 |
|
| 310 |
-
.
|
| 311 |
display: flex;
|
|
|
|
| 312 |
gap: 10px;
|
| 313 |
-
justify-content: center;
|
| 314 |
-
flex-wrap: wrap;
|
| 315 |
}
|
| 316 |
|
| 317 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 318 |
display: flex;
|
| 319 |
align-items: center;
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
border: 1px solid var(--border-color);
|
| 325 |
-
cursor: pointer;
|
| 326 |
-
transition: var(--transition-smooth);
|
| 327 |
-
font-size: 12px;
|
| 328 |
-
font-weight: 500;
|
| 329 |
-
color: var(--text-secondary);
|
| 330 |
-
box-shadow: var(--shadow-sm);
|
| 331 |
}
|
| 332 |
|
| 333 |
-
.
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
|
|
|
| 338 |
}
|
| 339 |
|
| 340 |
-
.
|
| 341 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 342 |
}
|
| 343 |
|
| 344 |
-
.
|
| 345 |
-
font-size:
|
|
|
|
| 346 |
}
|
| 347 |
|
| 348 |
-
/*
|
| 349 |
-
|
|
|
|
|
|
|
| 350 |
flex: 1;
|
| 351 |
display: flex;
|
| 352 |
flex-direction: column;
|
| 353 |
height: 100%;
|
|
|
|
| 354 |
overflow: hidden;
|
|
|
|
|
|
|
| 355 |
}
|
| 356 |
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
|
|
|
| 361 |
display: flex;
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
margin: 0 auto;
|
| 367 |
}
|
| 368 |
|
| 369 |
-
|
| 370 |
-
.message-bubble {
|
| 371 |
display: flex;
|
| 372 |
-
|
| 373 |
-
gap:
|
| 374 |
-
max-width: 90%;
|
| 375 |
-
animation: slideUp 0.25s ease-out;
|
| 376 |
-
}
|
| 377 |
-
|
| 378 |
-
.message-bubble.user {
|
| 379 |
-
align-self: flex-end;
|
| 380 |
-
}
|
| 381 |
-
|
| 382 |
-
.message-bubble.assistant {
|
| 383 |
-
align-self: flex-start;
|
| 384 |
-
width: 100%;
|
| 385 |
-
max-width: 100%;
|
| 386 |
}
|
| 387 |
|
| 388 |
-
.
|
| 389 |
-
font-
|
| 390 |
-
|
| 391 |
font-weight: 600;
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
}
|
| 398 |
|
| 399 |
-
.
|
| 400 |
-
padding: 10px 14px;
|
| 401 |
-
border-radius: var(--border-radius-md);
|
| 402 |
-
font-size: 13.5px;
|
| 403 |
-
line-height: 1.5;
|
| 404 |
-
box-shadow: var(--shadow-sm);
|
| 405 |
-
}
|
| 406 |
|
| 407 |
-
.
|
| 408 |
-
background-color: var(--btn-light-bg);
|
| 409 |
-
border: 1px solid var(--border-color);
|
| 410 |
-
color: var(--text-primary);
|
| 411 |
-
border-bottom-right-radius: 4px;
|
| 412 |
-
}
|
| 413 |
|
| 414 |
-
.
|
|
|
|
|
|
|
| 415 |
background-color: var(--bg-card);
|
| 416 |
border: 1px solid var(--border-color);
|
| 417 |
-
color: var(--text-primary);
|
| 418 |
-
border-bottom-left-radius: 4px;
|
| 419 |
-
}
|
| 420 |
-
|
| 421 |
-
/* Bubble attachments grid */
|
| 422 |
-
.bubble-attachments {
|
| 423 |
-
display: grid;
|
| 424 |
-
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
| 425 |
-
gap: 6px;
|
| 426 |
-
margin-top: 8px;
|
| 427 |
-
max-width: 320px;
|
| 428 |
-
}
|
| 429 |
-
|
| 430 |
-
.bubble-attachment-card {
|
| 431 |
border-radius: var(--border-radius-sm);
|
| 432 |
-
overflow: hidden;
|
| 433 |
-
border: 1px solid var(--border-color);
|
| 434 |
-
background-color: #fafafa;
|
| 435 |
-
position: relative;
|
| 436 |
-
aspect-ratio: 16/10;
|
| 437 |
-
}
|
| 438 |
-
|
| 439 |
-
.bubble-attachment-card img,
|
| 440 |
-
.bubble-attachment-card video {
|
| 441 |
-
width: 100%;
|
| 442 |
-
height: 100%;
|
| 443 |
-
object-fit: cover;
|
| 444 |
-
}
|
| 445 |
-
|
| 446 |
-
.bubble-attachment-label {
|
| 447 |
-
position: absolute;
|
| 448 |
-
bottom: 0;
|
| 449 |
-
left: 0;
|
| 450 |
-
right: 0;
|
| 451 |
-
background: rgba(0, 0, 0, 0.6);
|
| 452 |
-
color: #fff;
|
| 453 |
-
font-size: 8px;
|
| 454 |
-
text-align: center;
|
| 455 |
-
padding: 1px;
|
| 456 |
-
font-family: var(--font-mono);
|
| 457 |
-
}
|
| 458 |
-
|
| 459 |
-
/* Collapsible Thoughts nodes */
|
| 460 |
-
.thought-container {
|
| 461 |
-
margin-bottom: 12px;
|
| 462 |
-
border: 1px solid var(--border-color);
|
| 463 |
-
border-radius: var(--border-radius-sm);
|
| 464 |
-
overflow: hidden;
|
| 465 |
-
}
|
| 466 |
-
|
| 467 |
-
.thought-header {
|
| 468 |
-
display: flex;
|
| 469 |
-
justify-content: space-between;
|
| 470 |
-
align-items: center;
|
| 471 |
-
padding: 6px 10px;
|
| 472 |
-
background-color: #f9fafb;
|
| 473 |
-
cursor: pointer;
|
| 474 |
-
user-select: none;
|
| 475 |
-
transition: var(--transition-smooth);
|
| 476 |
-
}
|
| 477 |
-
|
| 478 |
-
.thought-header:hover {
|
| 479 |
-
background-color: #f3f4f6;
|
| 480 |
-
}
|
| 481 |
-
|
| 482 |
-
.thought-title-group {
|
| 483 |
-
display: flex;
|
| 484 |
-
align-items: center;
|
| 485 |
-
gap: 6px;
|
| 486 |
-
font-family: var(--font-heading);
|
| 487 |
-
font-size: 11px;
|
| 488 |
-
font-weight: 600;
|
| 489 |
-
color: var(--text-secondary);
|
| 490 |
-
}
|
| 491 |
-
|
| 492 |
-
.thought-timer {
|
| 493 |
-
font-family: var(--font-mono);
|
| 494 |
-
font-size: 9.5px;
|
| 495 |
-
color: var(--text-muted);
|
| 496 |
-
}
|
| 497 |
-
|
| 498 |
-
.thought-toggle-icon {
|
| 499 |
-
font-size: 9px;
|
| 500 |
color: var(--text-secondary);
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
.thought-container.collapsed .thought-toggle-icon {
|
| 505 |
-
transform: rotate(-90deg);
|
| 506 |
-
}
|
| 507 |
-
|
| 508 |
-
.thought-content {
|
| 509 |
-
padding: 10px 12px;
|
| 510 |
-
font-family: var(--font-mono);
|
| 511 |
-
font-size: 11.5px;
|
| 512 |
-
color: var(--text-secondary);
|
| 513 |
-
background-color: #ffffff;
|
| 514 |
-
border-top: 1px solid var(--border-color);
|
| 515 |
-
white-space: pre-wrap;
|
| 516 |
-
max-height: 150px;
|
| 517 |
-
overflow-y: auto;
|
| 518 |
-
}
|
| 519 |
-
|
| 520 |
-
.thought-container.collapsed .thought-content {
|
| 521 |
-
display: none;
|
| 522 |
-
}
|
| 523 |
-
|
| 524 |
-
/* RP (Roleplay) Markdown Styles */
|
| 525 |
-
.rp-narration {
|
| 526 |
-
font-style: italic;
|
| 527 |
-
color: #6b7280;
|
| 528 |
-
background-color: rgba(107, 114, 128, 0.06);
|
| 529 |
-
padding: 1px 4px;
|
| 530 |
-
border-radius: 3px;
|
| 531 |
-
border-left: 2px solid #9ca3af;
|
| 532 |
-
}
|
| 533 |
-
|
| 534 |
-
.rp-dialogue {
|
| 535 |
-
color: #2563eb;
|
| 536 |
font-weight: 500;
|
| 537 |
-
background-color: rgba(37, 99, 235, 0.06);
|
| 538 |
-
padding: 1px 4px;
|
| 539 |
-
border-radius: 3px;
|
| 540 |
-
}
|
| 541 |
-
|
| 542 |
-
.rp-bold {
|
| 543 |
-
font-weight: 700;
|
| 544 |
-
color: #111827;
|
| 545 |
-
}
|
| 546 |
-
|
| 547 |
-
.rp-ooc {
|
| 548 |
-
color: #9ca3af;
|
| 549 |
-
font-style: italic;
|
| 550 |
-
opacity: 0.7;
|
| 551 |
-
font-size: 0.9em;
|
| 552 |
-
}
|
| 553 |
-
|
| 554 |
-
.rp-divider {
|
| 555 |
-
border: none;
|
| 556 |
-
border-top: 1px dashed #d1d5db;
|
| 557 |
-
margin: 12px 0;
|
| 558 |
-
}
|
| 559 |
-
|
| 560 |
-
/* Toggle Switch Component */
|
| 561 |
-
.toggle-switch {
|
| 562 |
-
position: relative;
|
| 563 |
-
display: inline-block;
|
| 564 |
-
width: 36px;
|
| 565 |
-
height: 20px;
|
| 566 |
-
flex-shrink: 0;
|
| 567 |
-
}
|
| 568 |
-
|
| 569 |
-
.toggle-switch input {
|
| 570 |
-
opacity: 0;
|
| 571 |
-
width: 0;
|
| 572 |
-
height: 0;
|
| 573 |
-
}
|
| 574 |
-
|
| 575 |
-
.toggle-slider {
|
| 576 |
-
position: absolute;
|
| 577 |
cursor: pointer;
|
| 578 |
-
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
border-radius: 20px;
|
| 585 |
-
}
|
| 586 |
-
|
| 587 |
-
.toggle-slider:before {
|
| 588 |
-
position: absolute;
|
| 589 |
-
content: "";
|
| 590 |
-
height: 14px;
|
| 591 |
-
width: 14px;
|
| 592 |
-
left: 3px;
|
| 593 |
-
bottom: 3px;
|
| 594 |
-
background-color: white;
|
| 595 |
-
transition: 0.2s;
|
| 596 |
-
border-radius: 50%;
|
| 597 |
-
}
|
| 598 |
-
|
| 599 |
-
.toggle-switch input:checked + .toggle-slider {
|
| 600 |
-
background-color: #111827;
|
| 601 |
-
}
|
| 602 |
-
|
| 603 |
-
.toggle-switch input:checked + .toggle-slider:before {
|
| 604 |
-
transform: translateX(16px);
|
| 605 |
-
}
|
| 606 |
-
|
| 607 |
-
.toggle-switch input:focus + .toggle-slider {
|
| 608 |
-
box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
|
| 609 |
-
}
|
| 610 |
-
|
| 611 |
-
/* Setting Description Text */
|
| 612 |
-
.setting-description {
|
| 613 |
-
font-size: 10.5px;
|
| 614 |
-
color: var(--text-muted);
|
| 615 |
-
line-height: 1.4;
|
| 616 |
-
padding-top: 2px;
|
| 617 |
-
}
|
| 618 |
-
|
| 619 |
-
/* Markdown typography rendering inside bubbles */
|
| 620 |
-
.markdown-body h1,
|
| 621 |
-
.markdown-body h2,
|
| 622 |
-
.markdown-body h3 {
|
| 623 |
-
margin-top: 12px;
|
| 624 |
-
margin-bottom: 4px;
|
| 625 |
-
font-family: var(--font-heading);
|
| 626 |
-
font-weight: 600;
|
| 627 |
-
}
|
| 628 |
-
|
| 629 |
-
.markdown-body h1 { font-size: 14.5px; border-bottom: 1px solid var(--border-light); padding-bottom: 2px; }
|
| 630 |
-
.markdown-body h2 { font-size: 13.5px; }
|
| 631 |
-
.markdown-body h3 { font-size: 12.5px; }
|
| 632 |
-
|
| 633 |
-
.markdown-body p {
|
| 634 |
-
margin-bottom: 6px;
|
| 635 |
-
}
|
| 636 |
-
|
| 637 |
-
.markdown-body p:last-child {
|
| 638 |
-
margin-bottom: 0;
|
| 639 |
-
}
|
| 640 |
-
|
| 641 |
-
.markdown-body code {
|
| 642 |
-
font-family: var(--font-mono);
|
| 643 |
-
font-size: 11px;
|
| 644 |
-
background-color: var(--btn-light-bg);
|
| 645 |
-
padding: 2px 4px;
|
| 646 |
-
border-radius: 4px;
|
| 647 |
-
color: var(--accent-blue);
|
| 648 |
-
}
|
| 649 |
-
|
| 650 |
-
.markdown-body pre {
|
| 651 |
-
margin: 10px 0;
|
| 652 |
-
border-radius: var(--border-radius-sm);
|
| 653 |
-
overflow: hidden;
|
| 654 |
-
border: 1px solid var(--border-color);
|
| 655 |
-
}
|
| 656 |
-
|
| 657 |
-
.markdown-body pre code {
|
| 658 |
-
display: block;
|
| 659 |
-
padding: 10px;
|
| 660 |
-
overflow-x: auto;
|
| 661 |
-
background-color: #0f172a !important;
|
| 662 |
-
color: #e2e8f0;
|
| 663 |
-
}
|
| 664 |
-
|
| 665 |
-
.markdown-body table {
|
| 666 |
-
width: 100%;
|
| 667 |
-
border-collapse: collapse;
|
| 668 |
-
margin: 10px 0;
|
| 669 |
-
font-size: 12px;
|
| 670 |
-
}
|
| 671 |
-
|
| 672 |
-
.markdown-body th,
|
| 673 |
-
.markdown-body td {
|
| 674 |
-
border: 1px solid var(--border-color);
|
| 675 |
-
padding: 6px 8px;
|
| 676 |
-
text-align: left;
|
| 677 |
-
}
|
| 678 |
-
|
| 679 |
-
.markdown-body th {
|
| 680 |
-
background-color: var(--bg-primary);
|
| 681 |
-
font-weight: 600;
|
| 682 |
-
}
|
| 683 |
-
|
| 684 |
-
/* Reply footer box */
|
| 685 |
-
.chat-mini-footer {
|
| 686 |
-
padding: 12px 20px;
|
| 687 |
-
background-color: var(--bg-workspace);
|
| 688 |
-
border-top: 1px solid var(--border-color);
|
| 689 |
-
}
|
| 690 |
-
|
| 691 |
-
.chat-mini-footer .console-box {
|
| 692 |
-
max-width: 680px;
|
| 693 |
-
margin: 0 auto;
|
| 694 |
box-shadow: var(--shadow-sm);
|
| 695 |
-
padding: 8px 12px;
|
| 696 |
-
border-radius: var(--border-radius-md);
|
| 697 |
-
margin-bottom: 0;
|
| 698 |
}
|
|
|
|
|
|
|
|
|
|
| 699 |
|
| 700 |
-
/*
|
| 701 |
-
.
|
| 702 |
-
position: absolute;
|
| 703 |
-
top: 0;
|
| 704 |
-
left: 0;
|
| 705 |
-
right: 0;
|
| 706 |
-
bottom: 0;
|
| 707 |
-
background-color: rgba(0, 0, 0, 0.2);
|
| 708 |
-
backdrop-filter: blur(1.5px);
|
| 709 |
-
z-index: 990;
|
| 710 |
-
opacity: 0;
|
| 711 |
-
pointer-events: none;
|
| 712 |
-
transition: opacity 0.2s ease;
|
| 713 |
-
}
|
| 714 |
-
|
| 715 |
-
.sidebar-overlay.active {
|
| 716 |
-
opacity: 1;
|
| 717 |
-
pointer-events: auto;
|
| 718 |
-
}
|
| 719 |
|
| 720 |
-
/*
|
| 721 |
-
.
|
| 722 |
-
|
| 723 |
-
|
| 724 |
-
|
| 725 |
-
|
| 726 |
-
width: 320px;
|
| 727 |
-
background-color: var(--bg-sidebar);
|
| 728 |
-
border-left: 1px solid var(--border-color);
|
| 729 |
display: flex;
|
| 730 |
flex-direction: column;
|
| 731 |
-
z-index: 1000;
|
| 732 |
-
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
| 733 |
-
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.03);
|
| 734 |
-
transform: translateX(0);
|
| 735 |
-
}
|
| 736 |
-
|
| 737 |
-
.sidebar-right.collapsed {
|
| 738 |
-
transform: translateX(100%);
|
| 739 |
-
}
|
| 740 |
-
|
| 741 |
-
.right-sidebar-header {
|
| 742 |
-
padding: 14px 20px;
|
| 743 |
-
border-bottom: 1px solid var(--border-color);
|
| 744 |
-
display: flex;
|
| 745 |
-
justify-content: space-between;
|
| 746 |
align-items: center;
|
| 747 |
}
|
| 748 |
|
| 749 |
-
.
|
| 750 |
font-family: var(--font-heading);
|
| 751 |
-
font-size:
|
| 752 |
font-weight: 600;
|
| 753 |
color: var(--text-primary);
|
|
|
|
|
|
|
|
|
|
| 754 |
}
|
| 755 |
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
|
| 760 |
-
.close-drawer:hover {
|
| 761 |
-
background-color: var(--btn-light-bg) !important;
|
| 762 |
-
}
|
| 763 |
-
|
| 764 |
-
.sidebar-right-content {
|
| 765 |
-
flex: 1;
|
| 766 |
-
overflow-y: auto;
|
| 767 |
-
padding: 16px;
|
| 768 |
-
display: flex;
|
| 769 |
-
flex-direction: column;
|
| 770 |
-
gap: 14px;
|
| 771 |
-
}
|
| 772 |
-
|
| 773 |
-
.right-block-card {
|
| 774 |
background-color: var(--bg-card);
|
| 775 |
border: 1px solid var(--border-color);
|
| 776 |
-
border-radius: var(--border-radius-
|
| 777 |
-
|
|
|
|
| 778 |
display: flex;
|
| 779 |
flex-direction: column;
|
| 780 |
gap: 10px;
|
| 781 |
-
}
|
| 782 |
-
|
| 783 |
-
.flex-1-card {
|
| 784 |
-
flex: 1;
|
| 785 |
-
min-height: 180px;
|
| 786 |
-
}
|
| 787 |
-
|
| 788 |
-
.card-block-header {
|
| 789 |
-
display: flex;
|
| 790 |
-
justify-content: space-between;
|
| 791 |
-
align-items: center;
|
| 792 |
-
}
|
| 793 |
-
|
| 794 |
-
.block-title {
|
| 795 |
-
font-family: var(--font-heading);
|
| 796 |
-
font-size: 12px;
|
| 797 |
-
font-weight: 600;
|
| 798 |
-
color: var(--text-primary);
|
| 799 |
-
}
|
| 800 |
-
|
| 801 |
-
/* Password Toggle and Credentials field */
|
| 802 |
-
input[type="password"] {
|
| 803 |
-
width: 100%;
|
| 804 |
-
background-color: #f9fafb;
|
| 805 |
-
border: 1px solid var(--border-color);
|
| 806 |
-
border-radius: var(--border-radius-sm);
|
| 807 |
-
color: var(--text-primary);
|
| 808 |
-
padding: 7px 10px;
|
| 809 |
-
font-size: 12px;
|
| 810 |
-
font-family: var(--font-body);
|
| 811 |
transition: var(--transition-smooth);
|
|
|
|
| 812 |
}
|
| 813 |
-
|
| 814 |
-
|
| 815 |
-
outline: none;
|
| 816 |
-
|
| 817 |
-
background-
|
| 818 |
-
}
|
| 819 |
-
|
| 820 |
-
.password-wrapper {
|
| 821 |
-
position: relative;
|
| 822 |
-
display: flex;
|
| 823 |
-
align-items: center;
|
| 824 |
-
}
|
| 825 |
-
|
| 826 |
-
.password-wrapper input {
|
| 827 |
-
padding-right: 32px;
|
| 828 |
-
}
|
| 829 |
-
|
| 830 |
-
.visibility-toggle {
|
| 831 |
-
position: absolute;
|
| 832 |
-
right: 6px;
|
| 833 |
-
background: transparent;
|
| 834 |
-
border: none;
|
| 835 |
-
color: var(--text-muted);
|
| 836 |
-
cursor: pointer;
|
| 837 |
-
padding: 4px;
|
| 838 |
-
display: flex;
|
| 839 |
-
align-items: center;
|
| 840 |
}
|
|
|
|
| 841 |
|
| 842 |
-
.
|
| 843 |
-
color: var(--text-primary);
|
| 844 |
-
}
|
| 845 |
|
| 846 |
-
|
| 847 |
-
.effort-picker {
|
| 848 |
-
display: flex;
|
| 849 |
-
background-color: #f9fafb;
|
| 850 |
-
border: 1px solid var(--border-color);
|
| 851 |
-
padding: 2.5px;
|
| 852 |
-
border-radius: var(--border-radius-sm);
|
| 853 |
-
gap: 2px;
|
| 854 |
-
}
|
| 855 |
|
| 856 |
-
.
|
| 857 |
-
|
| 858 |
-
|
| 859 |
-
text-
|
| 860 |
-
|
|
|
|
| 861 |
}
|
|
|
|
| 862 |
|
| 863 |
-
.
|
| 864 |
-
|
| 865 |
-
|
| 866 |
-
|
| 867 |
-
|
| 868 |
}
|
|
|
|
| 869 |
|
| 870 |
-
|
| 871 |
-
|
| 872 |
-
|
| 873 |
-
|
| 874 |
-
font-weight: 500;
|
| 875 |
-
border-radius: 4px;
|
| 876 |
-
color: var(--text-secondary);
|
| 877 |
-
transition: var(--transition-smooth);
|
| 878 |
-
font-family: var(--font-heading);
|
| 879 |
-
}
|
| 880 |
|
| 881 |
-
.
|
| 882 |
-
|
| 883 |
-
color:
|
|
|
|
|
|
|
|
|
|
| 884 |
}
|
|
|
|
|
|
|
|
|
|
| 885 |
|
| 886 |
-
|
| 887 |
-
|
| 888 |
-
background-color: rgba(0,0,0,0.02);
|
| 889 |
-
}
|
| 890 |
|
| 891 |
-
|
| 892 |
-
|
| 893 |
-
display: flex;
|
| 894 |
-
|
| 895 |
-
gap: 6px;
|
| 896 |
-
overflow-y: auto;
|
| 897 |
}
|
| 898 |
|
| 899 |
-
|
| 900 |
-
|
| 901 |
-
|
| 902 |
-
|
| 903 |
-
|
| 904 |
-
|
| 905 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 906 |
|
| 907 |
/* System Prompt Textarea */
|
| 908 |
-
.system-prompt-textarea {
|
| 909 |
-
|
| 910 |
-
|
| 911 |
-
|
| 912 |
-
|
| 913 |
-
|
| 914 |
-
|
| 915 |
-
|
| 916 |
-
|
| 917 |
-
|
| 918 |
-
|
| 919 |
-
min-height: 60px;
|
| 920 |
-
outline: none;
|
| 921 |
-
transition: var(--transition-smooth);
|
| 922 |
-
}
|
| 923 |
-
|
| 924 |
-
.system-prompt-textarea:focus {
|
| 925 |
-
border-color: var(--border-focus);
|
| 926 |
-
background-color: #ffffff;
|
| 927 |
-
}
|
| 928 |
-
|
| 929 |
-
.system-prompt-textarea::placeholder {
|
| 930 |
-
color: var(--text-muted);
|
| 931 |
-
}
|
| 932 |
|
| 933 |
/* Slider Input */
|
| 934 |
-
.slider-input {
|
| 935 |
-
|
| 936 |
-
|
| 937 |
-
|
| 938 |
-
|
| 939 |
-
border-radius: 2px;
|
| 940 |
-
background-color: #e5e7eb;
|
| 941 |
-
outline: none;
|
| 942 |
-
cursor: pointer;
|
| 943 |
-
}
|
| 944 |
-
|
| 945 |
-
.slider-input::-webkit-slider-thumb {
|
| 946 |
-
-webkit-appearance: none;
|
| 947 |
-
appearance: none;
|
| 948 |
-
width: 14px;
|
| 949 |
-
height: 14px;
|
| 950 |
-
border-radius: 50%;
|
| 951 |
-
background-color: #111827;
|
| 952 |
-
cursor: pointer;
|
| 953 |
-
transition: var(--transition-smooth);
|
| 954 |
-
}
|
| 955 |
-
|
| 956 |
-
.slider-input::-webkit-slider-thumb:hover {
|
| 957 |
-
background-color: #1f2937;
|
| 958 |
-
transform: scale(1.1);
|
| 959 |
-
}
|
| 960 |
-
|
| 961 |
-
.slider-input::-moz-range-thumb {
|
| 962 |
-
width: 14px;
|
| 963 |
-
height: 14px;
|
| 964 |
-
border-radius: 50%;
|
| 965 |
-
background-color: #111827;
|
| 966 |
-
cursor: pointer;
|
| 967 |
-
border: none;
|
| 968 |
-
}
|
| 969 |
-
|
| 970 |
-
/* Block Value Display */
|
| 971 |
-
.block-value {
|
| 972 |
-
font-family: var(--font-mono);
|
| 973 |
-
font-size: 11px;
|
| 974 |
-
color: var(--text-secondary);
|
| 975 |
-
font-weight: 500;
|
| 976 |
-
}
|
| 977 |
|
| 978 |
/* Code Block Copy Button */
|
| 979 |
-
.code-block-wrapper {
|
| 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 |
-
gap: 8px;
|
| 1011 |
-
transition: var(--transition-smooth);
|
| 1012 |
-
}
|
| 1013 |
-
|
| 1014 |
-
.media-chip-preview {
|
| 1015 |
-
width: 24px;
|
| 1016 |
-
height: 24px;
|
| 1017 |
-
border-radius: 4px;
|
| 1018 |
-
object-fit: cover;
|
| 1019 |
-
background-color: #eaeaea;
|
| 1020 |
-
flex-shrink: 0;
|
| 1021 |
-
display: flex;
|
| 1022 |
-
align-items: center;
|
| 1023 |
-
justify-content: center;
|
| 1024 |
-
font-size: 10px;
|
| 1025 |
-
}
|
| 1026 |
-
|
| 1027 |
-
.media-chip-preview img {
|
| 1028 |
-
width: 100%;
|
| 1029 |
-
height: 100%;
|
| 1030 |
-
object-fit: cover;
|
| 1031 |
-
}
|
| 1032 |
-
|
| 1033 |
-
.media-chip-details {
|
| 1034 |
-
flex: 1;
|
| 1035 |
-
min-width: 0;
|
| 1036 |
-
}
|
| 1037 |
-
|
| 1038 |
-
.media-chip-name {
|
| 1039 |
-
font-size: 10.5px;
|
| 1040 |
-
font-weight: 500;
|
| 1041 |
-
white-space: nowrap;
|
| 1042 |
-
overflow: hidden;
|
| 1043 |
-
text-overflow: ellipsis;
|
| 1044 |
-
color: var(--text-primary);
|
| 1045 |
-
}
|
| 1046 |
-
|
| 1047 |
-
.media-chip-meta {
|
| 1048 |
-
font-size: 9px;
|
| 1049 |
-
color: var(--text-muted);
|
| 1050 |
-
display: flex;
|
| 1051 |
-
gap: 4px;
|
| 1052 |
-
}
|
| 1053 |
-
|
| 1054 |
-
.media-chip-remove {
|
| 1055 |
-
background: transparent;
|
| 1056 |
-
border: none;
|
| 1057 |
-
color: var(--text-muted);
|
| 1058 |
-
cursor: pointer;
|
| 1059 |
-
padding: 3px;
|
| 1060 |
-
display: flex;
|
| 1061 |
-
}
|
| 1062 |
-
|
| 1063 |
-
.media-chip-remove:hover {
|
| 1064 |
-
color: var(--danger);
|
| 1065 |
-
}
|
| 1066 |
-
|
| 1067 |
-
/* Attachment preview thumbnail inside input fields */
|
| 1068 |
-
.quick-preview-item {
|
| 1069 |
-
width: 32px;
|
| 1070 |
-
height: 32px;
|
| 1071 |
-
border-radius: var(--border-radius-sm);
|
| 1072 |
-
border: 1px solid var(--border-color);
|
| 1073 |
-
overflow: hidden;
|
| 1074 |
-
position: relative;
|
| 1075 |
-
flex-shrink: 0;
|
| 1076 |
-
}
|
| 1077 |
-
|
| 1078 |
-
.quick-preview-item img {
|
| 1079 |
-
width: 100%;
|
| 1080 |
-
height: 100%;
|
| 1081 |
-
object-fit: cover;
|
| 1082 |
-
}
|
| 1083 |
-
|
| 1084 |
-
.quick-preview-badge {
|
| 1085 |
-
position: absolute;
|
| 1086 |
-
top: 1.5px;
|
| 1087 |
-
right: 1.5px;
|
| 1088 |
-
background-color: var(--accent-blue);
|
| 1089 |
-
width: 6px;
|
| 1090 |
-
height: 6px;
|
| 1091 |
-
border-radius: 50%;
|
| 1092 |
-
}
|
| 1093 |
-
|
| 1094 |
-
.right-sidebar-footer {
|
| 1095 |
-
padding: 10px 16px;
|
| 1096 |
-
border-top: 1px solid var(--border-color);
|
| 1097 |
-
}
|
| 1098 |
-
|
| 1099 |
-
.status-indicator-group {
|
| 1100 |
-
display: flex;
|
| 1101 |
-
align-items: center;
|
| 1102 |
-
gap: 6px;
|
| 1103 |
-
font-size: 10.5px;
|
| 1104 |
-
color: var(--text-secondary);
|
| 1105 |
-
}
|
| 1106 |
-
|
| 1107 |
-
.status-dot {
|
| 1108 |
-
width: 5px;
|
| 1109 |
-
height: 5px;
|
| 1110 |
-
border-radius: 50%;
|
| 1111 |
-
}
|
| 1112 |
-
|
| 1113 |
-
.status-dot.online {
|
| 1114 |
-
background-color: #10b981;
|
| 1115 |
-
}
|
| 1116 |
-
|
| 1117 |
-
/* Loading animations */
|
| 1118 |
-
.spinner-light {
|
| 1119 |
-
width: 12px;
|
| 1120 |
-
height: 12px;
|
| 1121 |
-
border: 1.5px solid rgba(255, 255, 255, 0.2);
|
| 1122 |
-
border-top: 1.5px solid #ffffff;
|
| 1123 |
-
border-radius: 50%;
|
| 1124 |
-
animation: spin 0.8s linear infinite;
|
| 1125 |
-
}
|
| 1126 |
-
|
| 1127 |
-
@keyframes spin {
|
| 1128 |
-
0% { transform: rotate(0deg); }
|
| 1129 |
-
100% { transform: rotate(360deg); }
|
| 1130 |
-
}
|
| 1131 |
-
|
| 1132 |
-
@keyframes slideUp {
|
| 1133 |
-
from { opacity: 0; transform: translateY(8px); }
|
| 1134 |
-
to { opacity: 1; transform: translateY(0); }
|
| 1135 |
-
}
|
| 1136 |
|
| 1137 |
/* ==========================================================================
|
| 1138 |
-
Responsive
|
| 1139 |
========================================================================== */
|
| 1140 |
-
|
| 1141 |
-
/* Drawer behavior on Tablet and Desktop */
|
| 1142 |
@media (min-width: 641px) {
|
| 1143 |
-
.sidebar-right.collapsed {
|
| 1144 |
-
|
| 1145 |
-
|
| 1146 |
-
|
| 1147 |
-
|
| 1148 |
-
.app-container:not(.settings-collapsed) .main-workspace {
|
| 1149 |
-
/* Only apply if you want layout shifting. Slicing over is cleaner! */
|
| 1150 |
-
}
|
| 1151 |
}
|
| 1152 |
|
| 1153 |
-
/* Ultra-mobile scaling details (screens < 640px) */
|
| 1154 |
@media (max-width: 640px) {
|
| 1155 |
-
body {
|
| 1156 |
-
font-size: 13.5px;
|
| 1157 |
-
}
|
| 1158 |
|
| 1159 |
-
.
|
| 1160 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1161 |
}
|
|
|
|
|
|
|
| 1162 |
|
| 1163 |
-
|
| 1164 |
-
.header-btn span {
|
| 1165 |
-
display: none;
|
| 1166 |
-
}
|
| 1167 |
|
| 1168 |
-
.
|
| 1169 |
-
|
| 1170 |
-
}
|
| 1171 |
|
| 1172 |
-
|
| 1173 |
-
.sidebar-right {
|
| 1174 |
-
width: 100% !important;
|
| 1175 |
-
border-left: none;
|
| 1176 |
-
}
|
| 1177 |
|
| 1178 |
-
.studio-dashboard {
|
| 1179 |
-
|
| 1180 |
-
}
|
| 1181 |
|
| 1182 |
-
.
|
| 1183 |
-
|
| 1184 |
-
|
| 1185 |
-
}
|
| 1186 |
-
|
| 1187 |
-
|
| 1188 |
-
.chat-messages-feed {
|
| 1189 |
-
padding: 16px;
|
| 1190 |
-
gap: 18px;
|
| 1191 |
-
}
|
| 1192 |
-
|
| 1193 |
-
.message-body {
|
| 1194 |
-
padding: 9px 12px;
|
| 1195 |
-
font-size: 13px;
|
| 1196 |
-
}
|
| 1197 |
-
|
| 1198 |
-
.message-bubble {
|
| 1199 |
-
max-width: 95%;
|
| 1200 |
-
}
|
| 1201 |
-
|
| 1202 |
-
.chat-mini-footer {
|
| 1203 |
-
padding: 10px 12px;
|
| 1204 |
-
}
|
| 1205 |
-
|
| 1206 |
-
.recipe-chip {
|
| 1207 |
-
padding: 6px 12px;
|
| 1208 |
-
font-size: 11.5px;
|
| 1209 |
-
}
|
| 1210 |
-
|
| 1211 |
-
.code-block-wrapper .copy-code-btn {
|
| 1212 |
-
font-size: 9px;
|
| 1213 |
-
padding: 1px 6px;
|
| 1214 |
-
}
|
| 1215 |
}
|
|
|
|
| 33 |
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
| 34 |
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
|
| 35 |
--shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
|
| 36 |
+
|
| 37 |
+
--sidebar-left-width: 260px;
|
| 38 |
}
|
| 39 |
|
| 40 |
/* Reset Rules */
|
| 41 |
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
body {
|
| 44 |
background-color: var(--bg-primary);
|
|
|
|
| 52 |
-webkit-font-smoothing: antialiased;
|
| 53 |
}
|
| 54 |
|
| 55 |
+
::-webkit-scrollbar { width: 4px; height: 4px; }
|
| 56 |
+
::-webkit-scrollbar-track { background: transparent; }
|
| 57 |
+
::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 10px; }
|
| 58 |
+
::-webkit-scrollbar-thumb:hover { background: #cbd5e1; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
/* Parent container */
|
| 61 |
.app-container {
|
|
|
|
| 66 |
position: relative;
|
| 67 |
}
|
| 68 |
|
| 69 |
+
/* ============================================================
|
| 70 |
+
LEFT SIDEBAR: Chat History
|
| 71 |
+
============================================================ */
|
| 72 |
+
.sidebar-left {
|
| 73 |
+
width: var(--sidebar-left-width);
|
| 74 |
+
min-width: var(--sidebar-left-width);
|
| 75 |
+
background-color: var(--bg-card);
|
| 76 |
+
border-right: 1px solid var(--border-color);
|
| 77 |
display: flex;
|
| 78 |
flex-direction: column;
|
| 79 |
height: 100%;
|
| 80 |
+
z-index: 10;
|
| 81 |
+
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
| 82 |
+
min-width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
| 83 |
+
opacity 0.15s ease;
|
| 84 |
overflow: hidden;
|
|
|
|
|
|
|
| 85 |
}
|
| 86 |
|
| 87 |
+
.sidebar-left.collapsed {
|
| 88 |
+
width: 0;
|
| 89 |
+
min-width: 0;
|
| 90 |
+
border-right: none;
|
| 91 |
+
opacity: 0;
|
| 92 |
+
pointer-events: none;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.left-sidebar-header {
|
| 96 |
height: 56px;
|
| 97 |
border-bottom: 1px solid var(--border-color);
|
|
|
|
| 98 |
display: flex;
|
| 99 |
align-items: center;
|
| 100 |
justify-content: space-between;
|
| 101 |
+
padding: 0 12px 0 16px;
|
| 102 |
+
flex-shrink: 0;
|
| 103 |
}
|
| 104 |
|
| 105 |
+
.left-sidebar-header .header-brand {
|
| 106 |
display: flex;
|
| 107 |
align-items: center;
|
| 108 |
+
gap: 8px;
|
| 109 |
+
overflow: hidden;
|
| 110 |
}
|
| 111 |
|
| 112 |
+
.left-sidebar-actions {
|
| 113 |
+
padding: 10px 12px;
|
|
|
|
|
|
|
|
|
|
| 114 |
flex-shrink: 0;
|
| 115 |
}
|
| 116 |
|
| 117 |
+
.new-chat-btn {
|
| 118 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
display: flex;
|
| 120 |
+
align-items: center;
|
| 121 |
+
justify-content: center;
|
| 122 |
gap: 8px;
|
| 123 |
+
padding: 8px 16px;
|
| 124 |
+
border: 1px dashed var(--border-color);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
border-radius: var(--border-radius-sm);
|
| 126 |
+
background: transparent;
|
| 127 |
color: var(--text-secondary);
|
|
|
|
|
|
|
| 128 |
font-family: var(--font-body);
|
| 129 |
+
font-size: 12px;
|
| 130 |
font-weight: 500;
|
| 131 |
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
transition: var(--transition-smooth);
|
|
|
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
+
.new-chat-btn:hover {
|
| 136 |
background-color: var(--btn-light-bg);
|
| 137 |
border-color: #cbd5e1;
|
| 138 |
color: var(--text-primary);
|
| 139 |
+
border-style: solid;
|
| 140 |
}
|
| 141 |
|
| 142 |
+
/* Chat History List */
|
| 143 |
+
.chat-history-list {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
flex: 1;
|
| 145 |
overflow-y: auto;
|
| 146 |
+
padding: 4px 8px;
|
| 147 |
display: flex;
|
| 148 |
flex-direction: column;
|
| 149 |
+
gap: 2px;
|
| 150 |
}
|
| 151 |
|
| 152 |
+
.empty-history-text {
|
| 153 |
+
font-size: 11px;
|
| 154 |
+
color: var(--text-muted);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
text-align: center;
|
| 156 |
+
padding: 20px 8px;
|
| 157 |
+
font-style: italic;
|
| 158 |
}
|
| 159 |
|
| 160 |
+
.chat-history-item {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
display: flex;
|
| 162 |
+
align-items: center;
|
| 163 |
+
justify-content: space-between;
|
| 164 |
+
padding: 8px 10px;
|
| 165 |
+
border-radius: var(--border-radius-sm);
|
| 166 |
+
cursor: pointer;
|
| 167 |
transition: var(--transition-smooth);
|
| 168 |
+
gap: 6px;
|
| 169 |
+
min-width: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
}
|
| 171 |
|
| 172 |
+
.chat-history-item:hover {
|
| 173 |
+
background-color: var(--btn-light-bg);
|
| 174 |
}
|
| 175 |
|
| 176 |
+
.chat-history-item.active {
|
| 177 |
+
background-color: var(--accent-blue-bg);
|
| 178 |
+
border: 1px solid rgba(37, 99, 235, 0.15);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
}
|
| 180 |
|
| 181 |
+
.chat-item-content {
|
| 182 |
display: flex;
|
|
|
|
| 183 |
align-items: center;
|
| 184 |
+
gap: 8px;
|
| 185 |
+
flex: 1;
|
| 186 |
+
min-width: 0;
|
| 187 |
+
color: var(--text-secondary);
|
| 188 |
}
|
| 189 |
|
| 190 |
+
.chat-item-content svg {
|
| 191 |
+
flex-shrink: 0;
|
| 192 |
+
opacity: 0.5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
}
|
| 194 |
|
| 195 |
+
.chat-item-title {
|
| 196 |
+
font-size: 12px;
|
| 197 |
+
font-weight: 500;
|
| 198 |
+
white-space: nowrap;
|
| 199 |
+
overflow: hidden;
|
| 200 |
+
text-overflow: ellipsis;
|
| 201 |
color: var(--text-primary);
|
| 202 |
}
|
| 203 |
|
| 204 |
+
.chat-item-date {
|
| 205 |
+
font-size: 9px;
|
| 206 |
+
color: var(--text-muted);
|
| 207 |
+
flex-shrink: 0;
|
| 208 |
+
margin-left: auto;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
.chat-item-delete {
|
| 212 |
+
opacity: 0;
|
| 213 |
+
background: transparent;
|
| 214 |
border: none;
|
| 215 |
+
color: var(--text-muted);
|
|
|
|
| 216 |
cursor: pointer;
|
| 217 |
+
padding: 4px;
|
| 218 |
display: flex;
|
| 219 |
align-items: center;
|
| 220 |
+
border-radius: 4px;
|
| 221 |
transition: var(--transition-smooth);
|
| 222 |
+
flex-shrink: 0;
|
| 223 |
}
|
| 224 |
|
| 225 |
+
.chat-history-item:hover .chat-item-delete {
|
| 226 |
+
opacity: 1;
|
| 227 |
}
|
| 228 |
|
| 229 |
+
.chat-item-delete:hover {
|
| 230 |
+
color: var(--danger);
|
| 231 |
+
background-color: #fef2f2;
|
| 232 |
}
|
| 233 |
|
| 234 |
+
/* User Profile Footer */
|
| 235 |
+
.left-sidebar-footer {
|
| 236 |
+
border-top: 1px solid var(--border-color);
|
| 237 |
+
padding: 10px 12px;
|
| 238 |
+
flex-shrink: 0;
|
|
|
|
| 239 |
}
|
| 240 |
|
| 241 |
+
.user-profile {
|
| 242 |
display: flex;
|
| 243 |
+
align-items: center;
|
| 244 |
gap: 10px;
|
|
|
|
|
|
|
| 245 |
}
|
| 246 |
|
| 247 |
+
.user-avatar {
|
| 248 |
+
width: 32px;
|
| 249 |
+
height: 32px;
|
| 250 |
+
border-radius: 50%;
|
| 251 |
+
background-color: var(--btn-light-bg);
|
| 252 |
display: flex;
|
| 253 |
align-items: center;
|
| 254 |
+
justify-content: center;
|
| 255 |
+
color: var(--text-muted);
|
| 256 |
+
flex-shrink: 0;
|
| 257 |
+
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 258 |
}
|
| 259 |
|
| 260 |
+
.user-info {
|
| 261 |
+
flex: 1;
|
| 262 |
+
min-width: 0;
|
| 263 |
+
display: flex;
|
| 264 |
+
flex-direction: column;
|
| 265 |
+
gap: 1px;
|
| 266 |
}
|
| 267 |
|
| 268 |
+
.user-name {
|
| 269 |
+
font-size: 12px;
|
| 270 |
+
font-weight: 600;
|
| 271 |
+
color: var(--text-primary);
|
| 272 |
+
white-space: nowrap;
|
| 273 |
+
overflow: hidden;
|
| 274 |
+
text-overflow: ellipsis;
|
| 275 |
}
|
| 276 |
|
| 277 |
+
.user-status {
|
| 278 |
+
font-size: 9.5px;
|
| 279 |
+
color: var(--text-muted);
|
| 280 |
}
|
| 281 |
|
| 282 |
+
/* ============================================================
|
| 283 |
+
MAIN WORKSPACE
|
| 284 |
+
============================================================ */
|
| 285 |
+
.main-workspace {
|
| 286 |
flex: 1;
|
| 287 |
display: flex;
|
| 288 |
flex-direction: column;
|
| 289 |
height: 100%;
|
| 290 |
+
background-color: var(--bg-workspace);
|
| 291 |
overflow: hidden;
|
| 292 |
+
position: relative;
|
| 293 |
+
min-width: 0;
|
| 294 |
}
|
| 295 |
|
| 296 |
+
/* Header Bar */
|
| 297 |
+
.workspace-header {
|
| 298 |
+
height: 56px;
|
| 299 |
+
border-bottom: 1px solid var(--border-color);
|
| 300 |
+
background-color: var(--bg-card);
|
| 301 |
display: flex;
|
| 302 |
+
align-items: center;
|
| 303 |
+
justify-content: space-between;
|
| 304 |
+
padding: 0 20px;
|
| 305 |
+
z-index: 10;
|
|
|
|
| 306 |
}
|
| 307 |
|
| 308 |
+
.header-left-group {
|
|
|
|
| 309 |
display: flex;
|
| 310 |
+
align-items: center;
|
| 311 |
+
gap: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 312 |
}
|
| 313 |
|
| 314 |
+
.chat-title-header {
|
| 315 |
+
font-family: var(--font-heading);
|
| 316 |
+
font-size: 14px;
|
| 317 |
font-weight: 600;
|
| 318 |
+
color: var(--text-primary);
|
| 319 |
+
white-space: nowrap;
|
| 320 |
+
overflow: hidden;
|
| 321 |
+
text-overflow: ellipsis;
|
| 322 |
+
max-width: 300px;
|
| 323 |
}
|
| 324 |
|
| 325 |
+
.mobile-only { display: none !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 326 |
|
| 327 |
+
.header-actions { display: flex; gap: 8px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 328 |
|
| 329 |
+
.header-btn {
|
| 330 |
+
appearance: none;
|
| 331 |
+
-webkit-appearance: none;
|
| 332 |
background-color: var(--bg-card);
|
| 333 |
border: 1px solid var(--border-color);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 334 |
border-radius: var(--border-radius-sm);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 335 |
color: var(--text-secondary);
|
| 336 |
+
padding: 6px 12px;
|
| 337 |
+
font-size: 12px;
|
| 338 |
+
font-family: var(--font-body);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 340 |
cursor: pointer;
|
| 341 |
+
display: inline-flex;
|
| 342 |
+
align-items: center;
|
| 343 |
+
justify-content: center;
|
| 344 |
+
gap: 6px;
|
| 345 |
+
transition: var(--transition-smooth);
|
| 346 |
+
outline: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 347 |
box-shadow: var(--shadow-sm);
|
|
|
|
|
|
|
|
|
|
| 348 |
}
|
| 349 |
+
.header-btn:hover { background-color: var(--btn-light-bg); border-color: #cbd5e1; color: var(--text-primary); }
|
| 350 |
+
.header-btn:active { background-color: var(--btn-light-hover); transform: scale(0.98); }
|
| 351 |
+
.header-btn svg { flex-shrink: 0; }
|
| 352 |
|
| 353 |
+
/* Viewport Layout */
|
| 354 |
+
.workspace-viewport { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 355 |
|
| 356 |
+
/* Studio Dashboard (Empty state) */
|
| 357 |
+
.studio-dashboard {
|
| 358 |
+
max-width: 640px;
|
| 359 |
+
width: 100%;
|
| 360 |
+
margin: auto;
|
| 361 |
+
padding: 40px 20px;
|
|
|
|
|
|
|
|
|
|
| 362 |
display: flex;
|
| 363 |
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 364 |
align-items: center;
|
| 365 |
}
|
| 366 |
|
| 367 |
+
.welcome-heading {
|
| 368 |
font-family: var(--font-heading);
|
| 369 |
+
font-size: 26px;
|
| 370 |
font-weight: 600;
|
| 371 |
color: var(--text-primary);
|
| 372 |
+
margin-bottom: 24px;
|
| 373 |
+
letter-spacing: -0.4px;
|
| 374 |
+
text-align: center;
|
| 375 |
}
|
| 376 |
|
| 377 |
+
/* Console Container Box */
|
| 378 |
+
.console-box {
|
| 379 |
+
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 380 |
background-color: var(--bg-card);
|
| 381 |
border: 1px solid var(--border-color);
|
| 382 |
+
border-radius: var(--border-radius-lg);
|
| 383 |
+
box-shadow: var(--shadow-md);
|
| 384 |
+
padding: 12px 16px;
|
| 385 |
display: flex;
|
| 386 |
flex-direction: column;
|
| 387 |
gap: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 388 |
transition: var(--transition-smooth);
|
| 389 |
+
margin-bottom: 36px;
|
| 390 |
}
|
| 391 |
+
.console-box:focus-within { border-color: var(--border-focus); box-shadow: var(--shadow-lg); }
|
| 392 |
+
.console-box textarea {
|
| 393 |
+
width: 100%; border: none; outline: none; resize: none;
|
| 394 |
+
font-family: var(--font-body); font-size: 14.5px; color: var(--text-primary);
|
| 395 |
+
background: transparent; line-height: 1.45; min-height: 50px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
}
|
| 397 |
+
.console-box textarea::placeholder { color: var(--text-muted); }
|
| 398 |
|
| 399 |
+
.inner-shelf-preview, .mini-shelf-preview { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 2px; }
|
|
|
|
|
|
|
| 400 |
|
| 401 |
+
.console-action-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 10px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 402 |
|
| 403 |
+
.circle-btn-action {
|
| 404 |
+
width: 28px; height: 28px; border-radius: 50%;
|
| 405 |
+
border: 1px solid var(--border-color); background: transparent;
|
| 406 |
+
color: var(--text-secondary); cursor: pointer;
|
| 407 |
+
display: flex; align-items: center; justify-content: center;
|
| 408 |
+
transition: var(--transition-smooth); outline: none;
|
| 409 |
}
|
| 410 |
+
.circle-btn-action:hover { background-color: var(--btn-light-bg); color: var(--text-primary); }
|
| 411 |
|
| 412 |
+
.circle-btn-send {
|
| 413 |
+
width: 28px; height: 28px; border-radius: 50%; border: none;
|
| 414 |
+
background-color: #1f2937; color: #ffffff; cursor: pointer;
|
| 415 |
+
display: flex; align-items: center; justify-content: center;
|
| 416 |
+
transition: var(--transition-smooth); outline: none;
|
| 417 |
}
|
| 418 |
+
.circle-btn-send:hover { background-color: #111827; }
|
| 419 |
|
| 420 |
+
/* Showcase chips */
|
| 421 |
+
.showcase-section { width: 100%; }
|
| 422 |
+
.showcase-title { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 12px; text-align: center; font-weight: 500; }
|
| 423 |
+
.showcase-chips-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 424 |
|
| 425 |
+
.recipe-chip {
|
| 426 |
+
display: flex; align-items: center; gap: 8px; padding: 8px 16px;
|
| 427 |
+
border-radius: var(--border-radius-pill); background-color: var(--bg-card);
|
| 428 |
+
border: 1px solid var(--border-color); cursor: pointer;
|
| 429 |
+
transition: var(--transition-smooth); font-size: 12px; font-weight: 500;
|
| 430 |
+
color: var(--text-secondary); box-shadow: var(--shadow-sm);
|
| 431 |
}
|
| 432 |
+
.recipe-chip:hover { background-color: var(--btn-light-bg); border-color: #cbd5e1; color: var(--text-primary); transform: translateY(-1px); }
|
| 433 |
+
.recipe-chip:active { transform: translateY(0); }
|
| 434 |
+
.chip-icon { font-size: 14px; }
|
| 435 |
|
| 436 |
+
/* Chat thread viewport */
|
| 437 |
+
.chat-thread-container { flex: 1; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
|
|
|
|
|
|
|
| 438 |
|
| 439 |
+
.chat-messages-feed {
|
| 440 |
+
flex: 1; overflow-y: auto; padding: 24px;
|
| 441 |
+
display: flex; flex-direction: column; gap: 24px;
|
| 442 |
+
max-width: 680px; width: 100%; margin: 0 auto;
|
|
|
|
|
|
|
| 443 |
}
|
| 444 |
|
| 445 |
+
/* Message bubbles */
|
| 446 |
+
.message-bubble { display: flex; flex-direction: column; gap: 4px; max-width: 90%; animation: slideUp 0.25s ease-out; }
|
| 447 |
+
.message-bubble.user { align-self: flex-end; }
|
| 448 |
+
.message-bubble.assistant { align-self: flex-start; width: 100%; max-width: 100%; }
|
| 449 |
+
.message-meta { font-size: 10px; color: var(--text-muted); font-weight: 600; margin: 0 4px; }
|
| 450 |
+
.message-bubble.user .message-meta { text-align: right; }
|
| 451 |
+
.message-body { padding: 10px 14px; border-radius: var(--border-radius-md); font-size: 13.5px; line-height: 1.5; box-shadow: var(--shadow-sm); }
|
| 452 |
+
.message-bubble.user .message-body { background-color: var(--btn-light-bg); border: 1px solid var(--border-color); color: var(--text-primary); border-bottom-right-radius: 4px; }
|
| 453 |
+
.message-bubble.assistant .message-body { background-color: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); border-bottom-left-radius: 4px; }
|
| 454 |
+
|
| 455 |
+
/* Bubble attachments */
|
| 456 |
+
.bubble-attachments { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 6px; margin-top: 8px; max-width: 320px; }
|
| 457 |
+
.bubble-attachment-card { border-radius: var(--border-radius-sm); overflow: hidden; border: 1px solid var(--border-color); background-color: #fafafa; position: relative; aspect-ratio: 16/10; }
|
| 458 |
+
.bubble-attachment-card img, .bubble-attachment-card video { width: 100%; height: 100%; object-fit: cover; }
|
| 459 |
+
.bubble-attachment-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.6); color: #fff; font-size: 8px; text-align: center; padding: 1px; font-family: var(--font-mono); }
|
| 460 |
+
|
| 461 |
+
/* Collapsible Thoughts */
|
| 462 |
+
.thought-container { margin-bottom: 12px; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm); overflow: hidden; }
|
| 463 |
+
.thought-header { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background-color: #f9fafb; cursor: pointer; user-select: none; transition: var(--transition-smooth); }
|
| 464 |
+
.thought-header:hover { background-color: #f3f4f6; }
|
| 465 |
+
.thought-title-group { display: flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: 11px; font-weight: 600; color: var(--text-secondary); }
|
| 466 |
+
.thought-timer { font-family: var(--font-mono); font-size: 9.5px; color: var(--text-muted); }
|
| 467 |
+
.thought-toggle-icon { font-size: 9px; color: var(--text-secondary); transition: transform 0.2s ease; }
|
| 468 |
+
.thought-container.collapsed .thought-toggle-icon { transform: rotate(-90deg); }
|
| 469 |
+
.thought-content { padding: 10px 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-secondary); background-color: #ffffff; border-top: 1px solid var(--border-color); white-space: pre-wrap; max-height: 150px; overflow-y: auto; }
|
| 470 |
+
.thought-container.collapsed .thought-content { display: none; }
|
| 471 |
+
|
| 472 |
+
/* RP Markdown Styles */
|
| 473 |
+
.rp-narration { font-style: italic; color: #6b7280; background-color: rgba(107,114,128,0.06); padding: 1px 4px; border-radius: 3px; border-left: 2px solid #9ca3af; }
|
| 474 |
+
.rp-dialogue { color: #2563eb; font-weight: 500; background-color: rgba(37,99,235,0.06); padding: 1px 4px; border-radius: 3px; }
|
| 475 |
+
.rp-bold { font-weight: 700; color: #111827; }
|
| 476 |
+
.rp-ooc { color: #9ca3af; font-style: italic; opacity: 0.7; font-size: 0.9em; }
|
| 477 |
+
.rp-divider { border: none; border-top: 1px dashed #d1d5db; margin: 12px 0; }
|
| 478 |
+
|
| 479 |
+
/* Toggle Switch */
|
| 480 |
+
.toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; flex-shrink: 0; }
|
| 481 |
+
.toggle-switch input { opacity: 0; width: 0; height: 0; }
|
| 482 |
+
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #d1d5db; transition: 0.2s; border-radius: 20px; }
|
| 483 |
+
.toggle-slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 3px; bottom: 3px; background-color: white; transition: 0.2s; border-radius: 50%; }
|
| 484 |
+
.toggle-switch input:checked + .toggle-slider { background-color: #111827; }
|
| 485 |
+
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(16px); }
|
| 486 |
+
.toggle-switch input:focus + .toggle-slider { box-shadow: 0 0 0 2px rgba(17,24,39,0.2); }
|
| 487 |
+
|
| 488 |
+
.setting-description { font-size: 10.5px; color: var(--text-muted); line-height: 1.4; padding-top: 2px; }
|
| 489 |
+
|
| 490 |
+
/* Markdown body */
|
| 491 |
+
.markdown-body h1, .markdown-body h2, .markdown-body h3 { margin-top: 12px; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 600; }
|
| 492 |
+
.markdown-body h1 { font-size: 14.5px; border-bottom: 1px solid var(--border-light); padding-bottom: 2px; }
|
| 493 |
+
.markdown-body h2 { font-size: 13.5px; }
|
| 494 |
+
.markdown-body h3 { font-size: 12.5px; }
|
| 495 |
+
.markdown-body p { margin-bottom: 6px; }
|
| 496 |
+
.markdown-body p:last-child { margin-bottom: 0; }
|
| 497 |
+
.markdown-body code { font-family: var(--font-mono); font-size: 11px; background-color: var(--btn-light-bg); padding: 2px 4px; border-radius: 4px; color: var(--accent-blue); }
|
| 498 |
+
.markdown-body pre { margin: 10px 0; border-radius: var(--border-radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
|
| 499 |
+
.markdown-body pre code { display: block; padding: 10px; overflow-x: auto; background-color: #0f172a !important; color: #e2e8f0; }
|
| 500 |
+
.markdown-body table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 12px; }
|
| 501 |
+
.markdown-body th, .markdown-body td { border: 1px solid var(--border-color); padding: 6px 8px; text-align: left; }
|
| 502 |
+
.markdown-body th { background-color: var(--bg-primary); font-weight: 600; }
|
| 503 |
+
|
| 504 |
+
/* Reply footer */
|
| 505 |
+
.chat-mini-footer { padding: 12px 20px; background-color: var(--bg-workspace); border-top: 1px solid var(--border-color); }
|
| 506 |
+
.chat-mini-footer .console-box { max-width: 680px; margin: 0 auto; box-shadow: var(--shadow-sm); padding: 8px 12px; border-radius: var(--border-radius-md); margin-bottom: 0; }
|
| 507 |
+
|
| 508 |
+
/* Overlay */
|
| 509 |
+
.sidebar-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.2); backdrop-filter: blur(1.5px); z-index: 990; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
|
| 510 |
+
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }
|
| 511 |
+
|
| 512 |
+
/* Right Settings Drawer */
|
| 513 |
+
.sidebar-right { position: absolute; top: 0; right: 0; bottom: 0; width: 320px; background-color: var(--bg-sidebar); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; z-index: 1000; transition: transform 0.25s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 20px rgba(0,0,0,0.03); transform: translateX(0); }
|
| 514 |
+
.sidebar-right.collapsed { transform: translateX(100%); }
|
| 515 |
+
.right-sidebar-header { padding: 14px 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
|
| 516 |
+
.right-sidebar-header h3 { font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
|
| 517 |
+
.close-drawer { border-color: transparent !important; }
|
| 518 |
+
.close-drawer:hover { background-color: var(--btn-light-bg) !important; }
|
| 519 |
+
.sidebar-right-content { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
|
| 520 |
+
.right-block-card { background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--border-radius-md); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
|
| 521 |
+
.flex-1-card { flex: 1; min-height: 180px; }
|
| 522 |
+
.card-block-header { display: flex; justify-content: space-between; align-items: center; }
|
| 523 |
+
.block-title { font-family: var(--font-heading); font-size: 12px; font-weight: 600; color: var(--text-primary); }
|
| 524 |
|
| 525 |
/* System Prompt Textarea */
|
| 526 |
+
.system-prompt-textarea { width: 100%; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm); background-color: #f9fafb; color: var(--text-primary); font-family: var(--font-body); font-size: 12px; line-height: 1.5; padding: 8px 10px; resize: vertical; min-height: 60px; outline: none; transition: var(--transition-smooth); }
|
| 527 |
+
.system-prompt-textarea:focus { border-color: var(--border-focus); background-color: #ffffff; }
|
| 528 |
+
.system-prompt-textarea::placeholder { color: var(--text-muted); }
|
| 529 |
+
|
| 530 |
+
/* Effort Picker */
|
| 531 |
+
.effort-picker { display: flex; background-color: #f9fafb; border: 1px solid var(--border-color); padding: 2.5px; border-radius: var(--border-radius-sm); gap: 2px; }
|
| 532 |
+
.effort-pill { flex: 1; cursor: pointer; text-align: center; position: relative; }
|
| 533 |
+
.effort-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
|
| 534 |
+
.effort-pill span { display: block; padding: 5px 0; font-size: 11px; font-weight: 500; border-radius: 4px; color: var(--text-secondary); transition: var(--transition-smooth); font-family: var(--font-heading); }
|
| 535 |
+
.effort-pill input:checked + span { background-color: #111827; color: #ffffff; }
|
| 536 |
+
.effort-pill:hover span:not(input:checked + span) { color: var(--text-primary); background-color: rgba(0,0,0,0.02); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 537 |
|
| 538 |
/* Slider Input */
|
| 539 |
+
.slider-input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background-color: #e5e7eb; outline: none; cursor: pointer; }
|
| 540 |
+
.slider-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background-color: #111827; cursor: pointer; transition: var(--transition-smooth); }
|
| 541 |
+
.slider-input::-webkit-slider-thumb:hover { background-color: #1f2937; transform: scale(1.1); }
|
| 542 |
+
.slider-input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background-color: #111827; cursor: pointer; border: none; }
|
| 543 |
+
.block-value { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); font-weight: 500; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 544 |
|
| 545 |
/* Code Block Copy Button */
|
| 546 |
+
.code-block-wrapper { position: relative; }
|
| 547 |
+
.code-block-wrapper .copy-code-btn { position: absolute; top: 6px; right: 6px; background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #9ca3af; font-size: 10px; font-family: var(--font-mono); padding: 2px 8px; border-radius: 4px; cursor: pointer; transition: var(--transition-smooth); }
|
| 548 |
+
.code-block-wrapper .copy-code-btn:hover { background-color: rgba(255,255,255,0.2); color: #e5e7eb; }
|
| 549 |
+
|
| 550 |
+
/* Media chips */
|
| 551 |
+
.media-chip { display: flex; align-items: center; background-color: #f9fafb; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm); padding: 5px 8px; gap: 8px; transition: var(--transition-smooth); }
|
| 552 |
+
.media-chip-preview { width: 24px; height: 24px; border-radius: 4px; object-fit: cover; background-color: #eaeaea; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; }
|
| 553 |
+
.media-chip-preview img { width: 100%; height: 100%; object-fit: cover; }
|
| 554 |
+
.media-chip-details { flex: 1; min-width: 0; }
|
| 555 |
+
.media-chip-name { font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }
|
| 556 |
+
.media-chip-meta { font-size: 9px; color: var(--text-muted); display: flex; gap: 4px; }
|
| 557 |
+
.media-chip-remove { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 3px; display: flex; }
|
| 558 |
+
.media-chip-remove:hover { color: var(--danger); }
|
| 559 |
+
|
| 560 |
+
/* Quick preview */
|
| 561 |
+
.quick-preview-item { width: 32px; height: 32px; border-radius: var(--border-radius-sm); border: 1px solid var(--border-color); overflow: hidden; position: relative; flex-shrink: 0; }
|
| 562 |
+
.quick-preview-item img { width: 100%; height: 100%; object-fit: cover; }
|
| 563 |
+
.quick-preview-badge { position: absolute; top: 1.5px; right: 1.5px; background-color: var(--accent-blue); width: 6px; height: 6px; border-radius: 50%; }
|
| 564 |
+
|
| 565 |
+
.shelf-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
|
| 566 |
+
.empty-shelf-text { font-size: 10.5px; color: var(--text-muted); text-align: center; padding: 8px 0; font-style: italic; }
|
| 567 |
+
|
| 568 |
+
.right-sidebar-footer { padding: 10px 16px; border-top: 1px solid var(--border-color); }
|
| 569 |
+
.status-indicator-group { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-secondary); }
|
| 570 |
+
.status-dot { width: 5px; height: 5px; border-radius: 50%; }
|
| 571 |
+
.status-dot.online { background-color: #10b981; }
|
| 572 |
+
|
| 573 |
+
/* Animations */
|
| 574 |
+
.spinner-light { width: 12px; height: 12px; border: 1.5px solid rgba(255,255,255,0.2); border-top: 1.5px solid #ffffff; border-radius: 50%; animation: spin 0.8s linear infinite; }
|
| 575 |
+
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
|
| 576 |
+
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 577 |
|
| 578 |
/* ==========================================================================
|
| 579 |
+
Responsive
|
| 580 |
========================================================================== */
|
|
|
|
|
|
|
| 581 |
@media (min-width: 641px) {
|
| 582 |
+
.sidebar-right.collapsed { transform: translateX(100%); }
|
| 583 |
+
}
|
| 584 |
+
|
| 585 |
+
@media (max-width: 768px) {
|
| 586 |
+
:root { --sidebar-left-width: 240px; }
|
|
|
|
|
|
|
|
|
|
| 587 |
}
|
| 588 |
|
|
|
|
| 589 |
@media (max-width: 640px) {
|
| 590 |
+
body { font-size: 13.5px; }
|
|
|
|
|
|
|
| 591 |
|
| 592 |
+
.sidebar-left {
|
| 593 |
+
position: absolute;
|
| 594 |
+
top: 0; left: 0; bottom: 0;
|
| 595 |
+
z-index: 999;
|
| 596 |
+
transform: translateX(-100%);
|
| 597 |
+
transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
|
| 598 |
+
box-shadow: 4px 0 20px rgba(0,0,0,0.08);
|
| 599 |
}
|
| 600 |
+
.sidebar-left.collapsed { transform: translateX(-100%); }
|
| 601 |
+
.sidebar-left.mobile-open { transform: translateX(0); width: 260px; min-width: 260px; opacity: 1; pointer-events: auto; }
|
| 602 |
|
| 603 |
+
.mobile-only { display: flex !important; }
|
|
|
|
|
|
|
|
|
|
| 604 |
|
| 605 |
+
.workspace-header { padding: 0 16px; }
|
| 606 |
+
.header-btn span { display: none; }
|
| 607 |
+
.header-btn { padding: 8px; }
|
| 608 |
|
| 609 |
+
.sidebar-right { width: 100% !important; border-left: none; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 610 |
|
| 611 |
+
.studio-dashboard { padding: 30px 16px; }
|
| 612 |
+
.welcome-heading { font-size: 22px; margin-bottom: 20px; }
|
|
|
|
| 613 |
|
| 614 |
+
.chat-messages-feed { padding: 16px; gap: 18px; }
|
| 615 |
+
.message-body { padding: 9px 12px; font-size: 13px; }
|
| 616 |
+
.message-bubble { max-width: 95%; }
|
| 617 |
+
.chat-mini-footer { padding: 10px 12px; }
|
| 618 |
+
.recipe-chip { padding: 6px 12px; font-size: 11.5px; }
|
| 619 |
+
.code-block-wrapper .copy-code-btn { font-size: 9px; padding: 1px 6px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 620 |
}
|