@webless/agent 0.5.0 → 0.6.0

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;
@@ -466,14 +458,14 @@ html.webless-agent-page-shift {
466
458
  }
467
459
  .agent-activity-bubble__step-heading small {
468
460
  flex: 0 0 auto;
469
- color: var(--as-text-subtle);
470
- font-size: 10px;
461
+ color: var(--as-text-muted);
462
+ font-size: 10.5px;
471
463
  font-weight: 550;
472
464
  line-height: 1.35;
473
465
  }
474
466
  .agent-activity-bubble__step-detail {
475
- color: var(--as-text-subtle);
476
- font-size: 11px;
467
+ color: var(--as-text-muted);
468
+ font-size: 11.5px;
477
469
  line-height: 1.4;
478
470
  }
479
471
  @keyframes agent-activity-pulse {
@@ -481,6 +473,14 @@ html.webless-agent-page-shift {
481
473
  opacity: 0.55;
482
474
  }
483
475
  }
476
+ @media (prefers-reduced-motion: reduce) {
477
+ .agent-activity-bubble__pulse.is-active {
478
+ animation: none;
479
+ }
480
+ .agent-activity-bubble__summary::before {
481
+ transition: none;
482
+ }
483
+ }
484
484
 
485
485
  /* src/react/components/Composer/Composer.css */
486
486
  .composer {
@@ -493,9 +493,9 @@ html.webless-agent-page-shift {
493
493
  align-items: flex-end;
494
494
  gap: 6px;
495
495
  padding: 6px;
496
- border: 1px solid color-mix(in srgb, var(--as-border) 72%, var(--as-surface));
496
+ border: 1px solid var(--as-control-border, color-mix(in srgb, var(--as-text) 14%, transparent));
497
497
  border-radius: 16px;
498
- background: color-mix(in srgb, var(--as-surface-muted) 72%, var(--as-surface));
498
+ background: color-mix(in srgb, var(--as-surface-muted) 42%, var(--as-surface));
499
499
  box-shadow: 0 1px 2px color-mix(in srgb, var(--as-text) 5%, transparent);
500
500
  }
501
501
  .composer__field:focus-within {
@@ -516,7 +516,7 @@ html.webless-agent-page-shift {
516
516
  max-height: 96px;
517
517
  }
518
518
  .composer__input::placeholder {
519
- color: var(--as-text-subtle);
519
+ color: var(--as-text-muted);
520
520
  }
521
521
  .composer__input:focus {
522
522
  outline: none;
@@ -549,8 +549,8 @@ html.webless-agent-page-shift {
549
549
  .composer--dock .composer__field {
550
550
  align-items: center;
551
551
  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));
552
+ background: color-mix(in srgb, var(--as-surface-muted) 42%, var(--as-surface));
553
+ border: 1px solid var(--as-control-border, color-mix(in srgb, var(--as-text) 14%, transparent));
554
554
  border-radius: 999px;
555
555
  box-shadow: none;
556
556
  }
@@ -564,8 +564,8 @@ html.webless-agent-page-shift {
564
564
  max-height: 48px;
565
565
  }
566
566
  .composer--dock .composer__send {
567
- width: 40px;
568
- height: 40px;
567
+ width: 44px;
568
+ height: 44px;
569
569
  }
570
570
  .composer--dock .composer__send svg {
571
571
  width: 15px;
@@ -890,8 +890,37 @@ html.webless-agent-page-shift {
890
890
  .message-bubble--agent {
891
891
  align-self: flex-start;
892
892
  align-items: flex-start;
893
+ width: 100%;
893
894
  max-width: 100%;
894
895
  }
896
+ .message-bubble__agent-row {
897
+ display: grid;
898
+ width: 100%;
899
+ grid-template-columns: 24px minmax(0, 1fr);
900
+ align-items: flex-start;
901
+ gap: 10px;
902
+ }
903
+ .message-bubble__agent-avatar {
904
+ position: relative;
905
+ display: inline-flex;
906
+ width: 24px;
907
+ height: 24px;
908
+ align-items: center;
909
+ justify-content: center;
910
+ overflow: hidden;
911
+ margin-top: 1px;
912
+ border-radius: 8px;
913
+ background: var(--as-surface-muted);
914
+ }
915
+ .message-bubble__agent-avatar img {
916
+ position: absolute;
917
+ inset: 0;
918
+ width: 100%;
919
+ height: 100%;
920
+ border-radius: inherit;
921
+ background: var(--as-surface);
922
+ object-fit: contain;
923
+ }
895
924
  .message-bubble__text {
896
925
  margin: 0;
897
926
  padding: 10px 12px;
@@ -906,11 +935,12 @@ html.webless-agent-page-shift {
906
935
  border-bottom-right-radius: 5px;
907
936
  }
908
937
  .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));
938
+ min-width: 0;
939
+ width: auto;
940
+ padding: 0;
941
+ border: 0;
942
+ border-radius: 0;
943
+ background: transparent;
914
944
  color: var(--as-text);
915
945
  }
916
946
  .message-bubble__markdown > :first-child {
@@ -963,6 +993,8 @@ html.webless-agent-page-shift {
963
993
  /* src/react/components/AgentRail/AgentRail.css */
964
994
  .agent-rail {
965
995
  --rail-width: var(--as-rail-max-width);
996
+ --as-hairline: color-mix(in srgb, var(--as-text) 9%, transparent);
997
+ --as-control-border: color-mix(in srgb, var(--as-text) 14%, transparent);
966
998
  position: relative;
967
999
  z-index: var(--as-z-rail);
968
1000
  display: flex;
@@ -973,7 +1005,7 @@ html.webless-agent-page-shift {
973
1005
  max-height: 100dvh;
974
1006
  flex-direction: column;
975
1007
  overflow: hidden;
976
- border-left: 1px solid var(--as-border);
1008
+ border-left: 1px solid var(--as-hairline);
977
1009
  background: var(--as-surface);
978
1010
  box-shadow: var(--as-shadow-rail);
979
1011
  color: var(--as-text);
@@ -986,9 +1018,9 @@ html.webless-agent-page-shift {
986
1018
  position: relative;
987
1019
  z-index: 1;
988
1020
  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));
1021
+ padding: 12px 16px;
1022
+ border-bottom: 1px solid var(--as-hairline);
1023
+ background: var(--as-surface);
992
1024
  }
993
1025
  .agent-rail__brand-row {
994
1026
  display: grid;
@@ -1023,9 +1055,7 @@ html.webless-agent-page-shift {
1023
1055
  align-items: center;
1024
1056
  justify-content: center;
1025
1057
  flex-shrink: 0;
1026
- background: var(--as-brand);
1027
- color: var(--as-visitor-text);
1028
- font-weight: 750;
1058
+ background: var(--as-surface-muted);
1029
1059
  }
1030
1060
  .agent-rail__brand-mark {
1031
1061
  width: 25px;
@@ -1124,15 +1154,15 @@ html.webless-agent-page-shift {
1124
1154
  width: 100%;
1125
1155
  min-height: 100%;
1126
1156
  flex-direction: column;
1127
- gap: 16px;
1157
+ gap: 20px;
1128
1158
  margin: 0 auto;
1129
- padding: 20px 16px 26px;
1159
+ padding: 24px 20px 32px;
1130
1160
  }
1131
1161
  .agent-rail__welcome {
1132
1162
  display: flex;
1133
1163
  flex-direction: column;
1134
1164
  flex-shrink: 0;
1135
- gap: 16px;
1165
+ gap: 18px;
1136
1166
  }
1137
1167
  .agent-rail__timeline-slot,
1138
1168
  .agent-rail__followups-slot {
@@ -1187,9 +1217,9 @@ html.webless-agent-page-shift {
1187
1217
  position: relative;
1188
1218
  z-index: 1;
1189
1219
  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));
1220
+ padding: 13px 20px 14px;
1221
+ border-top: 1px solid var(--as-hairline);
1222
+ background: var(--as-surface);
1193
1223
  }
1194
1224
  .agent-rail__footer {
1195
1225
  margin-top: 7px;
@@ -1198,69 +1228,72 @@ html.webless-agent-page-shift {
1198
1228
  display: grid;
1199
1229
  gap: 2px;
1200
1230
  margin: 0;
1201
- color: var(--as-text-subtle);
1202
- font-size: 10.5px;
1231
+ color: var(--as-text-muted);
1232
+ font-size: 11px;
1203
1233
  line-height: 1.35;
1204
1234
  text-align: center;
1205
1235
  }
1206
1236
  .agent-rail--expanded {
1207
1237
  position: fixed;
1208
- top: 50%;
1209
- left: 50%;
1238
+ inset: 0;
1210
1239
  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);
1240
+ width: 100vw;
1241
+ min-width: 100vw;
1242
+ max-width: none;
1243
+ height: 100dvh;
1244
+ max-height: none;
1216
1245
  overflow: hidden;
1217
- transform: translate(-50%, -50%);
1218
- border: 1px solid var(--as-border);
1219
- border-radius: 22px;
1246
+ transform: none;
1247
+ border: 0;
1248
+ border-radius: 0;
1220
1249
  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);
1250
+ box-shadow: none;
1251
+ transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1);
1252
+ }
1253
+ .agent-rail--expanded .agent-rail__brand-row {
1254
+ max-width: 1120px;
1255
+ margin: 0 auto;
1228
1256
  }
1229
1257
  .agent-rail--expanded .agent-rail__thread {
1230
- max-width: none;
1231
- padding: 20px 16px 26px;
1258
+ max-width: 760px;
1259
+ padding: 36px 24px 48px;
1232
1260
  }
1233
1261
  .agent-rail--expanded .agent-rail__welcome {
1234
1262
  width: 100%;
1235
1263
  }
1236
1264
  .agent-rail--expanded .agent-rail__composer-wrap {
1237
- padding: 12px 14px 13px;
1265
+ padding: 16px 24px 18px;
1266
+ }
1267
+ .agent-rail--expanded .composer,
1268
+ .agent-rail--expanded .agent-rail__footer {
1269
+ width: min(760px, 100%);
1270
+ margin-right: auto;
1271
+ margin-left: auto;
1238
1272
  }
1239
1273
  .agent-rail--expanded .agent-rail__footer {
1240
1274
  margin-top: 7px;
1241
1275
  }
1242
1276
  .agent-rail--mobile-fullscreen {
1243
1277
  position: fixed;
1244
- inset: auto 0 0;
1278
+ inset: 0;
1245
1279
  z-index: calc(var(--as-z-mobile) + 1);
1246
1280
  width: 100%;
1247
1281
  min-width: 0;
1248
1282
  max-width: none;
1249
- height: min(78dvh, 720px);
1250
- min-height: min(520px, calc(100dvh - 12px));
1251
- max-height: calc(100dvh - 8px);
1283
+ height: 100dvh;
1284
+ min-height: 100dvh;
1285
+ max-height: 100dvh;
1252
1286
  overflow: hidden;
1253
- border: 1px solid var(--as-border);
1254
- border-bottom: none;
1255
- border-radius: 22px 22px 0 0;
1287
+ border: 0;
1288
+ border-radius: 0;
1256
1289
  background: var(--as-surface);
1257
- box-shadow: 0 -24px 72px -28px color-mix(in srgb, var(--as-text) 42%, transparent);
1290
+ box-shadow: none;
1258
1291
  }
1259
1292
  .agent-rail--mobile-fullscreen .agent-rail__header {
1260
- padding-top: 16px;
1293
+ padding-top: max(12px, env(safe-area-inset-top));
1261
1294
  }
1262
1295
  .agent-rail--mobile-fullscreen .agent-rail__brand-row {
1263
- grid-template-columns: minmax(0, 1fr) auto 40px;
1296
+ grid-template-columns: minmax(0, 1fr) auto 44px;
1264
1297
  }
1265
1298
  .agent-rail--mobile-fullscreen .agent-rail__identity {
1266
1299
  grid-column: 1;
@@ -1276,26 +1309,18 @@ html.webless-agent-page-shift {
1276
1309
  }
1277
1310
  .agent-rail--mobile-fullscreen .agent-rail__close,
1278
1311
  .agent-rail--mobile-fullscreen .agent-rail__new-chat {
1279
- width: 40px;
1280
- height: 40px;
1312
+ width: 44px;
1313
+ height: 44px;
1281
1314
  }
1282
1315
  .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%);
1316
+ content: none;
1292
1317
  }
1293
1318
  .agent-rail--mobile-fullscreen .agent-rail__thread {
1294
- padding: 20px 16px 24px;
1319
+ padding: 24px 16px 32px;
1295
1320
  }
1296
1321
  .agent-rail--mobile-fullscreen .agent-rail__welcome {
1297
- padding-top: 20px;
1298
- padding-bottom: 12px;
1322
+ padding-top: 0;
1323
+ padding-bottom: 8px;
1299
1324
  }
1300
1325
  .agent-rail--mobile-fullscreen .agent-rail__composer-wrap {
1301
1326
  padding: 11px 12px max(12px, env(safe-area-inset-bottom));
@@ -1326,11 +1351,17 @@ html.webless-agent-page-shift {
1326
1351
  }
1327
1352
  @media (max-width: 767px) and (max-height: 620px) {
1328
1353
  .agent-rail--mobile-fullscreen {
1329
- height: calc(100dvh - 8px);
1354
+ height: 100dvh;
1330
1355
  }
1331
1356
  .agent-rail--mobile-fullscreen .agent-rail__welcome {
1332
1357
  justify-content: flex-start;
1333
1358
  }
1359
+ .agent-rail--mobile-fullscreen .agent-rail__composer-wrap {
1360
+ padding: 8px 12px max(8px, env(safe-area-inset-bottom));
1361
+ }
1362
+ .agent-rail--mobile-fullscreen .agent-rail__footer p span:first-child {
1363
+ display: none;
1364
+ }
1334
1365
  }
1335
1366
  @media (min-width: 768px) {
1336
1367
  .agent-rail .agent-rail__close {
@@ -1346,8 +1377,8 @@ html.webless-agent-page-shift {
1346
1377
  /* src/react/components/AssistEdgeTab/AssistEdgeTab.css */
1347
1378
  .assist-edge-tab {
1348
1379
  --tab-ink: var(--as-brand);
1349
- --tab-fill: #fff;
1350
- --tab-line: rgb(111 22 255 / 0.35);
1380
+ --tab-fill: var(--as-surface);
1381
+ --tab-line: color-mix(in srgb, var(--as-brand) 32%, var(--as-border));
1351
1382
  --tab-along: 50%;
1352
1383
  --tab-inset: 0px;
1353
1384
  position: fixed;
@@ -1495,8 +1526,8 @@ html.webless-agent-page-shift {
1495
1526
  transform: translateX(-50%) translateY(-2px);
1496
1527
  }
1497
1528
  .assist-edge-tab--outline {
1498
- --tab-fill: #f7f6fa;
1499
- --tab-line: rgb(111 22 255 / 0.45);
1529
+ --tab-fill: color-mix(in srgb, var(--as-surface) 96%, var(--as-text) 4%);
1530
+ --tab-line: color-mix(in srgb, var(--as-brand) 42%, var(--as-border));
1500
1531
  }
1501
1532
  .assist-edge-tab--outline.assist-edge-tab--right,
1502
1533
  .assist-edge-tab--outline.assist-edge-tab--left {
@@ -1512,7 +1543,7 @@ html.webless-agent-page-shift {
1512
1543
  border-bottom: 1px solid var(--tab-line);
1513
1544
  }
1514
1545
  .assist-edge-tab--ask {
1515
- --tab-fill: #efe8fb;
1546
+ --tab-fill: color-mix(in srgb, var(--as-brand) 10%, var(--as-surface));
1516
1547
  --tab-line: transparent;
1517
1548
  }
1518
1549
  .assist-edge-tab--ask.assist-edge-tab--right,