@compose-market/theme 0.1.8 → 0.1.10

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.
@@ -103,55 +103,49 @@
103
103
  }
104
104
 
105
105
  .cm-mirror-pane__body {
106
+ --cm-mirror-logo: clamp(2.75rem, 7.2cqi, 3.2rem);
106
107
  flex: 1 1 auto;
107
108
  display: grid;
108
109
  grid-template-rows: auto minmax(0, 1fr);
109
110
  align-content: stretch;
110
- gap: clamp(0.42rem, 1.45cqi, 0.68rem);
111
+ gap: clamp(0.42rem, 1.6cqi, 0.72rem);
111
112
  min-width: 0;
112
113
  min-height: 0;
113
114
  overflow: hidden;
114
- padding: clamp(0.52rem, 1.65cqi, 0.78rem);
115
+ padding: clamp(0.52rem, 1.7cqi, 0.82rem);
115
116
  }
116
117
 
117
- .cm-mirror-pane__card {
118
- border: 0;
119
- background: transparent;
120
- box-shadow: none;
121
- backdrop-filter: none;
122
- }
123
-
124
- .cm-mirror-pane__card > .cm-card__body {
125
- height: auto;
126
- min-height: 0;
127
- padding: 0;
128
- gap: 0.42rem;
129
- grid-template-rows: auto;
130
- }
131
-
132
- .cm-mirror-pane__card .cm-card__header {
118
+ .cm-mirror-pane__header {
119
+ display: grid;
120
+ grid-template-columns: var(--cm-mirror-logo) minmax(0, 1fr);
133
121
  align-items: center;
134
- gap: clamp(0.48rem, 1.4cqi, 0.68rem);
122
+ gap: clamp(0.55rem, 1.55cqi, 0.72rem);
123
+ min-width: 0;
135
124
  }
136
125
 
137
- .cm-mirror-pane__card .cm-card__title-row {
138
- display: block;
126
+ .cm-mirror-pane__identity {
127
+ display: grid;
128
+ grid-template-rows: repeat(2, minmax(0, 1fr));
129
+ align-items: stretch;
130
+ gap: 0.16rem;
131
+ min-height: var(--cm-mirror-logo);
132
+ max-height: var(--cm-mirror-logo);
139
133
  min-width: 0;
140
134
  }
141
135
 
142
- .cm-mirror-pane__card .cm-card__identity {
143
- display: grid;
144
- grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
136
+ .cm-mirror-pane__title-row,
137
+ .cm-mirror-pane__meta-row {
138
+ display: flex;
145
139
  align-items: center;
146
- gap: 0.16rem;
147
- min-height: clamp(2.85rem, 7.2cqi, 3.15rem);
148
- max-height: clamp(2.85rem, 7.2cqi, 3.15rem);
149
140
  min-width: 0;
141
+ max-width: 100%;
142
+ overflow: hidden;
150
143
  }
151
144
 
152
- .cm-mirror-pane__card .cm-card__title,
153
- .cm-mirror-pane__card-title {
145
+ .cm-mirror-pane__title,
146
+ .cm-mirror-pane__title-text {
154
147
  display: block;
148
+ width: 100%;
155
149
  min-width: 0;
156
150
  max-width: 100%;
157
151
  font-size: clamp(0.96rem, 4.6cqi, 1.16rem);
@@ -161,8 +155,18 @@
161
155
  white-space: nowrap;
162
156
  }
163
157
 
164
- .cm-mirror-pane__card .cm-card__subtitle {
165
- display: block;
158
+ .cm-mirror-pane__title > .cm-hint,
159
+ .cm-mirror-pane__title > .cm-hint > .cm-hint__trigger,
160
+ .cm-mirror-pane__meta-row > .cm-hint,
161
+ .cm-mirror-pane__meta-row > .cm-hint > .cm-hint__trigger {
162
+ width: 100%;
163
+ min-width: 0;
164
+ }
165
+
166
+ .cm-mirror-pane__subtitle {
167
+ display: flex;
168
+ align-items: center;
169
+ width: 100%;
166
170
  min-width: 0;
167
171
  overflow: hidden;
168
172
  text-overflow: ellipsis;
@@ -219,9 +223,8 @@
219
223
  gap: 0.24rem;
220
224
  min-width: 0;
221
225
  max-width: 100%;
222
- min-height: 1.32rem;
223
- max-height: 1.32rem;
224
- padding: 0 0.42rem;
226
+ min-height: clamp(1.22rem, 3.4cqi, 1.38rem);
227
+ padding: 0 clamp(0.34rem, 1.1cqi, 0.46rem);
225
228
  border: 1px solid hsl(var(--accent) / 0.24);
226
229
  border-radius: 999px;
227
230
  background: hsl(var(--accent) / 0.1);
@@ -259,31 +262,10 @@
259
262
  flex: 0 0 auto;
260
263
  }
261
264
 
262
- .cm-mirror-pane__card .cm-card__meta {
263
- display: grid;
264
- grid-template-columns: repeat(2, minmax(0, 1fr));
265
- align-items: center;
266
- gap: 0.34rem;
267
- width: 100%;
268
- }
269
-
270
- .cm-mirror-pane__card .cm-card__meta-chip {
271
- width: 100%;
272
- min-height: 1.46rem;
273
- max-height: 1.46rem;
274
- justify-content: center;
275
- padding: 0.18rem 0.48rem;
276
- font-size: 0.68rem;
277
- }
278
-
279
- .cm-mirror-pane__model-id {
280
- display: none;
281
- }
282
-
283
265
  .cm-mirror-pane__model-icon-box {
284
266
  display: grid;
285
- width: clamp(2.85rem, 7.2cqi, 3.15rem);
286
- height: clamp(2.85rem, 7.2cqi, 3.15rem);
267
+ width: var(--cm-mirror-logo);
268
+ height: var(--cm-mirror-logo);
287
269
  place-items: center;
288
270
  flex: 0 0 auto;
289
271
  border: 1px solid hsl(var(--primary) / 0.24);
@@ -308,7 +290,7 @@
308
290
  .cm-mirror-pane__details,
309
291
  .cm-mirror-pane__custom-content {
310
292
  display: grid;
311
- gap: clamp(0.38rem, 1.25cqi, 0.58rem);
293
+ gap: clamp(0.36rem, 1.25cqi, 0.6rem);
312
294
  min-width: 0;
313
295
  min-height: 0;
314
296
  align-content: start;
@@ -322,7 +304,8 @@
322
304
  .cm-mirror-pane__tool-group,
323
305
  .cm-mirror-pane__no-params,
324
306
  .cm-mirror-pane__text-area,
325
- .cm-mirror-pane__field {
307
+ .cm-mirror-pane__field,
308
+ .cm-mirror-pane__option {
326
309
  border: 1px solid hsl(var(--primary) / 0.12);
327
310
  border-radius: 12px;
328
311
  background: hsl(221 50% 9% / 0.3);
@@ -348,24 +331,27 @@
348
331
 
349
332
  .cm-mirror-pane__section {
350
333
  display: grid;
351
- grid-template-columns: 1.75rem minmax(0, 1fr);
352
- grid-template-rows: minmax(2.25rem, auto);
334
+ grid-template-columns: clamp(4.8rem, 18cqi, 5.85rem) minmax(0, 1fr);
335
+ grid-template-rows: auto;
353
336
  align-items: center;
354
- gap: 0.4rem;
337
+ gap: clamp(0.34rem, 1.1cqi, 0.5rem);
355
338
  min-width: 0;
356
339
  min-height: 0;
357
340
  overflow: hidden;
341
+ box-shadow:
342
+ inset 0 1px 0 hsl(0 0% 100% / 0.035),
343
+ 0 0 18px hsl(var(--primary) / 0.035);
358
344
  }
359
345
 
360
346
  .cm-mirror-pane__section--compact {
361
- padding: clamp(0.42rem, 1.25cqi, 0.58rem);
347
+ padding: clamp(0.4rem, 1.25cqi, 0.6rem);
362
348
  }
363
349
 
364
350
  .cm-mirror-pane__section-label,
365
351
  .cm-mirror-pane__tool-group-label {
366
352
  display: inline-flex;
367
353
  align-items: center;
368
- justify-content: center;
354
+ justify-content: flex-start;
369
355
  min-width: 0;
370
356
  color: hsl(var(--muted-foreground));
371
357
  font-family: var(--font-mono), monospace;
@@ -379,10 +365,50 @@
379
365
  white-space: nowrap;
380
366
  }
381
367
 
382
- .cm-mirror-pane__section--io {
383
- grid-template-columns: repeat(2, minmax(0, 1fr));
384
- gap: 0.44rem;
385
- align-items: stretch;
368
+ .cm-mirror-pane__section-text {
369
+ text-transform: none;
370
+ letter-spacing: 0;
371
+ }
372
+
373
+ .cm-mirror-pane__section--capability {
374
+ border-color: hsl(var(--primary) / 0.22);
375
+ background:
376
+ linear-gradient(135deg, hsl(var(--primary) / 0.1), transparent 42%),
377
+ hsl(221 50% 9% / 0.3);
378
+ }
379
+
380
+ .cm-mirror-pane__section--context {
381
+ border-color: hsl(142 71% 45% / 0.18);
382
+ background:
383
+ linear-gradient(135deg, hsl(142 71% 45% / 0.08), transparent 44%),
384
+ hsl(221 50% 9% / 0.28);
385
+ }
386
+
387
+ .cm-mirror-pane__section--pricing {
388
+ border-color: hsl(var(--accent) / 0.2);
389
+ background:
390
+ linear-gradient(135deg, hsl(var(--accent) / 0.09), transparent 44%),
391
+ hsl(221 50% 9% / 0.3);
392
+ }
393
+
394
+ .cm-mirror-pane__section--custom,
395
+ .cm-mirror-pane__section--param {
396
+ border-color: hsl(var(--primary) / 0.16);
397
+ background:
398
+ linear-gradient(135deg, hsl(var(--primary) / 0.065), hsl(var(--accent) / 0.045)),
399
+ hsl(221 50% 9% / 0.3);
400
+ }
401
+
402
+ .cm-mirror-pane__section--capability .cm-mirror-pane__section-label {
403
+ color: hsl(var(--primary));
404
+ }
405
+
406
+ .cm-mirror-pane__section--context .cm-mirror-pane__section-label {
407
+ color: hsl(142 71% 58%);
408
+ }
409
+
410
+ .cm-mirror-pane__section--pricing .cm-mirror-pane__section-label {
411
+ color: hsl(var(--accent));
386
412
  }
387
413
 
388
414
  .cm-mirror-pane__io-row,
@@ -390,14 +416,14 @@
390
416
  .cm-mirror-pane__pricing-header,
391
417
  .cm-mirror-pane__tool-toggle {
392
418
  min-width: 0;
393
- min-height: 1.8rem;
419
+ min-height: 0;
394
420
  }
395
421
 
396
422
  .cm-mirror-pane__io-row {
397
423
  display: grid;
398
- grid-template-columns: 1.55rem minmax(0, 1fr);
424
+ grid-template-columns: auto minmax(0, 1fr);
399
425
  align-items: center;
400
- gap: 0.42rem;
426
+ gap: clamp(0.34rem, 1.05cqi, 0.46rem);
401
427
  min-width: 0;
402
428
  }
403
429
 
@@ -420,7 +446,7 @@
420
446
  display: flex;
421
447
  align-items: center;
422
448
  justify-content: flex-start;
423
- gap: 0.28rem;
449
+ gap: clamp(0.2rem, 0.8cqi, 0.3rem);
424
450
  min-width: 0;
425
451
  flex-wrap: wrap;
426
452
  }
@@ -433,29 +459,42 @@
433
459
  display: inline-flex;
434
460
  align-items: center;
435
461
  justify-content: center;
436
- width: 1.35rem;
437
- height: 1.35rem;
438
- min-width: 1.35rem;
462
+ width: clamp(1.32rem, 3.8cqi, 1.5rem);
463
+ height: clamp(1.32rem, 3.8cqi, 1.5rem);
464
+ min-width: clamp(1.32rem, 3.8cqi, 1.5rem);
439
465
  border: 1px solid hsl(var(--primary) / 0.22);
440
466
  border-radius: 999px;
441
467
  background: hsl(var(--primary) / 0.08);
442
468
  color: hsl(var(--primary));
443
469
  }
444
470
 
471
+ .cm-mirror-pane__icon-label--section {
472
+ width: clamp(1.58rem, 4.6cqi, 1.78rem);
473
+ height: clamp(1.58rem, 4.6cqi, 1.78rem);
474
+ min-width: clamp(1.58rem, 4.6cqi, 1.78rem);
475
+ border-color: hsl(var(--primary) / 0.32);
476
+ background: hsl(var(--primary) / 0.1);
477
+ }
478
+
445
479
  .cm-mirror-pane__icon-svg {
446
- width: 0.82rem;
447
- height: 0.82rem;
480
+ width: clamp(0.78rem, 2.25cqi, 0.9rem);
481
+ height: clamp(0.78rem, 2.25cqi, 0.9rem);
482
+ }
483
+
484
+ .cm-mirror-pane__icon-label--section .cm-mirror-pane__icon-svg {
485
+ width: clamp(0.96rem, 2.85cqi, 1.08rem);
486
+ height: clamp(0.96rem, 2.85cqi, 1.08rem);
448
487
  }
449
488
 
450
- .cm-mirror-pane__badge {
489
+ .cm-mirror-pane__badge,
490
+ .cm-mirror-pane__format-badge {
451
491
  display: inline-grid;
452
492
  grid-template-columns: auto minmax(0, 1fr);
453
493
  align-items: center;
454
494
  justify-content: center;
455
495
  gap: 0.24rem;
456
496
  min-width: 0;
457
- min-height: 1.36rem;
458
- max-height: 1.36rem;
497
+ min-height: clamp(1.2rem, 3.2cqi, 1.36rem);
459
498
  max-width: 100%;
460
499
  border: 1px solid hsl(var(--primary) / 0.18);
461
500
  border-radius: 999px;
@@ -473,6 +512,15 @@
473
512
  text-overflow: ellipsis;
474
513
  }
475
514
 
515
+ .cm-mirror-pane__format-badge {
516
+ grid-template-columns: auto;
517
+ width: clamp(1.34rem, 3.65cqi, 1.48rem);
518
+ min-width: clamp(1.34rem, 3.65cqi, 1.48rem);
519
+ min-height: clamp(1.34rem, 3.65cqi, 1.48rem);
520
+ padding: 0;
521
+ border-radius: 999px;
522
+ }
523
+
476
524
  .cm-mirror-pane__badge > span:last-child {
477
525
  min-width: 0;
478
526
  overflow: hidden;
@@ -481,18 +529,20 @@
481
529
  }
482
530
 
483
531
  .cm-mirror-pane__format-icon {
484
- width: 0.72rem;
485
- height: 0.72rem;
532
+ width: clamp(0.64rem, 1.85cqi, 0.74rem);
533
+ height: clamp(0.64rem, 1.85cqi, 0.74rem);
486
534
  flex: 0 0 auto;
487
535
  }
488
536
 
489
- .cm-mirror-pane__badge[data-tone="fuchsia"] {
537
+ .cm-mirror-pane__badge[data-tone="fuchsia"],
538
+ .cm-mirror-pane__format-badge[data-tone="fuchsia"] {
490
539
  border-color: hsl(var(--accent) / 0.24);
491
540
  background: hsl(var(--accent) / 0.1);
492
541
  color: hsl(var(--accent));
493
542
  }
494
543
 
495
- .cm-mirror-pane__badge[data-tone="green"] {
544
+ .cm-mirror-pane__badge[data-tone="green"],
545
+ .cm-mirror-pane__format-badge[data-tone="green"] {
496
546
  border-color: hsl(142 71% 45% / 0.28);
497
547
  background: hsl(142 71% 45% / 0.1);
498
548
  color: hsl(142 71% 55%);
@@ -511,23 +561,32 @@
511
561
  }
512
562
 
513
563
  .cm-mirror-pane__kv-grid,
514
- .cm-mirror-pane__pricing-entries {
564
+ .cm-mirror-pane__pricing-entries,
565
+ .cm-mirror-pane__lane-grid {
515
566
  display: grid;
516
567
  grid-template-columns: repeat(2, minmax(0, 1fr));
517
- grid-auto-rows: minmax(1.58rem, auto);
518
- gap: 0.24rem;
568
+ grid-auto-rows: auto;
569
+ gap: clamp(0.22rem, 0.8cqi, 0.34rem);
519
570
  min-width: 0;
520
571
  min-height: 0;
521
572
  align-content: start;
522
573
  }
523
574
 
524
575
  .cm-mirror-pane__kv-row,
576
+ .cm-mirror-pane__io-row,
525
577
  .cm-mirror-pane__pricing-header {
526
578
  display: grid;
527
- grid-template-columns: 1.45rem minmax(0, 1fr);
579
+ grid-template-columns: auto minmax(0, 1fr);
528
580
  align-items: center;
529
- gap: 0.34rem;
581
+ gap: clamp(0.34rem, 1.05cqi, 0.48rem);
530
582
  min-width: 0;
583
+ min-height: 0;
584
+ padding: clamp(0.3rem, 0.95cqi, 0.42rem) clamp(0.38rem, 1.2cqi, 0.52rem);
585
+ border: 1px solid hsl(var(--primary) / 0.11);
586
+ border-radius: 999px;
587
+ background:
588
+ linear-gradient(180deg, hsl(0 0% 100% / 0.035), transparent),
589
+ hsl(221 50% 9% / 0.36);
531
590
  }
532
591
 
533
592
  .cm-mirror-pane__kv-value {
@@ -536,7 +595,7 @@
536
595
  font-family: var(--font-mono), monospace;
537
596
  font-size: 0.76rem;
538
597
  font-weight: 650;
539
- text-align: right;
598
+ text-align: left;
540
599
  overflow: hidden;
541
600
  text-overflow: ellipsis;
542
601
  white-space: nowrap;
@@ -551,8 +610,8 @@
551
610
  .cm-mirror-pane__field-value {
552
611
  display: inline-flex;
553
612
  align-items: baseline;
554
- justify-content: flex-end;
555
- gap: 0.26rem;
613
+ justify-content: flex-start;
614
+ gap: 0;
556
615
  width: 100%;
557
616
  min-width: 0;
558
617
  max-width: 100%;
@@ -565,25 +624,11 @@
565
624
  white-space: nowrap;
566
625
  }
567
626
 
568
- .cm-mirror-pane__field-unit {
569
- flex: 0 1 auto;
570
- min-width: 0;
571
- color: hsl(var(--muted-foreground) / 0.72);
572
- font-size: 0.62rem;
573
- font-weight: 700;
574
- letter-spacing: 0.06em;
575
- line-height: 1;
576
- overflow: hidden;
577
- text-overflow: ellipsis;
578
- text-transform: uppercase;
579
- white-space: nowrap;
580
- }
581
-
582
627
  .cm-mirror-pane__pricing-compact,
583
628
  .cm-mirror-pane__pricing-block,
584
629
  .cm-mirror-pane__tool-group {
585
630
  display: grid;
586
- gap: 0.28rem;
631
+ gap: clamp(0.24rem, 0.82cqi, 0.34rem);
587
632
  min-width: 0;
588
633
  min-height: 0;
589
634
  }
@@ -594,12 +639,13 @@
594
639
 
595
640
  .cm-mirror-pane__pricing-block,
596
641
  .cm-mirror-pane__tool-group {
597
- padding: 0.5rem 0.58rem;
642
+ padding: clamp(0.42rem, 1.2cqi, 0.58rem);
598
643
  }
599
644
 
600
645
  .cm-mirror-pane__section--context .cm-mirror-pane__kv-grid,
601
- .cm-mirror-pane__section--pricing .cm-mirror-pane__pricing-entries {
602
- gap: 0.22rem;
646
+ .cm-mirror-pane__section--pricing .cm-mirror-pane__pricing-entries,
647
+ .cm-mirror-pane__section--capability .cm-mirror-pane__lane-grid {
648
+ gap: clamp(0.22rem, 0.78cqi, 0.32rem);
603
649
  }
604
650
 
605
651
  .cm-mirror-pane__section--pricing > .cm-mirror-pane__pricing-compact {
@@ -678,33 +724,97 @@
678
724
  display: grid;
679
725
  grid-template-columns: minmax(0, 1fr) auto;
680
726
  align-items: center;
681
- gap: 0.58rem;
727
+ gap: clamp(0.36rem, 1.05cqi, 0.58rem);
682
728
  }
683
729
 
684
730
  .cm-mirror-pane__custom-section {
685
731
  display: grid;
686
- gap: 0.42rem;
732
+ gap: clamp(0.34rem, 1cqi, 0.46rem);
733
+ min-width: 0;
734
+ }
735
+
736
+ .cm-mirror-pane__param-body {
737
+ display: grid;
738
+ gap: clamp(0.28rem, 0.95cqi, 0.42rem);
687
739
  min-width: 0;
688
740
  }
689
741
 
690
742
  .cm-mirror-pane__text-area {
691
743
  width: 100%;
692
- min-height: 7rem;
693
- padding: 0.72rem;
744
+ min-height: clamp(4.8rem, 18cqi, 6.9rem);
745
+ max-height: clamp(5.4rem, 22cqi, 8rem);
746
+ padding: clamp(0.54rem, 1.5cqi, 0.72rem);
694
747
  color: hsl(var(--foreground));
695
748
  font-family: var(--font-mono), monospace;
696
749
  font-size: 0.86rem;
697
- resize: vertical;
750
+ resize: none;
698
751
  }
699
752
 
700
753
  .cm-mirror-pane__field {
701
754
  width: 100%;
702
- min-height: 2.45rem;
755
+ min-height: clamp(2.05rem, 5.4cqi, 2.45rem);
703
756
  color: hsl(var(--foreground));
704
757
  font-family: var(--font-mono), monospace;
705
758
  font-size: 0.86rem;
706
759
  }
707
760
 
761
+ .cm-mirror-pane__option-grid {
762
+ display: flex;
763
+ align-items: center;
764
+ gap: clamp(0.24rem, 0.82cqi, 0.34rem);
765
+ min-width: 0;
766
+ flex-wrap: wrap;
767
+ }
768
+
769
+ .cm-mirror-pane__option {
770
+ display: inline-flex;
771
+ align-items: center;
772
+ justify-content: center;
773
+ min-width: 0;
774
+ min-height: clamp(1.75rem, 4.9cqi, 2.05rem);
775
+ padding: 0 clamp(0.48rem, 1.45cqi, 0.68rem);
776
+ color: hsl(var(--muted-foreground));
777
+ cursor: pointer;
778
+ font-family: var(--font-mono), monospace;
779
+ font-size: 0.72rem;
780
+ font-weight: 800;
781
+ letter-spacing: 0.05em;
782
+ line-height: 1;
783
+ text-transform: uppercase;
784
+ transition:
785
+ border-color 160ms ease,
786
+ background-color 160ms ease,
787
+ color 160ms ease,
788
+ box-shadow 160ms ease;
789
+ }
790
+
791
+ .cm-mirror-pane__option[data-active="true"] {
792
+ border-color: hsl(var(--primary) / 0.34);
793
+ background: hsl(var(--primary) / 0.12);
794
+ color: hsl(var(--primary));
795
+ box-shadow: 0 0 14px hsl(var(--primary) / 0.1);
796
+ }
797
+
798
+ .cm-mirror-pane__option:hover,
799
+ .cm-mirror-pane__option:focus-visible {
800
+ outline: none;
801
+ border-color: hsl(var(--primary) / 0.3);
802
+ color: hsl(var(--foreground));
803
+ }
804
+
805
+ .cm-mirror-pane__option .cm-hint,
806
+ .cm-mirror-pane__option .cm-hint__trigger {
807
+ max-width: 100%;
808
+ min-width: 0;
809
+ }
810
+
811
+ .cm-mirror-pane__option span {
812
+ min-width: 0;
813
+ overflow: hidden;
814
+ text-overflow: ellipsis;
815
+ white-space: nowrap;
816
+ }
817
+
708
818
  .cm-mirror-pane__field:focus,
709
819
  .cm-mirror-pane__field:focus-visible,
710
820
  .cm-mirror-pane__text-area:focus,
@@ -722,6 +832,16 @@
722
832
  line-height: 1.4;
723
833
  }
724
834
 
835
+ .cm-mirror-pane__param-description,
836
+ .cm-mirror-pane__param-description .cm-excerpt,
837
+ .cm-mirror-pane__param-description .cm-excerpt__trigger,
838
+ .cm-mirror-pane__param-description .cm-excerpt__text,
839
+ .cm-mirror-pane__param-description .cm-hint,
840
+ .cm-mirror-pane__param-description .cm-hint__trigger {
841
+ width: 100%;
842
+ min-width: 0;
843
+ }
844
+
725
845
  .cm-mirror-pane__no-params {
726
846
  padding: 1rem;
727
847
  text-align: center;
@@ -729,12 +849,12 @@
729
849
 
730
850
  @container (max-width: 28rem) {
731
851
  .cm-mirror-pane__body {
732
- gap: 0.54rem;
733
- padding: 0.62rem;
852
+ gap: clamp(0.38rem, 1.35cqi, 0.54rem);
853
+ padding: clamp(0.48rem, 1.45cqi, 0.62rem);
734
854
  }
735
855
 
736
- .cm-mirror-pane__section--io {
737
- grid-template-columns: minmax(0, 1fr);
856
+ .cm-mirror-pane__section {
857
+ grid-template-columns: clamp(4.55rem, 21cqi, 5.45rem) minmax(0, 1fr);
738
858
  }
739
859
 
740
860
  .cm-mirror-pane__io-badges {
@@ -743,12 +863,27 @@
743
863
  }
744
864
 
745
865
  @container (max-width: 22rem) {
746
- .cm-mirror-pane__card .cm-card__header {
866
+ .cm-mirror-pane__model-icon-box {
867
+ display: none;
868
+ }
869
+
870
+ .cm-mirror-pane__header {
747
871
  grid-template-columns: minmax(0, 1fr);
748
872
  }
749
873
 
750
- .cm-mirror-pane__model-icon-box {
751
- display: none;
874
+ .cm-mirror-pane__section {
875
+ grid-template-columns: minmax(0, 1fr);
876
+ align-items: start;
877
+ }
878
+
879
+ .cm-mirror-pane__section-label {
880
+ margin-bottom: -0.1rem;
881
+ }
882
+
883
+ .cm-mirror-pane__kv-grid,
884
+ .cm-mirror-pane__pricing-entries,
885
+ .cm-mirror-pane__lane-grid {
886
+ grid-template-columns: minmax(0, 1fr);
752
887
  }
753
888
 
754
889
  .cm-mirror-pane__tool-toggle {
@@ -185,8 +185,8 @@
185
185
 
186
186
  .cm-hint__content {
187
187
  z-index: 120;
188
- min-width: max-content;
189
- max-width: min(18rem, 72vw);
188
+ width: max-content;
189
+ max-width: min(20rem, calc(100vw - 1rem));
190
190
  border: 1px solid hsl(var(--primary) / 0.26);
191
191
  border-radius: 8px;
192
192
  background:
@@ -203,6 +203,8 @@
203
203
  pointer-events: none;
204
204
  text-align: left;
205
205
  white-space: normal;
206
+ overflow-wrap: anywhere;
207
+ word-break: normal;
206
208
  }
207
209
 
208
210
  .cm-excerpt {