Skip to main content

euv_ui/style/class/content/
fn.rs

1use super::*;
2
3class! {
4    // ═══════════════════════════════════════════════════════════════════════════
5    // Collapsible
6    // ═══════════════════════════════════════════════════════════════════════════
7
8    // A collapsible is a section that can be folded away. The trigger
9    // is a plain button that reports the state of the section, and the
10    // content below it is hidden while the section is closed.
11
12
13
14
15
16
17
18
19    pub c_euv_collapsible_content {
20        overflow: "hidden";
21    }
22
23    pub c_euv_collapsible_content_open {
24        display: "block";
25    }
26
27    // The closed body is taken out of the flow, so the content it holds
28    // is not read out and does not take room on the page.
29    pub c_euv_collapsible_content_closed {
30        display: "none";
31    }
32
33    // ═══════════════════════════════════════════════════════════════════════════
34    // Direction
35    // ═══════════════════════════════════════════════════════════════════════════
36
37    // The direction provider is a context in the reference, so it adds no
38    // box of its own. `display: contents` keeps the wrapper out of the
39    // layout while the `dir` attribute still inherits into every child.
40    pub c_euv_direction {
41        display: "contents";
42    }
43
44    pub c_euv_direction_ltr {
45        direction: "ltr";
46    }
47
48    pub c_euv_direction_rtl {
49        direction: "rtl";
50    }
51
52    // ═══════════════════════════════════════════════════════════════════════════
53    // Marker
54    // ═══════════════════════════════════════════════════════════════════════════
55
56    // A marker separates one block of content from the next. It is a row
57    // that holds an optional icon and the text beside it.
58
59
60
61
62    pub c_euv_marker_default {
63        min-width: "0px";
64    }
65
66    // The separator variant is a centered rule: it takes no share of the
67    // row and its text sits on the middle of the line.
68    pub c_euv_marker_separator {
69        flex: "none";
70        text-align: "center";
71    }
72
73    // The border variant draws the line above the row instead of through
74    // it, so the content still reads as one block.
75    pub c_euv_marker_border {
76        padding-top: var!(space-xs);
77        padding-bottom: var!(space-xs);
78        border-top: format!("{} solid {}", var!(border-width), var!(border));
79    }
80
81    pub c_euv_marker_icon {
82        display: "inline-flex";
83        flex-shrink: "0";
84        align-items: "center";
85        justify-content: "center";
86    }
87
88    pub c_euv_marker_content {
89        min-width: "0px";
90        overflow-wrap: "break-word";
91    }
92
93    // ═══════════════════════════════════════════════════════════════════════════
94    // Native Select
95    // ═══════════════════════════════════════════════════════════════════════════
96
97    // The native select keeps the platform control and only dresses it: a
98    // wrapper holds the control and the chevron that stands in for the
99    // browser's own arrow.
100    pub c_euv_native_select_wrapper {
101        position: "relative";
102        display: "inline-flex";
103        width: "fit-content";
104    }
105
106    // The reference dims the control and its overlaid chevron together.
107    pub(crate) c_euv_native_select_wrapper_disabled {
108        opacity: "0.5";
109    }
110
111
112
113
114
115
116
117
118
119
120    // The native control reports its validation state through aria-invalid.
121    pub(crate) c_euv_native_select_invalid {
122        border-color: var!(destructive);
123        :focus-visible {
124            border-color: var!(destructive);
125        }
126    }
127
128
129
130
131
132    // The chevron overlays the control without intercepting its input.
133    pub c_euv_native_select_icon {
134        position: "absolute";
135        right: format!("calc({} + {})", var!(space-md), var!(space-2xs));
136        top: "50%";
137        display: "block";
138        width: var!(space-lg);
139        height: var!(space-lg);
140        pointer-events: "none";
141        color: var!(muted-foreground);
142        opacity: "0.5";
143        transform: "translateY(-50%)";
144    }
145
146    pub c_euv_native_select_option {
147        background: var!(background);
148        color: var!(foreground);
149    }
150
151    pub c_euv_native_select_optgroup {
152        background: var!(background);
153        color: var!(foreground);
154    }
155
156    // ═══════════════════════════════════════════════════════════════════════════
157    // Attachment
158    // ═══════════════════════════════════════════════════════════════════════════
159
160    // An attachment is a chip that carries one uploaded file: a thumbnail,
161    // the file's name and description, and the actions that go with it.
162
163
164
165
166    pub c_euv_attachment_horizontal {
167        flex-direction: "row";
168    }
169
170    pub c_euv_attachment_vertical {
171        flex-direction: "column";
172    }
173
174    // An idle attachment has not been filled yet, so its outline is dashed
175    // to say that the slot is waiting for a file.
176    pub c_euv_attachment_state_idle {
177        border-style: "dashed";
178    }
179
180    // A failed attachment says so in the destructive colour, which is the
181    // only colour that reads as an error in this system.
182    pub c_euv_attachment_state_error {
183        border-color: var!(destructive);
184        color: var!(destructive);
185    }
186
187    pub c_euv_attachment_state_uploading {
188        opacity: "0.8";
189    }
190
191    pub c_euv_attachment_state_processing {
192        opacity: "0.8";
193    }
194
195    pub c_euv_attachment_state_done {
196        opacity: "1";
197    }
198
199    // The media is the square thumbnail that leads the chip.
200
201
202
203
204    pub c_euv_attachment_media_size_default {
205        width: var!(space-2xl);
206        height: var!(space-2xl);
207    }
208
209    pub c_euv_attachment_media_size_sm {
210        width: var!(space-2xl);
211        height: var!(space-2xl);
212    }
213
214    // The extra small thumbnail is twenty-eight pixels wide, one step
215    // under the small one.
216    pub c_euv_attachment_media_size_xs {
217        width: "28px";
218        height: "28px";
219    }
220
221    pub c_euv_attachment_content {
222        max-width: "100%";
223        min-width: "0px";
224        flex: "1";
225    }
226
227    pub c_euv_attachment_title {
228        display: "block";
229        max-width: "100%";
230        min-width: "0px";
231        overflow: "hidden";
232        text-overflow: "ellipsis";
233        white-space: "nowrap";
234        font-weight: var!(font-weight-medium);
235    }
236
237    pub c_euv_attachment_description {
238        display: "block";
239        max-width: "100%";
240        min-width: "0px";
241        overflow: "hidden";
242        text-overflow: "ellipsis";
243        white-space: "nowrap";
244        color: var!(muted-foreground);
245        font-size: var!(font-xs);
246    }
247
248    pub c_euv_attachment_actions {
249        display: "flex";
250        flex-shrink: "0";
251        align-items: "center";
252        gap: var!(space-2xs);
253    }
254
255    pub c_euv_attachment_action {
256        display: "inline-flex";
257        align-items: "center";
258        justify-content: "center";
259    }
260
261    // The trigger covers the whole chip so that a click anywhere on it
262    // opens the file, while the actions above it stay reachable.
263    pub c_euv_attachment_trigger {
264        position: "absolute";
265        inset: "0px";
266        outline: "none";
267    }
268
269    // The group scrolls sideways and snaps each attachment to its start.
270
271
272
273
274    // ═══════════════════════════════════════════════════════════════════════════
275    // Chart
276    // ═══════════════════════════════════════════════════════════════════════════
277
278    // The chart container is the frame the plot is drawn in. Its own text
279    // is small because every label inside a chart is a caption.
280    pub c_euv_chart {
281        display: "flex";
282        width: "100%";
283        aspect-ratio: "16 / 9";
284        justify-content: "center";
285        font-size: var!(font-xs);
286        color: var!(muted-foreground);
287    }
288
289    // The tooltip is a small floating panel that lists one row per series.
290    pub c_euv_chart_tooltip {
291        display: "flex";
292        flex-direction: "column";
293        gap: var!(space-2xs);
294        min-width: "120px";
295        padding: var!(space-sm);
296        border: format!("{} solid {}", var!(border-width), var!(border));
297        border-radius: var!(radius-md);
298        background: var!(popover);
299        color: var!(popover-foreground);
300        box-shadow: var!(shadow-md);
301        font-size: var!(font-xs);
302    }
303
304    pub c_euv_chart_tooltip_label {
305        font-weight: var!(font-weight-medium);
306    }
307
308    pub c_euv_chart_tooltip_item {
309        display: "flex";
310        align-items: "center";
311        gap: var!(space-xs);
312    }
313
314    // The dot that stands for a series in the tooltip and the legend.
315    pub c_euv_chart_indicator {
316        display: "inline-flex";
317        flex-shrink: "0";
318        width: var!(space-sm);
319        height: var!(space-sm);
320        border-radius: var!(radius-full);
321        background: var!(primary);
322    }
323
324    pub c_euv_chart_legend {
325        display: "flex";
326        flex-wrap: "wrap";
327        align-items: "center";
328        justify-content: "center";
329        gap: var!(space-md);
330        font-size: var!(font-xs);
331        color: var!(muted-foreground);
332    }
333
334    pub c_euv_chart_legend_item {
335        display: "inline-flex";
336        align-items: "center";
337        gap: var!(space-xs);
338    }
339
340    // ═══════════════════════════════════════════════════════════════════════════
341    // Bubble
342    // ═══════════════════════════════════════════════════════════════════════════
343
344    // A bubble is one message of a conversation. The group keeps the run
345    // of bubbles in one column, and the bubble itself decides the
346    // surface it is drawn on and the side of the row it sits on.
347
348
349
350
351
352
353
354
355    pub c_euv_bubble_align_start {
356        align-self: "flex-start";
357    }
358
359    pub c_euv_bubble_align_end {
360        align-self: "flex-end";
361    }
362
363    pub c_euv_bubble_default {
364        background: var!(background);
365        color: var!(foreground);
366    }
367
368    pub c_euv_bubble_secondary {
369        background: var!(secondary);
370        color: var!(secondary-foreground);
371    }
372
373    pub c_euv_bubble_muted {
374        background: var!(muted);
375        color: var!(foreground);
376    }
377
378    pub c_euv_bubble_tinted {
379        background: var!(primary);
380        color: var!(primary-foreground);
381    }
382
383    pub c_euv_bubble_outline {
384        background: "transparent";
385        border: format!("{} solid {}", var!(border-width), var!(border));
386        color: var!(foreground);
387    }
388
389    pub c_euv_bubble_ghost {
390        background: "transparent";
391        color: var!(foreground);
392    }
393
394    pub c_euv_bubble_destructive {
395        background: var!(destructive);
396        color: var!(destructive-foreground);
397    }
398
399    // The text of a bubble wraps rather than pushing the bubble wider
400    // than the row it sits in.
401
402
403
404
405    // The reactions float beside the bubble.
406
407
408
409
410    pub c_euv_bubble_reactions_top {
411        bottom: "100%";
412    }
413
414    pub c_euv_bubble_reactions_bottom {
415        top: "100%";
416    }
417
418    pub c_euv_bubble_reactions_start {
419        left: "0px";
420    }
421
422    pub c_euv_bubble_reactions_end {
423        right: "0px";
424    }
425
426    // ═══════════════════════════════════════════════════════════════════════════
427    // Message Scroller
428    // ═══════════════════════════════════════════════════════════════════════════
429
430    // The scroller is the frame the list of messages is drawn in. The
431    // viewport inside it keeps the scroll to itself, so a page that is
432    // scrolled past the list does not drag the list with it.
433    pub c_euv_message_scroller {
434        position: "relative";
435        display: "flex";
436        width: "100%";
437        height: "100%";
438        min-height: "0px";
439        flex-direction: "column";
440        overflow: "hidden";
441    }
442
443    pub c_euv_message_scroller_viewport {
444        width: "100%";
445        height: "100%";
446        min-height: "0px";
447        min-width: "0px";
448        overflow-y: "auto";
449        overscroll-behavior: "contain";
450    }
451
452
453
454
455
456    // The item never shrinks, so a long message keeps its own height
457    // instead of being squeezed into the row.
458    pub c_euv_message_scroller_item {
459        min-width: "0px";
460        flex-shrink: "0";
461    }
462
463    // The jump button floats over the list.
464
465
466
467
468    pub c_euv_message_scroller_button_start {
469        top: var!(space-lg);
470    }
471
472    pub c_euv_message_scroller_button_end {
473        bottom: var!(space-lg);
474    }
475
476    // ═══════════════════════════════════════════════════════════════════════════
477    // Trace
478    // ═══════════════════════════════════════════════════════════════════════════
479
480    // A trace is a column of steps. The line describes one step and the
481    // collapsible inside it holds the long form output of that step.
482
483
484
485
486
487
488
489
490    pub c_euv_trace_line_idle {
491        color: var!(muted-foreground);
492    }
493
494    pub c_euv_trace_line_running {
495        color: var!(muted-foreground);
496    }
497
498    // A step that failed is drawn in the destructive colour, which is the
499    // only colour that reads as an error in this system.
500    pub c_euv_trace_line_error {
501        color: var!(destructive);
502    }
503
504    // A step that is still waiting is dimmed, so it does not read as
505    // finished.
506    pub c_euv_trace_line_pending {
507        opacity: "0.6";
508    }
509
510    pub c_euv_trace_icon {
511        display: "flex";
512        flex-shrink: "0";
513        align-items: "center";
514        justify-content: "center";
515    }
516
517    pub c_euv_trace_title {
518        min-width: "0px";
519        overflow: "hidden";
520        text-overflow: "ellipsis";
521        white-space: "nowrap";
522    }
523
524    // The detail is the number beside the name of the step, so it is set
525    // in figures that line up in a column.
526    pub c_euv_trace_description {
527        flex-shrink: "0";
528        color: var!(muted-foreground);
529        font-variant-numeric: "tabular-nums";
530    }
531
532    pub c_euv_trace_collapsible {
533        display: "flex";
534        width: "100%";
535        min-width: "0px";
536        flex-direction: "column";
537    }
538
539    pub c_euv_trace_collapsible_content {
540        min-width: "0px";
541        overflow: "hidden";
542    }
543
544    pub c_euv_trace_collapsible_content_open {
545        display: "block";
546    }
547
548    // The closed output is taken out of the flow, so the long form
549    // output of a step does not push the rest of the trace out of view.
550    pub c_euv_trace_collapsible_content_closed {
551        display: "none";
552    }
553
554    pub c_euv_trace_collapsible_content_inner {
555        min-width: "0px";
556        overflow-wrap: "break-word";
557        color: var!(muted-foreground);
558    }
559
560    // ═══════════════════════════════════════════════════════════════════════════
561    // Code Block
562    // ═══════════════════════════════════════════════════════════════════════════
563
564    // A code block is a column: the header names the snippet, the
565    // content holds the code and the footer holds whatever the snippet
566    // needs to say below it.
567
568
569
570
571    pub c_euv_code_block_default {
572        background: var!(muted);
573    }
574
575    pub c_euv_markdown_inline_code {
576        border-radius: var!(radius-sm);
577    }
578
579    // A block that says the snippet does not run is drawn in the
580    // destructive colour.
581    pub c_euv_code_block_destructive {
582        border-color: var!(destructive);
583        color: var!(destructive);
584    }
585
586    pub c_euv_code_block_size_default {
587        font-size: var!(font-sm);
588    }
589
590    pub c_euv_code_block_size_sm {
591        font-size: var!(font-xs);
592    }
593
594
595
596
597
598
599
600
601
602    // The actions sit at the end of the header.
603
604
605
606
607
608
609
610
611    // The code is read from the left even in a right to left page, so
612    // the block is told to read from the left as well.
613
614
615
616
617    pub c_euv_code_block_content_no_wrap {
618        white-space: "pre";
619    }
620
621    pub c_euv_code_block_content_wrap {
622        white-space: "pre-wrap";
623        overflow-wrap: "break-word";
624    }
625
626    pub c_euv_code_block_code {
627        display: "grid";
628        min-width: "max-content";
629    }
630
631
632
633
634
635    // The text of one line. It carries the line number, so it has to be
636    // able to shrink when the line is longer than the block is wide.
637    pub c_euv_code_block_line_content {
638        min-width: "0px";
639    }
640
641    pub c_euv_code_block_line_default {
642        color: var!(foreground);
643    }
644
645    // A line that was added is drawn in the success colour and a line
646    // that was removed in the destructive one, the way a diff reads.
647    pub c_euv_code_block_line_added {
648        color: var!(success);
649    }
650
651    pub c_euv_code_block_line_removed {
652        color: var!(destructive);
653    }
654
655    pub c_euv_code_block_line_highlighted {
656        background: var!(accent);
657        color: var!(accent-foreground);
658    }
659
660
661
662
663
664    // ═══════════════════════════════════════════════════════════════════════════
665    // Navigation Menu
666    // ═══════════════════════════════════════════════════════════════════════════
667
668    // A navigation menu is the frame the sections live in. A section
669    // opens under its trigger, and the state of that section is carried
670    // by the signal the caller owns.
671
672
673
674
675
676
677
678
679    pub c_euv_navigation_menu_item {
680        position: "relative";
681    }
682
683    pub c_euv_navigation_menu_trigger_open {
684        background: var!(accent);
685        color: var!(accent-foreground);
686    }
687
688    pub c_euv_navigation_menu_trigger_closed {
689        background: "transparent";
690    }
691
692    // The panel is hidden while the section is closed, so the links it
693    // holds are not read out before the reader asks for them.
694    pub c_euv_navigation_menu_content {
695        position: "absolute";
696        left: "0px";
697        top: "100%";
698        min-width: var!(space-4xl);
699        padding: var!(space-md);
700        border: format!("{} solid {}", var!(border-width), var!(border));
701        border-radius: var!(radius-md);
702        background: var!(popover);
703        color: var!(popover-foreground);
704        box-shadow: var!(shadow-md);
705    }
706
707    pub c_euv_navigation_menu_content_open {
708        display: "block";
709    }
710
711    pub c_euv_navigation_menu_content_closed {
712        display: "none";
713    }
714
715
716
717
718
719    // The viewport is the frame the open panel is drawn in, so the panel
720    // does not shift the rest of the menu while it is open.
721    pub c_euv_navigation_menu_viewport {
722        position: "relative";
723        width: "100%";
724    }
725
726    pub c_euv_navigation_menu_indicator {
727        position: "absolute";
728        left: "0px";
729        bottom: "0px";
730        width: var!(space-md);
731        height: "2px";
732        border-radius: var!(radius-full);
733        background: var!(primary);
734    }
735
736    // ═══════════════════════════════════════════════════════════════════════════
737    // Resizable
738    // ═══════════════════════════════════════════════════════════════════════════
739
740    // A resizable group lays its panels out in a row or in a column,
741    // and the handles between them move the divider.
742    pub c_euv_resizable_group {
743        display: "flex";
744        width: "100%";
745        height: "100%";
746    }
747
748    pub c_euv_resizable_group_horizontal {
749        flex-direction: "row";
750    }
751
752    pub c_euv_resizable_group_vertical {
753        flex-direction: "column";
754    }
755
756    pub c_euv_resizable_panel {
757        min-width: "0px";
758        min-height: "0px";
759        overflow: "hidden";
760    }
761
762    // The handle is the hairline the reader drags.
763    pub c_euv_resizable_handle {
764        position: "relative";
765        display: "flex";
766        align-items: "center";
767        justify-content: "center";
768        flex-shrink: "0";
769        background: var!(border);
770        cursor: "col-resize";
771    }
772
773    pub c_euv_resizable_handle_horizontal {
774        width: "1px";
775    }
776
777    pub c_euv_resizable_handle_vertical {
778        height: "1px";
779        cursor: "row-resize";
780    }
781
782    // ═══════════════════════════════════════════════════════════════════════════
783    // Questionnaire
784    // ═══════════════════════════════════════════════════════════════════════════
785
786    // A questionnaire is a column of questions. The progress above them
787    // says how far along the reader is, and the actions below them move
788    // from one question to the next.
789
790
791
792
793    // The progress is a number, so it is set in figures that line up in
794    // a column while the count changes.
795    pub c_euv_questionnaire_progress {
796        min-height: "1lh";
797        width: "fit-content";
798        min-width: "14ch";
799        font-weight: var!(font-weight-medium);
800        color: var!(muted-foreground);
801        font-variant-numeric: "tabular-nums";
802    }
803
804    pub c_euv_questionnaire_description {
805        font-size: var!(font-sm);
806        color: var!(muted-foreground);
807    }
808
809    pub c_euv_questionnaire_choices {
810        display: "grid";
811        min-width: "0px";
812        gap: var!(space-sm);
813    }
814
815    // The choice is the row the reader presses to pick an answer.
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832    pub c_euv_questionnaire_choice_description {
833        font-size: var!(font-sm);
834        color: var!(muted-foreground);
835    }
836
837    // The indicator is the mark that shows whether the answer is ticked.
838
839
840
841
842    // The answer that takes one answer out of a list is marked with a
843    // round mark, the one that can be ticked on its own with a square.
844    pub c_euv_questionnaire_choice_indicator_radio {
845        border-radius: var!(radius-full);
846    }
847
848    pub c_euv_questionnaire_choice_indicator_checkbox {
849        border-radius: var!(radius-sm);
850    }
851
852    pub c_euv_questionnaire_choice_indicator_unchecked {
853        background: var!(background);
854    }
855
856    pub c_euv_questionnaire_choice_indicator_checked {
857        border-color: var!(primary);
858        background: var!(primary);
859        color: var!(primary-foreground);
860    }
861
862    pub c_euv_questionnaire_error {
863        font-size: var!(font-sm);
864        color: var!(destructive);
865    }
866
867    pub c_euv_questionnaire_actions {
868        display: "flex";
869        align-items: "center";
870        gap: var!(space-sm);
871    }
872}
873
874#[cfg(not(feature = "theme-shadcn"))]
875class! {
876    pub c_euv_collapsible {
877        display: "flex";
878        flex-direction: "column";
879        gap: var!(space-2xs);
880    }
881
882    pub c_euv_collapsible_trigger {
883        display: "flex";
884        align-items: "center";
885        justify-content: "space-between";
886        gap: var!(space-sm);
887        width: "100%";
888        text-align: "left";
889        font-weight: var!(font-weight-medium);
890        cursor: "pointer";
891    }
892
893    pub c_euv_marker {
894        position: "relative";
895        display: "flex";
896        width: "100%";
897        align-items: "center";
898        gap: var!(space-sm);
899    }
900
901    pub c_euv_native_select {
902        appearance: "none";
903        outline: "none";
904        width: "100%";
905        min-width: "0px";
906        border: format!("{} solid {}", var!(border-width), var!(input));
907        border-radius: var!(radius-md);
908        background: var!(background);
909        color: var!(foreground);
910        padding-left: var!(space-sm);
911        padding-right: var!(space-2xl);
912        font-size: var!(font-sm);
913        cursor: "pointer";
914        :disabled {
915            pointer-events: "none";
916            cursor: "not-allowed";
917        }
918    }
919
920    pub c_euv_native_select_size_default {
921        height: var!(control-height);
922    }
923
924    pub c_euv_native_select_size_sm {
925        height: var!(control-height-sm);
926    }
927
928    pub c_euv_attachment {
929        position: "relative";
930        display: "flex";
931        max-width: "100%";
932        min-width: "0px";
933        flex-shrink: "0";
934        flex-wrap: "wrap";
935        align-items: "center";
936        gap: var!(space-sm);
937        padding: var!(space-sm);
938        border: format!("{} solid {}", var!(border-width), var!(border));
939        border-radius: var!(radius-md);
940        background: var!(card);
941        color: var!(card-foreground);
942        font-size: var!(font-sm);
943    }
944
945    pub c_euv_attachment_media {
946        position: "relative";
947        display: "flex";
948        aspect-ratio: "1";
949        flex-shrink: "0";
950        align-items: "center";
951        justify-content: "center";
952        overflow: "hidden";
953        border-radius: var!(radius-sm);
954        background: var!(muted);
955    }
956
957    pub c_euv_attachment_media_variant_image {
958        background: var!(muted);
959    }
960
961    pub c_euv_attachment_group {
962        display: "flex";
963        min-width: "0px";
964        gap: var!(space-sm);
965        overflow-x: "auto";
966        overscroll-behavior-x: "contain";
967        scroll-snap-type: "x mandatory";
968    }
969
970    pub c_euv_bubble_group {
971        display: "flex";
972        min-width: "0px";
973        flex-direction: "column";
974    }
975
976    pub c_euv_bubble {
977        position: "relative";
978        display: "flex";
979        width: "fit-content";
980        min-width: "0px";
981        flex-direction: "column";
982    }
983
984    pub c_euv_bubble_content {
985        width: "fit-content";
986        max-width: "100%";
987        min-width: "0px";
988        overflow: "hidden";
989        overflow-wrap: "break-word";
990        padding: format!("{} {}", var!(space-sm), var!(space-md));
991        border-radius: var!(radius-lg);
992    }
993
994    pub c_euv_bubble_reactions {
995        position: "absolute";
996        display: "flex";
997        width: "fit-content";
998        align-items: "center";
999        justify-content: "center";
1000    }
1001
1002    pub c_euv_message_scroller_content {
1003        display: "flex";
1004        min-height: "100%";
1005        flex-direction: "column";
1006    }
1007
1008    pub c_euv_message_scroller_button {
1009        position: "absolute";
1010        left: "50%";
1011        display: "inline-flex";
1012        align-items: "center";
1013        justify-content: "center";
1014        border: format!("{} solid {}", var!(border-width), var!(border));
1015        border-radius: var!(radius-md);
1016        background: var!(background);
1017        color: var!(foreground);
1018        white-space: "nowrap";
1019        transform: "translateX(-50%)";
1020    }
1021
1022    pub c_euv_trace {
1023        display: "flex";
1024        width: "100%";
1025        min-width: "0px";
1026        flex-direction: "column";
1027    }
1028
1029    pub c_euv_trace_line {
1030        display: "flex";
1031        width: "fit-content";
1032        max-width: "100%";
1033        min-width: "0px";
1034        align-items: "center";
1035        gap: var!(space-xs);
1036        color: var!(muted-foreground);
1037    }
1038
1039    pub c_euv_trace_collapsible_trigger {
1040        display: "flex";
1041        width: "fit-content";
1042        max-width: "100%";
1043        min-width: "0px";
1044        align-items: "center";
1045        text-align: "left";
1046        color: var!(muted-foreground);
1047        cursor: "pointer";
1048    }
1049
1050    pub c_euv_code_block {
1051        position: "relative";
1052        display: "flex";
1053        width: "100%";
1054        min-width: "0px";
1055        flex-direction: "column";
1056        overflow: "hidden";
1057        border: format!("{} solid {}", var!(border-width), var!(border));
1058        border-radius: var!(radius-md);
1059        background: var!(muted);
1060        color: var!(foreground);
1061    }
1062
1063    pub c_euv_code_block_header {
1064        display: "flex";
1065        min-width: "0px";
1066        flex-shrink: "0";
1067        align-items: "center";
1068        gap: var!(space-sm);
1069        padding: format!("{} {}", var!(space-sm), var!(space-md));
1070        border-bottom: format!("{} solid {}", var!(border-width), var!(border));
1071    }
1072
1073    pub c_euv_code_block_title {
1074        min-width: "0px";
1075        overflow: "hidden";
1076        text-overflow: "ellipsis";
1077        white-space: "nowrap";
1078        font-weight: var!(font-weight-medium);
1079    }
1080
1081    pub c_euv_code_block_actions {
1082        display: "flex";
1083        flex-shrink: "0";
1084        align-items: "center";
1085        gap: var!(space-2xs);
1086        margin-left: "auto";
1087    }
1088
1089    pub c_euv_code_block_copy_button {
1090        display: "inline-flex";
1091        align-items: "center";
1092        justify-content: "center";
1093        border: format!("{} solid {}", var!(border-width), var!(border));
1094        border-radius: var!(radius-sm);
1095        background: var!(background);
1096        color: var!(foreground);
1097        white-space: "nowrap";
1098        cursor: "pointer";
1099    }
1100
1101    pub c_euv_code_block_content {
1102        min-height: "0px";
1103        min-width: "0px";
1104        overflow: "auto";
1105        text-align: "start";
1106        font-family: var!(font-family-mono);
1107        font-size: var!(font-sm);
1108        outline: "none";
1109    }
1110
1111    pub c_euv_code_block_line {
1112        position: "relative";
1113        display: "block";
1114    }
1115
1116    pub c_euv_code_block_footer {
1117        display: "flex";
1118        min-width: "0px";
1119        flex-shrink: "0";
1120        align-items: "center";
1121        gap: var!(space-sm);
1122        padding: format!("{} {}", var!(space-sm), var!(space-md));
1123        border-top: format!("{} solid {}", var!(border-width), var!(border));
1124    }
1125
1126    pub c_euv_navigation_menu {
1127        position: "relative";
1128        display: "flex";
1129        width: "100%";
1130        justify-content: "center";
1131    }
1132
1133    pub c_euv_navigation_menu_list {
1134        display: "flex";
1135        flex-wrap: "wrap";
1136        align-items: "center";
1137        gap: var!(space-md);
1138        margin: "0px";
1139        padding: "0px";
1140        list-style: "none";
1141    }
1142
1143    pub c_euv_navigation_menu_trigger {
1144        display: "inline-flex";
1145        align-items: "center";
1146        gap: var!(space-xs);
1147        padding: format!("{} {}", var!(space-xs), var!(space-sm));
1148        border: "none";
1149        background: "transparent";
1150        color: var!(foreground);
1151        font-size: var!(font-sm);
1152        font-weight: var!(font-weight-medium);
1153        white-space: "nowrap";
1154        cursor: "pointer";
1155    }
1156
1157    pub c_euv_navigation_menu_link {
1158        display: "block";
1159        padding: format!("{} {}", var!(space-xs), var!(space-sm));
1160        border-radius: var!(radius-sm);
1161        color: var!(foreground);
1162        font-size: var!(font-sm);
1163        text-decoration: "none";
1164    }
1165
1166    pub c_euv_questionnaire {
1167        display: "flex";
1168        width: "100%";
1169        min-width: "0px";
1170        flex-direction: "column";
1171        gap: var!(space-md);
1172    }
1173
1174    pub c_euv_questionnaire_item {
1175        min-width: "0px";
1176        padding: "0px";
1177        border: "none";
1178        outline: "none";
1179    }
1180
1181    pub c_euv_questionnaire_title {
1182        font-size: var!(font-lg);
1183        font-weight: var!(font-weight-semibold);
1184        line-height: "1.2";
1185    }
1186
1187    pub c_euv_questionnaire_choice {
1188        position: "relative";
1189        display: "flex";
1190        min-height: var!(control-height);
1191        align-items: "flex-start";
1192        gap: var!(space-sm);
1193        padding: format!("{} {}", var!(space-sm), var!(space-md));
1194        border: format!("{} solid {}", var!(border-width), var!(border));
1195        border-radius: var!(radius-md);
1196        background: var!(background);
1197        text-align: "start";
1198        cursor: "pointer";
1199    }
1200
1201    pub c_euv_questionnaire_choice_enabled {
1202        cursor: "pointer";
1203    }
1204
1205    pub c_euv_questionnaire_choice_disabled {
1206        pointer-events: "none";
1207        cursor: "not-allowed";
1208        opacity: "0.5";
1209    }
1210
1211    pub c_euv_questionnaire_choice_label {
1212        display: "flex";
1213        min-width: "0px";
1214        flex: "1";
1215        flex-direction: "column";
1216        line-height: "1.3";
1217    }
1218
1219    pub c_euv_questionnaire_choice_indicator {
1220        display: "flex";
1221        flex-shrink: "0";
1222        align-items: "center";
1223        justify-content: "center";
1224        width: var!(space-md);
1225        height: var!(space-md);
1226        border: format!("{} solid {}", var!(border-width), var!(border));
1227        border-radius: var!(radius-sm);
1228        background: var!(background);
1229    }
1230
1231    pub c_euv_questionnaire_input {
1232        width: "100%";
1233        height: var!(control-height);
1234        padding-left: var!(space-sm);
1235        padding-right: var!(space-sm);
1236        border: format!("{} solid {}", var!(border-width), var!(input));
1237        border-radius: var!(radius-md);
1238        background: var!(background);
1239        color: var!(foreground);
1240        font-size: var!(font-sm);
1241        outline: "none";
1242    }
1243
1244    pub c_euv_questionnaire_previous {
1245        display: "inline-flex";
1246        align-items: "center";
1247        justify-content: "center";
1248        height: var!(control-height);
1249        padding-left: var!(space-lg);
1250        padding-right: var!(space-lg);
1251        border: format!("{} solid {}", var!(border-width), var!(border));
1252        border-radius: var!(radius-md);
1253        background: var!(background);
1254        color: var!(foreground);
1255        font-size: var!(font-sm);
1256        white-space: "nowrap";
1257        cursor: "pointer";
1258    }
1259
1260    pub c_euv_questionnaire_skip {
1261        display: "inline-flex";
1262        align-items: "center";
1263        justify-content: "center";
1264        height: var!(control-height);
1265        padding-left: var!(space-lg);
1266        padding-right: var!(space-lg);
1267        background: "transparent";
1268        color: var!(muted-foreground);
1269        font-size: var!(font-sm);
1270        white-space: "nowrap";
1271        cursor: "pointer";
1272    }
1273
1274    pub c_euv_questionnaire_next {
1275        display: "inline-flex";
1276        align-items: "center";
1277        justify-content: "center";
1278        height: var!(control-height);
1279        padding-left: var!(space-lg);
1280        padding-right: var!(space-lg);
1281        border: format!("{} solid {}", var!(border-width), var!(border));
1282        border-radius: var!(radius-md);
1283        background: var!(primary);
1284        color: var!(primary-foreground);
1285        font-size: var!(font-sm);
1286        white-space: "nowrap";
1287        cursor: "pointer";
1288    }
1289
1290    pub c_euv_questionnaire_submit {
1291        display: "inline-flex";
1292        align-items: "center";
1293        justify-content: "center";
1294        height: var!(control-height);
1295        padding-left: var!(space-lg);
1296        padding-right: var!(space-lg);
1297        border: format!("{} solid {}", var!(border-width), var!(border));
1298        border-radius: var!(radius-md);
1299        background: var!(primary);
1300        color: var!(primary-foreground);
1301        font-size: var!(font-sm);
1302        white-space: "nowrap";
1303        cursor: "pointer";
1304    }
1305}
1306
1307#[cfg(feature = "theme-shadcn")]
1308class! {
1309    pub c_euv_collapsible {
1310        display: "flex";
1311        flex-direction: "column";
1312        gap: var!(space-2xs);
1313
1314        gap: var!(space-sm);
1315    }
1316
1317    pub c_euv_collapsible_trigger {
1318        display: "flex";
1319        align-items: "center";
1320        justify-content: "space-between";
1321        gap: var!(space-sm);
1322        width: "100%";
1323        text-align: "left";
1324        font-weight: var!(font-weight-medium);
1325        cursor: "pointer";
1326
1327        gap: var!(space-xs);
1328        border-color: var!(border);
1329        border-bottom-right-radius: var!(radius-lg);
1330        border-bottom-left-radius: var!(radius-lg);
1331        border-top-right-radius: var!(radius-lg);
1332        border-top-left-radius: var!(radius-lg);
1333        border-bottom-style: "solid";
1334        border-left-style: "solid";
1335        border-right-style: "solid";
1336        border-top-style: "solid";
1337        border-bottom-width: var!(border-width);
1338        border-left-width: var!(border-width);
1339        border-right-width: var!(border-width);
1340        border-top-width: var!(border-width);
1341        justify-content: "center";
1342        white-space: "nowrap";
1343    }
1344
1345    pub c_euv_marker {
1346        position: "relative";
1347        display: "flex";
1348        width: "100%";
1349        align-items: "center";
1350        gap: var!(space-sm);
1351
1352        color: var!(muted-foreground);
1353    }
1354
1355    pub c_euv_native_select {
1356        appearance: "none";
1357        outline: "none";
1358        width: "100%";
1359        min-width: "0px";
1360        border: format!("{} solid {}", var!(border-width), var!(input));
1361        border-radius: var!(radius-md);
1362        background: var!(background);
1363        color: var!(foreground);
1364        padding-left: var!(space-sm);
1365        padding-right: var!(space-2xl);
1366        font-size: var!(font-sm);
1367        cursor: "pointer";
1368        :disabled {
1369            pointer-events: "none";
1370            cursor: "not-allowed";
1371        }
1372
1373        min-height: var!(control-height);
1374        padding-block: var!(space-xs);
1375        padding-inline: var!(space-md);
1376        padding-right: format!("calc({} + {})", var!(control-pad-icon), var!(space-xs));
1377        border-radius: var!(radius-md);
1378        font-size: var!(font-sm);
1379        line-height: "1.428571";
1380        background-color: "transparent";
1381        transition: format!(
1382        "color {} {}, box-shadow {} {}",
1383        var!(duration-fast),
1384        var!(ease-out),
1385        var!(duration-fast),
1386        var!(ease-out)
1387        );
1388        :focus-visible {
1389            border-color: var!(ring);
1390        }
1391
1392        :is([aria-invalid="true"]) {
1393            border-color: var!(destructive);
1394        }
1395        :is(".c_theme_dark .c_euv_native_select") {
1396            background-color: format!("color-mix(in srgb, {} 30%, transparent)", var!(input));
1397        }
1398        : is(".c_theme_dark .c_euv_native_select"):hover {
1399            background-color: format!("color-mix(in srgb, {} 50%, transparent)", var!(input));
1400        }
1401    }
1402
1403    pub c_euv_native_select_size_default {
1404        height: var!(control-height);
1405
1406        height: var!(control-height);
1407        min-height: var!(control-height);
1408    }
1409
1410    pub c_euv_native_select_size_sm {
1411        height: var!(control-height-sm);
1412
1413        height: var!(control-height-sm);
1414        min-height: var!(control-height-sm);
1415        padding-block: var!(space-xs);
1416        border-radius: var!(radius-md);
1417    }
1418
1419    pub c_euv_attachment {
1420        position: "relative";
1421        display: "flex";
1422        max-width: "100%";
1423        min-width: "0px";
1424        flex-shrink: "0";
1425        flex-wrap: "wrap";
1426        align-items: "center";
1427        gap: var!(space-sm);
1428        padding: var!(space-sm);
1429        border: format!("{} solid {}", var!(border-width), var!(border));
1430        border-radius: var!(radius-md);
1431        background: var!(card);
1432        color: var!(card-foreground);
1433        font-size: var!(font-sm);
1434
1435        border-radius: var!(radius-xl);
1436        gap: var!(space-xs-sm);
1437    }
1438
1439    pub c_euv_attachment_media {
1440        position: "relative";
1441        display: "flex";
1442        aspect-ratio: "1";
1443        flex-shrink: "0";
1444        align-items: "center";
1445        justify-content: "center";
1446        overflow: "hidden";
1447        border-radius: var!(radius-sm);
1448        background: var!(muted);
1449
1450        border-radius: var!(radius-lg);
1451    }
1452
1453    pub c_euv_attachment_media_variant_image {
1454        background: var!(muted);
1455
1456        border-bottom-right-radius: var!(radius-lg);
1457        border-bottom-left-radius: var!(radius-lg);
1458        border-top-right-radius: var!(radius-lg);
1459        border-top-left-radius: var!(radius-lg);
1460    }
1461
1462    pub c_euv_attachment_group {
1463        display: "flex";
1464        min-width: "0px";
1465        gap: var!(space-sm);
1466        overflow-x: "auto";
1467        overscroll-behavior-x: "contain";
1468        scroll-snap-type: "x mandatory";
1469
1470        gap: var!(space-md);
1471        padding-top: var!(space-xs);
1472    }
1473
1474    pub c_euv_bubble_group {
1475        display: "flex";
1476        min-width: "0px";
1477        flex-direction: "column";
1478
1479        gap: var!(space-sm);
1480    }
1481
1482    pub c_euv_bubble {
1483        position: "relative";
1484        display: "flex";
1485        width: "fit-content";
1486        min-width: "0px";
1487        flex-direction: "column";
1488
1489        gap: var!(space-xs);
1490    }
1491
1492    pub c_euv_bubble_content {
1493        width: "fit-content";
1494        max-width: "100%";
1495        min-width: "0px";
1496        overflow: "hidden";
1497        overflow-wrap: "break-word";
1498        padding: format!("{} {}", var!(space-sm), var!(space-md));
1499        border-radius: var!(radius-lg);
1500
1501        padding-top: var!(space-sm-md);
1502        padding-right: var!(space-md);
1503        padding-bottom: var!(space-sm-md);
1504        padding-left: var!(space-md);
1505        border-color: var!(border);
1506        border-bottom-style: "solid";
1507        border-left-style: "solid";
1508        border-right-style: "solid";
1509        border-top-style: "solid";
1510        border-bottom-width: var!(border-width);
1511        border-left-width: var!(border-width);
1512        border-right-width: var!(border-width);
1513        border-top-width: var!(border-width);
1514        border-bottom-right-radius: "24px";
1515        border-bottom-left-radius: "24px";
1516        border-top-right-radius: "24px";
1517        border-top-left-radius: "24px";
1518    }
1519
1520    pub c_euv_bubble_reactions {
1521        position: "absolute";
1522        display: "flex";
1523        width: "fit-content";
1524        align-items: "center";
1525        justify-content: "center";
1526
1527        background-color: var!(muted);
1528        border-bottom-right-radius: "9999px";
1529        border-bottom-left-radius: "9999px";
1530        border-top-right-radius: "9999px";
1531        border-top-left-radius: "9999px";
1532        gap: var!(space-xs);
1533        padding-left: var!(space-xs-sm);
1534        padding-top: var!(space-2xs);
1535    }
1536
1537    pub c_euv_message_scroller_content {
1538        display: "flex";
1539        min-height: "100%";
1540        flex-direction: "column";
1541
1542        gap: var!(space-3xl);
1543    }
1544
1545    pub c_euv_message_scroller_button {
1546        position: "absolute";
1547        left: "50%";
1548        display: "inline-flex";
1549        align-items: "center";
1550        justify-content: "center";
1551        border: format!("{} solid {}", var!(border-width), var!(border));
1552        border-radius: var!(radius-md);
1553        background: var!(background);
1554        color: var!(foreground);
1555        white-space: "nowrap";
1556        transform: "translateX(-50%)";
1557
1558        border-bottom-right-radius: var!(radius-2xl);
1559        border-bottom-left-radius: var!(radius-2xl);
1560        border-top-right-radius: var!(radius-2xl);
1561        border-top-left-radius: var!(radius-2xl);
1562        font-weight: var!(font-weight-medium);
1563    }
1564
1565    pub c_euv_trace {
1566        display: "flex";
1567        width: "100%";
1568        min-width: "0px";
1569        flex-direction: "column";
1570
1571        gap: var!(space-sm);
1572    }
1573
1574    pub c_euv_trace_line {
1575        display: "flex";
1576        width: "fit-content";
1577        max-width: "100%";
1578        min-width: "0px";
1579        align-items: "center";
1580        gap: var!(space-xs);
1581        color: var!(muted-foreground);
1582
1583        gap: var!(space-sm);
1584        color: var!(muted-foreground);
1585    }
1586
1587    pub c_euv_trace_collapsible_trigger {
1588        display: "flex";
1589        width: "fit-content";
1590        max-width: "100%";
1591        min-width: "0px";
1592        align-items: "center";
1593        text-align: "left";
1594        color: var!(muted-foreground);
1595        cursor: "pointer";
1596
1597        border-bottom-right-radius: var!(radius-lg);
1598        border-bottom-left-radius: var!(radius-lg);
1599        border-top-right-radius: var!(radius-lg);
1600        border-top-left-radius: var!(radius-lg);
1601        gap: var!(space-xs);
1602    }
1603
1604    pub c_euv_code_block {
1605        position: "relative";
1606        display: "flex";
1607        width: "100%";
1608        min-width: "0px";
1609        flex-direction: "column";
1610        overflow: "hidden";
1611        border: format!("{} solid {}", var!(border-width), var!(border));
1612        border-radius: var!(radius-md);
1613        background: var!(muted);
1614        color: var!(foreground);
1615
1616        border-radius: var!(radius-lg);
1617    }
1618
1619    pub c_euv_code_block_header {
1620        display: "flex";
1621        min-width: "0px";
1622        flex-shrink: "0";
1623        align-items: "center";
1624        gap: var!(space-sm);
1625        padding: format!("{} {}", var!(space-sm), var!(space-md));
1626        border-bottom: format!("{} solid {}", var!(border-width), var!(border));
1627
1628        padding: var!(space-md);
1629        color: var!(muted-foreground);
1630    }
1631
1632    pub c_euv_code_block_title {
1633        min-width: "0px";
1634        overflow: "hidden";
1635        text-overflow: "ellipsis";
1636        white-space: "nowrap";
1637        font-weight: var!(font-weight-medium);
1638
1639        color: var!(foreground);
1640    }
1641
1642    pub c_euv_code_block_actions {
1643        display: "flex";
1644        flex-shrink: "0";
1645        align-items: "center";
1646        gap: var!(space-2xs);
1647        margin-left: "auto";
1648
1649        gap: var!(space-xs);
1650    }
1651
1652    pub c_euv_code_block_copy_button {
1653        display: "inline-flex";
1654        align-items: "center";
1655        justify-content: "center";
1656        border: format!("{} solid {}", var!(border-width), var!(border));
1657        border-radius: var!(radius-sm);
1658        background: var!(background);
1659        color: var!(foreground);
1660        white-space: "nowrap";
1661        cursor: "pointer";
1662
1663        font-weight: var!(font-weight-medium);
1664    }
1665
1666    pub c_euv_code_block_content {
1667        min-height: "0px";
1668        min-width: "0px";
1669        overflow: "auto";
1670        text-align: "start";
1671        font-family: var!(font-family-mono);
1672        font-size: var!(font-sm);
1673        outline: "none";
1674
1675        padding-left: var!(space-lg);
1676        padding-top: var!(space-lg);
1677    }
1678
1679    pub c_euv_code_block_line {
1680        position: "relative";
1681        display: "block";
1682
1683        padding-left: var!(space-lg);
1684    }
1685
1686    pub c_euv_code_block_footer {
1687        display: "flex";
1688        min-width: "0px";
1689        flex-shrink: "0";
1690        align-items: "center";
1691        gap: var!(space-sm);
1692        padding: format!("{} {}", var!(space-sm), var!(space-md));
1693        border-top: format!("{} solid {}", var!(border-width), var!(border));
1694
1695        padding: var!(space-lg);
1696    }
1697
1698    pub c_euv_navigation_menu {
1699        position: "relative";
1700        display: "flex";
1701        width: "100%";
1702        justify-content: "center";
1703
1704        align-items: "center";
1705    }
1706
1707    pub c_euv_navigation_menu_list {
1708        display: "flex";
1709        flex-wrap: "wrap";
1710        align-items: "center";
1711        gap: var!(space-md);
1712        margin: "0px";
1713        padding: "0px";
1714        list-style: "none";
1715
1716        align-items: "center";
1717        gap: "0px";
1718        justify-content: "center";
1719    }
1720
1721    pub c_euv_navigation_menu_trigger {
1722        display: "inline-flex";
1723        align-items: "center";
1724        gap: var!(space-xs);
1725        padding: format!("{} {}", var!(space-xs), var!(space-sm));
1726        border: "none";
1727        background: "transparent";
1728        color: var!(foreground);
1729        font-size: var!(font-sm);
1730        font-weight: var!(font-weight-medium);
1731        white-space: "nowrap";
1732        cursor: "pointer";
1733
1734        border-bottom-right-radius: var!(radius-lg);
1735        border-bottom-left-radius: var!(radius-lg);
1736        border-top-right-radius: var!(radius-lg);
1737        border-top-left-radius: var!(radius-lg);
1738        justify-content: "center";
1739        padding-left: var!(control-pad-inline);
1740        padding-top: var!(space-xs-sm);
1741    }
1742
1743    pub c_euv_navigation_menu_link {
1744        display: "block";
1745        padding: format!("{} {}", var!(space-xs), var!(space-sm));
1746        border-radius: var!(radius-sm);
1747        color: var!(foreground);
1748        font-size: var!(font-sm);
1749        text-decoration: "none";
1750
1751        padding: var!(space-sm);
1752        border-radius: var!(radius-lg);
1753    }
1754
1755    pub c_euv_questionnaire {
1756        display: "flex";
1757        width: "100%";
1758        min-width: "0px";
1759        flex-direction: "column";
1760        gap: var!(space-md);
1761
1762        gap: var!(space-lg);
1763    }
1764
1765    pub c_euv_questionnaire_item {
1766        min-width: "0px";
1767        padding: "0px";
1768        border: "none";
1769        outline: "none";
1770
1771        gap: var!(space-lg);
1772    }
1773
1774    pub c_euv_questionnaire_title {
1775        font-size: var!(font-lg);
1776        font-weight: var!(font-weight-semibold);
1777        line-height: "1.2";
1778
1779        font-size: var!(font-base);
1780        font-weight: var!(font-weight-medium);
1781    }
1782
1783    pub c_euv_questionnaire_choice {
1784        position: "relative";
1785        display: "flex";
1786        min-height: var!(control-height);
1787        align-items: "flex-start";
1788        gap: var!(space-sm);
1789        padding: format!("{} {}", var!(space-sm), var!(space-md));
1790        border: format!("{} solid {}", var!(border-width), var!(border));
1791        border-radius: var!(radius-md);
1792        background: var!(background);
1793        text-align: "start";
1794        cursor: "pointer";
1795
1796        padding-top: var!(space-sm-md);
1797        padding-right: var!(space-md);
1798        padding-bottom: var!(space-sm-md);
1799        padding-left: var!(space-md);
1800        border-radius: var!(radius-lg);
1801        background-color: "transparent";
1802        border-color: var!(border);
1803        border-bottom-style: "solid";
1804        border-left-style: "solid";
1805        border-right-style: "solid";
1806        border-top-style: "solid";
1807        border-bottom-width: var!(border-width);
1808        border-left-width: var!(border-width);
1809        border-right-width: var!(border-width);
1810        border-top-width: var!(border-width);
1811        gap: var!(space-sm-md);
1812    }
1813
1814    pub c_euv_questionnaire_choice_enabled {
1815        cursor: "pointer";
1816
1817        background-color: "transparent";
1818        border-color: var!(border);
1819        border-bottom-style: "solid";
1820        border-left-style: "solid";
1821        border-right-style: "solid";
1822        border-top-style: "solid";
1823        border-bottom-width: var!(border-width);
1824        border-left-width: var!(border-width);
1825        border-right-width: var!(border-width);
1826        border-top-width: var!(border-width);
1827        gap: var!(space-sm-md);
1828        padding-top: var!(space-sm-md);
1829    }
1830
1831    pub c_euv_questionnaire_choice_disabled {
1832        pointer-events: "none";
1833        cursor: "not-allowed";
1834        opacity: "0.5";
1835
1836        background-color: "transparent";
1837        border-color: var!(border);
1838        border-bottom-style: "solid";
1839        border-left-style: "solid";
1840        border-right-style: "solid";
1841        border-top-style: "solid";
1842        border-bottom-width: var!(border-width);
1843        border-left-width: var!(border-width);
1844        border-right-width: var!(border-width);
1845        border-top-width: var!(border-width);
1846        gap: var!(space-sm-md);
1847        padding-top: var!(space-sm-md);
1848    }
1849
1850    pub c_euv_questionnaire_choice_label {
1851        display: "flex";
1852        min-width: "0px";
1853        flex: "1";
1854        flex-direction: "column";
1855        line-height: "1.3";
1856
1857        gap: var!(space-2xs);
1858    }
1859
1860    pub c_euv_questionnaire_choice_indicator {
1861        display: "flex";
1862        flex-shrink: "0";
1863        align-items: "center";
1864        justify-content: "center";
1865        width: var!(space-md);
1866        height: var!(space-md);
1867        border: format!("{} solid {}", var!(border-width), var!(border));
1868        border-radius: var!(radius-sm);
1869        background: var!(background);
1870
1871        border-color: var!(border);
1872        border-bottom-style: "solid";
1873        border-left-style: "solid";
1874        border-right-style: "solid";
1875        border-top-style: "solid";
1876        border-bottom-width: var!(border-width);
1877        border-left-width: var!(border-width);
1878        border-right-width: var!(border-width);
1879        border-top-width: var!(border-width);
1880    }
1881
1882    pub c_euv_questionnaire_input {
1883        width: "100%";
1884        height: var!(control-height);
1885        padding-left: var!(space-sm);
1886        padding-right: var!(space-sm);
1887        border: format!("{} solid {}", var!(border-width), var!(input));
1888        border-radius: var!(radius-md);
1889        background: var!(background);
1890        color: var!(foreground);
1891        font-size: var!(font-sm);
1892        outline: "none";
1893
1894        height: var!(control-height-sm);
1895        border-radius: var!(radius-lg);
1896        font-size: var!(font-base);
1897    }
1898
1899    pub c_euv_questionnaire_previous {
1900        display: "inline-flex";
1901        align-items: "center";
1902        justify-content: "center";
1903        height: var!(control-height);
1904        padding-left: var!(space-lg);
1905        padding-right: var!(space-lg);
1906        border: format!("{} solid {}", var!(border-width), var!(border));
1907        border-radius: var!(radius-md);
1908        background: var!(background);
1909        color: var!(foreground);
1910        font-size: var!(font-sm);
1911        white-space: "nowrap";
1912        cursor: "pointer";
1913
1914        height: var!(control-height-sm);
1915        border-radius: var!(radius-lg);
1916    }
1917
1918    pub c_euv_questionnaire_skip {
1919        display: "inline-flex";
1920        align-items: "center";
1921        justify-content: "center";
1922        height: var!(control-height);
1923        padding-left: var!(space-lg);
1924        padding-right: var!(space-lg);
1925        background: "transparent";
1926        color: var!(muted-foreground);
1927        font-size: var!(font-sm);
1928        white-space: "nowrap";
1929        cursor: "pointer";
1930
1931        height: var!(control-height-sm);
1932        gap: var!(space-xs-sm);
1933        border-bottom-right-radius: var!(radius-lg);
1934        border-bottom-left-radius: var!(radius-lg);
1935        border-top-right-radius: var!(radius-lg);
1936        border-top-left-radius: var!(radius-lg);
1937        background-color: var!(background);
1938        border-color: var!(border);
1939        border-bottom-style: "solid";
1940        border-left-style: "solid";
1941        border-right-style: "solid";
1942        border-top-style: "solid";
1943        border-bottom-width: var!(border-width);
1944        border-left-width: var!(border-width);
1945        border-right-width: var!(border-width);
1946        border-top-width: var!(border-width);
1947        font-weight: var!(font-weight-medium);
1948        padding-left: var!(control-pad-inline);
1949    }
1950
1951    pub c_euv_questionnaire_next {
1952        display: "inline-flex";
1953        align-items: "center";
1954        justify-content: "center";
1955        height: var!(control-height);
1956        padding-left: var!(space-lg);
1957        padding-right: var!(space-lg);
1958        border: format!("{} solid {}", var!(border-width), var!(border));
1959        border-radius: var!(radius-md);
1960        background: var!(primary);
1961        color: var!(primary-foreground);
1962        font-size: var!(font-sm);
1963        white-space: "nowrap";
1964        cursor: "pointer";
1965
1966        height: var!(control-height-sm);
1967        gap: var!(space-xs-sm);
1968        border-radius: var!(radius-lg);
1969        font-weight: var!(font-weight-medium);
1970        padding-left: var!(control-pad-inline);
1971    }
1972
1973    pub c_euv_questionnaire_submit {
1974        display: "inline-flex";
1975        align-items: "center";
1976        justify-content: "center";
1977        height: var!(control-height);
1978        padding-left: var!(space-lg);
1979        padding-right: var!(space-lg);
1980        border: format!("{} solid {}", var!(border-width), var!(border));
1981        border-radius: var!(radius-md);
1982        background: var!(primary);
1983        color: var!(primary-foreground);
1984        font-size: var!(font-sm);
1985        white-space: "nowrap";
1986        cursor: "pointer";
1987
1988        height: var!(control-height-sm);
1989        border-radius: var!(radius-lg);
1990    }
1991}