@webless/agent 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/embed.css CHANGED
@@ -106,23 +106,6 @@
106
106
  pointer-events: none;
107
107
  z-index: 1;
108
108
  }
109
- .webless-agent-root__backdrop {
110
- position: fixed;
111
- inset: 0;
112
- z-index: 0;
113
- border: none;
114
- padding: 0;
115
- margin: 0;
116
- background: color-mix(in srgb, var(--as-text) 18%, transparent);
117
- cursor: pointer;
118
- pointer-events: auto;
119
- }
120
- .webless-agent-root__backdrop--mobile {
121
- background: color-mix(in srgb, var(--as-text) 24%, transparent);
122
- -webkit-backdrop-filter: blur(1.5px);
123
- backdrop-filter: blur(1.5px);
124
- touch-action: none;
125
- }
126
109
  .webless-agent-root__shell--expanded:not(.webless-agent-root__shell--collapsed) .agent-rail {
127
110
  pointer-events: auto;
128
111
  }
@@ -291,113 +274,140 @@ html.webless-agent-page-shift {
291
274
  flex-direction: column;
292
275
  align-self: flex-start;
293
276
  align-items: stretch;
294
- gap: 9px;
277
+ gap: 7px;
295
278
  }
296
279
  .agent-activity-bubble__status {
297
280
  display: flex;
298
281
  align-items: center;
299
- gap: 9px;
282
+ gap: 8px;
300
283
  margin: 0;
301
284
  color: var(--as-text-muted);
302
- font-size: 12px;
285
+ font-size: 12.5px;
303
286
  font-weight: 650;
304
287
  line-height: 1.4;
305
288
  }
306
289
  .agent-activity-bubble__pulse {
307
- width: 8px;
308
- height: 8px;
309
- flex: 0 0 8px;
290
+ position: relative;
291
+ display: grid;
292
+ width: 15px;
293
+ height: 15px;
294
+ flex: 0 0 15px;
295
+ place-items: center;
310
296
  border-radius: 999px;
311
297
  background: var(--as-success);
312
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-success) 10%, transparent);
298
+ color: #fff;
299
+ }
300
+ .agent-activity-bubble__pulse::after {
301
+ content: "\2713";
302
+ font-size: 9px;
303
+ font-weight: 800;
304
+ line-height: 1;
313
305
  }
314
306
  .agent-activity-bubble__pulse.is-active {
315
307
  background: var(--as-brand);
316
- box-shadow: 0 0 0 4px color-mix(in srgb, var(--as-brand) 12%, transparent);
308
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-brand) 11%, transparent);
317
309
  animation: agent-activity-pulse 1.8s ease-in-out infinite;
318
310
  }
311
+ .agent-activity-bubble__pulse.is-active::after {
312
+ content: "";
313
+ width: 5px;
314
+ height: 5px;
315
+ border-radius: inherit;
316
+ background: currentColor;
317
+ }
319
318
  .agent-activity-bubble__pulse.is-error {
320
319
  background: var(--as-danger);
321
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-danger) 10%, transparent);
320
+ }
321
+ .agent-activity-bubble__pulse.is-error::after {
322
+ content: "!";
322
323
  }
323
324
  .agent-activity-bubble__details {
324
- overflow: hidden;
325
- border: 1px solid color-mix(in srgb, var(--as-border) 72%, var(--as-surface));
326
- border-radius: 14px;
327
- background: color-mix(in srgb, var(--as-surface-muted) 72%, var(--as-surface));
325
+ border: 0;
326
+ background: transparent;
328
327
  }
329
- .agent-activity-bubble__details summary {
328
+ .agent-activity-bubble__summary {
329
+ appearance: none;
330
330
  display: flex;
331
- min-height: 42px;
331
+ width: 100%;
332
+ min-height: 34px;
332
333
  align-items: center;
333
- padding: 0 13px;
334
+ gap: 9px;
335
+ margin: 0;
336
+ padding: 0 2px;
337
+ border: 0;
338
+ border-radius: 8px;
339
+ background: transparent;
334
340
  color: var(--as-text-muted);
335
341
  cursor: pointer;
342
+ font-family: inherit;
336
343
  font-size: 12px;
337
344
  font-weight: 650;
338
- list-style: none;
339
- }
340
- .agent-activity-bubble__details summary::-webkit-details-marker {
341
- display: none;
345
+ text-align: left;
342
346
  }
343
- .agent-activity-bubble__details summary::after {
344
- width: 20px;
345
- height: 20px;
346
- margin-left: auto;
347
- border-radius: 999px;
347
+ .agent-activity-bubble__summary::before {
348
+ width: 6px;
349
+ height: 6px;
350
+ flex: 0 0 6px;
351
+ border-right: 1.5px solid currentColor;
352
+ border-bottom: 1.5px solid currentColor;
348
353
  color: var(--as-text-subtle);
349
- content: "+";
350
- font-size: 17px;
351
- font-weight: 400;
352
- line-height: 19px;
353
- text-align: center;
354
+ content: "";
355
+ transform: rotate(45deg) translate(-1px, -1px);
356
+ transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
354
357
  }
355
- .agent-activity-bubble__details summary:hover::after {
356
- background: var(--as-surface-muted);
358
+ .agent-activity-bubble__summary:hover {
357
359
  color: var(--as-text);
358
360
  }
359
- .agent-activity-bubble__details[open] summary::after {
360
- content: "\2212";
361
+ .agent-activity-bubble__summary:focus-visible {
362
+ outline: none;
363
+ color: var(--as-text);
364
+ text-decoration: underline;
365
+ text-decoration-color: color-mix(in srgb, var(--as-text) 46%, transparent);
366
+ text-decoration-thickness: 2px;
367
+ text-underline-offset: 4px;
368
+ }
369
+ .agent-activity-bubble__summary[aria-expanded=true]::before {
370
+ transform: rotate(225deg) translate(-1px, -1px);
361
371
  }
362
372
  .agent-activity-bubble__steps {
363
373
  display: grid;
364
374
  gap: 0;
365
375
  margin: 0;
366
- padding: 1px 13px 13px;
376
+ padding: 3px 0 2px 24px;
367
377
  list-style: none;
368
378
  }
369
379
  .agent-activity-bubble__step {
370
380
  position: relative;
371
381
  display: grid;
372
- min-height: 48px;
373
- grid-template-columns: 28px minmax(0, 1fr);
382
+ min-height: 50px;
383
+ grid-template-columns: 26px minmax(0, 1fr);
374
384
  align-items: flex-start;
375
385
  gap: 10px;
376
- padding: 6px 0;
386
+ padding: 5px 0;
377
387
  }
378
388
  .agent-activity-bubble__step:not(:last-child)::after {
379
389
  position: absolute;
380
- top: 32px;
381
- bottom: -8px;
382
- left: 13px;
390
+ top: 30px;
391
+ bottom: -6px;
392
+ left: 12px;
383
393
  width: 1px;
384
- background: var(--as-border);
394
+ background: color-mix(in srgb, var(--as-text) 11%, transparent);
385
395
  content: "";
386
396
  }
387
397
  .agent-activity-bubble__step-icon {
388
398
  position: relative;
389
399
  z-index: 1;
390
400
  display: inline-flex;
391
- width: 28px;
392
- height: 28px;
401
+ width: 25px;
402
+ height: 25px;
393
403
  align-items: center;
394
404
  justify-content: center;
395
405
  overflow: hidden;
396
- border: 1px solid var(--as-border);
397
- border-radius: 9px;
398
- background: var(--as-surface);
406
+ border: 0;
407
+ border-radius: 8px;
408
+ background: var(--as-surface-muted);
399
409
  color: var(--as-text-muted);
400
- font-size: 11px;
410
+ font-size: 10px;
401
411
  font-weight: 750;
402
412
  }
403
413
  .agent-activity-bubble__step-icon svg {
@@ -414,46 +424,28 @@ html.webless-agent-page-shift {
414
424
  object-fit: contain;
415
425
  }
416
426
  .agent-activity-bubble__step[data-kind=specialist] .agent-activity-bubble__step-icon {
417
- border-color: color-mix(in srgb, var(--as-brand) 18%, var(--as-border));
418
427
  background: var(--as-brand-soft);
419
428
  color: var(--as-brand);
420
429
  }
421
430
  .agent-activity-bubble__step[data-state=active] .agent-activity-bubble__step-icon {
422
- border-color: color-mix(in srgb, var(--as-brand) 36%, var(--as-border));
423
431
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--as-brand) 8%, transparent);
424
432
  }
425
- .agent-activity-bubble__step[data-state=completed] .agent-activity-bubble__step-icon::after {
426
- position: absolute;
427
- right: -2px;
428
- bottom: -2px;
429
- display: grid;
430
- width: 11px;
431
- height: 11px;
432
- place-items: center;
433
- border: 2px solid var(--as-surface);
434
- border-radius: 999px;
435
- background: var(--as-success);
436
- color: #fff;
437
- content: "\2713";
438
- font-size: 7px;
439
- line-height: 1;
440
- }
441
433
  .agent-activity-bubble__step[data-state=error] .agent-activity-bubble__step-icon {
442
- border-color: color-mix(in srgb, var(--as-danger) 30%, var(--as-border));
443
434
  background: color-mix(in srgb, var(--as-danger) 7%, var(--as-surface));
444
435
  color: var(--as-danger);
445
436
  }
446
437
  .agent-activity-bubble__step-copy {
447
438
  display: grid;
448
439
  min-width: 0;
449
- gap: 3px;
440
+ gap: 2px;
450
441
  padding-top: 2px;
451
442
  }
452
443
  .agent-activity-bubble__step-heading {
453
444
  display: flex;
454
445
  min-width: 0;
455
446
  align-items: baseline;
456
- gap: 7px;
447
+ gap: 8px;
448
+ flex-wrap: wrap;
457
449
  }
458
450
  .agent-activity-bubble__step-heading strong {
459
451
  overflow: hidden;
@@ -464,16 +456,9 @@ html.webless-agent-page-shift {
464
456
  text-overflow: ellipsis;
465
457
  white-space: nowrap;
466
458
  }
467
- .agent-activity-bubble__step-heading small {
468
- flex: 0 0 auto;
469
- color: var(--as-text-subtle);
470
- font-size: 10px;
471
- font-weight: 550;
472
- line-height: 1.35;
473
- }
474
459
  .agent-activity-bubble__step-detail {
475
- color: var(--as-text-subtle);
476
- font-size: 11px;
460
+ color: var(--as-text-muted);
461
+ font-size: 11.5px;
477
462
  line-height: 1.4;
478
463
  }
479
464
  @keyframes agent-activity-pulse {
@@ -481,6 +466,14 @@ html.webless-agent-page-shift {
481
466
  opacity: 0.55;
482
467
  }
483
468
  }
469
+ @media (prefers-reduced-motion: reduce) {
470
+ .agent-activity-bubble__pulse.is-active {
471
+ animation: none;
472
+ }
473
+ .agent-activity-bubble__summary::before {
474
+ transition: none;
475
+ }
476
+ }
484
477
 
485
478
  /* src/react/components/Composer/Composer.css */
486
479
  .composer {
@@ -493,9 +486,9 @@ html.webless-agent-page-shift {
493
486
  align-items: flex-end;
494
487
  gap: 6px;
495
488
  padding: 6px;
496
- border: 1px solid color-mix(in srgb, var(--as-border) 72%, var(--as-surface));
489
+ border: 1px solid var(--as-control-border, color-mix(in srgb, var(--as-text) 14%, transparent));
497
490
  border-radius: 16px;
498
- background: color-mix(in srgb, var(--as-surface-muted) 72%, var(--as-surface));
491
+ background: color-mix(in srgb, var(--as-surface-muted) 42%, var(--as-surface));
499
492
  box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 5%, transparent);
500
493
  }
501
494
  .composer__field:focus-within {
@@ -516,7 +509,7 @@ html.webless-agent-page-shift {
516
509
  max-height: 96px;
517
510
  }
518
511
  .composer__input::placeholder {
519
- color: var(--as-text-subtle);
512
+ color: var(--as-text-muted);
520
513
  }
521
514
  .composer__input:focus {
522
515
  outline: none;
@@ -549,8 +542,8 @@ html.webless-agent-page-shift {
549
542
  .composer--dock .composer__field {
550
543
  align-items: center;
551
544
  padding: 5px 5px 5px 13px;
552
- background: color-mix(in srgb, var(--as-surface-muted) 72%, var(--as-surface));
553
- border: 1px solid color-mix(in srgb, var(--as-border) 72%, var(--as-surface));
545
+ background: color-mix(in srgb, var(--as-surface-muted) 42%, var(--as-surface));
546
+ border: 1px solid var(--as-control-border, color-mix(in srgb, var(--as-text) 14%, transparent));
554
547
  border-radius: 999px;
555
548
  box-shadow: none;
556
549
  }
@@ -564,8 +557,8 @@ html.webless-agent-page-shift {
564
557
  max-height: 48px;
565
558
  }
566
559
  .composer--dock .composer__send {
567
- width: 40px;
568
- height: 40px;
560
+ width: 44px;
561
+ height: 44px;
569
562
  }
570
563
  .composer--dock .composer__send svg {
571
564
  width: 15px;
@@ -890,8 +883,37 @@ html.webless-agent-page-shift {
890
883
  .message-bubble--agent {
891
884
  align-self: flex-start;
892
885
  align-items: flex-start;
886
+ width: 100%;
893
887
  max-width: 100%;
894
888
  }
889
+ .message-bubble__agent-row {
890
+ display: grid;
891
+ width: 100%;
892
+ grid-template-columns: 24px minmax(0, 1fr);
893
+ align-items: flex-start;
894
+ gap: 10px;
895
+ }
896
+ .message-bubble__agent-avatar {
897
+ position: relative;
898
+ display: inline-flex;
899
+ width: 24px;
900
+ height: 24px;
901
+ align-items: center;
902
+ justify-content: center;
903
+ overflow: hidden;
904
+ margin-top: 1px;
905
+ border-radius: 8px;
906
+ background: var(--as-surface-muted);
907
+ }
908
+ .message-bubble__agent-avatar img {
909
+ position: absolute;
910
+ inset: 0;
911
+ width: 100%;
912
+ height: 100%;
913
+ border-radius: inherit;
914
+ background: var(--as-surface);
915
+ object-fit: contain;
916
+ }
895
917
  .message-bubble__text {
896
918
  margin: 0;
897
919
  padding: 10px 12px;
@@ -906,11 +928,12 @@ html.webless-agent-page-shift {
906
928
  border-bottom-right-radius: 5px;
907
929
  }
908
930
  .message-bubble--agent .message-bubble__text {
909
- width: 100%;
910
- padding: 12px;
911
- border: 1px solid color-mix(in srgb, var(--as-border) 72%, var(--as-surface));
912
- border-radius: 11px;
913
- background: color-mix(in srgb, var(--as-surface-muted) 72%, var(--as-surface));
931
+ min-width: 0;
932
+ width: auto;
933
+ padding: 0;
934
+ border: 0;
935
+ border-radius: 0;
936
+ background: transparent;
914
937
  color: var(--as-text);
915
938
  }
916
939
  .message-bubble__markdown > :first-child {
@@ -963,6 +986,8 @@ html.webless-agent-page-shift {
963
986
  /* src/react/components/AgentRail/AgentRail.css */
964
987
  .agent-rail {
965
988
  --rail-width: var(--as-rail-max-width);
989
+ --as-hairline: color-mix(in srgb, var(--as-text) 9%, transparent);
990
+ --as-control-border: color-mix(in srgb, var(--as-text) 14%, transparent);
966
991
  position: relative;
967
992
  z-index: var(--as-z-rail);
968
993
  display: flex;
@@ -973,7 +998,7 @@ html.webless-agent-page-shift {
973
998
  max-height: 100dvh;
974
999
  flex-direction: column;
975
1000
  overflow: hidden;
976
- border-left: 1px solid var(--as-border);
1001
+ border-left: 1px solid var(--as-hairline);
977
1002
  background: var(--as-surface);
978
1003
  box-shadow: var(--as-shadow-rail);
979
1004
  color: var(--as-text);
@@ -986,9 +1011,9 @@ html.webless-agent-page-shift {
986
1011
  position: relative;
987
1012
  z-index: 1;
988
1013
  flex-shrink: 0;
989
- padding: 12px 14px;
990
- border-bottom: 1px solid var(--as-border);
991
- background: color-mix(in srgb, var(--as-surface) 96%, var(--as-surface-muted));
1014
+ padding: 12px 16px;
1015
+ border-bottom: 1px solid var(--as-hairline);
1016
+ background: var(--as-surface);
992
1017
  }
993
1018
  .agent-rail__brand-row {
994
1019
  display: grid;
@@ -1023,9 +1048,7 @@ html.webless-agent-page-shift {
1023
1048
  align-items: center;
1024
1049
  justify-content: center;
1025
1050
  flex-shrink: 0;
1026
- background: var(--as-brand);
1027
- color: var(--as-visitor-text);
1028
- font-weight: 750;
1051
+ background: var(--as-surface-muted);
1029
1052
  }
1030
1053
  .agent-rail__brand-mark {
1031
1054
  width: 25px;
@@ -1124,15 +1147,15 @@ html.webless-agent-page-shift {
1124
1147
  width: 100%;
1125
1148
  min-height: 100%;
1126
1149
  flex-direction: column;
1127
- gap: 16px;
1150
+ gap: 20px;
1128
1151
  margin: 0 auto;
1129
- padding: 20px 16px 26px;
1152
+ padding: 24px 20px 32px;
1130
1153
  }
1131
1154
  .agent-rail__welcome {
1132
1155
  display: flex;
1133
1156
  flex-direction: column;
1134
1157
  flex-shrink: 0;
1135
- gap: 16px;
1158
+ gap: 18px;
1136
1159
  }
1137
1160
  .agent-rail__timeline-slot,
1138
1161
  .agent-rail__followups-slot {
@@ -1187,9 +1210,9 @@ html.webless-agent-page-shift {
1187
1210
  position: relative;
1188
1211
  z-index: 1;
1189
1212
  flex-shrink: 0;
1190
- padding: 12px 14px 13px;
1191
- border-top: 1px solid var(--as-border);
1192
- background: color-mix(in srgb, var(--as-surface) 96%, var(--as-surface-muted));
1213
+ padding: 13px 20px 14px;
1214
+ border-top: 1px solid var(--as-hairline);
1215
+ background: var(--as-surface);
1193
1216
  }
1194
1217
  .agent-rail__footer {
1195
1218
  margin-top: 7px;
@@ -1198,69 +1221,72 @@ html.webless-agent-page-shift {
1198
1221
  display: grid;
1199
1222
  gap: 2px;
1200
1223
  margin: 0;
1201
- color: var(--as-text-subtle);
1202
- font-size: 10.5px;
1224
+ color: var(--as-text-muted);
1225
+ font-size: 11px;
1203
1226
  line-height: 1.35;
1204
1227
  text-align: center;
1205
1228
  }
1206
1229
  .agent-rail--expanded {
1207
1230
  position: fixed;
1208
- top: 50%;
1209
- left: 50%;
1231
+ inset: 0;
1210
1232
  z-index: calc(var(--as-z-mobile) + 1);
1211
- width: min(var(--rail-width), calc(100vw - 48px));
1212
- min-width: 0;
1213
- max-width: var(--rail-width);
1214
- height: min(720px, calc(100dvh - 48px));
1215
- max-height: calc(100dvh - 48px);
1233
+ width: 100vw;
1234
+ min-width: 100vw;
1235
+ max-width: none;
1236
+ height: 100dvh;
1237
+ max-height: none;
1216
1238
  overflow: hidden;
1217
- transform: translate(-50%, -50%);
1218
- border: 1px solid var(--as-border);
1219
- border-radius: 22px;
1239
+ transform: none;
1240
+ border: 0;
1241
+ border-radius: 0;
1220
1242
  background: var(--as-surface);
1221
- box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 8%, transparent), 0 32px 90px -30px color-mix(in srgb, var(--as-text) 46%, transparent);
1222
- transition:
1223
- width 320ms cubic-bezier(0.22, 1, 0.36, 1),
1224
- height 320ms cubic-bezier(0.22, 1, 0.36, 1),
1225
- transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
1226
- border-radius 320ms cubic-bezier(0.22, 1, 0.36, 1),
1227
- box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
1243
+ box-shadow: none;
1244
+ transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
1245
+ }
1246
+ .agent-rail--expanded .agent-rail__brand-row {
1247
+ max-width: 1120px;
1248
+ margin: 0 auto;
1228
1249
  }
1229
1250
  .agent-rail--expanded .agent-rail__thread {
1230
- max-width: none;
1231
- padding: 20px 16px 26px;
1251
+ max-width: 760px;
1252
+ padding: 36px 24px 48px;
1232
1253
  }
1233
1254
  .agent-rail--expanded .agent-rail__welcome {
1234
1255
  width: 100%;
1235
1256
  }
1236
1257
  .agent-rail--expanded .agent-rail__composer-wrap {
1237
- padding: 12px 14px 13px;
1258
+ padding: 16px 24px 18px;
1259
+ }
1260
+ .agent-rail--expanded .composer,
1261
+ .agent-rail--expanded .agent-rail__footer {
1262
+ width: min(760px, 100%);
1263
+ margin-right: auto;
1264
+ margin-left: auto;
1238
1265
  }
1239
1266
  .agent-rail--expanded .agent-rail__footer {
1240
1267
  margin-top: 7px;
1241
1268
  }
1242
1269
  .agent-rail--mobile-fullscreen {
1243
1270
  position: fixed;
1244
- inset: auto 0 0;
1271
+ inset: 0;
1245
1272
  z-index: calc(var(--as-z-mobile) + 1);
1246
1273
  width: 100%;
1247
1274
  min-width: 0;
1248
1275
  max-width: none;
1249
- height: min(78dvh, 720px);
1250
- min-height: min(520px, calc(100dvh - 12px));
1251
- max-height: calc(100dvh - 8px);
1276
+ height: 100dvh;
1277
+ min-height: 100dvh;
1278
+ max-height: 100dvh;
1252
1279
  overflow: hidden;
1253
- border: 1px solid var(--as-border);
1254
- border-bottom: none;
1255
- border-radius: 22px 22px 0 0;
1280
+ border: 0;
1281
+ border-radius: 0;
1256
1282
  background: var(--as-surface);
1257
- box-shadow: 0 -24px 72px -28px color-mix(in srgb, var(--as-text) 42%, transparent);
1283
+ box-shadow: none;
1258
1284
  }
1259
1285
  .agent-rail--mobile-fullscreen .agent-rail__header {
1260
- padding-top: 16px;
1286
+ padding-top: max(12px, env(safe-area-inset-top));
1261
1287
  }
1262
1288
  .agent-rail--mobile-fullscreen .agent-rail__brand-row {
1263
- grid-template-columns: minmax(0, 1fr) auto 40px;
1289
+ grid-template-columns: minmax(0, 1fr) auto 44px;
1264
1290
  }
1265
1291
  .agent-rail--mobile-fullscreen .agent-rail__identity {
1266
1292
  grid-column: 1;
@@ -1276,26 +1302,18 @@ html.webless-agent-page-shift {
1276
1302
  }
1277
1303
  .agent-rail--mobile-fullscreen .agent-rail__close,
1278
1304
  .agent-rail--mobile-fullscreen .agent-rail__new-chat {
1279
- width: 40px;
1280
- height: 40px;
1305
+ width: 44px;
1306
+ height: 44px;
1281
1307
  }
1282
1308
  .agent-rail--mobile-fullscreen .agent-rail__header::before {
1283
- position: absolute;
1284
- top: 7px;
1285
- left: 50%;
1286
- width: 34px;
1287
- height: 4px;
1288
- border-radius: 999px;
1289
- background: color-mix(in srgb, var(--as-text) 16%, transparent);
1290
- content: "";
1291
- transform: translateX(-50%);
1309
+ content: none;
1292
1310
  }
1293
1311
  .agent-rail--mobile-fullscreen .agent-rail__thread {
1294
- padding: 20px 16px 24px;
1312
+ padding: 24px 16px 32px;
1295
1313
  }
1296
1314
  .agent-rail--mobile-fullscreen .agent-rail__welcome {
1297
- padding-top: 20px;
1298
- padding-bottom: 12px;
1315
+ padding-top: 0;
1316
+ padding-bottom: 8px;
1299
1317
  }
1300
1318
  .agent-rail--mobile-fullscreen .agent-rail__composer-wrap {
1301
1319
  padding: 11px 12px max(12px, env(safe-area-inset-bottom));
@@ -1326,11 +1344,17 @@ html.webless-agent-page-shift {
1326
1344
  }
1327
1345
  @media (max-width: 767px) and (max-height: 620px) {
1328
1346
  .agent-rail--mobile-fullscreen {
1329
- height: calc(100dvh - 8px);
1347
+ height: 100dvh;
1330
1348
  }
1331
1349
  .agent-rail--mobile-fullscreen .agent-rail__welcome {
1332
1350
  justify-content: flex-start;
1333
1351
  }
1352
+ .agent-rail--mobile-fullscreen .agent-rail__composer-wrap {
1353
+ padding: 8px 12px max(8px, env(safe-area-inset-bottom));
1354
+ }
1355
+ .agent-rail--mobile-fullscreen .agent-rail__footer p span:first-child {
1356
+ display: none;
1357
+ }
1334
1358
  }
1335
1359
  @media (min-width: 768px) {
1336
1360
  .agent-rail .agent-rail__close {
@@ -1346,8 +1370,8 @@ html.webless-agent-page-shift {
1346
1370
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
1347
1371
  .assist-edge-tab {
1348
1372
  --tab-ink: var(--as-brand);
1349
- --tab-fill: #fff;
1350
- --tab-line: rgb(111 22 255 / 0.35);
1373
+ --tab-fill: var(--as-surface);
1374
+ --tab-line: color-mix(in srgb, var(--as-brand) 32%, var(--as-border));
1351
1375
  --tab-along: 50%;
1352
1376
  --tab-inset: 0px;
1353
1377
  position: fixed;
@@ -1495,8 +1519,8 @@ html.webless-agent-page-shift {
1495
1519
  transform: translateX(-50%) translateY(-2px);
1496
1520
  }
1497
1521
  .assist-edge-tab--outline {
1498
- --tab-fill: #f7f6fa;
1499
- --tab-line: rgb(111 22 255 / 0.45);
1522
+ --tab-fill: color-mix(in srgb, var(--as-surface) 96%, var(--as-text) 4%);
1523
+ --tab-line: color-mix(in srgb, var(--as-brand) 42%, var(--as-border));
1500
1524
  }
1501
1525
  .assist-edge-tab--outline.assist-edge-tab--right,
1502
1526
  .assist-edge-tab--outline.assist-edge-tab--left {
@@ -1512,7 +1536,7 @@ html.webless-agent-page-shift {
1512
1536
  border-bottom: 1px solid var(--tab-line);
1513
1537
  }
1514
1538
  .assist-edge-tab--ask {
1515
- --tab-fill: #efe8fb;
1539
+ --tab-fill: color-mix(in srgb, var(--as-brand) 10%, var(--as-surface));
1516
1540
  --tab-line: transparent;
1517
1541
  }
1518
1542
  .assist-edge-tab--ask.assist-edge-tab--right,