my-durable 0.0.105 → 0.0.106

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.
Files changed (28) hide show
  1. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/index-1JDRe-J0.css +1 -0
  2. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/{index-BficgqEW.js → index-Dkjq-Zbn.js} +5 -5
  3. package/apps/dpi-playground/apps/dpi-playground-fe/dist/index.html +2 -2
  4. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/ArchivePanel.vue +8 -8
  5. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/Composer.vue +7 -7
  6. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/DeviceHandoff.vue +13 -13
  7. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/EnvPanel.vue +15 -15
  8. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/GitChip.vue +1 -1
  9. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/GitPanel.vue +40 -40
  10. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/GraphPanel.vue +17 -17
  11. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/HostPanel.vue +11 -11
  12. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/NetworkSidebar.vue +9 -9
  13. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/NewSessionDialog.vue +2 -2
  14. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/NotifyPanel.vue +15 -15
  15. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/PairDeviceWizard.vue +11 -11
  16. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/ProjectBar.vue +14 -14
  17. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/SchedulesPanel.vue +16 -16
  18. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/TokenManager.vue +2 -2
  19. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/TopBar.vue +9 -9
  20. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/TreeRow.vue +1 -1
  21. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/TunnelStatusBar.vue +1 -1
  22. package/apps/dpi-playground/apps/dpi-playground-fe/src/components/UsagePanel.vue +20 -20
  23. package/apps/dpi-playground/apps/dpi-playground-fe/src/extensions.css +19 -19
  24. package/apps/dpi-playground/apps/dpi-playground-fe/src/jobs.css +108 -108
  25. package/apps/dpi-playground/apps/dpi-playground-fe/src/network.css +109 -109
  26. package/apps/dpi-playground/apps/dpi-playground-fe/src/style.css +674 -664
  27. package/package.json +1 -1
  28. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/index-oUmNFKWj.css +0 -1
@@ -38,11 +38,11 @@
38
38
  --font-body: "DM Sans", "Segoe UI", sans-serif;
39
39
  --font-display: "Manrope", "Segoe UI", sans-serif;
40
40
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
41
- --topbar-h: 65px;
42
- --tree-w: 300px;
43
- --insp-w: 450px;
44
- --radius: 10px;
45
- --radius-sm: 6px;
41
+ --topbar-h: 4.0625rem;
42
+ --tree-w: 18.75rem;
43
+ --insp-w: 28.125rem;
44
+ --radius: 0.625rem;
45
+ --radius-sm: 0.375rem;
46
46
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
47
47
  --secondary: #c9a87c;
48
48
  --muted: var(--secondary);
@@ -77,7 +77,7 @@ button {
77
77
  display: inline-flex;
78
78
  align-items: center;
79
79
  justify-content: center;
80
- gap: 7px;
80
+ gap: 0.4375rem;
81
81
  background: none;
82
82
  color: inherit;
83
83
  border: 0;
@@ -91,8 +91,8 @@ button:not(:disabled):hover {
91
91
  }
92
92
  button:focus-visible,
93
93
  summary:focus-visible {
94
- outline: 2px solid var(--accent);
95
- outline-offset: 3px;
94
+ outline: 0.125rem solid var(--accent);
95
+ outline-offset: 0.1875rem;
96
96
  }
97
97
  input,
98
98
  textarea,
@@ -100,8 +100,8 @@ select {
100
100
  color: inherit;
101
101
  background: var(--chat);
102
102
  border: 1px solid var(--line);
103
- border-radius: 7px;
104
- padding: 10px 12px;
103
+ border-radius: 0.4375rem;
104
+ padding: 0.625rem 0.75rem;
105
105
  outline: none;
106
106
  min-width: 0;
107
107
  }
@@ -109,7 +109,7 @@ input:focus,
109
109
  textarea:focus,
110
110
  select:focus {
111
111
  border-color: #856669;
112
- box-shadow: 0 0 0 2px #cdadb00c;
112
+ box-shadow: 0 0 0 0.125rem #cdadb00c;
113
113
  }
114
114
  input::placeholder,
115
115
  textarea::placeholder {
@@ -167,7 +167,7 @@ svg {
167
167
  display: flex;
168
168
  align-items: center;
169
169
  justify-content: space-between;
170
- padding: 0 26px 0 17px;
170
+ padding: 0 1.625rem 0 1.0625rem;
171
171
  background: var(--panel);
172
172
  z-index: 10;
173
173
  }
@@ -175,73 +175,73 @@ svg {
175
175
  .top-actions {
176
176
  display: flex;
177
177
  align-items: center;
178
- gap: 14px;
178
+ gap: 0.875rem;
179
179
  }
180
180
  .brand strong {
181
181
  font-size: 1rem;
182
- letter-spacing: -0.5px;
182
+ letter-spacing: -0.03125rem;
183
183
  font-family: var(--font-title);
184
184
  font-weight: 750;
185
185
  }
186
186
  .brandmark {
187
187
  display: block;
188
- width: 45px;
189
- height: 25px;
188
+ width: 2.8125rem;
189
+ height: 1.5625rem;
190
190
  flex-shrink: 0;
191
- margin-left: 3px;
191
+ margin-left: 0.1875rem;
192
192
  }
193
193
  .brand-separator {
194
194
  color: var(--fg);
195
195
  font-weight: 400;
196
- margin: 0 2px;
196
+ margin: 0 0.125rem;
197
197
  }
198
198
  .muted {
199
199
  color: var(--muted);
200
200
  }
201
201
  .icon-button {
202
- width: 29px;
203
- height: 29px;
204
- padding: 4px;
202
+ width: 1.8125rem;
203
+ height: 1.8125rem;
204
+ padding: 0.25rem;
205
205
  color: var(--muted);
206
- border-radius: 5px;
206
+ border-radius: 0.3125rem;
207
207
  }
208
208
  .icon-button:hover {
209
209
  background: #ffffff08;
210
210
  color: var(--fg);
211
211
  }
212
212
  .primary {
213
- padding: 12px 18px;
213
+ padding: 0.75rem 1.125rem;
214
214
  background: var(--accent);
215
215
  color: var(--fg);
216
216
  border: 1px solid var(--accent);
217
217
  font-weight: 650;
218
- border-radius: 7px;
219
- box-shadow: 0 1px 2px #0002;
218
+ border-radius: 0.4375rem;
219
+ box-shadow: 0 1px 0.125rem #0002;
220
220
  white-space: nowrap;
221
221
  }
222
222
  .primary.small {
223
- padding: 8px 12px;
223
+ padding: 0.5rem 0.75rem;
224
224
  font-size: 1rem;
225
225
  }
226
226
  .secondary {
227
227
  border: 1px solid #443738;
228
228
  background: #2b2021;
229
- padding: 8px 12px;
230
- border-radius: 6px;
229
+ padding: 0.5rem 0.75rem;
230
+ border-radius: 0.375rem;
231
231
  font-size: 1rem;
232
232
  font-weight: 500;
233
233
  }
234
234
  .connection {
235
235
  display: flex;
236
236
  align-items: center;
237
- gap: 7px;
237
+ gap: 0.4375rem;
238
238
  color: var(--muted);
239
239
  font-size: 1rem;
240
240
  }
241
241
  .connection i,
242
242
  .live-dot {
243
- width: 5px;
244
- height: 5px;
243
+ width: 0.3125rem;
244
+ height: 0.3125rem;
245
245
  border-radius: 100%;
246
246
  background: #756062;
247
247
  display: inline-block;
@@ -250,19 +250,19 @@ svg {
250
250
  .connection .online,
251
251
  .live-dot {
252
252
  background: var(--accent);
253
- box-shadow: 0 0 7px #cdadb018;
253
+ box-shadow: 0 0 0.4375rem #cdadb018;
254
254
  }
255
255
  .version {
256
256
  font-family: var(--font-mono);
257
257
  color: var(--fg);
258
258
  font-size: 1rem;
259
259
  border: 1px solid #3b3031;
260
- border-radius: 4px;
261
- padding: 4px 6px;
260
+ border-radius: 0.25rem;
261
+ padding: 0.25rem 0.375rem;
262
262
  }
263
263
  .workspace {
264
264
  display: grid;
265
- grid-template-columns: minmax(340px, 34%) minmax(0, 1fr);
265
+ grid-template-columns: minmax(21.25rem, 34%) minmax(0, 1fr);
266
266
  flex: 1;
267
267
  min-height: 0;
268
268
  }
@@ -274,11 +274,11 @@ svg {
274
274
  background: var(--panel);
275
275
  }
276
276
  .session-heading {
277
- padding: 25px 26px 21px;
277
+ padding: 1.5625rem 1.625rem 1.3125rem;
278
278
  }
279
279
  .eyebrow {
280
280
  font-size: 1rem;
281
- letter-spacing: 1.8px;
281
+ letter-spacing: 0.1125rem;
282
282
  font-weight: 600;
283
283
  color: var(--fg);
284
284
  }
@@ -286,12 +286,12 @@ svg {
286
286
  font-size: 1rem;
287
287
  color: var(--fg);
288
288
  font-weight: 650;
289
- letter-spacing: -0.7px;
289
+ letter-spacing: -0.04375rem;
290
290
  display: flex;
291
291
  align-items: center;
292
292
  justify-content: space-between;
293
- gap: 10px;
294
- margin: 0 0 10px;
293
+ gap: 0.625rem;
294
+ margin: 0 0 0.625rem;
295
295
  overflow-wrap: anywhere;
296
296
  }
297
297
  .path {
@@ -300,29 +300,29 @@ svg {
300
300
  font-size: 1rem;
301
301
  display: flex;
302
302
  align-items: center;
303
- gap: 7px;
303
+ gap: 0.4375rem;
304
304
  overflow-wrap: anywhere;
305
305
  }
306
306
  .session-status {
307
307
  display: flex;
308
- gap: 9px;
308
+ gap: 0.5625rem;
309
309
  align-items: center;
310
- margin-top: 19px;
310
+ margin-top: 1.1875rem;
311
311
  }
312
312
  .status-pill {
313
313
  background: #352728;
314
314
  color: var(--fg);
315
315
  display: flex;
316
316
  align-items: center;
317
- gap: 6px;
318
- border-radius: 4px;
319
- padding: 4px 8px;
317
+ gap: 0.375rem;
318
+ border-radius: 0.25rem;
319
+ padding: 0.25rem 0.5rem;
320
320
  font-size: 1rem;
321
321
  line-height: 1.3;
322
322
  }
323
323
  .status-pill i {
324
- width: 4px;
325
- height: 4px;
324
+ width: 0.25rem;
325
+ height: 0.25rem;
326
326
  border-radius: 50%;
327
327
  background: currentColor;
328
328
  }
@@ -336,7 +336,7 @@ svg {
336
336
  .saved {
337
337
  margin-left: auto;
338
338
  display: flex;
339
- gap: 5px;
339
+ gap: 0.3125rem;
340
340
  align-items: center;
341
341
  font-size: 1rem;
342
342
  color: var(--fg);
@@ -346,16 +346,16 @@ svg {
346
346
  color: var(--fg);
347
347
  }
348
348
  .model-section {
349
- padding: 18px 26px 22px;
349
+ padding: 1.125rem 1.625rem 1.375rem;
350
350
  border-top: 1px solid var(--line);
351
351
  }
352
352
  .section-label {
353
353
  display: flex;
354
354
  justify-content: space-between;
355
355
  font-size: 1rem;
356
- letter-spacing: 1.3px;
356
+ letter-spacing: 0.08125rem;
357
357
  color: var(--fg);
358
- margin-bottom: 13px;
358
+ margin-bottom: 0.8125rem;
359
359
  }
360
360
  .section-label span + span {
361
361
  letter-spacing: 0;
@@ -365,23 +365,23 @@ svg {
365
365
  width: 100%;
366
366
  background: #251c1d;
367
367
  border: 1px solid #423435;
368
- padding: 11px 13px;
369
- border-radius: 8px;
368
+ padding: 0.6875rem 0.8125rem;
369
+ border-radius: 0.5rem;
370
370
  text-align: left;
371
371
  }
372
372
  .model-button img,
373
373
  .model-list img {
374
- width: 29px;
375
- height: 29px;
374
+ width: 1.8125rem;
375
+ height: 1.8125rem;
376
376
  object-fit: contain;
377
- border-radius: 6px;
377
+ border-radius: 0.375rem;
378
378
  background: #f0e8e9;
379
- padding: 3px;
379
+ padding: 0.1875rem;
380
380
  }
381
381
  .model-button > div {
382
382
  display: flex;
383
383
  flex-direction: column;
384
- gap: 3px;
384
+ gap: 0.1875rem;
385
385
  flex: 1;
386
386
  min-width: 0;
387
387
  }
@@ -399,31 +399,31 @@ svg {
399
399
  display: flex;
400
400
  align-items: center;
401
401
  justify-content: space-between;
402
- margin-top: 10px;
402
+ margin-top: 0.625rem;
403
403
  font-size: 1rem;
404
404
  color: var(--fg);
405
405
  }
406
406
  .thinking-row select {
407
407
  border: 0;
408
408
  background: none;
409
- padding: 4px 2px;
409
+ padding: 0.25rem 0.125rem;
410
410
  font-size: 1rem;
411
411
  color: var(--fg);
412
412
  }
413
413
  .metrics {
414
414
  display: grid;
415
415
  grid-template-columns: 1fr 1.3fr 0.5fr;
416
- margin-top: 21px;
416
+ margin-top: 1.3125rem;
417
417
  }
418
418
  .metrics > div {
419
419
  display: flex;
420
420
  flex-direction: column;
421
- gap: 5px;
421
+ gap: 0.3125rem;
422
422
  }
423
423
  .metrics span {
424
424
  font-family: var(--font-title);
425
425
  font-size: 1.1875rem;
426
- letter-spacing: -0.5px;
426
+ letter-spacing: -0.03125rem;
427
427
  font-weight: 500;
428
428
  }
429
429
  .metrics small {
@@ -431,21 +431,21 @@ svg {
431
431
  font-size: 1rem;
432
432
  }
433
433
  .stats-section {
434
- margin-top: 24px;
434
+ margin-top: 1.5rem;
435
435
  }
436
436
  .stats-section .metrics {
437
- margin-top: 14px;
437
+ margin-top: 0.875rem;
438
438
  }
439
439
  .usage-breakdown {
440
440
  width: 100%;
441
441
  border-collapse: collapse;
442
- margin-top: 22px;
442
+ margin-top: 1.375rem;
443
443
  font-size: 1rem;
444
444
  font-variant-numeric: tabular-nums;
445
445
  }
446
446
  .usage-breakdown th,
447
447
  .usage-breakdown td {
448
- padding: 10px 0;
448
+ padding: 0.625rem 0;
449
449
  text-align: right;
450
450
  border-bottom: 1px solid var(--line);
451
451
  font-weight: 400;
@@ -462,29 +462,29 @@ svg {
462
462
  .usage-breakdown td:first-child {
463
463
  text-align: left;
464
464
  overflow-wrap: anywhere;
465
- padding-right: 10px;
465
+ padding-right: 0.625rem;
466
466
  }
467
467
  .usage-breakdown td {
468
468
  color: var(--fg);
469
469
  }
470
470
  .inspector-tabs {
471
471
  display: flex;
472
- /* 13 tabs cannot fit one 450px row with whole labels (geometry-audited
472
+ /* 13 tabs cannot fit one 28.125rem row with whole labels (geometry-audited
473
473
  live): icons carry the strip, the ACTIVE tab names itself, every button
474
474
  has a title tooltip, and each panel has its own heading — no truncation
475
475
  and no four-row wrap. */
476
476
  border-top: 1px solid var(--line);
477
477
  border-bottom: 1px solid var(--line);
478
- padding: 0 6px;
478
+ padding: 0 0.375rem;
479
479
  background: var(--tree);
480
480
  }
481
481
  .inspector-tabs button {
482
482
  color: var(--fg);
483
483
  font-size: 0.9375rem;
484
484
  flex: 0 0 auto;
485
- padding: 10px 8px 8px;
486
- gap: 6px;
487
- border-bottom: 2px solid transparent;
485
+ padding: 0.625rem 0.5rem 0.5rem;
486
+ gap: 0.375rem;
487
+ border-bottom: 0.125rem solid transparent;
488
488
  }
489
489
  .inspector-tabs .tab-label {
490
490
  display: none;
@@ -498,14 +498,14 @@ svg {
498
498
  }
499
499
  .count {
500
500
  font-size: 1rem;
501
- padding: 1px 4px;
501
+ padding: 1px 0.25rem;
502
502
  background: #462f31;
503
- border-radius: 4px;
503
+ border-radius: 0.25rem;
504
504
  }
505
505
  .inspector-body {
506
506
  flex: 1;
507
507
  overflow: auto;
508
- padding: 23px 26px 32px;
508
+ padding: 1.4375rem 1.625rem 2rem;
509
509
  scrollbar-width: thin;
510
510
  scrollbar-color: var(--line) transparent;
511
511
  }
@@ -513,7 +513,7 @@ svg {
513
513
  display: flex;
514
514
  justify-content: space-between;
515
515
  align-items: center;
516
- gap: 9px;
516
+ gap: 0.5625rem;
517
517
  }
518
518
  .panel-heading svg {
519
519
  color: var(--fg);
@@ -523,8 +523,8 @@ svg {
523
523
  background: #302526;
524
524
  color: var(--fg);
525
525
  border: 1px solid #403536;
526
- border-radius: 4px;
527
- padding: 3px 5px;
526
+ border-radius: 0.25rem;
527
+ padding: 0.1875rem 0.3125rem;
528
528
  white-space: nowrap;
529
529
  }
530
530
  .tag.completed {
@@ -541,21 +541,21 @@ svg {
541
541
  font-size: 1rem;
542
542
  line-height: 1.65;
543
543
  color: var(--fg);
544
- margin: 8px 0 18px;
544
+ margin: 0.5rem 0 1.125rem;
545
545
  }
546
546
  .field-label {
547
547
  display: block;
548
548
  font-size: 1rem;
549
549
  letter-spacing: 1px;
550
550
  color: var(--fg);
551
- margin-bottom: 8px;
551
+ margin-bottom: 0.5rem;
552
552
  }
553
553
  .inline-input {
554
554
  display: flex;
555
555
  align-items: center;
556
556
  background: #181112;
557
557
  border: 1px solid #3a2d2e;
558
- border-radius: 7px;
558
+ border-radius: 0.4375rem;
559
559
  overflow: hidden;
560
560
  }
561
561
  .inline-input input {
@@ -563,11 +563,11 @@ svg {
563
563
  background: none;
564
564
  width: 100%;
565
565
  box-shadow: none;
566
- padding: 10px;
566
+ padding: 0.625rem;
567
567
  font-size: 1rem;
568
568
  }
569
569
  .inline-input .icon-button {
570
- margin-right: 4px;
570
+ margin-right: 0.25rem;
571
571
  }
572
572
  .counter-card {
573
573
  display: flex;
@@ -575,19 +575,19 @@ svg {
575
575
  align-items: center;
576
576
  background: #261b1c;
577
577
  border: 1px solid #403031;
578
- border-radius: 8px;
579
- padding: 17px 15px;
580
- margin: 16px 0;
578
+ border-radius: 0.5rem;
579
+ padding: 1.0625rem 0.9375rem;
580
+ margin: 1rem 0;
581
581
  }
582
582
  .app-state-json {
583
- margin: 16px 0 24px;
584
- padding: 16px;
585
- max-height: 300px;
583
+ margin: 1rem 0 1.5rem;
584
+ padding: 1rem;
585
+ max-height: 18.75rem;
586
586
  overflow: auto;
587
587
  white-space: pre-wrap;
588
588
  overflow-wrap: anywhere;
589
589
  border: 1px solid var(--line);
590
- border-radius: 8px;
590
+ border-radius: 0.5rem;
591
591
  background: #140e10;
592
592
  font-size: 1rem;
593
593
  line-height: 1.6;
@@ -597,9 +597,9 @@ svg {
597
597
  }
598
598
  .state-field:not(.state-root) {
599
599
  border: 1px solid var(--line);
600
- border-radius: 8px;
601
- padding: 12px;
602
- margin: 10px 0;
600
+ border-radius: 0.5rem;
601
+ padding: 0.75rem;
602
+ margin: 0.625rem 0;
603
603
  }
604
604
  .state-field .state-field {
605
605
  background: #25191c40;
@@ -607,8 +607,8 @@ svg {
607
607
  .state-field-heading {
608
608
  display: flex;
609
609
  align-items: center;
610
- gap: 8px;
611
- margin-bottom: 12px;
610
+ gap: 0.5rem;
611
+ margin-bottom: 0.75rem;
612
612
  }
613
613
  .state-field-heading strong {
614
614
  flex: 1;
@@ -618,8 +618,8 @@ svg {
618
618
  }
619
619
  .state-field-heading select {
620
620
  width: auto;
621
- max-width: 120px;
622
- padding: 5px;
621
+ max-width: 7.5rem;
622
+ padding: 0.3125rem;
623
623
  color: var(--secondary);
624
624
  }
625
625
  .state-field-heading .icon-button {
@@ -634,7 +634,7 @@ svg {
634
634
  .state-number {
635
635
  display: flex;
636
636
  align-items: center;
637
- gap: 8px;
637
+ gap: 0.5rem;
638
638
  }
639
639
  .state-number input {
640
640
  text-align: center;
@@ -645,13 +645,13 @@ svg {
645
645
  appearance: none;
646
646
  }
647
647
  .state-number button {
648
- padding: 10px;
648
+ padding: 0.625rem;
649
649
  flex-shrink: 0;
650
650
  }
651
651
  .state-boolean {
652
652
  display: flex;
653
653
  align-items: center;
654
- gap: 12px;
654
+ gap: 0.75rem;
655
655
  }
656
656
  .state-boolean > span {
657
657
  color: var(--secondary);
@@ -659,8 +659,8 @@ svg {
659
659
  .state-add {
660
660
  display: flex;
661
661
  flex-wrap: wrap;
662
- gap: 8px;
663
- margin-top: 12px;
662
+ gap: 0.5rem;
663
+ margin-top: 0.75rem;
664
664
  }
665
665
  .state-add input {
666
666
  flex-basis: 100%;
@@ -670,7 +670,7 @@ svg {
670
670
  flex: 1;
671
671
  }
672
672
  .state-add-button {
673
- margin-top: 8px;
673
+ margin-top: 0.5rem;
674
674
  }
675
675
  .counter-card .field-label {
676
676
  font-size: 1rem;
@@ -682,7 +682,7 @@ svg {
682
682
  color: var(--accent);
683
683
  font-size: 2rem;
684
684
  font-weight: 500;
685
- margin-top: 4px;
685
+ margin-top: 0.25rem;
686
686
  line-height: 1.1;
687
687
  }
688
688
  .counter-card .secondary {
@@ -690,38 +690,38 @@ svg {
690
690
  color: var(--fg);
691
691
  border-color: #5a3c3f;
692
692
  font-size: 1rem;
693
- padding: 7px 9px;
693
+ padding: 0.4375rem 0.5625rem;
694
694
  }
695
695
  .note {
696
696
  display: flex;
697
697
  align-items: flex-start;
698
- gap: 8px;
698
+ gap: 0.5rem;
699
699
  font-size: 1rem;
700
700
  line-height: 1.6;
701
- margin: 0 0 10px;
701
+ margin: 0 0 0.625rem;
702
702
  color: var(--fg);
703
703
  overflow-wrap: anywhere;
704
704
  }
705
705
  .note > span {
706
- width: 4px;
707
- height: 4px;
706
+ width: 0.25rem;
707
+ height: 0.25rem;
708
708
  background: #836669;
709
709
  border-radius: 50%;
710
- margin-top: 7px;
710
+ margin-top: 0.4375rem;
711
711
  flex-shrink: 0;
712
712
  }
713
713
  .notes {
714
- margin-bottom: 14px;
714
+ margin-bottom: 0.875rem;
715
715
  }
716
716
  .raw {
717
- margin-top: 16px;
717
+ margin-top: 1rem;
718
718
  border-top: 1px solid var(--line);
719
- padding-top: 12px;
719
+ padding-top: 0.75rem;
720
720
  }
721
721
  .raw summary {
722
722
  display: flex;
723
723
  align-items: center;
724
- gap: 7px;
724
+ gap: 0.4375rem;
725
725
  list-style: none;
726
726
  cursor: pointer;
727
727
  color: var(--fg);
@@ -743,11 +743,11 @@ svg {
743
743
  }
744
744
  .raw pre {
745
745
  background: var(--chat);
746
- padding: 11px;
746
+ padding: 0.6875rem;
747
747
  border: 1px solid #35292a;
748
- border-radius: 6px;
748
+ border-radius: 0.375rem;
749
749
  color: var(--fg);
750
- max-height: 340px;
750
+ max-height: 21.25rem;
751
751
  overflow: auto;
752
752
  }
753
753
  .raw textarea {
@@ -755,26 +755,26 @@ svg {
755
755
  font-size: 1rem;
756
756
  }
757
757
  .raw button {
758
- margin-top: 8px;
758
+ margin-top: 0.5rem;
759
759
  }
760
760
  .section-divider {
761
761
  border-top: 1px solid var(--line);
762
- margin: 25px 0 22px;
762
+ margin: 1.5625rem 0 1.375rem;
763
763
  }
764
764
  .demo-action {
765
765
  display: flex;
766
766
  align-items: center;
767
767
  width: 100%;
768
768
  text-align: left;
769
- padding: 12px 0;
769
+ padding: 0.75rem 0;
770
770
  border-bottom: 1px solid #362829;
771
- gap: 11px;
771
+ gap: 0.6875rem;
772
772
  }
773
773
  .demo-action > span:nth-child(2) {
774
774
  display: flex;
775
775
  flex: 1;
776
776
  flex-direction: column;
777
- gap: 4px;
777
+ gap: 0.25rem;
778
778
  }
779
779
  .demo-action strong {
780
780
  font-size: 1rem;
@@ -788,11 +788,11 @@ svg {
788
788
  color: var(--fg);
789
789
  }
790
790
  .demo-icon {
791
- width: 32px;
792
- height: 32px;
791
+ width: 2rem;
792
+ height: 2rem;
793
793
  background: #3b292b;
794
794
  color: var(--accent);
795
- border-radius: 7px;
795
+ border-radius: 0.4375rem;
796
796
  display: flex;
797
797
  align-items: center;
798
798
  justify-content: center;
@@ -802,28 +802,28 @@ svg {
802
802
  color: var(--fg);
803
803
  }
804
804
  .job-card {
805
- margin-top: 16px;
805
+ margin-top: 1rem;
806
806
  border: 1px solid #453536;
807
807
  background: #26191a;
808
- border-radius: 7px;
809
- padding: 13px;
808
+ border-radius: 0.4375rem;
809
+ padding: 0.8125rem;
810
810
  }
811
811
  .job-title {
812
812
  display: flex;
813
813
  align-items: center;
814
814
  justify-content: space-between;
815
- gap: 5px;
815
+ gap: 0.3125rem;
816
816
  }
817
817
  .job-title strong {
818
818
  font-size: 1rem;
819
819
  font-weight: 500;
820
820
  }
821
821
  .progress {
822
- height: 3px;
822
+ height: 0.1875rem;
823
823
  background: #403031;
824
- border-radius: 4px;
824
+ border-radius: 0.25rem;
825
825
  overflow: hidden;
826
- margin: 14px 0 8px;
826
+ margin: 0.875rem 0 0.5rem;
827
827
  }
828
828
  .progress > div {
829
829
  height: 100%;
@@ -836,41 +836,41 @@ svg {
836
836
  font-family: var(--font-mono);
837
837
  font-size: 1rem;
838
838
  color: var(--fg);
839
- gap: 6px;
839
+ gap: 0.375rem;
840
840
  }
841
841
  .approval {
842
842
  display: flex;
843
843
  flex-wrap: wrap;
844
- gap: 7px;
845
- margin-top: 15px;
844
+ gap: 0.4375rem;
845
+ margin-top: 0.9375rem;
846
846
  }
847
847
  .approval > span {
848
848
  width: 100%;
849
849
  font-size: 1rem;
850
850
  color: var(--fg);
851
- margin-bottom: 3px;
851
+ margin-bottom: 0.1875rem;
852
852
  }
853
853
  .approval button {
854
854
  font-size: 1rem;
855
- padding: 6px 10px;
855
+ padding: 0.375rem 0.625rem;
856
856
  }
857
857
  .text-button {
858
858
  color: var(--accent);
859
859
  font-size: 1rem;
860
- margin-top: 12px;
860
+ margin-top: 0.75rem;
861
861
  padding: 0;
862
862
  }
863
863
  .danger {
864
864
  color: var(--fg);
865
865
  }
866
866
  .inspector-footer {
867
- height: 39px;
868
- min-height: 39px;
867
+ height: 2.4375rem;
868
+ min-height: 2.4375rem;
869
869
  border-top: 1px solid #372728;
870
870
  display: flex;
871
871
  align-items: center;
872
- gap: 8px;
873
- padding: 0 22px;
872
+ gap: 0.5rem;
873
+ padding: 0 1.375rem;
874
874
  font-size: 1rem;
875
875
  color: var(--fg);
876
876
  }
@@ -888,33 +888,33 @@ svg {
888
888
  display: flex;
889
889
  flex-wrap: wrap;
890
890
  align-items: center;
891
- gap: 12px;
892
- padding: 12px 24px;
891
+ gap: 0.75rem;
892
+ padding: 0.75rem 1.5rem;
893
893
  border-bottom: 1px solid var(--warn);
894
894
  color: var(--warn);
895
895
  }
896
896
  .agent-stream-status > div {
897
- flex: 1 1 220px;
897
+ flex: 1 1 13.75rem;
898
898
  min-width: 0;
899
899
  overflow-wrap: anywhere;
900
900
  }
901
901
  .agent-stream-status p {
902
- margin: 4px 0 0;
902
+ margin: 0.25rem 0 0;
903
903
  font-size: 0.8125rem;
904
904
  }
905
905
  .chat-header {
906
906
  display: flex;
907
907
  align-items: center;
908
908
  justify-content: space-between;
909
- padding: 0 25px;
909
+ padding: 0 1.5625rem;
910
910
  border-bottom: 1px solid var(--line);
911
- min-height: 63px;
911
+ min-height: 3.9375rem;
912
912
  background: #1c1415;
913
913
  }
914
914
  .conversation-select {
915
915
  display: flex;
916
916
  align-items: center;
917
- gap: 9px;
917
+ gap: 0.5625rem;
918
918
  color: var(--fg);
919
919
  min-width: 0;
920
920
  }
@@ -924,13 +924,13 @@ svg {
924
924
  box-shadow: none;
925
925
  color: var(--fg);
926
926
  font-size: 1rem;
927
- padding: 8px 3px;
928
- max-width: 230px;
927
+ padding: 0.5rem 0.1875rem;
928
+ max-width: 14.375rem;
929
929
  }
930
930
  .fork-label {
931
931
  display: flex;
932
932
  align-items: center;
933
- gap: 3px;
933
+ gap: 0.1875rem;
934
934
  font-size: 1rem;
935
935
  white-space: nowrap;
936
936
  color: var(--fg);
@@ -938,7 +938,7 @@ svg {
938
938
  .chat-header-actions {
939
939
  display: flex;
940
940
  align-items: center;
941
- gap: 8px;
941
+ gap: 0.5rem;
942
942
  }
943
943
  .relative {
944
944
  position: relative;
@@ -946,21 +946,21 @@ svg {
946
946
  .dropdown {
947
947
  position: absolute;
948
948
  right: 0;
949
- top: 36px;
949
+ top: 2.25rem;
950
950
  z-index: 20;
951
951
  border: 1px solid #4b3b3c;
952
952
  background: var(--line-soft);
953
- border-radius: 8px;
954
- box-shadow: 0 10px 35px #0005;
955
- padding: 6px;
956
- min-width: 205px;
953
+ border-radius: 0.5rem;
954
+ box-shadow: 0 0.625rem 2.1875rem #0005;
955
+ padding: 0.375rem;
956
+ min-width: 12.8125rem;
957
957
  }
958
958
  .dropdown button {
959
959
  display: flex;
960
960
  width: 100%;
961
961
  justify-content: flex-start;
962
- padding: 10px 9px;
963
- border-radius: 5px;
962
+ padding: 0.625rem 0.5625rem;
963
+ border-radius: 0.3125rem;
964
964
  color: var(--fg);
965
965
  font-size: 1rem;
966
966
  }
@@ -970,7 +970,7 @@ svg {
970
970
  .chat-scroll {
971
971
  flex: 1;
972
972
  overflow: auto;
973
- padding: 32px clamp(24px, 5vw, 88px) 20px;
973
+ padding: 2rem clamp(1.5rem, 5vw, 5.5rem) 1.25rem;
974
974
  scrollbar-width: thin;
975
975
  scrollbar-color: var(--line) transparent;
976
976
  scroll-behavior: smooth;
@@ -982,45 +982,45 @@ svg {
982
982
  justify-content: center;
983
983
  min-height: 100%;
984
984
  text-align: center;
985
- padding: 30px 0 48px;
985
+ padding: 1.875rem 0 3rem;
986
986
  overflow-wrap: anywhere; /* long cwds/paths must break, not bleed (narrow viewports) */
987
987
  }
988
988
  .agent-orb {
989
989
  position: relative;
990
- width: 58px;
991
- height: 58px;
990
+ width: 3.625rem;
991
+ height: 3.625rem;
992
992
  border: 1px solid #503a3c;
993
993
  background: radial-gradient(ellipse at top, #492d2f, #281a1b);
994
- border-radius: 17px;
994
+ border-radius: 1.0625rem;
995
995
  display: flex;
996
996
  align-items: center;
997
997
  justify-content: center;
998
- margin-bottom: 26px;
999
- box-shadow: 0 10px 50px #b07d820c;
998
+ margin-bottom: 1.625rem;
999
+ box-shadow: 0 0.625rem 3.125rem #b07d820c;
1000
1000
  }
1001
1001
  .agent-orb > img {
1002
- width: 45px;
1003
- height: 25px;
1002
+ width: 2.8125rem;
1003
+ height: 1.5625rem;
1004
1004
  }
1005
1005
  .agent-orb > i {
1006
1006
  position: absolute;
1007
- right: -2px;
1007
+ right: -0.125rem;
1008
1008
  bottom: -1px;
1009
- width: 11px;
1010
- height: 11px;
1011
- border: 3px solid var(--chat);
1009
+ width: 0.6875rem;
1010
+ height: 0.6875rem;
1011
+ border: 0.1875rem solid var(--chat);
1012
1012
  background: var(--accent);
1013
1013
  border-radius: 50%;
1014
1014
  }
1015
1015
  .chat-empty .eyebrow {
1016
1016
  font-size: 1rem;
1017
- letter-spacing: 2.1px;
1017
+ letter-spacing: 0.13125rem;
1018
1018
  }
1019
1019
  .chat-empty h2 {
1020
1020
  font-size: 1.6875rem;
1021
1021
  font-weight: 500;
1022
- letter-spacing: -0.8px;
1023
- margin: 11px 0;
1022
+ letter-spacing: -0.05rem;
1023
+ margin: 0.6875rem 0;
1024
1024
  }
1025
1025
  .chat-empty p {
1026
1026
  font-size: 1rem;
@@ -1030,10 +1030,10 @@ svg {
1030
1030
  .starter-grid {
1031
1031
  display: grid;
1032
1032
  grid-template-columns: 1fr 1fr;
1033
- gap: 13px;
1034
- margin-top: 34px;
1033
+ gap: 0.8125rem;
1034
+ margin-top: 2.125rem;
1035
1035
  width: 100%;
1036
- max-width: 470px;
1036
+ max-width: 29.375rem;
1037
1037
  }
1038
1038
  .starter-grid button {
1039
1039
  position: relative;
@@ -1041,15 +1041,15 @@ svg {
1041
1041
  flex-direction: column;
1042
1042
  align-items: flex-start;
1043
1043
  text-align: left;
1044
- padding: 18px;
1044
+ padding: 1.125rem;
1045
1045
  border: 1px solid #3c2c2d;
1046
- border-radius: 8px;
1046
+ border-radius: 0.5rem;
1047
1047
  background: var(--tree);
1048
- gap: 6px;
1048
+ gap: 0.375rem;
1049
1049
  }
1050
1050
  .starter-grid button > svg:first-child {
1051
1051
  color: var(--fg);
1052
- margin-bottom: 13px;
1052
+ margin-bottom: 0.8125rem;
1053
1053
  }
1054
1054
  .starter-grid strong {
1055
1055
  font-size: 1rem;
@@ -1061,40 +1061,40 @@ svg {
1061
1061
  }
1062
1062
  .starter-grid button > svg:last-child {
1063
1063
  position: absolute;
1064
- right: 13px;
1065
- top: 16px;
1064
+ right: 0.8125rem;
1065
+ top: 1rem;
1066
1066
  color: var(--fg);
1067
1067
  }
1068
1068
  .composer-region {
1069
- padding: 18px clamp(20px, 3vw, 46px) 16px;
1069
+ padding: 1.125rem clamp(1.25rem, 3vw, 2.875rem) 1rem;
1070
1070
  background: linear-gradient(transparent, var(--chat) 15%);
1071
1071
  }
1072
1072
  .composer {
1073
1073
  background: #281c1d;
1074
1074
  border: 1px solid #513d3f;
1075
- border-radius: 11px;
1076
- box-shadow: 0 6px 30px #0002;
1075
+ border-radius: 0.6875rem;
1076
+ box-shadow: 0 0.375rem 1.875rem #0002;
1077
1077
  }
1078
1078
  .composer textarea {
1079
1079
  width: 100%;
1080
1080
  display: block;
1081
1081
  resize: none;
1082
- min-height: 80px;
1083
- max-height: 220px;
1082
+ min-height: 5rem;
1083
+ max-height: 13.75rem;
1084
1084
  border: 0;
1085
1085
  box-shadow: none;
1086
1086
  background: none;
1087
- padding: 18px 20px 9px;
1087
+ padding: 1.125rem 1.25rem 0.5625rem;
1088
1088
  font-size: 1rem;
1089
1089
  }
1090
1090
  /* The 'oversized input' was THIS BOX: .composer textarea outranked every
1091
1091
  element-level input rule ever written (specificity 0,1,1) — a phone in the
1092
- 741–1100 band kept the 80px-tall desktop composer through every release.
1092
+ 741–1100 band kept the 5rem-tall desktop composer through every release.
1093
1093
  Shrink it progressively; ≤780 it is a slim phone composer. */
1094
1094
  @media (max-width: 1100px) {
1095
1095
  .composer textarea {
1096
- min-height: 56px;
1097
- padding: 10px 14px 6px;
1096
+ min-height: 3.5rem;
1097
+ padding: 0.625rem 0.875rem 0.375rem;
1098
1098
  }
1099
1099
  }
1100
1100
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
@@ -1105,19 +1105,19 @@ svg {
1105
1105
  flex-wrap: wrap; /* narrow viewports: controls flow to a second line instead of overflowing */
1106
1106
  align-items: center;
1107
1107
  justify-content: space-between;
1108
- padding: 9px 11px 12px 17px;
1109
- gap: 7px;
1108
+ padding: 0.5625rem 0.6875rem 0.75rem 1.0625rem;
1109
+ gap: 0.4375rem;
1110
1110
  }
1111
1111
  .composer-left,
1112
1112
  .composer-right {
1113
1113
  display: flex;
1114
1114
  align-items: center;
1115
- gap: 12px;
1115
+ gap: 0.75rem;
1116
1116
  }
1117
1117
  .context-indicator {
1118
1118
  display: flex;
1119
1119
  align-items: center;
1120
- gap: 5px;
1120
+ gap: 0.3125rem;
1121
1121
  font-size: 1rem;
1122
1122
  color: var(--fg);
1123
1123
  }
@@ -1126,53 +1126,53 @@ svg {
1126
1126
  border: 0;
1127
1127
  background: none;
1128
1128
  color: var(--fg);
1129
- padding: 4px;
1129
+ padding: 0.25rem;
1130
1130
  }
1131
1131
  .interrupt {
1132
1132
  color: var(--fg);
1133
1133
  font-size: 1rem;
1134
- padding: 6px 8px;
1135
- border-radius: 5px;
1134
+ padding: 0.375rem 0.5rem;
1135
+ border-radius: 0.3125rem;
1136
1136
  border: 1px solid #66414460;
1137
1137
  background: #452b2d24;
1138
1138
  }
1139
1139
  .send {
1140
- width: 33px;
1141
- height: 33px;
1140
+ width: 2.0625rem;
1141
+ height: 2.0625rem;
1142
1142
  background: var(--accent);
1143
1143
  color: var(--fg);
1144
- border-radius: 7px;
1144
+ border-radius: 0.4375rem;
1145
1145
  }
1146
1146
  .composer-footnote {
1147
1147
  display: flex;
1148
1148
  align-items: center;
1149
1149
  justify-content: space-between;
1150
- margin-top: 11px;
1151
- gap: 12px;
1150
+ margin-top: 0.6875rem;
1151
+ gap: 0.75rem;
1152
1152
  font-size: 1rem;
1153
1153
  color: var(--fg);
1154
1154
  }
1155
1155
  .composer-footnote > span:first-child {
1156
1156
  display: flex;
1157
1157
  align-items: center;
1158
- gap: 6px;
1158
+ gap: 0.375rem;
1159
1159
  }
1160
1160
  .composer-footnote .live-dot {
1161
- height: 4px;
1162
- width: 4px;
1161
+ height: 0.25rem;
1162
+ width: 0.25rem;
1163
1163
  }
1164
1164
  .entry {
1165
- margin-bottom: 26px;
1165
+ margin-bottom: 1.625rem;
1166
1166
  position: relative;
1167
1167
  }
1168
1168
  .message-label {
1169
1169
  display: flex;
1170
- gap: 8px;
1170
+ gap: 0.5rem;
1171
1171
  align-items: center;
1172
1172
  color: var(--fg);
1173
1173
  font-size: 1rem;
1174
- letter-spacing: 1.3px;
1175
- margin-bottom: 10px;
1174
+ letter-spacing: 0.08125rem;
1175
+ margin-bottom: 0.625rem;
1176
1176
  }
1177
1177
  .message-label > span:not(.mini-pi):not(.streaming) {
1178
1178
  font-family: var(--font-mono);
@@ -1187,12 +1187,12 @@ svg {
1187
1187
  color: var(--fg);
1188
1188
  }
1189
1189
  .pi-user {
1190
- padding-bottom: 20px;
1190
+ padding-bottom: 1.25rem;
1191
1191
  border-bottom: 1px solid #392628;
1192
1192
  }
1193
1193
  .mini-pi {
1194
- width: 36px;
1195
- height: 20px;
1194
+ width: 2.25rem;
1195
+ height: 1.25rem;
1196
1196
  flex-shrink: 0;
1197
1197
  }
1198
1198
  .markdown {
@@ -1202,7 +1202,7 @@ svg {
1202
1202
  overflow-wrap: anywhere;
1203
1203
  }
1204
1204
  .markdown p {
1205
- margin: 0 0 14px;
1205
+ margin: 0 0 0.875rem;
1206
1206
  }
1207
1207
  .markdown p:last-child {
1208
1208
  margin-bottom: 0;
@@ -1212,15 +1212,15 @@ svg {
1212
1212
  .markdown h3 {
1213
1213
  color: var(--fg);
1214
1214
  font-size: 1rem;
1215
- margin: 22px 0 12px;
1215
+ margin: 1.375rem 0 0.75rem;
1216
1216
  }
1217
1217
  .markdown ul,
1218
1218
  .markdown ol {
1219
- padding-left: 23px;
1220
- margin: 12px 0;
1219
+ padding-left: 1.4375rem;
1220
+ margin: 0.75rem 0;
1221
1221
  }
1222
1222
  .markdown li {
1223
- margin: 6px 0;
1223
+ margin: 0.375rem 0;
1224
1224
  }
1225
1225
  .markdown strong {
1226
1226
  color: var(--fg);
@@ -1229,16 +1229,16 @@ svg {
1229
1229
  .markdown code {
1230
1230
  font-size: 1rem;
1231
1231
  background: #3a2628;
1232
- padding: 2px 5px;
1233
- border-radius: 4px;
1232
+ padding: 0.125rem 0.3125rem;
1233
+ border-radius: 0.25rem;
1234
1234
  color: var(--fg);
1235
1235
  }
1236
1236
  .markdown pre {
1237
- padding: 16px;
1237
+ padding: 1rem;
1238
1238
  background: #251819;
1239
1239
  border: 1px solid #3d2b2d;
1240
- border-radius: 7px;
1241
- margin: 14px 0;
1240
+ border-radius: 0.4375rem;
1241
+ margin: 0.875rem 0;
1242
1242
  overflow: auto;
1243
1243
  white-space: pre;
1244
1244
  }
@@ -1256,7 +1256,7 @@ svg {
1256
1256
  .markdown td,
1257
1257
  .markdown th {
1258
1258
  border: 1px solid var(--line);
1259
- padding: 8px;
1259
+ padding: 0.5rem;
1260
1260
  text-align: left;
1261
1261
  }
1262
1262
  .fork-button {
@@ -1266,7 +1266,7 @@ svg {
1266
1266
  letter-spacing: 0;
1267
1267
  margin-left: auto;
1268
1268
  opacity: 1;
1269
- padding: 3px 5px;
1269
+ padding: 0.1875rem 0.3125rem;
1270
1270
  white-space: nowrap;
1271
1271
  }
1272
1272
  .entry:hover .fork-button,
@@ -1276,24 +1276,24 @@ svg {
1276
1276
  .event-line {
1277
1277
  display: flex;
1278
1278
  align-items: center;
1279
- gap: 7px;
1279
+ gap: 0.4375rem;
1280
1280
  font-size: 1rem;
1281
1281
  color: var(--fg);
1282
- padding: 8px 0;
1282
+ padding: 0.5rem 0;
1283
1283
  }
1284
1284
  .event-line > span {
1285
1285
  flex: 1;
1286
1286
  }
1287
1287
  .pi-tool-result {
1288
- margin-top: -17px;
1289
- margin-bottom: 20px;
1288
+ margin-top: -1.0625rem;
1289
+ margin-bottom: 1.25rem;
1290
1290
  }
1291
1291
  .tool-call,
1292
1292
  .tool-result {
1293
1293
  border: 1px solid #453032;
1294
- border-radius: 6px;
1294
+ border-radius: 0.375rem;
1295
1295
  background: #251819;
1296
- margin: 10px 0;
1296
+ margin: 0.625rem 0;
1297
1297
  color: var(--fg);
1298
1298
  font-size: 1rem;
1299
1299
  overflow: hidden;
@@ -1301,10 +1301,10 @@ svg {
1301
1301
  .tool-call summary,
1302
1302
  .tool-result summary {
1303
1303
  display: flex;
1304
- gap: 9px;
1304
+ gap: 0.5625rem;
1305
1305
  align-items: center;
1306
1306
  list-style: none;
1307
- padding: 10px 12px;
1307
+ padding: 0.625rem 0.75rem;
1308
1308
  cursor: pointer;
1309
1309
  }
1310
1310
  .tool-call summary:after,
@@ -1322,11 +1322,11 @@ svg {
1322
1322
  }
1323
1323
  .tool-call pre,
1324
1324
  .tool-result pre {
1325
- padding: 11px;
1325
+ padding: 0.6875rem;
1326
1326
  margin: 0;
1327
1327
  border-top: 1px solid #412b2d;
1328
1328
  color: var(--fg);
1329
- max-height: 340px;
1329
+ max-height: 21.25rem;
1330
1330
  overflow: auto;
1331
1331
  }
1332
1332
  .tool-result {
@@ -1351,8 +1351,8 @@ svg {
1351
1351
  .tool-section-label {
1352
1352
  display: flex;
1353
1353
  align-items: center;
1354
- gap: 12px;
1355
- padding: 10px 12px;
1354
+ gap: 0.75rem;
1355
+ padding: 0.625rem 0.75rem;
1356
1356
  border-top: 1px solid #412b2d;
1357
1357
  color: var(--secondary);
1358
1358
  }
@@ -1362,7 +1362,7 @@ svg {
1362
1362
  .thinking {
1363
1363
  font-size: 1rem;
1364
1364
  color: var(--fg);
1365
- margin: 8px 0 16px;
1365
+ margin: 0.5rem 0 1rem;
1366
1366
  }
1367
1367
  .thinking summary {
1368
1368
  cursor: pointer;
@@ -1371,8 +1371,8 @@ svg {
1371
1371
  white-space: pre-wrap;
1372
1372
  font-size: 1rem;
1373
1373
  line-height: 1.8;
1374
- margin-top: 12px;
1375
- padding-left: 12px;
1374
+ margin-top: 0.75rem;
1375
+ padding-left: 0.75rem;
1376
1376
  border-left: 1px solid #5a3a3d;
1377
1377
  color: var(--fg);
1378
1378
  }
@@ -1382,9 +1382,9 @@ svg {
1382
1382
  color: var(--fg);
1383
1383
  border: 1px solid #6b4245;
1384
1384
  background: #39232550;
1385
- padding: 10px;
1386
- border-radius: 6px;
1387
- margin-top: 10px;
1385
+ padding: 0.625rem;
1386
+ border-radius: 0.375rem;
1387
+ margin-top: 0.625rem;
1388
1388
  overflow-wrap: anywhere;
1389
1389
  }
1390
1390
  .streaming {
@@ -1395,12 +1395,12 @@ svg {
1395
1395
  }
1396
1396
  .typing {
1397
1397
  display: flex;
1398
- gap: 5px;
1399
- padding: 12px 0;
1398
+ gap: 0.3125rem;
1399
+ padding: 0.75rem 0;
1400
1400
  }
1401
1401
  .typing i {
1402
- height: 5px;
1403
- width: 5px;
1402
+ height: 0.3125rem;
1403
+ width: 0.3125rem;
1404
1404
  background: #af7c81;
1405
1405
  border-radius: 50%;
1406
1406
  animation: pulse 1.2s infinite;
@@ -1414,14 +1414,14 @@ svg {
1414
1414
  .live-tool {
1415
1415
  border: 1px solid #624346;
1416
1416
  background: #2c1d1e;
1417
- border-radius: 6px;
1418
- padding: 11px;
1419
- margin: 10px 0;
1417
+ border-radius: 0.375rem;
1418
+ padding: 0.6875rem;
1419
+ margin: 0.625rem 0;
1420
1420
  }
1421
1421
  .live-tool > div {
1422
1422
  display: flex;
1423
1423
  align-items: center;
1424
- gap: 8px;
1424
+ gap: 0.5rem;
1425
1425
  font-size: 1rem;
1426
1426
  color: var(--fg);
1427
1427
  }
@@ -1431,21 +1431,21 @@ svg {
1431
1431
  font-size: 1rem;
1432
1432
  }
1433
1433
  .live-tool pre {
1434
- max-height: 150px;
1434
+ max-height: 9.375rem;
1435
1435
  overflow: auto;
1436
1436
  color: var(--fg);
1437
1437
  }
1438
1438
  .queue {
1439
- margin-bottom: 10px;
1439
+ margin-bottom: 0.625rem;
1440
1440
  border: 1px solid #4a3537;
1441
1441
  background: #2e1f20;
1442
- border-radius: 7px;
1443
- padding: 5px 10px;
1442
+ border-radius: 0.4375rem;
1443
+ padding: 0.3125rem 0.625rem;
1444
1444
  }
1445
1445
  .queue > div {
1446
1446
  display: flex;
1447
1447
  align-items: center;
1448
- gap: 7px;
1448
+ gap: 0.4375rem;
1449
1449
  font-size: 1rem;
1450
1450
  color: var(--fg);
1451
1451
  }
@@ -1457,19 +1457,19 @@ svg {
1457
1457
  }
1458
1458
  .history-banner {
1459
1459
  display: flex;
1460
- gap: 7px;
1460
+ gap: 0.4375rem;
1461
1461
  align-items: center;
1462
- padding: 8px 26px;
1462
+ padding: 0.5rem 1.625rem;
1463
1463
  background: #33292a33;
1464
1464
  color: var(--fg);
1465
1465
  font-size: 1rem;
1466
1466
  }
1467
1467
  .empty-panel {
1468
- padding: 30px 0;
1468
+ padding: 1.875rem 0;
1469
1469
  display: flex;
1470
1470
  align-items: center;
1471
1471
  flex-direction: column;
1472
- gap: 12px;
1472
+ gap: 0.75rem;
1473
1473
  color: var(--fg);
1474
1474
  font-size: 1rem;
1475
1475
  }
@@ -1478,21 +1478,21 @@ svg {
1478
1478
  font-weight: 500;
1479
1479
  }
1480
1480
  .task-card {
1481
- padding: 13px;
1481
+ padding: 0.8125rem;
1482
1482
  border: 1px solid #4d3537;
1483
- border-radius: 7px;
1483
+ border-radius: 0.4375rem;
1484
1484
  background: #2a1b1c;
1485
- margin: 10px 0;
1485
+ margin: 0.625rem 0;
1486
1486
  }
1487
1487
  .task-card.child {
1488
- margin-left: 14px;
1489
- border-left: 2px solid #84595d;
1488
+ margin-left: 0.875rem;
1489
+ border-left: 0.125rem solid #84595d;
1490
1490
  }
1491
1491
  .task-card > div:first-child {
1492
1492
  display: flex;
1493
1493
  align-items: center;
1494
1494
  justify-content: space-between;
1495
- gap: 6px;
1495
+ gap: 0.375rem;
1496
1496
  }
1497
1497
  .task-card strong {
1498
1498
  font-family: var(--font-mono);
@@ -1503,19 +1503,19 @@ svg {
1503
1503
  .task-card p {
1504
1504
  font-size: 1rem;
1505
1505
  color: var(--fg);
1506
- margin: 8px 0 11px;
1506
+ margin: 0.5rem 0 0.6875rem;
1507
1507
  }
1508
1508
  .hook-card {
1509
- padding: 14px;
1509
+ padding: 0.875rem;
1510
1510
  background: #2a2525;
1511
1511
  border: 1px solid #483c3d;
1512
- border-radius: 7px;
1513
- margin-bottom: 20px;
1512
+ border-radius: 0.4375rem;
1513
+ margin-bottom: 1.25rem;
1514
1514
  }
1515
1515
  .hook-card > div {
1516
1516
  display: flex;
1517
1517
  align-items: center;
1518
- gap: 8px;
1518
+ gap: 0.5rem;
1519
1519
  color: var(--fg);
1520
1520
  }
1521
1521
  .hook-card strong {
@@ -1526,20 +1526,20 @@ svg {
1526
1526
  font-size: 1rem;
1527
1527
  line-height: 1.6;
1528
1528
  color: var(--fg);
1529
- margin-top: 10px;
1529
+ margin-top: 0.625rem;
1530
1530
  }
1531
1531
  .switch {
1532
1532
  margin-left: auto;
1533
- width: 29px;
1534
- height: 17px;
1533
+ width: 1.8125rem;
1534
+ height: 1.0625rem;
1535
1535
  background: #544b4c;
1536
- border-radius: 12px;
1537
- padding: 2px;
1536
+ border-radius: 0.75rem;
1537
+ padding: 0.125rem;
1538
1538
  justify-content: flex-start;
1539
1539
  }
1540
1540
  .switch > span {
1541
- height: 13px;
1542
- width: 13px;
1541
+ height: 0.8125rem;
1542
+ width: 0.8125rem;
1543
1543
  background: #dbcccd;
1544
1544
  border-radius: 50%;
1545
1545
  }
@@ -1549,14 +1549,14 @@ svg {
1549
1549
  }
1550
1550
  .tool-row {
1551
1551
  border-bottom: 1px solid #3a2a2b;
1552
- padding: 12px 0;
1552
+ padding: 0.75rem 0;
1553
1553
  }
1554
1554
  .tool-row summary {
1555
1555
  cursor: pointer;
1556
1556
  list-style: none;
1557
1557
  display: flex;
1558
1558
  align-items: center;
1559
- gap: 7px;
1559
+ gap: 0.4375rem;
1560
1560
  color: var(--fg);
1561
1561
  }
1562
1562
  .tool-row strong {
@@ -1572,7 +1572,7 @@ svg {
1572
1572
  font-size: 1rem;
1573
1573
  color: var(--fg);
1574
1574
  line-height: 1.75;
1575
- margin: 12px 0;
1575
+ margin: 0.75rem 0;
1576
1576
  white-space: pre-wrap;
1577
1577
  }
1578
1578
  .tool-row small {
@@ -1580,11 +1580,11 @@ svg {
1580
1580
  line-height: 1.6;
1581
1581
  }
1582
1582
  .tool-signature {
1583
- margin: 0 0 12px;
1584
- padding: 12px 14px;
1583
+ margin: 0 0 0.75rem;
1584
+ padding: 0.75rem 0.875rem;
1585
1585
  background: #120d0e;
1586
1586
  border: 1px solid var(--line);
1587
- border-radius: 8px;
1587
+ border-radius: 0.5rem;
1588
1588
  font-family: var(--font-mono);
1589
1589
  font-size: 0.875rem;
1590
1590
  line-height: 1.6;
@@ -1625,32 +1625,32 @@ svg {
1625
1625
  font-size: 1rem;
1626
1626
  text-align: left;
1627
1627
  border-bottom: 1px solid var(--line);
1628
- padding: 14px 0;
1628
+ padding: 0.875rem 0;
1629
1629
  }
1630
1630
  .drawer-backdrop {
1631
1631
  position: fixed;
1632
- inset: 65px 0 0;
1632
+ inset: var(--topbar-h) 0 0;
1633
1633
  z-index: 40;
1634
1634
  background: #0007;
1635
- backdrop-filter: blur(3px);
1635
+ backdrop-filter: blur(0.1875rem);
1636
1636
  }
1637
1637
  .sessions-drawer {
1638
- width: 326px;
1638
+ width: 20.375rem;
1639
1639
  max-width: 90vw;
1640
1640
  height: 100%;
1641
1641
  background: var(--card);
1642
1642
  border-right: 1px solid #513d3f;
1643
- box-shadow: 20px 0 70px #0004;
1643
+ box-shadow: 1.25rem 0 4.375rem #0004;
1644
1644
  display: flex;
1645
1645
  flex-direction: column;
1646
- padding: 24px 18px;
1646
+ padding: 1.5rem 1.125rem;
1647
1647
  }
1648
1648
  .sessions-drawer header {
1649
1649
  display: flex;
1650
1650
  align-items: center;
1651
1651
  justify-content: space-between;
1652
- margin-bottom: 22px;
1653
- padding: 0 7px;
1652
+ margin-bottom: 1.375rem;
1653
+ padding: 0 0.4375rem;
1654
1654
  }
1655
1655
  .sessions-drawer h2 {
1656
1656
  font-size: 1.0625rem;
@@ -1659,10 +1659,10 @@ svg {
1659
1659
  .sessions-drawer h2 span {
1660
1660
  font-size: 1rem;
1661
1661
  color: var(--fg);
1662
- margin-left: 6px;
1662
+ margin-left: 0.375rem;
1663
1663
  }
1664
1664
  .sessions-drawer > .primary {
1665
- margin: 0 6px 22px;
1665
+ margin: 0 0.375rem 1.375rem;
1666
1666
  }
1667
1667
  .session-list {
1668
1668
  flex: 1;
@@ -1673,12 +1673,12 @@ svg {
1673
1673
  flex-direction: column;
1674
1674
  align-items: stretch;
1675
1675
  text-align: left;
1676
- gap: 10px;
1677
- padding: 15px;
1676
+ gap: 0.625rem;
1677
+ padding: 0.9375rem;
1678
1678
  width: 100%;
1679
1679
  border: 1px solid transparent;
1680
- border-radius: 7px;
1681
- margin-bottom: 7px;
1680
+ border-radius: 0.4375rem;
1681
+ margin-bottom: 0.4375rem;
1682
1682
  }
1683
1683
  .session-item.active {
1684
1684
  background: #362527;
@@ -1700,29 +1700,29 @@ svg {
1700
1700
  .session-model {
1701
1701
  display: flex;
1702
1702
  align-items: center;
1703
- gap: 6px;
1703
+ gap: 0.375rem;
1704
1704
  color: var(--fg);
1705
1705
  font-size: 1rem;
1706
1706
  overflow-wrap: anywhere;
1707
1707
  }
1708
1708
  .session-model img {
1709
- width: 15px;
1710
- height: 15px;
1711
- border-radius: 3px;
1709
+ width: 0.9375rem;
1710
+ height: 0.9375rem;
1711
+ border-radius: 0.1875rem;
1712
1712
  background: #ecdfe0;
1713
1713
  padding: 1px;
1714
1714
  }
1715
1715
  .active-dot {
1716
1716
  background: var(--accent);
1717
- width: 5px;
1718
- height: 5px;
1717
+ width: 0.3125rem;
1718
+ height: 0.3125rem;
1719
1719
  border-radius: 50%;
1720
1720
  }
1721
1721
  .sessions-drawer footer {
1722
1722
  display: flex;
1723
- gap: 8px;
1723
+ gap: 0.5rem;
1724
1724
  align-items: center;
1725
- padding: 18px 8px 0;
1725
+ padding: 1.125rem 0.5rem 0;
1726
1726
  font-size: 1rem;
1727
1727
  color: var(--fg);
1728
1728
  }
@@ -1731,19 +1731,19 @@ svg {
1731
1731
  inset: 0;
1732
1732
  z-index: 80;
1733
1733
  background: #0d0808bd;
1734
- backdrop-filter: blur(7px);
1734
+ backdrop-filter: blur(0.4375rem);
1735
1735
  display: flex;
1736
1736
  align-items: center;
1737
1737
  justify-content: center;
1738
- padding: 24px;
1738
+ padding: 1.5rem;
1739
1739
  }
1740
1740
  .modal {
1741
1741
  background: var(--panel);
1742
1742
  border: 1px solid var(--line);
1743
- border-radius: 12px;
1744
- box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
1745
- padding: 28px;
1746
- width: 460px;
1743
+ border-radius: 0.75rem;
1744
+ box-shadow: 0 1.5rem 4.375rem rgb(0 0 0 / 55%);
1745
+ padding: 1.75rem;
1746
+ width: 28.75rem;
1747
1747
  max-width: 100%;
1748
1748
  max-height: 90dvh;
1749
1749
  overflow: auto;
@@ -1752,20 +1752,20 @@ svg {
1752
1752
  display: flex;
1753
1753
  align-items: flex-start;
1754
1754
  justify-content: space-between;
1755
- margin-bottom: 27px;
1756
- gap: 12px;
1755
+ margin-bottom: 1.6875rem;
1756
+ gap: 0.75rem;
1757
1757
  }
1758
1758
  .modal header h2 {
1759
1759
  font-size: 1.375rem;
1760
- letter-spacing: -0.5px;
1761
- margin-top: 7px;
1760
+ letter-spacing: -0.03125rem;
1761
+ margin-top: 0.4375rem;
1762
1762
  font-weight: 550;
1763
1763
  }
1764
1764
  .modal label {
1765
1765
  display: flex;
1766
1766
  flex-direction: column;
1767
- gap: 9px;
1768
- margin-top: 20px;
1767
+ gap: 0.5625rem;
1768
+ margin-top: 1.25rem;
1769
1769
  font-size: 1rem;
1770
1770
  color: var(--fg);
1771
1771
  }
@@ -1773,7 +1773,7 @@ svg {
1773
1773
  .modal select {
1774
1774
  width: 100%;
1775
1775
  font-size: 1rem;
1776
- padding: 12px;
1776
+ padding: 0.75rem;
1777
1777
  }
1778
1778
  .modal small.path {
1779
1779
  font-size: 1rem;
@@ -1784,11 +1784,11 @@ svg {
1784
1784
  .modal footer {
1785
1785
  display: flex;
1786
1786
  justify-content: flex-end;
1787
- gap: 10px;
1788
- margin-top: 26px;
1787
+ gap: 0.625rem;
1788
+ margin-top: 1.625rem;
1789
1789
  }
1790
1790
  .model-modal {
1791
- width: 500px;
1791
+ width: 31.25rem;
1792
1792
  display: flex;
1793
1793
  flex-direction: column;
1794
1794
  overflow: hidden;
@@ -1800,14 +1800,14 @@ svg {
1800
1800
  inset: 0;
1801
1801
  z-index: 100;
1802
1802
  background: #0d0808e0;
1803
- backdrop-filter: blur(7px);
1803
+ backdrop-filter: blur(0.4375rem);
1804
1804
  display: flex;
1805
1805
  align-items: center;
1806
1806
  justify-content: center;
1807
- padding: 24px;
1807
+ padding: 1.5rem;
1808
1808
  }
1809
1809
  .login-card {
1810
- width: 400px;
1810
+ width: 25rem;
1811
1811
  }
1812
1812
  .login-card .hint {
1813
1813
  color: var(--fg);
@@ -1819,7 +1819,7 @@ svg {
1819
1819
  }
1820
1820
  .model-list {
1821
1821
  overflow: auto;
1822
- margin-top: 12px;
1822
+ margin-top: 0.75rem;
1823
1823
  max-height: 50vh;
1824
1824
  }
1825
1825
  .model-list button {
@@ -1827,9 +1827,9 @@ svg {
1827
1827
  display: flex;
1828
1828
  text-align: left;
1829
1829
  justify-content: flex-start;
1830
- padding: 12px 10px;
1831
- border-radius: 6px;
1832
- gap: 12px;
1830
+ padding: 0.75rem 0.625rem;
1831
+ border-radius: 0.375rem;
1832
+ gap: 0.75rem;
1833
1833
  }
1834
1834
  .model-list button.selected,
1835
1835
  .model-list button:hover {
@@ -1838,7 +1838,7 @@ svg {
1838
1838
  .model-list button > div {
1839
1839
  display: flex;
1840
1840
  flex-direction: column;
1841
- gap: 5px;
1841
+ gap: 0.3125rem;
1842
1842
  flex: 1;
1843
1843
  }
1844
1844
  /* The pinned current model outside this device's catalog: laid out like a
@@ -1848,16 +1848,16 @@ svg {
1848
1848
  display: flex;
1849
1849
  text-align: left;
1850
1850
  justify-content: flex-start;
1851
- padding: 12px 10px;
1852
- border-radius: 6px;
1853
- gap: 12px;
1851
+ padding: 0.75rem 0.625rem;
1852
+ border-radius: 0.375rem;
1853
+ gap: 0.75rem;
1854
1854
  opacity: 0.75;
1855
1855
  cursor: default;
1856
1856
  }
1857
1857
  .model-list .model-row.off-catalog > div {
1858
1858
  display: flex;
1859
1859
  flex-direction: column;
1860
- gap: 5px;
1860
+ gap: 0.3125rem;
1861
1861
  flex: 1;
1862
1862
  }
1863
1863
  .model-list strong {
@@ -1869,27 +1869,27 @@ svg {
1869
1869
  color: var(--fg);
1870
1870
  }
1871
1871
  .model-modal .hint {
1872
- margin: 14px 0 0;
1872
+ margin: 0.875rem 0 0;
1873
1873
  }
1874
1874
  .learning-list {
1875
1875
  padding: 0;
1876
1876
  list-style: none;
1877
1877
  display: flex;
1878
1878
  flex-direction: column;
1879
- gap: 23px;
1879
+ gap: 1.4375rem;
1880
1880
  }
1881
1881
  .learning-list li {
1882
1882
  display: flex;
1883
- gap: 17px;
1883
+ gap: 1.0625rem;
1884
1884
  }
1885
1885
  .learning-list li > span {
1886
1886
  font-family: var(--font-mono);
1887
1887
  font-size: 1rem;
1888
1888
  color: var(--fg);
1889
1889
  border: 1px solid #5a383b;
1890
- border-radius: 5px;
1891
- width: 28px;
1892
- height: 27px;
1890
+ border-radius: 0.3125rem;
1891
+ width: 1.75rem;
1892
+ height: 1.6875rem;
1893
1893
  display: flex;
1894
1894
  align-items: center;
1895
1895
  justify-content: center;
@@ -1904,26 +1904,26 @@ svg {
1904
1904
  font-size: 1rem;
1905
1905
  color: var(--fg);
1906
1906
  line-height: 1.8;
1907
- margin-top: 5px;
1907
+ margin-top: 0.3125rem;
1908
1908
  }
1909
1909
  .help-modal {
1910
- width: 530px;
1910
+ width: 33.125rem;
1911
1911
  }
1912
1912
  .toast {
1913
1913
  position: fixed;
1914
- bottom: 28px;
1914
+ bottom: 1.75rem;
1915
1915
  left: 50%;
1916
1916
  transform: translateX(-50%);
1917
1917
  z-index: 100;
1918
1918
  background: var(--card);
1919
1919
  color: var(--on-primary);
1920
- box-shadow: 0 10px 30px rgb(0 0 0 / 45%);
1920
+ box-shadow: 0 0.625rem 1.875rem rgb(0 0 0 / 45%);
1921
1921
  border: 1px solid var(--line);
1922
- border-radius: 999px;
1922
+ border-radius: 62.4375rem;
1923
1923
  display: flex;
1924
1924
  align-items: center;
1925
- gap: 10px;
1926
- padding: 13px 19px;
1925
+ gap: 0.625rem;
1926
+ padding: 0.8125rem 1.1875rem;
1927
1927
  max-width: 90%;
1928
1928
  font-size: 1rem;
1929
1929
  font-weight: 600;
@@ -1942,9 +1942,9 @@ svg {
1942
1942
  .state-json-actions {
1943
1943
  display: flex;
1944
1944
  justify-content: flex-end;
1945
- gap: 10px;
1945
+ gap: 0.625rem;
1946
1946
  flex-wrap: wrap;
1947
- margin-bottom: 20px;
1947
+ margin-bottom: 1.25rem;
1948
1948
  }
1949
1949
  .state-json-actions .hint {
1950
1950
  flex-basis: 100%;
@@ -1953,9 +1953,9 @@ svg {
1953
1953
  textarea.app-state-json {
1954
1954
  width: 100%;
1955
1955
  max-height: none;
1956
- min-height: 280px;
1956
+ min-height: 17.5rem;
1957
1957
  resize: vertical;
1958
- margin-bottom: 10px;
1958
+ margin-bottom: 0.625rem;
1959
1959
  font-family: var(--font-mono);
1960
1960
  color: var(--fg);
1961
1961
  }
@@ -1970,10 +1970,10 @@ textarea.app-state-json {
1970
1970
  .error-banner {
1971
1971
  display: flex;
1972
1972
  align-items: center;
1973
- gap: 10px;
1973
+ gap: 0.625rem;
1974
1974
  background: #462b2d;
1975
1975
  color: var(--fg);
1976
- padding: 10px 25px;
1976
+ padding: 0.625rem 1.5625rem;
1977
1977
  font-size: 1rem;
1978
1978
  z-index: 90;
1979
1979
  }
@@ -1987,30 +1987,30 @@ textarea.app-state-json {
1987
1987
  justify-content: center;
1988
1988
  flex: 1;
1989
1989
  text-align: center;
1990
- padding: 35px;
1990
+ padding: 2.1875rem;
1991
1991
  background: radial-gradient(ellipse at center, #39232533, transparent 65%);
1992
1992
  }
1993
1993
  .welcome-symbol {
1994
- width: 126px;
1995
- height: 70px;
1996
- margin-bottom: 33px;
1994
+ width: 7.875rem;
1995
+ height: 4.375rem;
1996
+ margin-bottom: 2.0625rem;
1997
1997
  position: relative;
1998
1998
  }
1999
1999
  .welcome .eyebrow {
2000
2000
  font-size: 1rem;
2001
2001
  color: var(--fg);
2002
- letter-spacing: 2.6px;
2002
+ letter-spacing: 0.1625rem;
2003
2003
  }
2004
2004
  .welcome h1 {
2005
2005
  font-size: clamp(2.25rem, 4.6vw, 4rem);
2006
2006
  font-weight: 500;
2007
2007
  line-height: 1.15;
2008
- letter-spacing: -2.5px;
2009
- margin: 20px 0;
2008
+ letter-spacing: -0.15625rem;
2009
+ margin: 1.25rem 0;
2010
2010
  color: var(--fg);
2011
2011
  }
2012
2012
  /* The hero is display-size BY DESIGN on desktop — on the compact band it
2013
- read as 'desktop text' through every release (41px at a 900px touch
2013
+ read as 'desktop text' through every release (2.5625rem at a 56.25rem touch
2014
2014
  screen). Cap it: the headline is still the hero, just phone-sized. */
2015
2015
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
2016
2016
  .welcome h1 {
@@ -2018,26 +2018,26 @@ textarea.app-state-json {
2018
2018
  line-height: 1.15;
2019
2019
  }
2020
2020
  .welcome-symbol {
2021
- width: 84px;
2022
- height: 47px;
2023
- margin-bottom: 18px;
2021
+ width: 5.25rem;
2022
+ height: 2.9375rem;
2023
+ margin-bottom: 1.125rem;
2024
2024
  }
2025
2025
  }
2026
2026
  .welcome p {
2027
2027
  font-size: 1rem;
2028
2028
  color: var(--fg);
2029
- margin: 4px 0 30px;
2029
+ margin: 0.25rem 0 1.875rem;
2030
2030
  }
2031
2031
  .welcome-features {
2032
2032
  display: flex;
2033
- gap: 33px;
2034
- margin-top: 70px;
2033
+ gap: 2.0625rem;
2034
+ margin-top: 4.375rem;
2035
2035
  color: var(--fg);
2036
2036
  font-size: 1rem;
2037
2037
  }
2038
2038
  .welcome-features > span {
2039
2039
  display: flex;
2040
- gap: 8px;
2040
+ gap: 0.5rem;
2041
2041
  align-items: center;
2042
2042
  }
2043
2043
  .selected {
@@ -2054,29 +2054,29 @@ textarea.app-state-json {
2054
2054
  }
2055
2055
  @media (min-width: 1600px) {
2056
2056
  .workspace {
2057
- grid-template-columns: 440px minmax(0, 1fr);
2057
+ grid-template-columns: 27.5rem minmax(0, 1fr);
2058
2058
  }
2059
2059
  .chat-scroll {
2060
- padding-left: max(70px, calc((100% - 770px)/2));
2061
- padding-right: max(70px, calc((100% - 770px)/2));
2060
+ padding-left: max(4.375rem, calc((100% - 48.125rem)/2));
2061
+ padding-right: max(4.375rem, calc((100% - 48.125rem)/2));
2062
2062
  }
2063
2063
  .composer-region {
2064
- padding-left: max(46px, calc((100% - 830px)/2));
2065
- padding-right: max(46px, calc((100% - 830px)/2));
2064
+ padding-left: max(2.875rem, calc((100% - 51.875rem)/2));
2065
+ padding-right: max(2.875rem, calc((100% - 51.875rem)/2));
2066
2066
  }
2067
2067
  }
2068
2068
  @media (max-width: 1050px) {
2069
2069
  .workspace {
2070
- grid-template-columns: 330px minmax(0, 1fr);
2070
+ grid-template-columns: 20.625rem minmax(0, 1fr);
2071
2071
  }
2072
2072
  .session-heading,
2073
2073
  .model-section {
2074
- padding-left: 20px;
2075
- padding-right: 20px;
2074
+ padding-left: 1.25rem;
2075
+ padding-right: 1.25rem;
2076
2076
  }
2077
2077
  .inspector-body {
2078
- padding-left: 20px;
2079
- padding-right: 20px;
2078
+ padding-left: 1.25rem;
2079
+ padding-right: 1.25rem;
2080
2080
  }
2081
2081
  .chat-empty h2 {
2082
2082
  font-size: 1.4375rem;
@@ -2086,40 +2086,40 @@ textarea.app-state-json {
2086
2086
  }
2087
2087
  .starter-grid {
2088
2088
  grid-template-columns: 1fr;
2089
- max-width: 300px;
2089
+ max-width: 18.75rem;
2090
2090
  }
2091
2091
  .starter-grid button {
2092
- padding: 13px;
2092
+ padding: 0.8125rem;
2093
2093
  }
2094
2094
  .starter-grid button > svg:first-child {
2095
- margin-bottom: 3px;
2095
+ margin-bottom: 0.1875rem;
2096
2096
  }
2097
2097
  .topbar {
2098
- padding-right: 16px;
2098
+ padding-right: 1rem;
2099
2099
  }
2100
2100
  }
2101
2101
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
2102
2102
  /* ONE compact header, NOTHING removed (user: tinh gọn, không lược tính
2103
2103
  năng): brand · connection chip · bell · help · tree/inspector toggles ·
2104
- New session — all present on a single 42px row. Smaller logo, buttons
2104
+ New session — all present on a single 2.625rem row. Smaller logo, buttons
2105
2105
  and gaps; chips ellipsize instead of wrapping (a wrapping auto-height
2106
2106
  header used to win the cascade from later blocks and eat a quarter of
2107
2107
  the screen). Every other ≤740 .topbar rule is deleted — this block and
2108
2108
  the width≤1100 padding tweak above are the only ones. */
2109
2109
  :root {
2110
- --topbar-h: 42px;
2110
+ --topbar-h: 2.625rem;
2111
2111
  }
2112
2112
  .notif-panel {
2113
- top: 47px;
2113
+ top: 2.9375rem;
2114
2114
  }
2115
2115
  .topbar {
2116
2116
  position: static;
2117
2117
  flex-wrap: nowrap;
2118
- gap: 4px;
2119
- padding: 0 5px;
2120
- height: 42px;
2121
- min-height: 42px;
2122
- max-height: 42px;
2118
+ gap: 0.25rem;
2119
+ padding: 0 0.3125rem;
2120
+ height: 2.625rem;
2121
+ min-height: 2.625rem;
2122
+ max-height: 2.625rem;
2123
2123
  flex: 0 0 auto;
2124
2124
  /* engines without zoom have no shrink factor, so the row can exceed the
2125
2125
  screen: it scrolls horizontally instead (nothing hidden, nothing
@@ -2133,12 +2133,12 @@ textarea.app-state-json {
2133
2133
  display: none;
2134
2134
  }
2135
2135
  .brand {
2136
- gap: 4px;
2136
+ gap: 0.25rem;
2137
2137
  flex-shrink: 0;
2138
2138
  }
2139
2139
  .brandmark {
2140
- width: 24px;
2141
- height: 14px;
2140
+ width: 1.5rem;
2141
+ height: 0.875rem;
2142
2142
  margin-left: 0;
2143
2143
  flex-shrink: 0;
2144
2144
  }
@@ -2154,15 +2154,15 @@ textarea.app-state-json {
2154
2154
  }
2155
2155
  .top-actions {
2156
2156
  margin-left: auto;
2157
- gap: 2px;
2157
+ gap: 0.125rem;
2158
2158
  flex: 0 0 auto;
2159
2159
  flex-wrap: nowrap;
2160
2160
  min-width: 0;
2161
2161
  }
2162
2162
  .top-actions .icon-button {
2163
- width: 26px;
2164
- height: 26px;
2165
- padding: 3px;
2163
+ width: 1.625rem;
2164
+ height: 1.625rem;
2165
+ padding: 0.1875rem;
2166
2166
  flex-shrink: 0;
2167
2167
  }
2168
2168
  /* Everything fits WITHOUT swiping — that was the real "lost content":
@@ -2173,7 +2173,7 @@ textarea.app-state-json {
2173
2173
  collapses to its colored dot (title carries the words). */
2174
2174
  /* .topbar prefix beats network.css' ≤1100 '.inspector-toggle{display:
2175
2175
  inline-flex}' which loads later and re-showed the toggle (beyond-edge at
2176
- 320px). The tabs own these actions on phones. */
2176
+ 20rem). The tabs own these actions on phones. */
2177
2177
  .topbar .tree-toggle,
2178
2178
  .topbar .inspector-toggle {
2179
2179
  display: none;
@@ -2182,30 +2182,30 @@ textarea.app-state-json {
2182
2182
  display: none;
2183
2183
  }
2184
2184
  .chip.connection {
2185
- width: 12px;
2186
- min-width: 12px;
2187
- height: 12px;
2188
- min-height: 12px;
2185
+ width: 0.75rem;
2186
+ min-width: 0.75rem;
2187
+ height: 0.75rem;
2188
+ min-height: 0.75rem;
2189
2189
  padding: 0;
2190
- border-radius: 999px;
2190
+ border-radius: 62.4375rem;
2191
2191
  background: transparent;
2192
2192
  overflow: hidden;
2193
2193
  font-size: 0;
2194
2194
  }
2195
2195
  .chip.connection .dot {
2196
- width: 10px;
2197
- height: 10px;
2196
+ width: 0.625rem;
2197
+ height: 0.625rem;
2198
2198
  }
2199
2199
  .top-actions .primary.small {
2200
- padding: 0 7px;
2201
- min-height: 26px;
2202
- gap: 2px;
2200
+ padding: 0 0.4375rem;
2201
+ min-height: 1.625rem;
2202
+ gap: 0.125rem;
2203
2203
  font-size: 0.75rem;
2204
2204
  flex-shrink: 0;
2205
2205
  }
2206
2206
  .error-banner {
2207
- padding: 6px 10px;
2208
- gap: 6px;
2207
+ padding: 0.375rem 0.625rem;
2208
+ gap: 0.375rem;
2209
2209
  font-size: 0.8125rem;
2210
2210
  }
2211
2211
  .workspace {
@@ -2216,14 +2216,14 @@ textarea.app-state-json {
2216
2216
  border-right: 0;
2217
2217
  border-bottom: 1px solid var(--line);
2218
2218
  max-height: 55vh;
2219
- min-height: 310px;
2219
+ min-height: 19.375rem;
2220
2220
  }
2221
2221
  .session-heading {
2222
- padding: 10px 14px 8px;
2222
+ padding: 0.625rem 0.875rem 0.5rem;
2223
2223
  }
2224
2224
  .session-heading h1 {
2225
2225
  font-size: 1rem;
2226
- margin: 3px 0;
2226
+ margin: 0.1875rem 0;
2227
2227
  }
2228
2228
  .session-heading > .eyebrow,
2229
2229
  .session-status,
@@ -2232,81 +2232,81 @@ textarea.app-state-json {
2232
2232
  display: none;
2233
2233
  }
2234
2234
  .inspector-tabs {
2235
- padding: 0 6px;
2235
+ padding: 0 0.375rem;
2236
2236
  }
2237
2237
  .inspector-tabs button {
2238
- padding: 9px 6px 7px;
2238
+ padding: 0.5625rem 0.375rem 0.4375rem;
2239
2239
  }
2240
2240
  .inspector-body {
2241
- padding: 17px 20px;
2242
- min-height: 150px;
2241
+ padding: 1.0625rem 1.25rem;
2242
+ min-height: 9.375rem;
2243
2243
  }
2244
2244
  .chat-panel {
2245
2245
  height: 85dvh;
2246
- min-height: 500px;
2246
+ min-height: 31.25rem;
2247
2247
  }
2248
2248
  /* Auto-height: the lineage carries a BRANCH row + crumb row (~2 lines).
2249
2249
  The old max-height:42 overflowed that content ONTO the table below
2250
2250
  (live screenshots) — the shell is a fixed-height frame now, so letting
2251
2251
  the header grow cannot scroll the page; the chat just gets the rest. */
2252
2252
  .chat-header {
2253
- padding: 0 10px;
2253
+ padding: 0 0.625rem;
2254
2254
  height: auto;
2255
- min-height: 42px;
2255
+ min-height: 2.625rem;
2256
2256
  max-height: none;
2257
- gap: 8px;
2257
+ gap: 0.5rem;
2258
2258
  flex-wrap: nowrap;
2259
2259
  flex: 0 0 auto;
2260
2260
  overflow: visible;
2261
2261
  }
2262
2262
  .model-button img {
2263
- width: 26px;
2264
- height: 26px;
2263
+ width: 1.625rem;
2264
+ height: 1.625rem;
2265
2265
  }
2266
2266
  .conversation-select select {
2267
2267
  font-size: 0.875rem;
2268
- padding: 4px 2px;
2269
- max-width: 150px;
2268
+ padding: 0.25rem 0.125rem;
2269
+ max-width: 9.375rem;
2270
2270
  }
2271
2271
  .chat-header-actions .icon-button {
2272
- width: 26px;
2273
- height: 26px;
2272
+ width: 1.625rem;
2273
+ height: 1.625rem;
2274
2274
  }
2275
2275
  .chat-scroll {
2276
- padding: 24px 22px;
2276
+ padding: 1.5rem 1.375rem;
2277
2277
  }
2278
2278
  .chat-empty h2 {
2279
2279
  font-size: 1.375rem;
2280
2280
  }
2281
2281
  .composer-region {
2282
- padding: 12px;
2282
+ padding: 0.75rem;
2283
2283
  }
2284
2284
  .composer-left {
2285
- gap: 3px;
2285
+ gap: 0.1875rem;
2286
2286
  }
2287
2287
  .composer-left .context-indicator {
2288
2288
  display: none;
2289
2289
  }
2290
2290
  .composer-right {
2291
- gap: 8px;
2291
+ gap: 0.5rem;
2292
2292
  }
2293
2293
  .modal {
2294
- padding: 22px;
2294
+ padding: 1.375rem;
2295
2295
  }
2296
2296
  .welcome {
2297
2297
  min-height: 90dvh;
2298
2298
  }
2299
2299
  .welcome-features {
2300
2300
  flex-direction: column;
2301
- gap: 20px;
2301
+ gap: 1.25rem;
2302
2302
  align-items: center;
2303
- margin-top: 40px;
2303
+ margin-top: 2.5rem;
2304
2304
  }
2305
2305
  .drawer-backdrop {
2306
- top: 58px;
2306
+ top: 3.625rem;
2307
2307
  }
2308
2308
  .toast {
2309
- bottom: 15px;
2309
+ bottom: 0.9375rem;
2310
2310
  width: max-content;
2311
2311
  max-width: 90%;
2312
2312
  font-size: 1rem;
@@ -2325,7 +2325,7 @@ textarea.app-state-json {
2325
2325
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2326
2326
  .model-section {
2327
2327
  display: block;
2328
- padding: 9px 20px;
2328
+ padding: 0.5625rem 1.25rem;
2329
2329
  }
2330
2330
  .model-section .section-label,
2331
2331
  .model-section .thinking-row,
@@ -2333,18 +2333,18 @@ textarea.app-state-json {
2333
2333
  display: none;
2334
2334
  }
2335
2335
  .model-button {
2336
- padding: 7px 10px;
2336
+ padding: 0.4375rem 0.625rem;
2337
2337
  }
2338
2338
  .model-button img {
2339
- width: 24px;
2340
- height: 24px;
2339
+ width: 1.5rem;
2340
+ height: 1.5rem;
2341
2341
  }
2342
2342
  .model-button small {
2343
2343
  display: none;
2344
2344
  }
2345
2345
  }
2346
2346
 
2347
- /* Accessible red theme: 16px minimum type and high-contrast provider marks. */
2347
+ /* Accessible red theme: 1rem minimum type and high-contrast provider marks. */
2348
2348
  .primary,
2349
2349
  .send {
2350
2350
  background: var(--primary);
@@ -2357,23 +2357,23 @@ textarea.app-state-json {
2357
2357
  }
2358
2358
  .model-button img,
2359
2359
  .model-list img {
2360
- width: 42px;
2361
- height: 42px;
2362
- padding: 5px;
2360
+ width: 2.625rem;
2361
+ height: 2.625rem;
2362
+ padding: 0.3125rem;
2363
2363
  background: #fff;
2364
2364
  border: 1px solid #67575c;
2365
2365
  flex-shrink: 0;
2366
2366
  }
2367
2367
  .session-model img {
2368
- width: 32px;
2369
- height: 32px;
2370
- padding: 3px;
2368
+ width: 2rem;
2369
+ height: 2rem;
2370
+ padding: 0.1875rem;
2371
2371
  background: #fff;
2372
2372
  flex-shrink: 0;
2373
2373
  }
2374
2374
  img[src$="openai.png"] {
2375
2375
  background: #242024;
2376
- padding: 3px;
2376
+ padding: 0.1875rem;
2377
2377
  border-color: #81747a;
2378
2378
  }
2379
2379
  button:disabled {
@@ -2383,16 +2383,16 @@ button:disabled {
2383
2383
  border-color: #554249;
2384
2384
  }
2385
2385
  .icon-button {
2386
- width: 36px;
2387
- height: 36px;
2386
+ width: 2.25rem;
2387
+ height: 2.25rem;
2388
2388
  color: var(--fg);
2389
2389
  }
2390
2390
  .inspector-tabs {
2391
- padding: 0 10px;
2391
+ padding: 0 0.625rem;
2392
2392
  }
2393
2393
  .inspector-tabs button {
2394
2394
  min-width: 0;
2395
- padding: 15px 7px 13px;
2395
+ padding: 0.9375rem 0.4375rem 0.8125rem;
2396
2396
  }
2397
2397
  .session-heading h1 {
2398
2398
  line-height: 1.4;
@@ -2408,13 +2408,13 @@ button:disabled {
2408
2408
  }
2409
2409
  .metrics {
2410
2410
  grid-template-columns: 1fr 1.4fr 0.6fr;
2411
- gap: 12px;
2411
+ gap: 0.75rem;
2412
2412
  }
2413
2413
  .metrics small {
2414
2414
  line-height: 1.5;
2415
2415
  }
2416
2416
  .model-button {
2417
- min-height: 70px;
2417
+ min-height: 4.375rem;
2418
2418
  }
2419
2419
  .model-button small {
2420
2420
  line-height: 1.5;
@@ -2423,16 +2423,16 @@ button:disabled {
2423
2423
  white-space: normal;
2424
2424
  }
2425
2425
  .inspector-footer {
2426
- min-height: 52px;
2426
+ min-height: 3.25rem;
2427
2427
  height: auto;
2428
- padding: 8px 20px;
2428
+ padding: 0.5rem 1.25rem;
2429
2429
  }
2430
2430
  .counter-card {
2431
- gap: 12px;
2431
+ gap: 0.75rem;
2432
2432
  flex-wrap: wrap;
2433
2433
  }
2434
2434
  .counter-card .field-label {
2435
- max-width: 180px;
2435
+ max-width: 11.25rem;
2436
2436
  line-height: 1.5;
2437
2437
  }
2438
2438
  .raw summary {
@@ -2462,16 +2462,16 @@ button:disabled {
2462
2462
  line-height: 1.6;
2463
2463
  }
2464
2464
  .sessions-drawer {
2465
- width: 420px;
2465
+ width: 26.25rem;
2466
2466
  }
2467
2467
  .modal {
2468
- width: 560px;
2468
+ width: 35rem;
2469
2469
  }
2470
2470
  .model-modal {
2471
- width: 650px;
2471
+ width: 40.625rem;
2472
2472
  }
2473
2473
  .model-list button {
2474
- min-height: 78px;
2474
+ min-height: 4.875rem;
2475
2475
  }
2476
2476
  .model-list small {
2477
2477
  line-height: 1.5;
@@ -2485,20 +2485,20 @@ button:disabled {
2485
2485
  .composer-left,
2486
2486
  .composer-right {
2487
2487
  flex-wrap: wrap;
2488
- gap: 8px;
2488
+ gap: 0.5rem;
2489
2489
  }
2490
2490
  .send {
2491
- width: 40px;
2492
- height: 40px;
2491
+ width: 2.5rem;
2492
+ height: 2.5rem;
2493
2493
  }
2494
2494
  .interrupt {
2495
- min-height: 40px;
2495
+ min-height: 2.5rem;
2496
2496
  }
2497
2497
  .tag {
2498
2498
  line-height: 1.4;
2499
2499
  }
2500
2500
  .brand {
2501
- gap: 10px;
2501
+ gap: 0.625rem;
2502
2502
  }
2503
2503
  .welcome-features {
2504
2504
  flex-wrap: wrap;
@@ -2506,19 +2506,19 @@ button:disabled {
2506
2506
  }
2507
2507
  @media (min-width: 781px) and (max-width: 1599px) { /* 781 — the mobile band ends at 780 now */
2508
2508
  .workspace {
2509
- grid-template-columns: minmax(410px, 36%) minmax(0, 1fr);
2509
+ grid-template-columns: minmax(25.625rem, 36%) minmax(0, 1fr);
2510
2510
  }
2511
2511
  .chat-scroll {
2512
- padding-left: 30px;
2513
- padding-right: 30px;
2512
+ padding-left: 1.875rem;
2513
+ padding-right: 1.875rem;
2514
2514
  }
2515
2515
  .composer-footnote > span:last-child {
2516
2516
  display: none;
2517
2517
  }
2518
2518
  .chat-header {
2519
- gap: 10px;
2519
+ gap: 0.625rem;
2520
2520
  flex-wrap: wrap;
2521
- padding: 10px 18px;
2521
+ padding: 0.625rem 1.125rem;
2522
2522
  }
2523
2523
  }
2524
2524
  @media (max-width: 1100px) and (min-width: 741px) {
@@ -2534,7 +2534,7 @@ button:disabled {
2534
2534
  display: none;
2535
2535
  }
2536
2536
  .conversation-select select {
2537
- max-width: 205px;
2537
+ max-width: 12.8125rem;
2538
2538
  }
2539
2539
  }
2540
2540
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
@@ -2546,43 +2546,43 @@ button:disabled {
2546
2546
  display: block;
2547
2547
  }
2548
2548
  .model-button {
2549
- min-height: 64px;
2549
+ min-height: 4rem;
2550
2550
  }
2551
2551
  .inspector-tabs {
2552
- padding: 0 4px;
2552
+ padding: 0 0.25rem;
2553
2553
  }
2554
2554
  .inspector-tabs button {
2555
- gap: 4px;
2556
- padding: 12px 4px;
2555
+ gap: 0.25rem;
2556
+ padding: 0.75rem 0.25rem;
2557
2557
  }
2558
2558
  .inspector-body {
2559
- padding: 18px 16px;
2559
+ padding: 1.125rem 1rem;
2560
2560
  }
2561
2561
  .conversation-select {
2562
- max-width: calc(100% - 94px);
2563
- gap: 6px;
2562
+ max-width: calc(100% - 5.875rem);
2563
+ gap: 0.375rem;
2564
2564
  }
2565
2565
  .conversation-select select {
2566
- max-width: 180px;
2566
+ max-width: 11.25rem;
2567
2567
  width: 100%;
2568
2568
  }
2569
2569
  .chat-header-actions {
2570
2570
  gap: 0;
2571
2571
  }
2572
2572
  .chat-header-actions .icon-button {
2573
- width: 30px;
2573
+ width: 1.875rem;
2574
2574
  }
2575
2575
  .chat-header {
2576
- padding: 0 10px;
2576
+ padding: 0 0.625rem;
2577
2577
  }
2578
2578
  .drawer-backdrop {
2579
- top: 42px;
2579
+ top: 2.625rem;
2580
2580
  }
2581
2581
  .composer-toolbar {
2582
- padding-left: 9px;
2582
+ padding-left: 0.5625rem;
2583
2583
  }
2584
2584
  .composer-left select {
2585
- max-width: 120px;
2585
+ max-width: 7.5rem;
2586
2586
  padding-left: 0;
2587
2587
  }
2588
2588
  .composer-footnote {
@@ -2596,16 +2596,16 @@ button:disabled {
2596
2596
  line-height: 1.5;
2597
2597
  }
2598
2598
  .chat-empty {
2599
- padding: 24px 0;
2599
+ padding: 1.5rem 0;
2600
2600
  }
2601
2601
  .chat-panel {
2602
- min-height: 760px;
2602
+ min-height: 47.5rem;
2603
2603
  }
2604
2604
  .modal {
2605
- padding: 20px;
2605
+ padding: 1.25rem;
2606
2606
  }
2607
2607
  .top-actions .primary {
2608
- padding: 8px;
2608
+ padding: 0.5rem;
2609
2609
  }
2610
2610
  }
2611
2611
  .session-heading .cwd-button {
@@ -2637,7 +2637,7 @@ button:disabled {
2637
2637
  }
2638
2638
  .modal.path-modal {
2639
2639
  width: max-content;
2640
- min-width: min(960px, 100%);
2640
+ min-width: min(60rem, 100%);
2641
2641
  }
2642
2642
  .markdown :is(h4, h5, h6, small, sub, sup) {
2643
2643
  font-size: 1rem;
@@ -2646,38 +2646,38 @@ button:disabled {
2646
2646
  /* Keep navigation fixed above the currently selected inspector panel. */
2647
2647
  .inspector > .inspector-tabs {
2648
2648
  flex-shrink: 0;
2649
- min-height: 74px;
2649
+ min-height: 4.625rem;
2650
2650
  border-top: 0;
2651
- padding: 0 8px;
2651
+ padding: 0 0.5rem;
2652
2652
  }
2653
2653
  .inspector > .inspector-tabs button {
2654
2654
  position: relative;
2655
2655
  flex-direction: column;
2656
- gap: 5px;
2657
- padding: 10px 4px;
2656
+ gap: 0.3125rem;
2657
+ padding: 0.625rem 0.25rem;
2658
2658
  line-height: 1.4;
2659
2659
  }
2660
2660
  .inspector-tabs .count {
2661
2661
  position: absolute;
2662
- top: 4px;
2663
- right: 4px;
2662
+ top: 0.25rem;
2663
+ right: 0.25rem;
2664
2664
  }
2665
2665
  .inspector-body.session-panel {
2666
- padding: 0 0 24px;
2666
+ padding: 0 0 1.5rem;
2667
2667
  }
2668
2668
  .session-panel .session-heading {
2669
- padding: 24px 26px;
2669
+ padding: 1.5rem 1.625rem;
2670
2670
  }
2671
2671
  .session-panel .model-section {
2672
- padding: 22px 26px;
2672
+ padding: 1.375rem 1.625rem;
2673
2673
  }
2674
2674
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2675
2675
  .inspector > .inspector-tabs {
2676
- padding: 0 4px;
2676
+ padding: 0 0.25rem;
2677
2677
  }
2678
2678
  .session-panel .session-heading,
2679
2679
  .session-panel .model-section {
2680
- padding: 20px 16px;
2680
+ padding: 1.25rem 1rem;
2681
2681
  }
2682
2682
  .session-panel .session-heading > .eyebrow {
2683
2683
  display: block;
@@ -2739,7 +2739,7 @@ textarea::placeholder {
2739
2739
  /* Root-to-fork navigation stays visible even when the picker is closed. */
2740
2740
  .chat-header {
2741
2741
  flex-wrap: nowrap;
2742
- gap: 14px;
2742
+ gap: 0.875rem;
2743
2743
  }
2744
2744
  .chat-header-actions {
2745
2745
  flex-shrink: 0;
@@ -2748,18 +2748,18 @@ textarea::placeholder {
2748
2748
  position: relative;
2749
2749
  flex: 1;
2750
2750
  min-width: 0;
2751
- padding: 8px 0;
2751
+ padding: 0.5rem 0;
2752
2752
  }
2753
2753
  .lineage-toolbar {
2754
2754
  display: flex;
2755
2755
  align-items: center;
2756
- gap: 4px;
2756
+ gap: 0.25rem;
2757
2757
  min-width: 0;
2758
2758
  }
2759
2759
  .conversation-lineage {
2760
2760
  display: flex;
2761
2761
  align-items: center;
2762
- gap: 4px;
2762
+ gap: 0.25rem;
2763
2763
  min-width: 0;
2764
2764
  overflow-x: auto;
2765
2765
  scrollbar-width: thin;
@@ -2767,8 +2767,8 @@ textarea::placeholder {
2767
2767
  }
2768
2768
  .lineage-crumb {
2769
2769
  flex-shrink: 0;
2770
- padding: 7px 9px;
2771
- border-radius: 6px;
2770
+ padding: 0.4375rem 0.5625rem;
2771
+ border-radius: 0.375rem;
2772
2772
  color: var(--secondary);
2773
2773
  white-space: nowrap;
2774
2774
  font-size: 1rem;
@@ -2787,7 +2787,7 @@ textarea::placeholder {
2787
2787
  flex-shrink: 0;
2788
2788
  }
2789
2789
  .lineage-source {
2790
- margin: 4px 9px 0;
2790
+ margin: 0.25rem 0.5625rem 0;
2791
2791
  color: var(--secondary);
2792
2792
  font-size: 1rem;
2793
2793
  line-height: 1.5;
@@ -2803,28 +2803,28 @@ textarea::placeholder {
2803
2803
  top: 100%;
2804
2804
  left: 0;
2805
2805
  z-index: 30;
2806
- width: min(540px, calc(100vw - 48px));
2807
- max-height: min(65vh, 620px);
2806
+ width: min(33.75rem, calc(100vw - 3rem));
2807
+ max-height: min(65vh, 38.75rem);
2808
2808
  overflow-y: auto;
2809
2809
  background: #251b1e;
2810
2810
  border: 1px solid #68474e;
2811
- border-radius: 9px;
2812
- padding: 8px;
2813
- box-shadow: 0 16px 48px #0007;
2811
+ border-radius: 0.5625rem;
2812
+ padding: 0.5rem;
2813
+ box-shadow: 0 1rem 3rem #0007;
2814
2814
  }
2815
2815
  .conversation-picker-heading {
2816
2816
  color: var(--secondary);
2817
2817
  font-size: 1rem;
2818
- padding: 10px 12px 14px;
2818
+ padding: 0.625rem 0.75rem 0.875rem;
2819
2819
  }
2820
2820
  .conversation-choice {
2821
2821
  display: flex;
2822
2822
  align-items: center;
2823
2823
  justify-content: space-between;
2824
2824
  width: 100%;
2825
- gap: 14px;
2826
- padding: 12px;
2827
- border-radius: 6px;
2825
+ gap: 0.875rem;
2826
+ padding: 0.75rem;
2827
+ border-radius: 0.375rem;
2828
2828
  text-align: left;
2829
2829
  }
2830
2830
  .conversation-choice:hover,
@@ -2835,13 +2835,13 @@ textarea::placeholder {
2835
2835
  min-width: 0;
2836
2836
  display: flex;
2837
2837
  flex-direction: column;
2838
- gap: 6px;
2838
+ gap: 0.375rem;
2839
2839
  }
2840
2840
  .choice-lineage {
2841
2841
  display: flex;
2842
2842
  flex-wrap: wrap;
2843
2843
  align-items: center;
2844
- gap: 5px;
2844
+ gap: 0.3125rem;
2845
2845
  color: var(--fg);
2846
2846
  font-size: 1rem;
2847
2847
  line-height: 1.5;
@@ -2862,7 +2862,7 @@ textarea::placeholder {
2862
2862
  color: var(--accent);
2863
2863
  }
2864
2864
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
2865
- /* chat-header layout lives in ONE place (the compact 42px block above) —
2865
+ /* chat-header layout lives in ONE place (the compact 2.625rem block above) —
2866
2866
  this block's flex-wrap:wrap loaded later, wrapped the header, and the
2867
2867
  compact block's max-height:42 + overflow:hidden then CLIPPED the wrapped
2868
2868
  rows away (live: 'topbar mất nội dung', the same bug class as the old
@@ -2872,25 +2872,25 @@ textarea::placeholder {
2872
2872
  width: 100%;
2873
2873
  }
2874
2874
  .conversation-picker {
2875
- width: min(540px, calc(100vw - 20px));
2875
+ width: min(33.75rem, calc(100vw - 1.25rem));
2876
2876
  }
2877
2877
  .lineage-crumb {
2878
- padding: 7px;
2878
+ padding: 0.4375rem;
2879
2879
  }
2880
2880
  }
2881
2881
 
2882
2882
  .queue-mode {
2883
2883
  position: relative;
2884
- min-width: 150px;
2884
+ min-width: 9.375rem;
2885
2885
  }
2886
2886
  .composer-left .queue-mode select {
2887
2887
  appearance: none;
2888
2888
  width: 100%;
2889
2889
  max-width: none;
2890
- min-height: 40px;
2891
- padding: 7px 36px 7px 12px;
2890
+ min-height: 2.5rem;
2891
+ padding: 0.4375rem 2.25rem 0.4375rem 0.75rem;
2892
2892
  border: 1px solid #77515a;
2893
- border-radius: 8px;
2893
+ border-radius: 0.5rem;
2894
2894
  background: #342329;
2895
2895
  color: #f8eeee;
2896
2896
  font-size: 1rem;
@@ -2899,7 +2899,7 @@ textarea::placeholder {
2899
2899
  }
2900
2900
  .queue-mode > svg {
2901
2901
  position: absolute;
2902
- right: 10px;
2902
+ right: 0.625rem;
2903
2903
  top: 50%;
2904
2904
  transform: translateY(-50%);
2905
2905
  pointer-events: none;
@@ -2911,38 +2911,38 @@ textarea::placeholder {
2911
2911
  flex-shrink: 0;
2912
2912
  }
2913
2913
  .switch {
2914
- width: 58px;
2915
- height: 34px;
2916
- border-radius: 20px;
2917
- padding: 4px;
2914
+ width: 3.625rem;
2915
+ height: 2.125rem;
2916
+ border-radius: 1.25rem;
2917
+ padding: 0.25rem;
2918
2918
  flex-shrink: 0;
2919
2919
  }
2920
2920
  .switch > span {
2921
- width: 26px;
2922
- height: 26px;
2921
+ width: 1.625rem;
2922
+ height: 1.625rem;
2923
2923
  }
2924
2924
  .state-boolean .switch {
2925
2925
  margin-left: 0;
2926
2926
  }
2927
2927
  .task-section {
2928
- margin-top: 24px;
2929
- padding-top: 20px;
2928
+ margin-top: 1.5rem;
2929
+ padding-top: 1.25rem;
2930
2930
  border-top: 1px solid var(--line);
2931
2931
  }
2932
2932
  .task-section h3,
2933
2933
  .task-example h4 {
2934
2934
  display: flex;
2935
2935
  align-items: center;
2936
- gap: 8px;
2937
- margin: 0 0 10px;
2936
+ gap: 0.5rem;
2937
+ margin: 0 0 0.625rem;
2938
2938
  font-size: 1rem;
2939
2939
  font-weight: 650;
2940
2940
  }
2941
2941
  .task-example {
2942
- padding: 16px;
2943
- margin-top: 12px;
2942
+ padding: 1rem;
2943
+ margin-top: 0.75rem;
2944
2944
  border: 1px solid var(--line);
2945
- border-radius: 8px;
2945
+ border-radius: 0.5rem;
2946
2946
  background: #25191c;
2947
2947
  }
2948
2948
  .task-example p,
@@ -2951,13 +2951,13 @@ textarea::placeholder {
2951
2951
  color: var(--secondary);
2952
2952
  font-size: 1rem;
2953
2953
  line-height: 1.6;
2954
- margin: 8px 0 14px;
2954
+ margin: 0.5rem 0 0.875rem;
2955
2955
  }
2956
2956
  .task-decision-buttons {
2957
2957
  display: flex;
2958
2958
  flex-wrap: wrap;
2959
- gap: 8px;
2960
- margin: 16px 0;
2959
+ gap: 0.5rem;
2960
+ margin: 1rem 0;
2961
2961
  }
2962
2962
  .approval-card {
2963
2963
  border-color: #c68957;
@@ -2966,21 +2966,21 @@ textarea::placeholder {
2966
2966
  margin-bottom: 0;
2967
2967
  }
2968
2968
  .tasks-panel .task-card .raw {
2969
- margin-top: 12px;
2969
+ margin-top: 0.75rem;
2970
2970
  }
2971
2971
  .chat-header-actions {
2972
2972
  display: flex;
2973
2973
  flex-wrap: wrap;
2974
- gap: 8px;
2974
+ gap: 0.5rem;
2975
2975
  justify-content: flex-end;
2976
2976
  }
2977
2977
  /* (deleted) a stray BASE '.chat-header{flex-wrap:wrap}' loaded after every
2978
2978
  band override and re-wrapped the header at ALL widths — with a real
2979
- session (crumbs + actions) the wrapped rows fought the compact 42px bar
2979
+ session (crumbs + actions) the wrapped rows fought the compact 2.625rem bar
2980
2980
  (live: content lost/overlap). Wrapping now happens ONLY in the 781–1599
2981
2981
  band where there is room for it. */
2982
2982
  .chat-header-actions .secondary {
2983
- min-height: 38px;
2983
+ min-height: 2.375rem;
2984
2984
  }
2985
2985
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2986
2986
  /* topbar layout lives in ONE place (the compact block in the ≤740 shell
@@ -2998,16 +2998,16 @@ textarea::placeholder {
2998
2998
 
2999
2999
  /* Slim scrollbars in the brand line color. */
3000
3000
  ::-webkit-scrollbar {
3001
- width: 10px;
3002
- height: 10px;
3001
+ width: 0.625rem;
3002
+ height: 0.625rem;
3003
3003
  }
3004
3004
  ::-webkit-scrollbar-track {
3005
3005
  background: transparent;
3006
3006
  }
3007
3007
  ::-webkit-scrollbar-thumb {
3008
3008
  background: var(--line);
3009
- border-radius: 10px;
3010
- border: 2px solid transparent;
3009
+ border-radius: 0.625rem;
3010
+ border: 0.125rem solid transparent;
3011
3011
  background-clip: padding-box;
3012
3012
  }
3013
3013
  ::-webkit-scrollbar-thumb:hover {
@@ -3028,14 +3028,14 @@ textarea::placeholder {
3028
3028
  /* TopBar stats row: real numbers from the client store, daemon-strip look. */
3029
3029
  .topbar-sep {
3030
3030
  width: 1px;
3031
- height: 22px;
3031
+ height: 1.375rem;
3032
3032
  background: var(--line);
3033
3033
  flex-shrink: 0;
3034
3034
  }
3035
3035
  .daemon {
3036
3036
  display: flex;
3037
3037
  align-items: center;
3038
- gap: 8px;
3038
+ gap: 0.5rem;
3039
3039
  font-size: 0.9375rem;
3040
3040
  color: var(--faint);
3041
3041
  min-width: 0;
@@ -3051,13 +3051,13 @@ textarea::placeholder {
3051
3051
  flex-shrink: 0;
3052
3052
  }
3053
3053
  .dot {
3054
- width: 8px;
3055
- height: 8px;
3054
+ width: 0.5rem;
3055
+ height: 0.5rem;
3056
3056
  border-radius: 50%;
3057
3057
  display: inline-block;
3058
- flex: 0 0 8px;
3058
+ flex: 0 0 0.5rem;
3059
3059
  background: var(--ok);
3060
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 16%, transparent);
3060
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--ok) 16%, transparent);
3061
3061
  }
3062
3062
  .dot.off {
3063
3063
  background: var(--offline);
@@ -3068,11 +3068,11 @@ textarea::placeholder {
3068
3068
  .chip {
3069
3069
  display: inline-flex;
3070
3070
  align-items: center;
3071
- gap: 6px;
3072
- height: 28px;
3073
- padding: 0 12px;
3071
+ gap: 0.375rem;
3072
+ height: 1.75rem;
3073
+ padding: 0 0.75rem;
3074
3074
  border: 1px solid var(--line);
3075
- border-radius: 999px;
3075
+ border-radius: 62.4375rem;
3076
3076
  font-family: var(--font-mono);
3077
3077
  font-size: 0.8125rem;
3078
3078
  color: var(--faint);
@@ -3088,9 +3088,9 @@ textarea::placeholder {
3088
3088
  color: var(--accent);
3089
3089
  }
3090
3090
  .chip .dot {
3091
- width: 7px;
3092
- height: 7px;
3093
- flex: 0 0 7px;
3091
+ width: 0.4375rem;
3092
+ height: 0.4375rem;
3093
+ flex: 0 0 0.4375rem;
3094
3094
  box-shadow: none;
3095
3095
  }
3096
3096
 
@@ -3114,23 +3114,23 @@ textarea::placeholder {
3114
3114
  z-index: 80;
3115
3115
  display: grid;
3116
3116
  place-items: center;
3117
- padding: 20px;
3117
+ padding: 1.25rem;
3118
3118
  }
3119
3119
  .dialog {
3120
- width: min(560px, 100%);
3121
- max-height: calc(100dvh - 40px);
3120
+ width: min(35rem, 100%);
3121
+ max-height: calc(100dvh - 2.5rem);
3122
3122
  overflow-y: auto;
3123
3123
  border: 1px solid var(--line);
3124
- border-radius: 12px;
3124
+ border-radius: 0.75rem;
3125
3125
  background: var(--panel);
3126
- box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
3126
+ box-shadow: 0 1.5rem 4.375rem rgb(0 0 0 / 55%);
3127
3127
  }
3128
3128
  .dialog-head {
3129
- padding: 18px 20px 0;
3129
+ padding: 1.125rem 1.25rem 0;
3130
3130
  display: flex;
3131
3131
  align-items: flex-start;
3132
3132
  justify-content: space-between;
3133
- gap: 12px;
3133
+ gap: 0.75rem;
3134
3134
  }
3135
3135
  .dialog-eyebrow {
3136
3136
  font-family: var(--font-display);
@@ -3141,23 +3141,23 @@ textarea::placeholder {
3141
3141
  color: var(--accent);
3142
3142
  }
3143
3143
  .dialog h3 {
3144
- margin: 5px 0 0;
3144
+ margin: 0.3125rem 0 0;
3145
3145
  font-family: var(--font-display);
3146
3146
  font-size: 1.25rem;
3147
3147
  font-weight: 700;
3148
3148
  letter-spacing: -0.01em;
3149
3149
  }
3150
3150
  .dialog-body {
3151
- padding: 16px 20px;
3151
+ padding: 1rem 1.25rem;
3152
3152
  display: flex;
3153
3153
  flex-direction: column;
3154
- gap: 12px;
3154
+ gap: 0.75rem;
3155
3155
  }
3156
3156
  .help-step {
3157
3157
  display: grid;
3158
- grid-template-columns: 26px minmax(0, 1fr);
3159
- gap: 10px;
3160
- padding: 7px 0;
3158
+ grid-template-columns: 1.625rem minmax(0, 1fr);
3159
+ gap: 0.625rem;
3160
+ padding: 0.4375rem 0;
3161
3161
  border-bottom: 1px solid var(--line-soft);
3162
3162
  font-size: 1rem;
3163
3163
  }
@@ -3173,35 +3173,35 @@ textarea::placeholder {
3173
3173
  }
3174
3174
  .help-step .body {
3175
3175
  color: var(--muted);
3176
- margin-top: 2px;
3176
+ margin-top: 0.125rem;
3177
3177
  line-height: 1.6;
3178
3178
  }
3179
3179
  .help-callout {
3180
- margin-top: 4px;
3181
- padding: 10px 12px;
3180
+ margin-top: 0.25rem;
3181
+ padding: 0.625rem 0.75rem;
3182
3182
  border-radius: var(--radius-sm);
3183
3183
  border: 1px solid var(--line);
3184
3184
  background: var(--chat);
3185
3185
  font-size: 1rem;
3186
3186
  color: var(--muted);
3187
3187
  display: flex;
3188
- gap: 10px;
3188
+ gap: 0.625rem;
3189
3189
  align-items: flex-start;
3190
3190
  }
3191
3191
  .help-callout svg {
3192
3192
  flex-shrink: 0;
3193
- margin-top: 2px;
3193
+ margin-top: 0.125rem;
3194
3194
  }
3195
3195
  .dialog-foot {
3196
3196
  display: flex;
3197
3197
  align-items: center;
3198
- gap: 8px;
3199
- padding: 0 20px 18px;
3198
+ gap: 0.5rem;
3199
+ padding: 0 1.25rem 1.125rem;
3200
3200
  }
3201
3201
  .dialog-foot .right {
3202
3202
  margin-left: auto;
3203
3203
  display: flex;
3204
- gap: 8px;
3204
+ gap: 0.5rem;
3205
3205
  }
3206
3206
 
3207
3207
  /* mobile nav: one of three views visible at phone width. Hidden otherwise. */
@@ -3216,8 +3216,8 @@ textarea::placeholder {
3216
3216
  .mnav {
3217
3217
  display: grid;
3218
3218
  grid-template-columns: repeat(3, 1fr);
3219
- gap: 2px;
3220
- padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
3219
+ gap: 0.125rem;
3220
+ padding: 0.25rem 0.375rem calc(0.25rem + env(safe-area-inset-bottom));
3221
3221
  border-top: 1px solid var(--line);
3222
3222
  background: var(--panel);
3223
3223
  }
@@ -3227,10 +3227,10 @@ textarea::placeholder {
3227
3227
  flex-direction: column;
3228
3228
  align-items: center;
3229
3229
  justify-content: center;
3230
- gap: 2px;
3231
- min-height: 48px;
3230
+ gap: 0.125rem;
3231
+ min-height: 3rem;
3232
3232
  border: 0;
3233
- border-radius: 8px;
3233
+ border-radius: 0.5rem;
3234
3234
  background: transparent;
3235
3235
  color: var(--faint);
3236
3236
  font-size: 0.75rem;
@@ -3241,17 +3241,17 @@ textarea::placeholder {
3241
3241
  }
3242
3242
  .mnav .badge {
3243
3243
  position: absolute;
3244
- top: 5px;
3245
- right: calc(50% - 22px);
3246
- min-width: 16px;
3247
- height: 16px;
3248
- padding: 0 4px;
3249
- border-radius: 999px;
3244
+ top: 0.3125rem;
3245
+ right: calc(50% - 1.375rem);
3246
+ min-width: 1rem;
3247
+ height: 1rem;
3248
+ padding: 0 0.25rem;
3249
+ border-radius: 62.4375rem;
3250
3250
  background: var(--primary);
3251
3251
  color: var(--on-primary);
3252
3252
  font-family: var(--font-mono);
3253
3253
  font-size: 0.6875rem;
3254
- line-height: 16px;
3254
+ line-height: 1rem;
3255
3255
  }
3256
3256
  }
3257
3257
 
@@ -3262,28 +3262,28 @@ textarea::placeholder {
3262
3262
  /* Composer: focus-within ring. */
3263
3263
  .composer:focus-within {
3264
3264
  border-color: color-mix(in oklab, var(--accent) 55%, var(--line));
3265
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 10%, transparent);
3265
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--accent) 10%, transparent);
3266
3266
  }
3267
3267
  .send {
3268
3268
  border: 1px solid var(--primary-line);
3269
- border-radius: 8px;
3269
+ border-radius: 0.5rem;
3270
3270
  transition: background 120ms var(--ease);
3271
3271
  }
3272
3272
 
3273
3273
  /* Chat entries: user turns become right-aligned card bubble. */
3274
3274
  .pi-user {
3275
3275
  border-bottom: 0;
3276
- padding-bottom: 12px;
3276
+ padding-bottom: 0.75rem;
3277
3277
  align-items: flex-end;
3278
3278
  display: flex;
3279
3279
  flex-direction: column;
3280
- gap: 8px;
3280
+ gap: 0.5rem;
3281
3281
  }
3282
3282
  .pi-user .user-message {
3283
3283
  background: var(--card);
3284
3284
  border: 1px solid var(--line);
3285
3285
  border-radius: var(--radius);
3286
- padding: 10px 14px;
3286
+ padding: 0.625rem 0.875rem;
3287
3287
  max-width: 78%;
3288
3288
  }
3289
3289
 
@@ -3301,7 +3301,7 @@ textarea::placeholder {
3301
3301
  color: var(--accent);
3302
3302
  }
3303
3303
  .insp-tab-active-line {
3304
- border-bottom: 2px solid var(--accent);
3304
+ border-bottom: 0.125rem solid var(--accent);
3305
3305
  }
3306
3306
 
3307
3307
  /* Switch: on-state in the primary brand red. */
@@ -3338,7 +3338,7 @@ textarea::placeholder {
3338
3338
  }
3339
3339
  .metrics > div {
3340
3340
  background: var(--chat);
3341
- padding: 9px 12px;
3341
+ padding: 0.5625rem 0.75rem;
3342
3342
  }
3343
3343
  .metrics span {
3344
3344
  font-family: var(--font-mono);
@@ -3365,7 +3365,7 @@ input:focus,
3365
3365
  textarea:focus,
3366
3366
  select:focus {
3367
3367
  border-color: var(--accent);
3368
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 10%, transparent);
3368
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--accent) 10%, transparent);
3369
3369
  }
3370
3370
 
3371
3371
  /* Chat panel + inspector: token-driven panel surfaces. */
@@ -3387,7 +3387,7 @@ select:focus {
3387
3387
  @supports LIES: legacy Chrome/WebView report zoom as supported while
3388
3388
  zoom-on-:root misbehaves — text rendered full desktop size and wrapped
3389
3389
  (live, twice). So zoom is GONE. Every font-size in the codebase is rem
3390
- (the 16px base below is the only px), so ONE knob per width band scales
3390
+ (the 1rem base below is the only px), so ONE knob per width band scales
3391
3391
  the type on every engine ever shipped — no @supports, no fallback split,
3392
3392
  no compensation math. Icon/button px sizes are already compacted per band. */
3393
3393
  @media (max-width: 1599px) {
@@ -3435,8 +3435,8 @@ select:focus {
3435
3435
  /* ── Keyboard: the form must survive the soft keyboard ────────────────────
3436
3436
  Two live failure modes when an input gets focus on a phone:
3437
3437
  1. iOS auto-zooms the whole viewport when the focused control renders
3438
- under 16px — under the ui zoom every input did, so the page "exploded".
3439
- Raise inputs to a RENDERED 16px (16px / zoom in root coordinates).
3438
+ under 1rem — under the ui zoom every input did, so the page "exploded".
3439
+ Raise inputs to a RENDERED 1rem (1rem / zoom in root coordinates).
3440
3440
  Scoped component styles have higher specificity, hence !important.
3441
3441
  2. The shell must shrink to the space ABOVE the keyboard, not stay
3442
3442
  viewport-tall behind it. index.html declares
@@ -3448,8 +3448,8 @@ select:focus {
3448
3448
  fields…) — they scale with the type system like every other element, no
3449
3449
  !important, no blanket override (a forced 1rem read bigger than the
3450
3450
  designed sizes around it — live report). The ONE exception is iOS-only:
3451
- Safari zooms the viewport when a FOCUSED control computes under 16px, so
3452
- on iOS alone the focused control computes 16px while editing. `:root`
3451
+ Safari zooms the viewport when a FOCUSED control computes under 1rem, so
3452
+ on iOS alone the focused control computes 1rem while editing. `:root`
3453
3453
  lifts specificity above scoped component styles WITHOUT !important, and
3454
3454
  -webkit-touch-callout scopes it to iOS — Android never zooms on focus and
3455
3455
  keeps its designed size even while typing. */
@@ -3467,12 +3467,12 @@ select:focus {
3467
3467
  input,
3468
3468
  textarea,
3469
3469
  select {
3470
- padding: 6px 9px;
3470
+ padding: 0.375rem 0.5625rem;
3471
3471
  }
3472
3472
  }
3473
3473
 
3474
3474
  .build-stamp {
3475
- margin: 18px 0 0;
3475
+ margin: 1.125rem 0 0;
3476
3476
  font-size: 0.625rem;
3477
3477
  letter-spacing: 0.08em;
3478
3478
  color: var(--faint);
@@ -3489,27 +3489,27 @@ select:focus {
3489
3489
  }
3490
3490
  @media (max-width: 900px) {
3491
3491
  .chip.connection {
3492
- width: 12px;
3493
- min-width: 12px;
3494
- height: 12px;
3495
- min-height: 12px;
3492
+ width: 0.75rem;
3493
+ min-width: 0.75rem;
3494
+ height: 0.75rem;
3495
+ min-height: 0.75rem;
3496
3496
  padding: 0;
3497
3497
  border: 0;
3498
- border-radius: 999px;
3498
+ border-radius: 62.4375rem;
3499
3499
  background: transparent;
3500
3500
  overflow: hidden;
3501
3501
  font-size: 0;
3502
3502
  }
3503
3503
  .chip.connection .dot {
3504
- width: 10px;
3505
- height: 10px;
3504
+ width: 0.625rem;
3505
+ height: 0.625rem;
3506
3506
  }
3507
3507
  }
3508
3508
 
3509
3509
  /* ── Compact band, second pass (from the user's actual screenshots) ────────
3510
3510
  What the phone shows that no probe caught:
3511
3511
  1. The Inspector's collapsed icon RAIL renders inline on phones, eating
3512
- ~100px of a 800px screen and pushing the chat into a sliver. On the
3512
+ ~6.25rem of a 50rem screen and pushing the chat into a sliver. On the
3513
3513
  compact band the rail is HIDDEN — the Details tab opens the inspector
3514
3514
  as the overlay it already is. The chat gets the full width.
3515
3515
  2. The chat-header crumbs (device/workspace names) rendered 1.0625rem —
@@ -3528,7 +3528,7 @@ select:focus {
3528
3528
  /* 2. the chat header crumbs: same optical size as the bar */
3529
3529
  .crumb-main {
3530
3530
  font-size: 0.875rem;
3531
- gap: 5px;
3531
+ gap: 0.3125rem;
3532
3532
  }
3533
3533
  .crumb .device-chip,
3534
3534
  .crumb-name {
@@ -3541,20 +3541,20 @@ select:focus {
3541
3541
  }
3542
3542
  .markdown ul,
3543
3543
  .markdown ol {
3544
- padding-left: 18px;
3545
- margin: 8px 0;
3544
+ padding-left: 1.125rem;
3545
+ margin: 0.5rem 0;
3546
3546
  }
3547
3547
  .message-label {
3548
3548
  font-size: 0.8125rem;
3549
- margin-bottom: 6px;
3549
+ margin-bottom: 0.375rem;
3550
3550
  }
3551
3551
  }
3552
3552
 
3553
3553
  /* ── Compact-band header: unbreakable against ANY content width ───────────
3554
- From the user's screenshots: the lineage picker reserves flex-basis 240px
3554
+ From the user's screenshots: the lineage picker reserves flex-basis 15rem
3555
3555
  (network.css), the actions row + crumbs overflowed it, and markdown tables
3556
3556
  in the transcript are wide. All four levers closed at once: the picker
3557
- may shrink (no 240px floor), the crumbs never wrap internally, the
3557
+ may shrink (no 15rem floor), the crumbs never wrap internally, the
3558
3558
  actions never shrink, the header paints ABOVE escaped content, and wide
3559
3559
  tables scroll INSIDE the chat instead of escaping it. */
3560
3560
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
@@ -3590,7 +3590,7 @@ select:focus {
3590
3590
  /* Tight lineage internals so the auto-height header stays 2 slim rows. */
3591
3591
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3592
3592
  .crumb {
3593
- padding: 3px 2px;
3593
+ padding: 0.1875rem 0.125rem;
3594
3594
  }
3595
3595
  .crumb .device-chip,
3596
3596
  .crumb-name {
@@ -3609,8 +3609,8 @@ select:focus {
3609
3609
  .crumbs .crumb {
3610
3610
  flex-direction: row;
3611
3611
  align-items: center;
3612
- gap: 5px;
3613
- padding: 3px 2px;
3612
+ gap: 0.3125rem;
3613
+ padding: 0.1875rem 0.125rem;
3614
3614
  }
3615
3615
  .crumb-kind {
3616
3616
  display: none;
@@ -3620,25 +3620,25 @@ select:focus {
3620
3620
  max-width: 30vw;
3621
3621
  }
3622
3622
  .composer textarea {
3623
- height: 34px;
3624
- min-height: 34px;
3625
- max-height: 110px;
3626
- padding: 7px 9px;
3623
+ height: 2.125rem;
3624
+ min-height: 2.125rem;
3625
+ max-height: 6.875rem;
3626
+ padding: 0.4375rem 0.5625rem;
3627
3627
  }
3628
3628
  .composer {
3629
- padding: 5px;
3629
+ padding: 0.3125rem;
3630
3630
  }
3631
3631
  .composer-toolbar {
3632
- gap: 3px;
3632
+ gap: 0.1875rem;
3633
3633
  }
3634
3634
  .composer-toolbar .icon-button {
3635
- width: 26px;
3636
- height: 26px;
3637
- padding: 3px;
3635
+ width: 1.625rem;
3636
+ height: 1.625rem;
3637
+ padding: 0.1875rem;
3638
3638
  }
3639
3639
  .queue-mode select {
3640
- min-height: 30px;
3641
- padding: 4px 26px 4px 8px;
3640
+ min-height: 1.875rem;
3641
+ padding: 0.25rem 1.625rem 0.25rem 0.5rem;
3642
3642
  font-size: 0.8125rem;
3643
3643
  }
3644
3644
  .composer-footnote {
@@ -3648,48 +3648,48 @@ select:focus {
3648
3648
 
3649
3649
  /* ── Composer controls, phone-compact (user-annotated screenshot) ──────────
3650
3650
  Follow-up select + Interrupt read oversized on phones. Everything in the
3651
- toolbar drops to a 26px control row; the Interrupt label shrinks with it. */
3651
+ toolbar drops to a 1.625rem control row; the Interrupt label shrinks with it. */
3652
3652
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3653
3653
  .queue-mode {
3654
3654
  min-width: 0;
3655
3655
  }
3656
3656
  .composer-left .queue-mode select {
3657
- min-height: 26px;
3658
- padding: 3px 22px 3px 7px;
3657
+ min-height: 1.625rem;
3658
+ padding: 0.1875rem 1.375rem 0.1875rem 0.4375rem;
3659
3659
  font-size: 0.75rem;
3660
3660
  }
3661
3661
  .queue-mode > svg {
3662
- width: 13px;
3663
- height: 13px;
3662
+ width: 0.8125rem;
3663
+ height: 0.8125rem;
3664
3664
  }
3665
3665
  .composer-toolbar svg {
3666
- width: 14px;
3667
- height: 14px;
3666
+ width: 0.875rem;
3667
+ height: 0.875rem;
3668
3668
  }
3669
3669
  .composer-toolbar .icon-button {
3670
- width: 26px;
3671
- height: 26px;
3672
- padding: 4px;
3670
+ width: 1.625rem;
3671
+ height: 1.625rem;
3672
+ padding: 0.25rem;
3673
3673
  }
3674
3674
  .composer-toolbar .send,
3675
3675
  .composer-toolbar button[title*="Stop foreground"] {
3676
- min-height: 26px;
3677
- min-width: 26px;
3678
- padding: 0 8px;
3676
+ min-height: 1.625rem;
3677
+ min-width: 1.625rem;
3678
+ padding: 0 0.5rem;
3679
3679
  font-size: 0.75rem;
3680
- gap: 3px;
3680
+ gap: 0.1875rem;
3681
3681
  }
3682
3682
  .composer-toolbar .stop-sign {
3683
- width: 14px;
3684
- height: 14px;
3683
+ width: 0.875rem;
3684
+ height: 0.875rem;
3685
3685
  }
3686
3686
  }
3687
3687
 
3688
- /* ── Crumbs icon-only + toolbar text 10px (user directive) ─────────────────
3688
+ /* ── Crumbs icon-only + toolbar text 0.625rem (user directive) ─────────────────
3689
3689
  The crumb NAMES (device/workspace/session, and the branch chip) duplicated
3690
3690
  what the icons + tooltips already say — on a phone they pushed the row
3691
3691
  wide. Icons only; names stay in the tooltips and the Details pane.
3692
- The toolbar text drops to 10px as requested (buttons/selects never trigger
3692
+ The toolbar text drops to 0.625rem as requested (buttons/selects never trigger
3693
3693
  iOS focus-zoom — that dance is only for text inputs). */
3694
3694
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3695
3695
  .crumb .device-chip,
@@ -3707,3 +3707,13 @@ select:focus {
3707
3707
  font-size: 10px;
3708
3708
  }
3709
3709
  }
3710
+
3711
+ /* ── Icons ride the scale too ──────────────────────────────────────────────
3712
+ Lucide icons carry px width/height ATTRIBUTES; CSS wins over attributes, so
3713
+ one em rule ties every icon to the surrounding text size — icons shrink and
3714
+ grow WITH the ui instead of staying fixed while everything else scales. */
3715
+ svg.lucide {
3716
+ width: 1.125em;
3717
+ height: 1.125em;
3718
+ flex-shrink: 0;
3719
+ }