dsh-better-ask-user 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,99 +1,526 @@
1
- /* Align the takeover with the host conversation content axis. */
1
+ /* Keep both takeovers on the host composer's content axis. */
2
2
  .frame {
3
- --ask-accent: #3388BB;
3
+ --cfg-line: var(--dsw-alias-border-l2);
4
+ --cfg-line-strong: var(--dsw-alias-border-l3);
5
+ --cfg-surface: var(--dsw-alias-bg-layer-2);
6
+ --cfg-sunken: color-mix(in srgb, var(--dsw-alias-label-primary) 4%, var(--dsw-alias-bg-layer-1));
7
+ --cfg-ink: var(--dsw-alias-label-primary);
8
+ --cfg-muted: var(--dsw-alias-label-secondary);
9
+ --cfg-accent: #3388bb;
10
+ --cfg-accent-text: #14587f;
11
+ --cfg-hover: var(--dsw-alias-interactive-bg-hover);
12
+ --cfg-danger: var(--dsw-alias-state-error-primary);
13
+ --cfg-solid: #20709e;
14
+ --cfg-solid-hover: #1c638d;
15
+ --cfg-on-solid: #fff;
4
16
  display: flex;
5
17
  justify-content: center;
6
- padding: 8px calc(var(--dsh-composer-side-clearance) + 16px) calc(12px + env(safe-area-inset-bottom));
18
+ padding: 6px calc(var(--dsh-composer-side-clearance) + 16px) calc(10px + env(safe-area-inset-bottom));
7
19
  }
20
+
8
21
  .card {
9
22
  display: flex;
10
23
  flex-direction: column;
11
24
  width: 100%;
12
25
  min-width: 0;
13
26
  max-width: var(--dsh-chat-content-width);
27
+ /* Only the answer body scrolls; navigation remains reachable. */
14
28
  max-height: min(75vh, 640px);
15
29
  max-height: min(75dvh, 640px);
16
30
  overflow: hidden;
17
- border: 0.5px solid var(--dsw-alias-border-l3);
31
+ border: 1px solid var(--cfg-line);
32
+ border-top-color: var(--cfg-accent);
18
33
  border-radius: 12px;
19
- background: var(--dsw-alias-bg-layer-3);
20
- color: var(--dsw-alias-label-primary);
21
- font-size: 13px;
22
- line-height: 20px;
34
+ background: var(--cfg-surface);
35
+ color: var(--cfg-ink);
36
+ font-size: inherit;
23
37
  --dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l2);
24
38
  --dsh-scrollbar-thumb-hover: var(--dsw-alias-scrollbar-hover-l2);
25
39
  }
26
- .card, .card * { box-sizing: border-box; }
27
- .cardMinimized { max-height: none; }
28
- .header { display: flex; align-items: flex-start; justify-content: space-between; flex-shrink: 0; gap: 12px; padding: 16px 16px 12px; }
29
- .headingBlock { flex: 1; min-width: 0; }
30
- .eyebrow { margin-bottom: 4px; color: var(--dsw-alias-label-tertiary); font-size: 12px; line-height: 18px; }
31
- .title { margin: 0; max-height: 24vh; max-height: 24dvh; overflow-y: auto; font-size: 14px; line-height: 20px; font-weight: 500; }
32
- .title, .eyebrow, .optionLabel, .description, .detail { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
33
- .title > div, .eyebrow > div, .optionLabel > div, .description > div { margin: 0; }
34
- /* Host compact Markdown retains the surrounding label's typography. */
35
- .title > [data-markdown-variant='compact'], .optionLabel > [data-markdown-variant='compact'],
36
- .title > [data-markdown-variant='compact'] > p, .optionLabel > [data-markdown-variant='compact'] > p { color: inherit; font: inherit; }
37
- .headerActions, .footerActions, .pager { display: flex; align-items: center; flex-shrink: 0; gap: 4px; }
38
- .footerActions { margin-left: auto; gap: 8px; }
39
- .iconButton { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--dsw-alias-label-secondary); cursor: pointer; }
40
- .iconButton:hover:not(:disabled) { background: var(--dsw-alias-interactive-bg-hover); color: var(--dsw-alias-label-primary); }
41
- .card button:focus-visible { outline: 2px solid var(--ask-accent); outline-offset: -2px; }
42
- .card button:disabled { cursor: default; }
43
- .iconButton:disabled, .footerActions > button:disabled, .card[aria-busy='true'] .option, .fieldInput:disabled { opacity: .4; }
44
- .iconButton:active:not(:disabled) { background: color-mix(in srgb, var(--ask-accent) 10%, transparent); }
45
- .body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
46
- .detail { margin: 0 16px 12px; color: var(--dsw-alias-label-secondary); font-size: 13px; line-height: 20px; }
47
- .options { display: flex; flex-direction: column; gap: 2px; padding: 0 8px 16px; }
48
- .option, .customRow { display: flex; align-items: flex-start; flex-shrink: 0; gap: 8px; width: 100%; min-height: 36px; padding: 8px; border: 0.5px solid transparent; border-radius: 8px; transition: background-color 100ms ease, border-color 100ms ease; }
49
- .option { background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
50
- .option:hover:not(:disabled), .customRow:hover { background: var(--dsw-alias-interactive-bg-hover); }
51
- .optionSelected, .optionSelected:hover:not(:disabled), .customRowActive { border-color: color-mix(in srgb, var(--ask-accent) 22%, var(--dsw-alias-border-l2)); background: color-mix(in srgb, var(--ask-accent) 7%, transparent); }
52
- .option:active:not(:disabled) { background: color-mix(in srgb, var(--ask-accent) 13%, transparent); }
53
- .optionCopy { display: grid; gap: 4px; min-width: 0; flex: 1; }
54
- .optionLine { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
55
- .optionLabel { display: block; font-size: 13px; font-weight: 500; line-height: 20px; }
56
- .badge { padding: 0 6px; border: 0.5px solid var(--dsw-alias-border-l3); border-radius: 999px; color: var(--dsw-alias-label-tertiary); font-size: 12px; font-weight: 400; line-height: 18px; }
57
- .description { display: block; color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 18px; font-weight: 400; }
58
- .radio, .checkbox, .customIcon { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; color: var(--dsw-alias-label-secondary); }
59
- .radio::before, .checkbox::before { content: ''; box-sizing: border-box; grid-area: 1 / 1; width: 16px; height: 16px; border: 1px solid var(--dsw-alias-border-l4); }
60
- .radio::before { border-radius: 50%; corner-shape: round; }
61
- .radioChecked::before { border: 5px solid var(--ask-accent); }
40
+
41
+ .card,
42
+ .card * {
43
+ box-sizing: border-box;
44
+ }
45
+
46
+ .cardMinimized {
47
+ max-height: none;
48
+ }
49
+
50
+ .header {
51
+ display: flex;
52
+ align-items: flex-start;
53
+ justify-content: space-between;
54
+ flex-shrink: 0;
55
+ gap: 12px;
56
+ padding: 12px 12px 8px 16px;
57
+ }
58
+
59
+ .headingBlock {
60
+ flex: 1;
61
+ min-width: 0;
62
+ }
63
+
64
+ .titleRow {
65
+ display: flex;
66
+ align-items: flex-start;
67
+ flex-wrap: wrap;
68
+ gap: 6px;
69
+ min-width: 0;
70
+ }
71
+
72
+ .title {
73
+ flex: 1 1 auto;
74
+ margin: 0;
75
+ max-height: 24vh;
76
+ max-height: 24dvh;
77
+ overflow-y: auto;
78
+ font-size: 14px;
79
+ line-height: 20px;
80
+ font-weight: 500;
81
+ }
82
+
83
+ .headerChip,
84
+ .statusChip {
85
+ display: inline-flex;
86
+ align-items: center;
87
+ flex: none;
88
+ height: 20px;
89
+ max-width: 200px;
90
+ padding: 0 7px;
91
+ overflow: hidden;
92
+ border: 1px solid var(--cfg-line);
93
+ border-radius: 999px;
94
+ background: var(--cfg-sunken);
95
+ color: var(--cfg-muted);
96
+ font-size: 11px;
97
+ line-height: 18px;
98
+ white-space: nowrap;
99
+ text-overflow: ellipsis;
100
+ }
101
+
102
+ .statusChip {
103
+ border-color: color-mix(in srgb, var(--cfg-accent) 30%, var(--cfg-line));
104
+ background: color-mix(in srgb, var(--cfg-accent) 10%, transparent);
105
+ color: var(--cfg-accent-text);
106
+ font-weight: 500;
107
+ }
108
+
109
+ .title,
110
+ .headerChip,
111
+ .statusChip,
112
+ .optionLabel,
113
+ .description,
114
+ .detail {
115
+ min-width: 0;
116
+ overflow-wrap: anywhere;
117
+ word-break: break-word;
118
+ }
119
+
120
+ .title > div,
121
+ .headerChip > div,
122
+ .statusChip > div,
123
+ .optionLabel > div,
124
+ .description > div {
125
+ margin: 0;
126
+ }
127
+
128
+ /* Compact Markdown should retain the primary label's typography. */
129
+ .title > [data-markdown-variant='compact'],
130
+ .headerChip > [data-markdown-variant='compact'],
131
+ .optionLabel > [data-markdown-variant='compact'],
132
+ .title > [data-markdown-variant='compact'] > p,
133
+ .headerChip > [data-markdown-variant='compact'] > p,
134
+ .optionLabel > [data-markdown-variant='compact'] > p {
135
+ color: inherit;
136
+ font: inherit;
137
+ }
138
+
139
+ .headerActions,
140
+ .footerActions,
141
+ .pager {
142
+ display: flex;
143
+ align-items: center;
144
+ flex-shrink: 0;
145
+ gap: 4px;
146
+ }
147
+
148
+ .footerActions {
149
+ margin-left: auto;
150
+ gap: 8px;
151
+ }
152
+
153
+ .iconButton {
154
+ display: grid;
155
+ place-items: center;
156
+ width: 28px;
157
+ height: 28px;
158
+ padding: 0;
159
+ border: 0;
160
+ border-radius: 6px;
161
+ background: transparent;
162
+ color: var(--cfg-muted);
163
+ cursor: pointer;
164
+ }
165
+
166
+ .iconButton:hover:not(:disabled) {
167
+ background: var(--cfg-hover);
168
+ color: var(--cfg-ink);
169
+ }
170
+
171
+ .card button:focus-visible {
172
+ outline: 2px solid var(--cfg-accent);
173
+ outline-offset: -2px;
174
+ }
175
+
176
+ .card button:disabled {
177
+ cursor: default;
178
+ }
179
+
180
+ .iconButton:disabled,
181
+ .footerActions > button:disabled,
182
+ .card[aria-busy='true'] .option {
183
+ opacity: 0.4;
184
+ }
185
+
186
+ .iconButton:active:not(:disabled),
187
+ .option:active:not(:disabled) {
188
+ background: var(--cfg-hover);
189
+ }
190
+
191
+ .body {
192
+ display: flex;
193
+ flex: 1 1 auto;
194
+ flex-direction: column;
195
+ min-height: 0;
196
+ overflow-y: auto;
197
+ overscroll-behavior: contain;
198
+ scrollbar-gutter: stable;
199
+ }
200
+
201
+ .detail {
202
+ margin: 0 16px 8px;
203
+ color: var(--cfg-muted);
204
+ }
205
+
206
+ .options {
207
+ display: flex;
208
+ flex-direction: column;
209
+ gap: 2px;
210
+ padding: 0 8px 8px;
211
+ }
212
+
213
+ .option,
214
+ .customRow {
215
+ display: flex;
216
+ align-items: flex-start;
217
+ flex-shrink: 0;
218
+ gap: 8px;
219
+ width: 100%;
220
+ min-height: 36px;
221
+ padding: 7px 8px;
222
+ border: 1px solid transparent;
223
+ border-radius: 8px;
224
+ transition: background-color 140ms ease, border-color 140ms ease;
225
+ }
226
+
227
+ .option {
228
+ background: transparent;
229
+ color: inherit;
230
+ text-align: left;
231
+ cursor: pointer;
232
+ font: inherit;
233
+ }
234
+
235
+ .option:hover:not(:disabled),
236
+ .customRow:hover {
237
+ background: var(--cfg-hover);
238
+ }
239
+
240
+ .optionSelected,
241
+ .optionSelected:hover:not(:disabled),
242
+ .customRowActive {
243
+ border-color: var(--cfg-accent);
244
+ background: color-mix(in srgb, var(--cfg-accent) 8%, transparent);
245
+ }
246
+
247
+ .radio,
248
+ .checkbox,
249
+ .customIcon {
250
+ display: grid;
251
+ place-items: center;
252
+ flex: 0 0 20px;
253
+ width: 20px;
254
+ height: 20px;
255
+ color: var(--cfg-muted);
256
+ }
257
+
258
+ .radio::before, .checkbox::before {
259
+ content: '';
260
+ box-sizing: border-box;
261
+ grid-area: 1 / 1;
262
+ width: 16px;
263
+ height: 16px;
264
+ border: 1px solid var(--dsw-alias-border-l4);
265
+ }
266
+ .radio::before { border-radius: 50%; }
267
+ .radioChecked::before { border: 5px solid var(--cfg-accent); }
62
268
  .checkbox::before { border-radius: 4px; }
63
269
  .checkbox > svg { grid-area: 1 / 1; }
64
- .checkboxChecked { color: color-mix(in srgb, var(--ask-accent) 72%, var(--dsw-alias-label-primary)); }
65
- .checkboxChecked::before { border-color: var(--ask-accent); background: color-mix(in srgb, var(--ask-accent) 10%, transparent); }
66
- .customRow { margin-top: 12px; border-color: var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-layer-1); }
67
- .customRow:has(.fieldInput:focus-visible), .customBlock:has(.fieldInput:focus-visible) { outline: 2px solid var(--ask-accent); outline-offset: -2px; }
68
- /* Mirror and textarea share typography; only the textarea scrolls after six lines. */
69
- .field { display: grid; min-width: 0; --dsh-answer-field-padding: 0; }
70
- .field > * { grid-area: 1 / 1; min-width: 0; padding: var(--dsh-answer-field-padding); font: inherit; font-size: 13px; line-height: 20px; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
71
- .fieldMirror { box-sizing: content-box; max-height: 120px; overflow: hidden; visibility: hidden; }
72
- .fieldInput { resize: none; overflow-y: auto; border: 0; outline: none; background: transparent; color: var(--dsw-alias-label-primary); caret-color: var(--ask-accent); }
73
- .fieldInput::placeholder { color: var(--dsw-alias-label-tertiary); }
74
- .customInline { flex: 1; }
75
- .customBlock { min-height: 96px; flex-shrink: 0; margin: 0 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-layer-1); --dsh-answer-field-padding: 7px 10px; }
76
- .footer { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 12px; padding: 8px 16px; border-top: 0.5px solid var(--dsw-alias-border-l2); }
77
- .footerActions > button { height: 32px; min-height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13px; line-height: 20px; }
78
- .primaryButton { --dsw-alias-button-primary-fill: color-mix(in srgb, var(--ask-accent) 85%, black); --dsw-alias-button-primary-fill-hover: color-mix(in srgb, var(--ask-accent) 72%, black); --dsw-alias-label-primary-foreground: #fff; border-color: color-mix(in srgb, var(--ask-accent) 25%, var(--dsw-alias-border-l2)); background: var(--dsw-alias-button-primary-fill); color: var(--dsw-alias-label-primary-foreground); }
79
- .primaryButton:hover:not(:disabled) { background: var(--dsw-alias-button-primary-fill-hover); }
80
- .primaryButton:active:not(:disabled) { background: var(--dsw-alias-button-primary-fill-hover); }
81
- .progress { padding: 0 4px; color: var(--dsw-alias-label-secondary); font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12px; font-variant-numeric: tabular-nums; line-height: 20px; white-space: nowrap; }
82
- .feedback { flex: 1; min-width: 0; color: var(--dsw-alias-state-error-primary); font-size: 12px; line-height: 18px; overflow-wrap: anywhere; text-align: right; }
83
- .feedback:empty { display: none; }
84
- .reviewStatus, .reviewNote { margin: 0; padding: 0 16px 12px; color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 20px; }
270
+ .checkboxChecked { color: var(--cfg-accent); }
271
+ .checkboxChecked::before { border-color: currentColor; background: color-mix(in srgb, var(--cfg-accent) 10%, transparent); }
272
+
273
+ .optionCopy {
274
+ display: grid;
275
+ gap: 2px;
276
+ min-width: 0;
277
+ flex: 1;
278
+ }
279
+
280
+ .optionLine {
281
+ display: flex;
282
+ align-items: baseline;
283
+ flex-wrap: wrap;
284
+ gap: 2px 6px;
285
+ }
286
+
287
+ .optionLabel {
288
+ display: block;
289
+ font-size: inherit;
290
+ font-weight: 500;
291
+ line-height: 20px;
292
+ }
293
+
294
+ .badge {
295
+ display: inline-flex;
296
+ align-items: center;
297
+ height: 20px;
298
+ padding: 0 6px;
299
+ border: 1px solid color-mix(in srgb, var(--cfg-accent) 30%, var(--cfg-line));
300
+ border-radius: 999px;
301
+ background: color-mix(in srgb, var(--cfg-accent) 10%, transparent);
302
+ color: var(--cfg-accent-text);
303
+ font-size: 11px;
304
+ font-weight: 500;
305
+ line-height: 18px;
306
+ }
307
+
308
+ .description {
309
+ display: block;
310
+ color: var(--cfg-muted);
311
+ font-size: 12px;
312
+ line-height: 18px;
313
+ font-weight: 400;
314
+ }
315
+
316
+ .reviewNote {
317
+ margin: 0;
318
+ padding: 6px 8px;
319
+ color: var(--cfg-muted);
320
+ font-size: 12px;
321
+ line-height: 20px;
322
+ }
323
+
324
+ .customRow {
325
+ margin-top: 8px;
326
+ border-color: var(--cfg-line);
327
+ background: var(--cfg-surface);
328
+ }
329
+
330
+ .customRow:has(.fieldInput:focus-visible),
331
+ .customBlock:has(.fieldInput:focus-visible) {
332
+ outline: 2px solid var(--cfg-accent);
333
+ outline-offset: -2px;
334
+ }
335
+
336
+ /* The hidden mirror and textarea must share typography and padding so soft
337
+ wraps determine height. Only the textarea scrolls after six lines. */
338
+ .field {
339
+ display: grid;
340
+ min-width: 0;
341
+ --dsh-answer-field-padding: 0;
342
+ }
343
+
344
+ .field > * {
345
+ grid-area: 1 / 1;
346
+ min-width: 0;
347
+ padding: var(--dsh-answer-field-padding);
348
+ font: inherit;
349
+ font-size: inherit;
350
+ line-height: 20px;
351
+ white-space: pre-wrap;
352
+ word-break: break-word;
353
+ overflow-wrap: anywhere;
354
+ }
355
+
356
+ .fieldMirror {
357
+ box-sizing: content-box;
358
+ max-height: 120px;
359
+ overflow: hidden;
360
+ visibility: hidden;
361
+ }
362
+
363
+ .fieldInput {
364
+ resize: none;
365
+ overflow-y: auto;
366
+ border: 0;
367
+ outline: none;
368
+ background: transparent;
369
+ color: var(--cfg-ink);
370
+ caret-color: var(--cfg-accent);
371
+ }
372
+
373
+ .fieldInput::placeholder {
374
+ color: var(--dsw-alias-label-tertiary);
375
+ }
376
+
377
+ .customInline {
378
+ flex: 1;
379
+ }
380
+
381
+ .customBlock {
382
+ min-height: 60px;
383
+ flex-shrink: 0;
384
+ margin: 0 8px;
385
+ border: 1px solid var(--cfg-line);
386
+ border-radius: 8px;
387
+ background: var(--cfg-surface);
388
+ --dsh-answer-field-padding: 8px 12px;
389
+ }
390
+
391
+ .footer {
392
+ display: flex;
393
+ align-items: center;
394
+ justify-content: space-between;
395
+ flex-shrink: 0;
396
+ gap: 8px;
397
+ padding: 8px 12px;
398
+ border-top: 1px solid var(--cfg-line);
399
+ }
400
+
401
+ .progress {
402
+ padding: 0 4px;
403
+ color: var(--cfg-muted);
404
+ font-size: 11px;
405
+ font-variant-numeric: tabular-nums;
406
+ line-height: 20px;
407
+ white-space: nowrap;
408
+ }
409
+
410
+ .feedback {
411
+ flex: 1;
412
+ min-width: 0;
413
+ color: var(--cfg-muted);
414
+ font-size: 12px;
415
+ line-height: 18px;
416
+ overflow-wrap: anywhere;
417
+ text-align: right;
418
+ }
419
+
420
+ .feedback[data-error] { color: var(--cfg-danger); }
421
+
422
+ .button, .primary {
423
+ appearance: none;
424
+ display: inline-flex;
425
+ align-items: center;
426
+ justify-content: center;
427
+ gap: 6px;
428
+ height: 32px;
429
+ padding: 0 12px;
430
+ border: 1px solid var(--cfg-line);
431
+ border-radius: 8px;
432
+ box-shadow: none;
433
+ background: var(--cfg-surface);
434
+ color: var(--cfg-ink);
435
+ font: inherit;
436
+ font-size: 13px;
437
+ font-weight: 500;
438
+ cursor: pointer;
439
+ transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
440
+ }
441
+ .button:hover:not(:disabled) { background: var(--cfg-hover); }
442
+ .primary { min-width: 128px; border-color: transparent; background: var(--cfg-solid); color: var(--cfg-on-solid); }
443
+ .primary:hover:not(:disabled) { background: var(--cfg-solid-hover); }
444
+ .button:active:not(:disabled), .primary:active:not(:disabled) { background: color-mix(in srgb, var(--cfg-accent) 12%, var(--cfg-surface)); }
445
+ .iconButton, .option { appearance: none; box-shadow: none; }
446
+ .spinner { width: 12px; height: 12px; border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 800ms linear infinite; }
447
+ @keyframes spin { to { transform: rotate(360deg); } }
448
+
449
+ .feedback:empty {
450
+ display: none;
451
+ }
452
+
85
453
  @media (max-width: 720px) {
86
- .card { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); }
87
- .header { gap: 8px; padding: 16px 8px 16px 16px; }
88
- .detail { margin: 0 16px 16px; }
89
- .options { padding: 0 8px 16px; }
454
+ .card {
455
+ max-height: calc(100vh - 160px);
456
+ max-height: calc(100dvh - 160px);
457
+ }
458
+
459
+ .header {
460
+ gap: 8px;
461
+ padding: 10px 8px 8px 12px;
462
+ }
463
+
464
+ .field > * {
465
+ font-size: 16px;
466
+ line-height: 24px;
467
+ }
468
+
469
+ .fieldMirror {
470
+ max-height: 144px;
471
+ }
472
+
473
+ .footer {
474
+ flex-wrap: wrap;
475
+ padding: 8px;
476
+ }
477
+
478
+ .feedback {
479
+ flex: 1 1 100%;
480
+ order: 1;
481
+ text-align: left;
482
+ }
483
+
484
+ .footerActions {
485
+ margin-left: auto;
486
+ }
487
+ }
488
+
489
+ @media (max-width: 420px) {
490
+ .header {
491
+ flex-wrap: wrap;
492
+ }
493
+
494
+ .headingBlock {
495
+ flex-basis: calc(100% - 104px);
496
+ }
497
+
498
+ .footerActions {
499
+ flex: 1 1 100%;
500
+ }
501
+
502
+ .footerActions > button {
503
+ flex: 1;
504
+ }
505
+ }
506
+
507
+ @media (pointer: coarse) {
90
508
  .option, .customRow, .card button { min-height: 44px; }
91
509
  .iconButton { width: 44px; height: 44px; }
92
- .field > * { font-size: 16px; line-height: 24px; }
93
- .fieldMirror { max-height: 144px; }
94
- .footer { flex-wrap: wrap; padding: 12px 16px; }
95
- .feedback { flex: 1 1 100%; order: 1; text-align: left; }
96
- .footerActions { margin-left: auto; }
97
- }
98
- @media (max-width: 420px) { .header { flex-wrap: wrap; } .headingBlock { flex-basis: calc(100% - 104px); } .footerActions { flex: 1 1 100%; } .footerActions > button { flex: 1; } }
99
- @media (prefers-reduced-motion: reduce) { .option, .customRow { transition: none; } }
510
+ }
511
+
512
+ @media (prefers-reduced-motion: reduce) {
513
+ .spinner { animation: none; }
514
+ .option,
515
+ .customRow {
516
+ transition: none;
517
+ }
518
+ }
519
+
520
+ [data-ds-dark-theme] .frame {
521
+ --cfg-accent: #4eb0e8;
522
+ --cfg-accent-text: #6fc0ee;
523
+ --cfg-solid: #4eb0e8;
524
+ --cfg-solid-hover: #6fc0ee;
525
+ --cfg-on-solid: #0e1014;
526
+ }