my-durable 0.0.105 → 0.0.107

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 (30) hide show
  1. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/index-BdHUFi_P.js +83 -0
  2. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/index-BfqOr6Nu.css +1 -0
  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 +41 -41
  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 +682 -680
  27. package/docs/ui-uniform-audit-r29.md +66 -0
  28. package/package.json +1 -1
  29. package/apps/dpi-playground/apps/dpi-playground-fe/dist/assets/index-BficgqEW.js +0 -83
  30. 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,17 +2133,16 @@ 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
  }
2145
2145
  .brand strong {
2146
- font-size: 0.875rem;
2147
2146
  white-space: nowrap;
2148
2147
  flex-shrink: 0;
2149
2148
  }
@@ -2154,15 +2153,15 @@ textarea.app-state-json {
2154
2153
  }
2155
2154
  .top-actions {
2156
2155
  margin-left: auto;
2157
- gap: 2px;
2156
+ gap: 0.125rem;
2158
2157
  flex: 0 0 auto;
2159
2158
  flex-wrap: nowrap;
2160
2159
  min-width: 0;
2161
2160
  }
2162
2161
  .top-actions .icon-button {
2163
- width: 26px;
2164
- height: 26px;
2165
- padding: 3px;
2162
+ width: 1.625rem;
2163
+ height: 1.625rem;
2164
+ padding: 0.1875rem;
2166
2165
  flex-shrink: 0;
2167
2166
  }
2168
2167
  /* Everything fits WITHOUT swiping — that was the real "lost content":
@@ -2173,7 +2172,7 @@ textarea.app-state-json {
2173
2172
  collapses to its colored dot (title carries the words). */
2174
2173
  /* .topbar prefix beats network.css' ≤1100 '.inspector-toggle{display:
2175
2174
  inline-flex}' which loads later and re-showed the toggle (beyond-edge at
2176
- 320px). The tabs own these actions on phones. */
2175
+ 20rem). The tabs own these actions on phones. */
2177
2176
  .topbar .tree-toggle,
2178
2177
  .topbar .inspector-toggle {
2179
2178
  display: none;
@@ -2182,31 +2181,29 @@ textarea.app-state-json {
2182
2181
  display: none;
2183
2182
  }
2184
2183
  .chip.connection {
2185
- width: 12px;
2186
- min-width: 12px;
2187
- height: 12px;
2188
- min-height: 12px;
2184
+ width: 0.75rem;
2185
+ min-width: 0.75rem;
2186
+ height: 0.75rem;
2187
+ min-height: 0.75rem;
2189
2188
  padding: 0;
2190
- border-radius: 999px;
2189
+ border-radius: 62.4375rem;
2191
2190
  background: transparent;
2192
2191
  overflow: hidden;
2193
2192
  font-size: 0;
2194
2193
  }
2195
2194
  .chip.connection .dot {
2196
- width: 10px;
2197
- height: 10px;
2195
+ width: 0.625rem;
2196
+ height: 0.625rem;
2198
2197
  }
2199
2198
  .top-actions .primary.small {
2200
- padding: 0 7px;
2201
- min-height: 26px;
2202
- gap: 2px;
2203
- font-size: 0.75rem;
2199
+ padding: 0 0.4375rem;
2200
+ min-height: 1.625rem;
2201
+ gap: 0.125rem;
2204
2202
  flex-shrink: 0;
2205
2203
  }
2206
2204
  .error-banner {
2207
- padding: 6px 10px;
2208
- gap: 6px;
2209
- font-size: 0.8125rem;
2205
+ padding: 0.375rem 0.625rem;
2206
+ gap: 0.375rem;
2210
2207
  }
2211
2208
  .workspace {
2212
2209
  display: flex;
@@ -2216,14 +2213,13 @@ textarea.app-state-json {
2216
2213
  border-right: 0;
2217
2214
  border-bottom: 1px solid var(--line);
2218
2215
  max-height: 55vh;
2219
- min-height: 310px;
2216
+ min-height: 19.375rem;
2220
2217
  }
2221
2218
  .session-heading {
2222
- padding: 10px 14px 8px;
2219
+ padding: 0.625rem 0.875rem 0.5rem;
2223
2220
  }
2224
2221
  .session-heading h1 {
2225
- font-size: 1rem;
2226
- margin: 3px 0;
2222
+ margin: 0.1875rem 0;
2227
2223
  }
2228
2224
  .session-heading > .eyebrow,
2229
2225
  .session-status,
@@ -2232,84 +2228,82 @@ textarea.app-state-json {
2232
2228
  display: none;
2233
2229
  }
2234
2230
  .inspector-tabs {
2235
- padding: 0 6px;
2231
+ padding: 0 0.375rem;
2236
2232
  }
2237
2233
  .inspector-tabs button {
2238
- padding: 9px 6px 7px;
2234
+ padding: 0.5625rem 0.375rem 0.4375rem;
2239
2235
  }
2240
2236
  .inspector-body {
2241
- padding: 17px 20px;
2242
- min-height: 150px;
2237
+ padding: 1.0625rem 1.25rem;
2238
+ min-height: 9.375rem;
2243
2239
  }
2244
2240
  .chat-panel {
2245
2241
  height: 85dvh;
2246
- min-height: 500px;
2242
+ min-height: 31.25rem;
2247
2243
  }
2248
2244
  /* Auto-height: the lineage carries a BRANCH row + crumb row (~2 lines).
2249
2245
  The old max-height:42 overflowed that content ONTO the table below
2250
2246
  (live screenshots) — the shell is a fixed-height frame now, so letting
2251
2247
  the header grow cannot scroll the page; the chat just gets the rest. */
2252
2248
  .chat-header {
2253
- padding: 0 10px;
2249
+ padding: 0 0.625rem;
2254
2250
  height: auto;
2255
- min-height: 42px;
2251
+ min-height: 2.625rem;
2256
2252
  max-height: none;
2257
- gap: 8px;
2253
+ gap: 0.5rem;
2258
2254
  flex-wrap: nowrap;
2259
2255
  flex: 0 0 auto;
2260
2256
  overflow: visible;
2261
2257
  }
2262
2258
  .model-button img {
2263
- width: 26px;
2264
- height: 26px;
2259
+ width: 1.625rem;
2260
+ height: 1.625rem;
2265
2261
  }
2266
2262
  .conversation-select select {
2267
- font-size: 0.875rem;
2268
- padding: 4px 2px;
2269
- max-width: 150px;
2263
+ padding: 0.25rem 0.125rem;
2264
+ max-width: 9.375rem;
2270
2265
  }
2271
2266
  .chat-header-actions .icon-button {
2272
- width: 26px;
2273
- height: 26px;
2267
+ width: 1.625rem;
2268
+ height: 1.625rem;
2274
2269
  }
2275
2270
  .chat-scroll {
2276
- padding: 24px 22px;
2271
+ padding: 1.5rem 1.375rem;
2277
2272
  }
2278
2273
  .chat-empty h2 {
2279
- font-size: 1.375rem;
2274
+ /* r29: no band font — the heading rides the knob */
2280
2275
  }
2281
2276
  .composer-region {
2282
- padding: 12px;
2277
+ padding: 0.75rem;
2283
2278
  }
2284
2279
  .composer-left {
2285
- gap: 3px;
2280
+ gap: 0.1875rem;
2286
2281
  }
2287
2282
  .composer-left .context-indicator {
2288
2283
  display: none;
2289
2284
  }
2290
2285
  .composer-right {
2291
- gap: 8px;
2286
+ gap: 0.5rem;
2292
2287
  }
2293
2288
  .modal {
2294
- padding: 22px;
2289
+ padding: 1.375rem;
2295
2290
  }
2296
2291
  .welcome {
2297
2292
  min-height: 90dvh;
2298
2293
  }
2299
2294
  .welcome-features {
2300
2295
  flex-direction: column;
2301
- gap: 20px;
2296
+ gap: 1.25rem;
2302
2297
  align-items: center;
2303
- margin-top: 40px;
2298
+ margin-top: 2.5rem;
2304
2299
  }
2305
2300
  .drawer-backdrop {
2306
- top: 58px;
2301
+ top: 3.625rem;
2307
2302
  }
2308
2303
  .toast {
2309
- bottom: 15px;
2304
+ bottom: 0.9375rem;
2310
2305
  width: max-content;
2311
2306
  max-width: 90%;
2312
- font-size: 1rem;
2313
2307
  }
2314
2308
  .fork-label {
2315
2309
  display: none;
@@ -2325,7 +2319,7 @@ textarea.app-state-json {
2325
2319
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2326
2320
  .model-section {
2327
2321
  display: block;
2328
- padding: 9px 20px;
2322
+ padding: 0.5625rem 1.25rem;
2329
2323
  }
2330
2324
  .model-section .section-label,
2331
2325
  .model-section .thinking-row,
@@ -2333,18 +2327,18 @@ textarea.app-state-json {
2333
2327
  display: none;
2334
2328
  }
2335
2329
  .model-button {
2336
- padding: 7px 10px;
2330
+ padding: 0.4375rem 0.625rem;
2337
2331
  }
2338
2332
  .model-button img {
2339
- width: 24px;
2340
- height: 24px;
2333
+ width: 1.5rem;
2334
+ height: 1.5rem;
2341
2335
  }
2342
2336
  .model-button small {
2343
2337
  display: none;
2344
2338
  }
2345
2339
  }
2346
2340
 
2347
- /* Accessible red theme: 16px minimum type and high-contrast provider marks. */
2341
+ /* Accessible red theme: 1rem minimum type and high-contrast provider marks. */
2348
2342
  .primary,
2349
2343
  .send {
2350
2344
  background: var(--primary);
@@ -2357,23 +2351,23 @@ textarea.app-state-json {
2357
2351
  }
2358
2352
  .model-button img,
2359
2353
  .model-list img {
2360
- width: 42px;
2361
- height: 42px;
2362
- padding: 5px;
2354
+ width: 2.625rem;
2355
+ height: 2.625rem;
2356
+ padding: 0.3125rem;
2363
2357
  background: #fff;
2364
2358
  border: 1px solid #67575c;
2365
2359
  flex-shrink: 0;
2366
2360
  }
2367
2361
  .session-model img {
2368
- width: 32px;
2369
- height: 32px;
2370
- padding: 3px;
2362
+ width: 2rem;
2363
+ height: 2rem;
2364
+ padding: 0.1875rem;
2371
2365
  background: #fff;
2372
2366
  flex-shrink: 0;
2373
2367
  }
2374
2368
  img[src$="openai.png"] {
2375
2369
  background: #242024;
2376
- padding: 3px;
2370
+ padding: 0.1875rem;
2377
2371
  border-color: #81747a;
2378
2372
  }
2379
2373
  button:disabled {
@@ -2383,16 +2377,16 @@ button:disabled {
2383
2377
  border-color: #554249;
2384
2378
  }
2385
2379
  .icon-button {
2386
- width: 36px;
2387
- height: 36px;
2380
+ width: 2.25rem;
2381
+ height: 2.25rem;
2388
2382
  color: var(--fg);
2389
2383
  }
2390
2384
  .inspector-tabs {
2391
- padding: 0 10px;
2385
+ padding: 0 0.625rem;
2392
2386
  }
2393
2387
  .inspector-tabs button {
2394
2388
  min-width: 0;
2395
- padding: 15px 7px 13px;
2389
+ padding: 0.9375rem 0.4375rem 0.8125rem;
2396
2390
  }
2397
2391
  .session-heading h1 {
2398
2392
  line-height: 1.4;
@@ -2408,13 +2402,13 @@ button:disabled {
2408
2402
  }
2409
2403
  .metrics {
2410
2404
  grid-template-columns: 1fr 1.4fr 0.6fr;
2411
- gap: 12px;
2405
+ gap: 0.75rem;
2412
2406
  }
2413
2407
  .metrics small {
2414
2408
  line-height: 1.5;
2415
2409
  }
2416
2410
  .model-button {
2417
- min-height: 70px;
2411
+ min-height: 4.375rem;
2418
2412
  }
2419
2413
  .model-button small {
2420
2414
  line-height: 1.5;
@@ -2423,16 +2417,16 @@ button:disabled {
2423
2417
  white-space: normal;
2424
2418
  }
2425
2419
  .inspector-footer {
2426
- min-height: 52px;
2420
+ min-height: 3.25rem;
2427
2421
  height: auto;
2428
- padding: 8px 20px;
2422
+ padding: 0.5rem 1.25rem;
2429
2423
  }
2430
2424
  .counter-card {
2431
- gap: 12px;
2425
+ gap: 0.75rem;
2432
2426
  flex-wrap: wrap;
2433
2427
  }
2434
2428
  .counter-card .field-label {
2435
- max-width: 180px;
2429
+ max-width: 11.25rem;
2436
2430
  line-height: 1.5;
2437
2431
  }
2438
2432
  .raw summary {
@@ -2462,16 +2456,16 @@ button:disabled {
2462
2456
  line-height: 1.6;
2463
2457
  }
2464
2458
  .sessions-drawer {
2465
- width: 420px;
2459
+ width: 26.25rem;
2466
2460
  }
2467
2461
  .modal {
2468
- width: 560px;
2462
+ width: 35rem;
2469
2463
  }
2470
2464
  .model-modal {
2471
- width: 650px;
2465
+ width: 40.625rem;
2472
2466
  }
2473
2467
  .model-list button {
2474
- min-height: 78px;
2468
+ min-height: 4.875rem;
2475
2469
  }
2476
2470
  .model-list small {
2477
2471
  line-height: 1.5;
@@ -2485,20 +2479,20 @@ button:disabled {
2485
2479
  .composer-left,
2486
2480
  .composer-right {
2487
2481
  flex-wrap: wrap;
2488
- gap: 8px;
2482
+ gap: 0.5rem;
2489
2483
  }
2490
2484
  .send {
2491
- width: 40px;
2492
- height: 40px;
2485
+ width: 2.5rem;
2486
+ height: 2.5rem;
2493
2487
  }
2494
2488
  .interrupt {
2495
- min-height: 40px;
2489
+ min-height: 2.5rem;
2496
2490
  }
2497
2491
  .tag {
2498
2492
  line-height: 1.4;
2499
2493
  }
2500
2494
  .brand {
2501
- gap: 10px;
2495
+ gap: 0.625rem;
2502
2496
  }
2503
2497
  .welcome-features {
2504
2498
  flex-wrap: wrap;
@@ -2506,19 +2500,19 @@ button:disabled {
2506
2500
  }
2507
2501
  @media (min-width: 781px) and (max-width: 1599px) { /* 781 — the mobile band ends at 780 now */
2508
2502
  .workspace {
2509
- grid-template-columns: minmax(410px, 36%) minmax(0, 1fr);
2503
+ grid-template-columns: minmax(25.625rem, 36%) minmax(0, 1fr);
2510
2504
  }
2511
2505
  .chat-scroll {
2512
- padding-left: 30px;
2513
- padding-right: 30px;
2506
+ padding-left: 1.875rem;
2507
+ padding-right: 1.875rem;
2514
2508
  }
2515
2509
  .composer-footnote > span:last-child {
2516
2510
  display: none;
2517
2511
  }
2518
2512
  .chat-header {
2519
- gap: 10px;
2513
+ gap: 0.625rem;
2520
2514
  flex-wrap: wrap;
2521
- padding: 10px 18px;
2515
+ padding: 0.625rem 1.125rem;
2522
2516
  }
2523
2517
  }
2524
2518
  @media (max-width: 1100px) and (min-width: 741px) {
@@ -2534,7 +2528,7 @@ button:disabled {
2534
2528
  display: none;
2535
2529
  }
2536
2530
  .conversation-select select {
2537
- max-width: 205px;
2531
+ max-width: 12.8125rem;
2538
2532
  }
2539
2533
  }
2540
2534
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
@@ -2546,43 +2540,43 @@ button:disabled {
2546
2540
  display: block;
2547
2541
  }
2548
2542
  .model-button {
2549
- min-height: 64px;
2543
+ min-height: 4rem;
2550
2544
  }
2551
2545
  .inspector-tabs {
2552
- padding: 0 4px;
2546
+ padding: 0 0.25rem;
2553
2547
  }
2554
2548
  .inspector-tabs button {
2555
- gap: 4px;
2556
- padding: 12px 4px;
2549
+ gap: 0.25rem;
2550
+ padding: 0.75rem 0.25rem;
2557
2551
  }
2558
2552
  .inspector-body {
2559
- padding: 18px 16px;
2553
+ padding: 1.125rem 1rem;
2560
2554
  }
2561
2555
  .conversation-select {
2562
- max-width: calc(100% - 94px);
2563
- gap: 6px;
2556
+ max-width: calc(100% - 5.875rem);
2557
+ gap: 0.375rem;
2564
2558
  }
2565
2559
  .conversation-select select {
2566
- max-width: 180px;
2560
+ max-width: 11.25rem;
2567
2561
  width: 100%;
2568
2562
  }
2569
2563
  .chat-header-actions {
2570
2564
  gap: 0;
2571
2565
  }
2572
2566
  .chat-header-actions .icon-button {
2573
- width: 30px;
2567
+ width: 1.875rem;
2574
2568
  }
2575
2569
  .chat-header {
2576
- padding: 0 10px;
2570
+ padding: 0 0.625rem;
2577
2571
  }
2578
2572
  .drawer-backdrop {
2579
- top: 42px;
2573
+ top: 2.625rem;
2580
2574
  }
2581
2575
  .composer-toolbar {
2582
- padding-left: 9px;
2576
+ padding-left: 0.5625rem;
2583
2577
  }
2584
2578
  .composer-left select {
2585
- max-width: 120px;
2579
+ max-width: 7.5rem;
2586
2580
  padding-left: 0;
2587
2581
  }
2588
2582
  .composer-footnote {
@@ -2596,16 +2590,16 @@ button:disabled {
2596
2590
  line-height: 1.5;
2597
2591
  }
2598
2592
  .chat-empty {
2599
- padding: 24px 0;
2593
+ padding: 1.5rem 0;
2600
2594
  }
2601
2595
  .chat-panel {
2602
- min-height: 760px;
2596
+ min-height: 47.5rem;
2603
2597
  }
2604
2598
  .modal {
2605
- padding: 20px;
2599
+ padding: 1.25rem;
2606
2600
  }
2607
2601
  .top-actions .primary {
2608
- padding: 8px;
2602
+ padding: 0.5rem;
2609
2603
  }
2610
2604
  }
2611
2605
  .session-heading .cwd-button {
@@ -2637,7 +2631,7 @@ button:disabled {
2637
2631
  }
2638
2632
  .modal.path-modal {
2639
2633
  width: max-content;
2640
- min-width: min(960px, 100%);
2634
+ min-width: min(60rem, 100%);
2641
2635
  }
2642
2636
  .markdown :is(h4, h5, h6, small, sub, sup) {
2643
2637
  font-size: 1rem;
@@ -2646,38 +2640,38 @@ button:disabled {
2646
2640
  /* Keep navigation fixed above the currently selected inspector panel. */
2647
2641
  .inspector > .inspector-tabs {
2648
2642
  flex-shrink: 0;
2649
- min-height: 74px;
2643
+ min-height: 4.625rem;
2650
2644
  border-top: 0;
2651
- padding: 0 8px;
2645
+ padding: 0 0.5rem;
2652
2646
  }
2653
2647
  .inspector > .inspector-tabs button {
2654
2648
  position: relative;
2655
2649
  flex-direction: column;
2656
- gap: 5px;
2657
- padding: 10px 4px;
2650
+ gap: 0.3125rem;
2651
+ padding: 0.625rem 0.25rem;
2658
2652
  line-height: 1.4;
2659
2653
  }
2660
2654
  .inspector-tabs .count {
2661
2655
  position: absolute;
2662
- top: 4px;
2663
- right: 4px;
2656
+ top: 0.25rem;
2657
+ right: 0.25rem;
2664
2658
  }
2665
2659
  .inspector-body.session-panel {
2666
- padding: 0 0 24px;
2660
+ padding: 0 0 1.5rem;
2667
2661
  }
2668
2662
  .session-panel .session-heading {
2669
- padding: 24px 26px;
2663
+ padding: 1.5rem 1.625rem;
2670
2664
  }
2671
2665
  .session-panel .model-section {
2672
- padding: 22px 26px;
2666
+ padding: 1.375rem 1.625rem;
2673
2667
  }
2674
2668
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2675
2669
  .inspector > .inspector-tabs {
2676
- padding: 0 4px;
2670
+ padding: 0 0.25rem;
2677
2671
  }
2678
2672
  .session-panel .session-heading,
2679
2673
  .session-panel .model-section {
2680
- padding: 20px 16px;
2674
+ padding: 1.25rem 1rem;
2681
2675
  }
2682
2676
  .session-panel .session-heading > .eyebrow {
2683
2677
  display: block;
@@ -2739,7 +2733,7 @@ textarea::placeholder {
2739
2733
  /* Root-to-fork navigation stays visible even when the picker is closed. */
2740
2734
  .chat-header {
2741
2735
  flex-wrap: nowrap;
2742
- gap: 14px;
2736
+ gap: 0.875rem;
2743
2737
  }
2744
2738
  .chat-header-actions {
2745
2739
  flex-shrink: 0;
@@ -2748,18 +2742,18 @@ textarea::placeholder {
2748
2742
  position: relative;
2749
2743
  flex: 1;
2750
2744
  min-width: 0;
2751
- padding: 8px 0;
2745
+ padding: 0.5rem 0;
2752
2746
  }
2753
2747
  .lineage-toolbar {
2754
2748
  display: flex;
2755
2749
  align-items: center;
2756
- gap: 4px;
2750
+ gap: 0.25rem;
2757
2751
  min-width: 0;
2758
2752
  }
2759
2753
  .conversation-lineage {
2760
2754
  display: flex;
2761
2755
  align-items: center;
2762
- gap: 4px;
2756
+ gap: 0.25rem;
2763
2757
  min-width: 0;
2764
2758
  overflow-x: auto;
2765
2759
  scrollbar-width: thin;
@@ -2767,8 +2761,8 @@ textarea::placeholder {
2767
2761
  }
2768
2762
  .lineage-crumb {
2769
2763
  flex-shrink: 0;
2770
- padding: 7px 9px;
2771
- border-radius: 6px;
2764
+ padding: 0.4375rem 0.5625rem;
2765
+ border-radius: 0.375rem;
2772
2766
  color: var(--secondary);
2773
2767
  white-space: nowrap;
2774
2768
  font-size: 1rem;
@@ -2787,7 +2781,7 @@ textarea::placeholder {
2787
2781
  flex-shrink: 0;
2788
2782
  }
2789
2783
  .lineage-source {
2790
- margin: 4px 9px 0;
2784
+ margin: 0.25rem 0.5625rem 0;
2791
2785
  color: var(--secondary);
2792
2786
  font-size: 1rem;
2793
2787
  line-height: 1.5;
@@ -2803,28 +2797,28 @@ textarea::placeholder {
2803
2797
  top: 100%;
2804
2798
  left: 0;
2805
2799
  z-index: 30;
2806
- width: min(540px, calc(100vw - 48px));
2807
- max-height: min(65vh, 620px);
2800
+ width: min(33.75rem, calc(100vw - 3rem));
2801
+ max-height: min(65vh, 38.75rem);
2808
2802
  overflow-y: auto;
2809
2803
  background: #251b1e;
2810
2804
  border: 1px solid #68474e;
2811
- border-radius: 9px;
2812
- padding: 8px;
2813
- box-shadow: 0 16px 48px #0007;
2805
+ border-radius: 0.5625rem;
2806
+ padding: 0.5rem;
2807
+ box-shadow: 0 1rem 3rem #0007;
2814
2808
  }
2815
2809
  .conversation-picker-heading {
2816
2810
  color: var(--secondary);
2817
2811
  font-size: 1rem;
2818
- padding: 10px 12px 14px;
2812
+ padding: 0.625rem 0.75rem 0.875rem;
2819
2813
  }
2820
2814
  .conversation-choice {
2821
2815
  display: flex;
2822
2816
  align-items: center;
2823
2817
  justify-content: space-between;
2824
2818
  width: 100%;
2825
- gap: 14px;
2826
- padding: 12px;
2827
- border-radius: 6px;
2819
+ gap: 0.875rem;
2820
+ padding: 0.75rem;
2821
+ border-radius: 0.375rem;
2828
2822
  text-align: left;
2829
2823
  }
2830
2824
  .conversation-choice:hover,
@@ -2835,13 +2829,13 @@ textarea::placeholder {
2835
2829
  min-width: 0;
2836
2830
  display: flex;
2837
2831
  flex-direction: column;
2838
- gap: 6px;
2832
+ gap: 0.375rem;
2839
2833
  }
2840
2834
  .choice-lineage {
2841
2835
  display: flex;
2842
2836
  flex-wrap: wrap;
2843
2837
  align-items: center;
2844
- gap: 5px;
2838
+ gap: 0.3125rem;
2845
2839
  color: var(--fg);
2846
2840
  font-size: 1rem;
2847
2841
  line-height: 1.5;
@@ -2862,7 +2856,7 @@ textarea::placeholder {
2862
2856
  color: var(--accent);
2863
2857
  }
2864
2858
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
2865
- /* chat-header layout lives in ONE place (the compact 42px block above) —
2859
+ /* chat-header layout lives in ONE place (the compact 2.625rem block above) —
2866
2860
  this block's flex-wrap:wrap loaded later, wrapped the header, and the
2867
2861
  compact block's max-height:42 + overflow:hidden then CLIPPED the wrapped
2868
2862
  rows away (live: 'topbar mất nội dung', the same bug class as the old
@@ -2872,25 +2866,25 @@ textarea::placeholder {
2872
2866
  width: 100%;
2873
2867
  }
2874
2868
  .conversation-picker {
2875
- width: min(540px, calc(100vw - 20px));
2869
+ width: min(33.75rem, calc(100vw - 1.25rem));
2876
2870
  }
2877
2871
  .lineage-crumb {
2878
- padding: 7px;
2872
+ padding: 0.4375rem;
2879
2873
  }
2880
2874
  }
2881
2875
 
2882
2876
  .queue-mode {
2883
2877
  position: relative;
2884
- min-width: 150px;
2878
+ min-width: 9.375rem;
2885
2879
  }
2886
2880
  .composer-left .queue-mode select {
2887
2881
  appearance: none;
2888
2882
  width: 100%;
2889
2883
  max-width: none;
2890
- min-height: 40px;
2891
- padding: 7px 36px 7px 12px;
2884
+ min-height: 2.5rem;
2885
+ padding: 0.4375rem 2.25rem 0.4375rem 0.75rem;
2892
2886
  border: 1px solid #77515a;
2893
- border-radius: 8px;
2887
+ border-radius: 0.5rem;
2894
2888
  background: #342329;
2895
2889
  color: #f8eeee;
2896
2890
  font-size: 1rem;
@@ -2899,7 +2893,7 @@ textarea::placeholder {
2899
2893
  }
2900
2894
  .queue-mode > svg {
2901
2895
  position: absolute;
2902
- right: 10px;
2896
+ right: 0.625rem;
2903
2897
  top: 50%;
2904
2898
  transform: translateY(-50%);
2905
2899
  pointer-events: none;
@@ -2911,38 +2905,38 @@ textarea::placeholder {
2911
2905
  flex-shrink: 0;
2912
2906
  }
2913
2907
  .switch {
2914
- width: 58px;
2915
- height: 34px;
2916
- border-radius: 20px;
2917
- padding: 4px;
2908
+ width: 3.625rem;
2909
+ height: 2.125rem;
2910
+ border-radius: 1.25rem;
2911
+ padding: 0.25rem;
2918
2912
  flex-shrink: 0;
2919
2913
  }
2920
2914
  .switch > span {
2921
- width: 26px;
2922
- height: 26px;
2915
+ width: 1.625rem;
2916
+ height: 1.625rem;
2923
2917
  }
2924
2918
  .state-boolean .switch {
2925
2919
  margin-left: 0;
2926
2920
  }
2927
2921
  .task-section {
2928
- margin-top: 24px;
2929
- padding-top: 20px;
2922
+ margin-top: 1.5rem;
2923
+ padding-top: 1.25rem;
2930
2924
  border-top: 1px solid var(--line);
2931
2925
  }
2932
2926
  .task-section h3,
2933
2927
  .task-example h4 {
2934
2928
  display: flex;
2935
2929
  align-items: center;
2936
- gap: 8px;
2937
- margin: 0 0 10px;
2930
+ gap: 0.5rem;
2931
+ margin: 0 0 0.625rem;
2938
2932
  font-size: 1rem;
2939
2933
  font-weight: 650;
2940
2934
  }
2941
2935
  .task-example {
2942
- padding: 16px;
2943
- margin-top: 12px;
2936
+ padding: 1rem;
2937
+ margin-top: 0.75rem;
2944
2938
  border: 1px solid var(--line);
2945
- border-radius: 8px;
2939
+ border-radius: 0.5rem;
2946
2940
  background: #25191c;
2947
2941
  }
2948
2942
  .task-example p,
@@ -2951,13 +2945,13 @@ textarea::placeholder {
2951
2945
  color: var(--secondary);
2952
2946
  font-size: 1rem;
2953
2947
  line-height: 1.6;
2954
- margin: 8px 0 14px;
2948
+ margin: 0.5rem 0 0.875rem;
2955
2949
  }
2956
2950
  .task-decision-buttons {
2957
2951
  display: flex;
2958
2952
  flex-wrap: wrap;
2959
- gap: 8px;
2960
- margin: 16px 0;
2953
+ gap: 0.5rem;
2954
+ margin: 1rem 0;
2961
2955
  }
2962
2956
  .approval-card {
2963
2957
  border-color: #c68957;
@@ -2966,21 +2960,21 @@ textarea::placeholder {
2966
2960
  margin-bottom: 0;
2967
2961
  }
2968
2962
  .tasks-panel .task-card .raw {
2969
- margin-top: 12px;
2963
+ margin-top: 0.75rem;
2970
2964
  }
2971
2965
  .chat-header-actions {
2972
2966
  display: flex;
2973
2967
  flex-wrap: wrap;
2974
- gap: 8px;
2968
+ gap: 0.5rem;
2975
2969
  justify-content: flex-end;
2976
2970
  }
2977
2971
  /* (deleted) a stray BASE '.chat-header{flex-wrap:wrap}' loaded after every
2978
2972
  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
2973
+ session (crumbs + actions) the wrapped rows fought the compact 2.625rem bar
2980
2974
  (live: content lost/overlap). Wrapping now happens ONLY in the 781–1599
2981
2975
  band where there is room for it. */
2982
2976
  .chat-header-actions .secondary {
2983
- min-height: 38px;
2977
+ min-height: 2.375rem;
2984
2978
  }
2985
2979
  @media (max-width: 740px), (max-width: 1100px) and (pointer: coarse) {
2986
2980
  /* topbar layout lives in ONE place (the compact block in the ≤740 shell
@@ -2998,16 +2992,16 @@ textarea::placeholder {
2998
2992
 
2999
2993
  /* Slim scrollbars in the brand line color. */
3000
2994
  ::-webkit-scrollbar {
3001
- width: 10px;
3002
- height: 10px;
2995
+ width: 0.625rem;
2996
+ height: 0.625rem;
3003
2997
  }
3004
2998
  ::-webkit-scrollbar-track {
3005
2999
  background: transparent;
3006
3000
  }
3007
3001
  ::-webkit-scrollbar-thumb {
3008
3002
  background: var(--line);
3009
- border-radius: 10px;
3010
- border: 2px solid transparent;
3003
+ border-radius: 0.625rem;
3004
+ border: 0.125rem solid transparent;
3011
3005
  background-clip: padding-box;
3012
3006
  }
3013
3007
  ::-webkit-scrollbar-thumb:hover {
@@ -3028,14 +3022,14 @@ textarea::placeholder {
3028
3022
  /* TopBar stats row: real numbers from the client store, daemon-strip look. */
3029
3023
  .topbar-sep {
3030
3024
  width: 1px;
3031
- height: 22px;
3025
+ height: 1.375rem;
3032
3026
  background: var(--line);
3033
3027
  flex-shrink: 0;
3034
3028
  }
3035
3029
  .daemon {
3036
3030
  display: flex;
3037
3031
  align-items: center;
3038
- gap: 8px;
3032
+ gap: 0.5rem;
3039
3033
  font-size: 0.9375rem;
3040
3034
  color: var(--faint);
3041
3035
  min-width: 0;
@@ -3051,13 +3045,13 @@ textarea::placeholder {
3051
3045
  flex-shrink: 0;
3052
3046
  }
3053
3047
  .dot {
3054
- width: 8px;
3055
- height: 8px;
3048
+ width: 0.5rem;
3049
+ height: 0.5rem;
3056
3050
  border-radius: 50%;
3057
3051
  display: inline-block;
3058
- flex: 0 0 8px;
3052
+ flex: 0 0 0.5rem;
3059
3053
  background: var(--ok);
3060
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 16%, transparent);
3054
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--ok) 16%, transparent);
3061
3055
  }
3062
3056
  .dot.off {
3063
3057
  background: var(--offline);
@@ -3068,11 +3062,11 @@ textarea::placeholder {
3068
3062
  .chip {
3069
3063
  display: inline-flex;
3070
3064
  align-items: center;
3071
- gap: 6px;
3072
- height: 28px;
3073
- padding: 0 12px;
3065
+ gap: 0.375rem;
3066
+ height: 1.75rem;
3067
+ padding: 0 0.75rem;
3074
3068
  border: 1px solid var(--line);
3075
- border-radius: 999px;
3069
+ border-radius: 62.4375rem;
3076
3070
  font-family: var(--font-mono);
3077
3071
  font-size: 0.8125rem;
3078
3072
  color: var(--faint);
@@ -3088,9 +3082,9 @@ textarea::placeholder {
3088
3082
  color: var(--accent);
3089
3083
  }
3090
3084
  .chip .dot {
3091
- width: 7px;
3092
- height: 7px;
3093
- flex: 0 0 7px;
3085
+ width: 0.4375rem;
3086
+ height: 0.4375rem;
3087
+ flex: 0 0 0.4375rem;
3094
3088
  box-shadow: none;
3095
3089
  }
3096
3090
 
@@ -3114,23 +3108,23 @@ textarea::placeholder {
3114
3108
  z-index: 80;
3115
3109
  display: grid;
3116
3110
  place-items: center;
3117
- padding: 20px;
3111
+ padding: 1.25rem;
3118
3112
  }
3119
3113
  .dialog {
3120
- width: min(560px, 100%);
3121
- max-height: calc(100dvh - 40px);
3114
+ width: min(35rem, 100%);
3115
+ max-height: calc(100dvh - 2.5rem);
3122
3116
  overflow-y: auto;
3123
3117
  border: 1px solid var(--line);
3124
- border-radius: 12px;
3118
+ border-radius: 0.75rem;
3125
3119
  background: var(--panel);
3126
- box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
3120
+ box-shadow: 0 1.5rem 4.375rem rgb(0 0 0 / 55%);
3127
3121
  }
3128
3122
  .dialog-head {
3129
- padding: 18px 20px 0;
3123
+ padding: 1.125rem 1.25rem 0;
3130
3124
  display: flex;
3131
3125
  align-items: flex-start;
3132
3126
  justify-content: space-between;
3133
- gap: 12px;
3127
+ gap: 0.75rem;
3134
3128
  }
3135
3129
  .dialog-eyebrow {
3136
3130
  font-family: var(--font-display);
@@ -3141,23 +3135,23 @@ textarea::placeholder {
3141
3135
  color: var(--accent);
3142
3136
  }
3143
3137
  .dialog h3 {
3144
- margin: 5px 0 0;
3138
+ margin: 0.3125rem 0 0;
3145
3139
  font-family: var(--font-display);
3146
3140
  font-size: 1.25rem;
3147
3141
  font-weight: 700;
3148
3142
  letter-spacing: -0.01em;
3149
3143
  }
3150
3144
  .dialog-body {
3151
- padding: 16px 20px;
3145
+ padding: 1rem 1.25rem;
3152
3146
  display: flex;
3153
3147
  flex-direction: column;
3154
- gap: 12px;
3148
+ gap: 0.75rem;
3155
3149
  }
3156
3150
  .help-step {
3157
3151
  display: grid;
3158
- grid-template-columns: 26px minmax(0, 1fr);
3159
- gap: 10px;
3160
- padding: 7px 0;
3152
+ grid-template-columns: 1.625rem minmax(0, 1fr);
3153
+ gap: 0.625rem;
3154
+ padding: 0.4375rem 0;
3161
3155
  border-bottom: 1px solid var(--line-soft);
3162
3156
  font-size: 1rem;
3163
3157
  }
@@ -3173,35 +3167,35 @@ textarea::placeholder {
3173
3167
  }
3174
3168
  .help-step .body {
3175
3169
  color: var(--muted);
3176
- margin-top: 2px;
3170
+ margin-top: 0.125rem;
3177
3171
  line-height: 1.6;
3178
3172
  }
3179
3173
  .help-callout {
3180
- margin-top: 4px;
3181
- padding: 10px 12px;
3174
+ margin-top: 0.25rem;
3175
+ padding: 0.625rem 0.75rem;
3182
3176
  border-radius: var(--radius-sm);
3183
3177
  border: 1px solid var(--line);
3184
3178
  background: var(--chat);
3185
3179
  font-size: 1rem;
3186
3180
  color: var(--muted);
3187
3181
  display: flex;
3188
- gap: 10px;
3182
+ gap: 0.625rem;
3189
3183
  align-items: flex-start;
3190
3184
  }
3191
3185
  .help-callout svg {
3192
3186
  flex-shrink: 0;
3193
- margin-top: 2px;
3187
+ margin-top: 0.125rem;
3194
3188
  }
3195
3189
  .dialog-foot {
3196
3190
  display: flex;
3197
3191
  align-items: center;
3198
- gap: 8px;
3199
- padding: 0 20px 18px;
3192
+ gap: 0.5rem;
3193
+ padding: 0 1.25rem 1.125rem;
3200
3194
  }
3201
3195
  .dialog-foot .right {
3202
3196
  margin-left: auto;
3203
3197
  display: flex;
3204
- gap: 8px;
3198
+ gap: 0.5rem;
3205
3199
  }
3206
3200
 
3207
3201
  /* mobile nav: one of three views visible at phone width. Hidden otherwise. */
@@ -3216,8 +3210,8 @@ textarea::placeholder {
3216
3210
  .mnav {
3217
3211
  display: grid;
3218
3212
  grid-template-columns: repeat(3, 1fr);
3219
- gap: 2px;
3220
- padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
3213
+ gap: 0.125rem;
3214
+ padding: 0.25rem 0.375rem calc(0.25rem + env(safe-area-inset-bottom));
3221
3215
  border-top: 1px solid var(--line);
3222
3216
  background: var(--panel);
3223
3217
  }
@@ -3227,10 +3221,10 @@ textarea::placeholder {
3227
3221
  flex-direction: column;
3228
3222
  align-items: center;
3229
3223
  justify-content: center;
3230
- gap: 2px;
3231
- min-height: 48px;
3224
+ gap: 0.125rem;
3225
+ min-height: 3rem;
3232
3226
  border: 0;
3233
- border-radius: 8px;
3227
+ border-radius: 0.5rem;
3234
3228
  background: transparent;
3235
3229
  color: var(--faint);
3236
3230
  font-size: 0.75rem;
@@ -3241,17 +3235,17 @@ textarea::placeholder {
3241
3235
  }
3242
3236
  .mnav .badge {
3243
3237
  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;
3238
+ top: 0.3125rem;
3239
+ right: calc(50% - 1.375rem);
3240
+ min-width: 1rem;
3241
+ height: 1rem;
3242
+ padding: 0 0.25rem;
3243
+ border-radius: 62.4375rem;
3250
3244
  background: var(--primary);
3251
3245
  color: var(--on-primary);
3252
3246
  font-family: var(--font-mono);
3253
3247
  font-size: 0.6875rem;
3254
- line-height: 16px;
3248
+ line-height: 1rem;
3255
3249
  }
3256
3250
  }
3257
3251
 
@@ -3262,28 +3256,28 @@ textarea::placeholder {
3262
3256
  /* Composer: focus-within ring. */
3263
3257
  .composer:focus-within {
3264
3258
  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);
3259
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--accent) 10%, transparent);
3266
3260
  }
3267
3261
  .send {
3268
3262
  border: 1px solid var(--primary-line);
3269
- border-radius: 8px;
3263
+ border-radius: 0.5rem;
3270
3264
  transition: background 120ms var(--ease);
3271
3265
  }
3272
3266
 
3273
3267
  /* Chat entries: user turns become right-aligned card bubble. */
3274
3268
  .pi-user {
3275
3269
  border-bottom: 0;
3276
- padding-bottom: 12px;
3270
+ padding-bottom: 0.75rem;
3277
3271
  align-items: flex-end;
3278
3272
  display: flex;
3279
3273
  flex-direction: column;
3280
- gap: 8px;
3274
+ gap: 0.5rem;
3281
3275
  }
3282
3276
  .pi-user .user-message {
3283
3277
  background: var(--card);
3284
3278
  border: 1px solid var(--line);
3285
3279
  border-radius: var(--radius);
3286
- padding: 10px 14px;
3280
+ padding: 0.625rem 0.875rem;
3287
3281
  max-width: 78%;
3288
3282
  }
3289
3283
 
@@ -3301,7 +3295,7 @@ textarea::placeholder {
3301
3295
  color: var(--accent);
3302
3296
  }
3303
3297
  .insp-tab-active-line {
3304
- border-bottom: 2px solid var(--accent);
3298
+ border-bottom: 0.125rem solid var(--accent);
3305
3299
  }
3306
3300
 
3307
3301
  /* Switch: on-state in the primary brand red. */
@@ -3338,7 +3332,7 @@ textarea::placeholder {
3338
3332
  }
3339
3333
  .metrics > div {
3340
3334
  background: var(--chat);
3341
- padding: 9px 12px;
3335
+ padding: 0.5625rem 0.75rem;
3342
3336
  }
3343
3337
  .metrics span {
3344
3338
  font-family: var(--font-mono);
@@ -3365,7 +3359,7 @@ input:focus,
3365
3359
  textarea:focus,
3366
3360
  select:focus {
3367
3361
  border-color: var(--accent);
3368
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 10%, transparent);
3362
+ box-shadow: 0 0 0 0.1875rem color-mix(in oklab, var(--accent) 10%, transparent);
3369
3363
  }
3370
3364
 
3371
3365
  /* Chat panel + inspector: token-driven panel surfaces. */
@@ -3387,7 +3381,7 @@ select:focus {
3387
3381
  @supports LIES: legacy Chrome/WebView report zoom as supported while
3388
3382
  zoom-on-:root misbehaves — text rendered full desktop size and wrapped
3389
3383
  (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
3384
+ (the 1rem base below is the only px), so ONE knob per width band scales
3391
3385
  the type on every engine ever shipped — no @supports, no fallback split,
3392
3386
  no compensation math. Icon/button px sizes are already compacted per band. */
3393
3387
  @media (max-width: 1599px) {
@@ -3435,8 +3429,8 @@ select:focus {
3435
3429
  /* ── Keyboard: the form must survive the soft keyboard ────────────────────
3436
3430
  Two live failure modes when an input gets focus on a phone:
3437
3431
  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).
3432
+ under 1rem — under the ui zoom every input did, so the page "exploded".
3433
+ Raise inputs to a RENDERED 1rem (1rem / zoom in root coordinates).
3440
3434
  Scoped component styles have higher specificity, hence !important.
3441
3435
  2. The shell must shrink to the space ABOVE the keyboard, not stay
3442
3436
  viewport-tall behind it. index.html declares
@@ -3448,8 +3442,8 @@ select:focus {
3448
3442
  fields…) — they scale with the type system like every other element, no
3449
3443
  !important, no blanket override (a forced 1rem read bigger than the
3450
3444
  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`
3445
+ Safari zooms the viewport when a FOCUSED control computes under 1rem, so
3446
+ on iOS alone the focused control computes 1rem while editing. `:root`
3453
3447
  lifts specificity above scoped component styles WITHOUT !important, and
3454
3448
  -webkit-touch-callout scopes it to iOS — Android never zooms on focus and
3455
3449
  keeps its designed size even while typing. */
@@ -3467,12 +3461,12 @@ select:focus {
3467
3461
  input,
3468
3462
  textarea,
3469
3463
  select {
3470
- padding: 6px 9px;
3464
+ padding: 0.375rem 0.5625rem;
3471
3465
  }
3472
3466
  }
3473
3467
 
3474
3468
  .build-stamp {
3475
- margin: 18px 0 0;
3469
+ margin: 1.125rem 0 0;
3476
3470
  font-size: 0.625rem;
3477
3471
  letter-spacing: 0.08em;
3478
3472
  color: var(--faint);
@@ -3489,27 +3483,27 @@ select:focus {
3489
3483
  }
3490
3484
  @media (max-width: 900px) {
3491
3485
  .chip.connection {
3492
- width: 12px;
3493
- min-width: 12px;
3494
- height: 12px;
3495
- min-height: 12px;
3486
+ width: 0.75rem;
3487
+ min-width: 0.75rem;
3488
+ height: 0.75rem;
3489
+ min-height: 0.75rem;
3496
3490
  padding: 0;
3497
3491
  border: 0;
3498
- border-radius: 999px;
3492
+ border-radius: 62.4375rem;
3499
3493
  background: transparent;
3500
3494
  overflow: hidden;
3501
3495
  font-size: 0;
3502
3496
  }
3503
3497
  .chip.connection .dot {
3504
- width: 10px;
3505
- height: 10px;
3498
+ width: 0.625rem;
3499
+ height: 0.625rem;
3506
3500
  }
3507
3501
  }
3508
3502
 
3509
3503
  /* ── Compact band, second pass (from the user's actual screenshots) ────────
3510
3504
  What the phone shows that no probe caught:
3511
3505
  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
3506
+ ~6.25rem of a 50rem screen and pushing the chat into a sliver. On the
3513
3507
  compact band the rail is HIDDEN — the Details tab opens the inspector
3514
3508
  as the overlay it already is. The chat gets the full width.
3515
3509
  2. The chat-header crumbs (device/workspace names) rendered 1.0625rem —
@@ -3525,36 +3519,37 @@ select:focus {
3525
3519
  .net-workspace > .inspector.overlay {
3526
3520
  display: flex;
3527
3521
  }
3528
- /* 2. the chat header crumbs: same optical size as the bar */
3522
+ /* 2. the chat header crumbs: same optical size as the bar
3523
+ (r29: font-size restatement deleted — one value per element, the knob
3524
+ does the shrinking; gap is layout, stays) */
3529
3525
  .crumb-main {
3530
- font-size: 0.875rem;
3531
- gap: 5px;
3526
+ gap: 0.3125rem;
3532
3527
  }
3533
3528
  .crumb .device-chip,
3534
3529
  .crumb-name {
3535
- font-size: 0.875rem;
3530
+ /* r29 uniform: no band-dependent font-size — rides the knob */
3536
3531
  }
3537
- /* 3. the chat body reads as text, not a document */
3532
+ /* 3. the chat body reads as text, not a document
3533
+ (r29: font-size restatements deleted — one value per element on every
3534
+ band; the knob does the shrinking. Only the ratio survives here.) */
3538
3535
  .markdown {
3539
- font-size: 0.9375rem;
3540
3536
  line-height: 1.6;
3541
3537
  }
3542
3538
  .markdown ul,
3543
3539
  .markdown ol {
3544
- padding-left: 18px;
3545
- margin: 8px 0;
3540
+ padding-left: 1.125rem;
3541
+ margin: 0.5rem 0;
3546
3542
  }
3547
3543
  .message-label {
3548
- font-size: 0.8125rem;
3549
- margin-bottom: 6px;
3544
+ margin-bottom: 0.375rem;
3550
3545
  }
3551
3546
  }
3552
3547
 
3553
3548
  /* ── Compact-band header: unbreakable against ANY content width ───────────
3554
- From the user's screenshots: the lineage picker reserves flex-basis 240px
3549
+ From the user's screenshots: the lineage picker reserves flex-basis 15rem
3555
3550
  (network.css), the actions row + crumbs overflowed it, and markdown tables
3556
3551
  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
3552
+ may shrink (no 15rem floor), the crumbs never wrap internally, the
3558
3553
  actions never shrink, the header paints ABOVE escaped content, and wide
3559
3554
  tables scroll INSIDE the chat instead of escaping it. */
3560
3555
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
@@ -3590,7 +3585,7 @@ select:focus {
3590
3585
  /* Tight lineage internals so the auto-height header stays 2 slim rows. */
3591
3586
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3592
3587
  .crumb {
3593
- padding: 3px 2px;
3588
+ padding: 0.1875rem 0.125rem;
3594
3589
  }
3595
3590
  .crumb .device-chip,
3596
3591
  .crumb-name {
@@ -3609,8 +3604,8 @@ select:focus {
3609
3604
  .crumbs .crumb {
3610
3605
  flex-direction: row;
3611
3606
  align-items: center;
3612
- gap: 5px;
3613
- padding: 3px 2px;
3607
+ gap: 0.3125rem;
3608
+ padding: 0.1875rem 0.125rem;
3614
3609
  }
3615
3610
  .crumb-kind {
3616
3611
  display: none;
@@ -3620,26 +3615,25 @@ select:focus {
3620
3615
  max-width: 30vw;
3621
3616
  }
3622
3617
  .composer textarea {
3623
- height: 34px;
3624
- min-height: 34px;
3625
- max-height: 110px;
3626
- padding: 7px 9px;
3618
+ height: 2.125rem;
3619
+ min-height: 2.125rem;
3620
+ max-height: 6.875rem;
3621
+ padding: 0.4375rem 0.5625rem;
3627
3622
  }
3628
3623
  .composer {
3629
- padding: 5px;
3624
+ padding: 0.3125rem;
3630
3625
  }
3631
3626
  .composer-toolbar {
3632
- gap: 3px;
3627
+ gap: 0.1875rem;
3633
3628
  }
3634
3629
  .composer-toolbar .icon-button {
3635
- width: 26px;
3636
- height: 26px;
3637
- padding: 3px;
3630
+ width: 1.625rem;
3631
+ height: 1.625rem;
3632
+ padding: 0.1875rem;
3638
3633
  }
3639
3634
  .queue-mode select {
3640
- min-height: 30px;
3641
- padding: 4px 26px 4px 8px;
3642
- font-size: 0.8125rem;
3635
+ min-height: 1.875rem;
3636
+ padding: 0.25rem 1.625rem 0.25rem 0.5rem;
3643
3637
  }
3644
3638
  .composer-footnote {
3645
3639
  display: none;
@@ -3648,48 +3642,46 @@ select:focus {
3648
3642
 
3649
3643
  /* ── Composer controls, phone-compact (user-annotated screenshot) ──────────
3650
3644
  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. */
3645
+ toolbar drops to a 1.625rem control row; the Interrupt label shrinks with it. */
3652
3646
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3653
3647
  .queue-mode {
3654
3648
  min-width: 0;
3655
3649
  }
3656
3650
  .composer-left .queue-mode select {
3657
- min-height: 26px;
3658
- padding: 3px 22px 3px 7px;
3659
- font-size: 0.75rem;
3651
+ min-height: 1.625rem;
3652
+ padding: 0.1875rem 1.375rem 0.1875rem 0.4375rem;
3660
3653
  }
3661
3654
  .queue-mode > svg {
3662
- width: 13px;
3663
- height: 13px;
3655
+ width: 0.8125rem;
3656
+ height: 0.8125rem;
3664
3657
  }
3665
3658
  .composer-toolbar svg {
3666
- width: 14px;
3667
- height: 14px;
3659
+ width: 0.875rem;
3660
+ height: 0.875rem;
3668
3661
  }
3669
3662
  .composer-toolbar .icon-button {
3670
- width: 26px;
3671
- height: 26px;
3672
- padding: 4px;
3663
+ width: 1.625rem;
3664
+ height: 1.625rem;
3665
+ padding: 0.25rem;
3673
3666
  }
3674
3667
  .composer-toolbar .send,
3675
3668
  .composer-toolbar button[title*="Stop foreground"] {
3676
- min-height: 26px;
3677
- min-width: 26px;
3678
- padding: 0 8px;
3679
- font-size: 0.75rem;
3680
- gap: 3px;
3669
+ min-height: 1.625rem;
3670
+ min-width: 1.625rem;
3671
+ padding: 0 0.5rem;
3672
+ gap: 0.1875rem;
3681
3673
  }
3682
3674
  .composer-toolbar .stop-sign {
3683
- width: 14px;
3684
- height: 14px;
3675
+ width: 0.875rem;
3676
+ height: 0.875rem;
3685
3677
  }
3686
3678
  }
3687
3679
 
3688
- /* ── Crumbs icon-only + toolbar text 10px (user directive) ─────────────────
3680
+ /* ── Crumbs icon-only + toolbar text 0.625rem (user directive) ─────────────────
3689
3681
  The crumb NAMES (device/workspace/session, and the branch chip) duplicated
3690
3682
  what the icons + tooltips already say — on a phone they pushed the row
3691
3683
  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
3684
+ The toolbar text drops to 0.625rem as requested (buttons/selects never trigger
3693
3685
  iOS focus-zoom — that dance is only for text inputs). */
3694
3686
  @media (max-width: 780px), (max-width: 1100px) and (pointer: coarse) {
3695
3687
  .crumb .device-chip,
@@ -3707,3 +3699,13 @@ select:focus {
3707
3699
  font-size: 10px;
3708
3700
  }
3709
3701
  }
3702
+
3703
+ /* ── Icons ride the scale too ──────────────────────────────────────────────
3704
+ Lucide icons carry px width/height ATTRIBUTES; CSS wins over attributes, so
3705
+ one em rule ties every icon to the surrounding text size — icons shrink and
3706
+ grow WITH the ui instead of staying fixed while everything else scales. */
3707
+ svg.lucide {
3708
+ width: 1.125em;
3709
+ height: 1.125em;
3710
+ flex-shrink: 0;
3711
+ }