dsh-cite 0.10.3 → 0.11.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.
- package/CHANGELOG.md +14 -0
- package/lib/client.js +1380 -187
- package/package.json +2 -2
package/lib/client.js
CHANGED
|
@@ -251,10 +251,10 @@ function __stardustUpdatesJoin(host, React, require, participant) {
|
|
|
251
251
|
if (typeof root.plugin !== 'function') return;
|
|
252
252
|
let record = pools.get(root);
|
|
253
253
|
if (!record) {
|
|
254
|
-
record = { refs: new Map(), timer: null, version: participant.version, alive: true, hold: false, uiRevision:
|
|
254
|
+
record = { refs: new Map(), timer: null, version: participant.version, alive: true, hold: false, uiRevision: 8, migration: Promise.resolve() };
|
|
255
255
|
pools.set(root, record);
|
|
256
256
|
__stardustUpdatesActivate(record, pools, root, React, require);
|
|
257
|
-
} else if ((record.uiRevision || 0) <
|
|
257
|
+
} else if ((record.uiRevision || 0) < 8 && !record.upgrading) {
|
|
258
258
|
// An earlier loaded participant may still own an older client revision. Keep
|
|
259
259
|
// its references and draft guards, wait for any admitted install, then
|
|
260
260
|
// replace that one client fiber instead of running two window heartbeats.
|
|
@@ -265,7 +265,7 @@ function __stardustUpdatesJoin(host, React, require, participant) {
|
|
|
265
265
|
if (!shared.alive || !shared.refs.size) return;
|
|
266
266
|
await shared.fiber?.dispose?.();
|
|
267
267
|
if (!shared.refs.size) return;
|
|
268
|
-
shared.alive = true; shared.uiRevision =
|
|
268
|
+
shared.alive = true; shared.uiRevision = 8; pools.set(root, shared);
|
|
269
269
|
__stardustUpdatesActivate(shared, pools, root, React, require);
|
|
270
270
|
}).catch(() => { /* The original page remains usable if host disposal fails. */ });
|
|
271
271
|
}
|
|
@@ -325,6 +325,20 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
325
325
|
const close = () => { void fetch(route, { method: 'POST', credentials: 'same-origin', keepalive: true, headers: { 'content-type': 'application/json', 'x-stardustlc-updates': '1' }, body: JSON.stringify({ action: 'client-close', id }) }).catch(() => {}); };
|
|
326
326
|
window.addEventListener('pagehide', close);
|
|
327
327
|
async function refresh() { const next = await api(); if (alive) { state = __stardustUpdatesDisplayRows(__stardustUpdatesSuiteRows(next, shared.refs.values()), knownRows); notify(); } return next; }
|
|
328
|
+
const STALE_CHECK_MS = 30 * 60 * 1000, STALE_RETRY_MS = 5 * 60 * 1000, staleChecks = new Map(), staleInFlight = new Set();
|
|
329
|
+
function refreshIfStale(row) {
|
|
330
|
+
if (!alive || !row || row.sourceKind !== 'registry' || row.bundledBy || !row.available || row.updating) return;
|
|
331
|
+
const now = Date.now();
|
|
332
|
+
if (row.checkedAt && now - row.checkedAt <= STALE_CHECK_MS) return;
|
|
333
|
+
if (staleInFlight.has(row.name) || now - (staleChecks.get(row.name) ?? -Infinity) < STALE_RETRY_MS) return;
|
|
334
|
+
staleChecks.set(row.name, now);
|
|
335
|
+
staleInFlight.add(row.name);
|
|
336
|
+
void (async () => {
|
|
337
|
+
try { await api({ action: 'check', name: row.name }); await refresh(); }
|
|
338
|
+
catch { /* Offline or transient errors stay silent and throttled by staleChecks. */ }
|
|
339
|
+
finally { staleInFlight.delete(row.name); }
|
|
340
|
+
})();
|
|
341
|
+
}
|
|
328
342
|
function useSnapshot() {
|
|
329
343
|
const [, render] = useState(0);
|
|
330
344
|
useEffect(() => { const fn = () => render(value => value + 1); listeners.add(fn); const stop = ctx.locale?.subscribe?.(fn); return () => { listeners.delete(fn); stop?.(); }; }, []);
|
|
@@ -340,7 +354,7 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
340
354
|
'restart-required': t('更新服务需要重启后继续。请在方便时手动重启 DSH。', 'The updater needs a restart. Restart DSH manually when convenient.'),
|
|
341
355
|
'operation-unconfirmed': t('上次安装未确认或恢复失败。请在官方插件管理中检查并修复,之后手动重启 DSH。', 'The last installation is unconfirmed or recovery failed. Check and repair it in native plugin management, then restart DSH manually.'),
|
|
342
356
|
'check-first': t('检查结果已过期,请重新检查。', 'This check expired. Check again.'),
|
|
343
|
-
'release-changed': t('
|
|
357
|
+
'release-changed': t('发现更新的发布版本(或发布信息已更新),已刷新至最新状态,请再次确认安装。', 'A newer release or updated metadata was found and refreshed; confirm again to install.'),
|
|
344
358
|
'preferences-conflict': t('另一个窗口修改了偏好,已刷新,请重试。', 'Preferences changed in another window. They have been refreshed; retry.'),
|
|
345
359
|
'preferences-unreadable': t('更新偏好文件无法读取,自动安装已关闭。请检查当前 profile 的 stardustlc-plugin-updates.json。', 'Preferences could not be read. Automatic installation is off. Check stardustlc-plugin-updates.json in this profile.'),
|
|
346
360
|
'no-update': t('版本已变化或暂不兼容,请重新检查。', 'The version changed or is incompatible. Check again.'),
|
|
@@ -351,6 +365,11 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
351
365
|
'unexpected-package': t('宿主装入的包或版本与目标不同。请检查版本和软件源策略。', 'The installed package or version differed from the target. Check the release and registry policy.'),
|
|
352
366
|
'version-unconfirmed': t('尚未确认新版已加载,请在插件详情中检查当前版本。', 'The new version could not be confirmed. Check the installed version in plugin details.'),
|
|
353
367
|
'build-blocked': t('构建脚本等待批准。请查看原生插件管理中的安装提示。', 'Build scripts await approval. Review the install details in native plugin management.'),
|
|
368
|
+
'bundle-in-use': t('宿主暂时无法热卸载旧版(通常因本轮刚更新过其他共用底层依赖的插件,内存路径待刷新;或同时启用了包含此组件的组合包):直接手动重启一次 DSH 即可继续更新,无需逐个停用插件。', 'The host cannot hot-unload the previous version right now (usually because another plugin sharing dependencies was updated earlier in this session, or a bundle containing this component is also active): restart DSH once and retry without disabling plugins one by one.'),
|
|
369
|
+
'already-installed': t('该包已在当前配置中,请刷新或重启 DSH 后查看当前版本。', 'This package is already present in the profile; refresh or restart DSH to inspect its version.'),
|
|
370
|
+
'incompatible-version': t('目标版本与当前运行的 DSH 版本不兼容。', 'The target version is incompatible with the running DSH version.'),
|
|
371
|
+
'stop-profile': t('当前配置未启用热重载,需关闭 DSH 后再通过命令行更新。', 'This profile runs without hot reload; stop DSH and update via CLI.'),
|
|
372
|
+
'not-removable': t('此内置或受保护插件不支持在此处移除替换。', 'This built-in or protected bundle cannot be replaced here.'),
|
|
354
373
|
})[code] || t('操作未完成,请刷新后重试。DSH 不会因此自动重启。', 'The operation could not be completed. Refresh and retry. DSH will not restart automatically.');
|
|
355
374
|
}
|
|
356
375
|
// releaseOf() keeps the failing engine/peer range check as a stable code; say which
|
|
@@ -380,6 +399,9 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
380
399
|
+ '.plugin-updates-footer .updates-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-block-size:28px;min-width:0}'
|
|
381
400
|
+ '.plugin-updates-footer .updates-bar-info,.plugin-updates-footer .updates-bar-actions,.plugin-updates-footer .updates-head-actions,.plugin-updates-footer .updates-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;min-width:0}'
|
|
382
401
|
+ '.plugin-updates-footer .updates-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 12px}'
|
|
402
|
+
+ '.plugin-updates-footer .updates-compact-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px}'
|
|
403
|
+
+ '.plugin-updates-footer .updates-compact-bar>.updates-options{margin-top:0;min-width:0}'
|
|
404
|
+
+ '.plugin-updates-footer .updates-compact-bar>.updates-options[open]{flex:1 1 100%}'
|
|
383
405
|
+ '.plugin-updates-footer h2{font-size:13.5px;line-height:1.4;margin:0;font-weight:600}'
|
|
384
406
|
+ '.plugin-updates-footer .updates-pill{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.5;background:var(--dsw-alias-bg-layer-2,var(--w-soft,#eef1f6));color:var(--dsw-alias-label-secondary,#657080)}'
|
|
385
407
|
+ '.plugin-updates-footer .updates-pill.is-accent{background:color-mix(in srgb,var(--w-accent,#4f6bdb) 14%,transparent);color:var(--w-accent,#4f6bdb)}'
|
|
@@ -427,8 +449,8 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
427
449
|
+ '@media(pointer:coarse){.plugin-updates-footer .w-button.is-sm{min-block-size:32px;min-height:32px;padding:5px 11px}}'
|
|
428
450
|
+ '@media(prefers-reduced-motion:no-preference){.plugin-updates-footer .updates-options>summary::before{transition:rotate .18s ease}.plugin-updates-footer details::details-content{transition:block-size .22s ease,content-visibility .22s ease allow-discrete}}'
|
|
429
451
|
+ '@media(max-width:600px){.plugin-updates-footer .updates-head{gap:8px}.plugin-updates-footer .w-toolbar{gap:6px;flex-wrap:wrap}.plugin-updates-footer .w-button{max-width:100%}}';
|
|
430
|
-
function FooterFrame({ name, label, inline = false, head, children }) {
|
|
431
|
-
return h('section', { className: 'dshw plugin-updates-footer' + (inline ? ' is-inline' : ''), 'data-plugin-update-footer': name, 'aria-label': label + t(' · 版本与更新', ' · Version and updates') },
|
|
452
|
+
function FooterFrame({ name, label, inline = false, supplement = false, head, children }) {
|
|
453
|
+
return h('section', { className: 'dshw plugin-updates-footer' + (inline ? ' is-inline' : ''), 'data-plugin-update-footer': name, 'aria-label': label + (supplement ? t(' · 自动更新与反馈', ' · Auto-update and feedback') : t(' · 版本与更新', ' · Version and updates')) },
|
|
432
454
|
h('style', null, W.styles),
|
|
433
455
|
h('style', null, FOOTER_CSS),
|
|
434
456
|
head, children);
|
|
@@ -438,12 +460,15 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
438
460
|
const seenActiveJob = useRef ? useRef(null) : { current: null };
|
|
439
461
|
const row = rowFor(name), original = originalRow(name), target = row?.name || name, prefs = preferences(target), job = snapshot?.job?.name === target ? snapshot.job : null;
|
|
440
462
|
if (job && ['verifying', 'installing', 'cancelling'].includes(job.state)) seenActiveJob.current = job.id;
|
|
463
|
+
const panelStaleTarget = !!snapshot && !!row && !!original && (!inline || (row.sourceKind === 'registry' && row.available && prefs.deferredUntil <= Date.now() && prefs.ignoredVersion !== row.release?.version));
|
|
464
|
+
useEffect(() => { if (panelStaleTarget && !activeJob()) refreshIfStale(row); }, [panelStaleTarget, row?.name, row?.available, row?.checkedAt]);
|
|
441
465
|
async function perform(callback) { setError(''); setWorking(true); try { await callback(); await refresh(); } catch (error) { setError(error.message); await refresh().catch(() => {}); } finally { setWorking(false); } }
|
|
442
466
|
async function save(changes, consent) { await api({ action: 'preferences', name: target, revision: state.preferences.revision, changes, consent }); }
|
|
443
|
-
async function check() { setError(''); setChecking(true); try { await api({ action: 'check', name: target }); await refresh(); } catch (error) { setError(error.message); } finally { setChecking(false); } }
|
|
467
|
+
async function check() { setError(''); setChecking(true); try { staleChecks.set(target, Date.now()); await api({ action: 'check', name: target }); await refresh(); } catch (error) { setError(error.message); } finally { setChecking(false); } }
|
|
444
468
|
async function runOperation(request) {
|
|
445
469
|
setDialog(null); manualOperation = true; notify();
|
|
446
|
-
|
|
470
|
+
setError(''); setWorking(true);
|
|
471
|
+
try {
|
|
447
472
|
try {
|
|
448
473
|
await heartbeat();
|
|
449
474
|
const started = await api(request);
|
|
@@ -453,8 +478,16 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
453
478
|
if (state.job?.id !== started.id) throw new Error('operation-unconfirmed');
|
|
454
479
|
if (!activeJob()) break;
|
|
455
480
|
}
|
|
481
|
+
await refresh();
|
|
456
482
|
} finally { manualOperation = false; notify(); }
|
|
457
|
-
})
|
|
483
|
+
} catch (err) {
|
|
484
|
+
setError(err.message);
|
|
485
|
+
if (request.action === 'install' && ['check-first', 'release-changed'].includes(err?.message)) {
|
|
486
|
+
staleChecks.set(target, Date.now());
|
|
487
|
+
await api({ action: 'check', name: target }).catch(() => {});
|
|
488
|
+
}
|
|
489
|
+
await refresh().catch(() => {});
|
|
490
|
+
} finally { setWorking(false); }
|
|
458
491
|
}
|
|
459
492
|
async function showNotes() {
|
|
460
493
|
if (notesOpen) { setNotesOpen(false); return; }
|
|
@@ -500,12 +533,15 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
500
533
|
h('div', { className: 'w-stack' },
|
|
501
534
|
isSuite && h('p', null, t('此处操作的是 Suite 整包,包含 18 个组件。独立安装的其他插件不受影响。', 'This action applies to the whole Suite, including its 18 components. Other independently installed plugins are unaffected.')),
|
|
502
535
|
h('p', { className: 'updates-version' }, target + ' · ' + row.version + ' → ' + selectedVersion),
|
|
503
|
-
h('p', null, selectedVersion === row.release?.version ? t('Harness 会热更新并重新加载;需要手动重启时,更新区会显示宿主结果,停用状态会保留。', 'Harness hot-updates and reloads in place. If a manual restart is needed, it appears in the update result; disabled status is preserved.') : message('check-first')),
|
|
536
|
+
h('p', null, selectedVersion === row.release?.version ? t('Harness 会热更新并重新加载;需要手动重启时,更新区会显示宿主结果,停用状态会保留。', 'Harness hot-updates and reloads in place. If a manual restart is needed, it appears in the update result; disabled status is preserved.') : (showUpdate && row.release?.version ? message('release-changed') : message('check-first'))),
|
|
504
537
|
h('div', { className: 'w-toolbar' }, h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
|
|
505
|
-
|
|
538
|
+
showUpdate && row.release?.version && row.release.version !== selectedVersion
|
|
539
|
+
? h(W.Button, { variant: 'primary', disabled: installLocked || row.loadError, onClick: () => { setError(''); setSelectedVersion(row.release.version); } }, t('更新为 v', 'Use v') + row.release.version)
|
|
540
|
+
: h(W.Button, { variant: 'primary', disabled: !canConfirm, onClick: () => runOperation({ action: 'install', name: target, version: selectedVersion, confirmation: 'update-installed-plugin' }) }, t('安装此版本', 'Install this version')))));
|
|
506
541
|
const checkButton = variant => h(W.Button, { variant, className: 'is-sm', icon: 'refresh', disabled: checkingThis || !managed, onClick: check }, checkingThis ? t('正在检查…', 'Checking…') : isSuite ? t('检查整包更新', 'Check Suite updates') : t('检查更新', 'Check for updates'));
|
|
542
|
+
const recheckButton = variant => h(W.Button, { variant, className: 'is-sm', icon: 'refresh', disabled: checkingThis || !managed, onClick: check }, checkingThis ? t('正在检查…', 'Checking…') : t('重新检查', 'Check again'));
|
|
507
543
|
const primary = showUpdate
|
|
508
|
-
? h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked || row.loadError, onClick: () => { setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('更新 Suite 至 v', 'Update Suite to v') : t('更新至 v', 'Update to v')) + row.release.version)
|
|
544
|
+
? h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked || row.loadError, onClick: () => { setError(''); if (job && !jobActiveThis && !unconfirmed) setDismissedJobId(job.id); setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('更新 Suite 至 v', 'Update Suite to v') : t('更新至 v', 'Update to v')) + row.release.version)
|
|
509
545
|
: managed ? checkButton() : null;
|
|
510
546
|
if (inline) {
|
|
511
547
|
const lockHint = unconfirmed ? message('operation-unconfirmed')
|
|
@@ -530,67 +566,103 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
530
566
|
h('div', { className: 'updates-bar-actions' },
|
|
531
567
|
staleWindows && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => setDialog('windows') }, t('确认已关闭窗口', 'Confirm closed windows')),
|
|
532
568
|
canCancel && h(W.Button, { className: 'is-sm', disabled: job?.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update')),
|
|
569
|
+
!jobActiveThis && error === 'check-first' && managed && recheckButton(actionableUpdate ? 'ghost' : 'primary'),
|
|
533
570
|
!jobActiveThis && actionableUpdate && row.release && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
534
571
|
!jobActiveThis && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
|
|
535
572
|
!jobActiveThis && actionableUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版', 'Ignore')),
|
|
536
573
|
!jobActiveThis && actionableUpdate && primary,
|
|
537
|
-
!jobActiveThis && !actionableUpdate && canSuggestAuto && h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => setDialog('automatic') }, t('开启空闲自动热更新', 'Enable idle auto-updates')),
|
|
574
|
+
!jobActiveThis && !actionableUpdate && canSuggestAuto && h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => { setError(''); setDialog('automatic'); } }, t('开启空闲自动热更新', 'Enable idle auto-updates')),
|
|
538
575
|
!jobActiveThis && !actionableUpdate && !unconfirmed && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => { setError(''); setNotesOpen(false); if (job) setDismissedJobId(job.id); } }, t('关闭', 'Dismiss')))) },
|
|
539
576
|
notesSection, windowsDialog, confirmDialog);
|
|
540
577
|
}
|
|
541
578
|
function progress() {
|
|
542
|
-
if (!job) return null;
|
|
579
|
+
if (!job || (!jobActiveThis && !unconfirmed && dismissedJobId === job.id)) return null;
|
|
543
580
|
if (job.state === 'complete' && !jobReason) {
|
|
544
581
|
return job.to ? h('div', null,
|
|
545
582
|
h('p', { className: 'w-muted updates-note' }, '✓ ' + jobLabel(job) + ' · ' + job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动更新', ' · Automatic update') : '')),
|
|
546
583
|
canSuggestAuto && h('div', { className: 'updates-auto-nudge' },
|
|
547
584
|
h('span', null, t('以后有兼容新版本时,需要空闲自动热更新吗?', 'Auto-install future compatible updates while idle?')),
|
|
548
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => setDialog('automatic') }, t('开启空闲自动热更新', 'Enable idle auto-updates'))
|
|
585
|
+
h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => { setError(''); setDialog('automatic'); } }, t('开启空闲自动热更新', 'Enable idle auto-updates')),
|
|
586
|
+
h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => setDismissedJobId(job.id) }, t('关闭', 'Dismiss')))) : null;
|
|
549
587
|
}
|
|
550
588
|
return h('section', { className: 'w-section', role: 'status', 'aria-label': t('更新进度', 'Update progress') },
|
|
551
589
|
h('h3', null, jobLabel(job)),
|
|
552
590
|
job.to && h('p', { className: 'w-muted' }, job.from + ' → ' + job.to + (job.mode === 'automatic' ? t(' · 自动更新', ' · Automatic update') : '')),
|
|
591
|
+
job.state === 'restart-required' && jobResult?.restartReason === 'package-moved' && h('p', { className: 'w-muted updates-note' }, t('新版已就绪;因多个独立插件共用底层依赖,请先手动重启一次 DSH 生效后再继续更新其他插件。', 'Installed; because standalone plugins share dependencies, restart DSH once before updating additional plugins.')),
|
|
553
592
|
jobReason && h(W.Status, { tone: 'error' }, message(jobReason)),
|
|
554
|
-
|
|
593
|
+
h('div', { className: 'updates-bar-actions', style: { marginTop: '6px' } },
|
|
594
|
+
canCancel && h(W.Button, { className: 'is-sm', disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update')),
|
|
595
|
+
!jobActiveThis && !unconfirmed && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: () => setDismissedJobId(job.id) }, t('关闭提示', 'Dismiss'))));
|
|
555
596
|
}
|
|
556
597
|
function windowControls() {
|
|
557
598
|
if (!staleWindows) return null;
|
|
558
599
|
return h(W.Status, null, h('p', null, t('有窗口已断开,无法确认是否还有未保存修改。仍在使用的窗口请先保存并刷新;已关闭的窗口可以手动重新确认。', 'A disconnected window may contain unsaved changes. Save and refresh windows still in use. If they are closed, you can confirm that manually.')), h(W.Button, { className: 'is-sm', onClick: () => setDialog('windows') }, t('重新确认已关闭的窗口', 'Confirm closed windows')));
|
|
559
600
|
}
|
|
560
|
-
const
|
|
601
|
+
const incompatibleText = row.release && !row.release.compatible ? t('新版本暂不兼容当前环境:', 'Latest release is incompatible with this environment: ') + requirement(row.release) + (row.release.required ? ' (' + row.release.required + ')' : '') : '';
|
|
602
|
+
const optionsSection = h('details', { className: 'updates-options' },
|
|
603
|
+
h('summary', null, !original.bundledBy ? t('自动更新与提醒', 'Auto-update & reminders') : t('更新选项', 'Update options'), ' · ', prefs.checkEnabled ? t('自动检查:开', 'Checks: on') : t('自动检查:关', 'Checks: off'), ' · ', prefs.autoInstall ? (prefs.autoScope === 'compatible' ? t('空闲自动热更新:兼容版', 'Idle auto-update: compatible') : t('空闲自动热更新:仅补丁', 'Idle auto-update: patches')) : t('空闲自动热更新:关', 'Idle auto-update: off')),
|
|
604
|
+
h('section', { className: 'updates-settings', 'aria-label': t('这个插件的更新偏好', 'Update preferences for this plugin') },
|
|
605
|
+
h('div', null, h(W.Switch, { label: isSuite ? t('自动检查 Suite 整包更新', 'Automatically check Suite updates') : t('自动检查这个插件的更新', 'Automatically check this plugin'), checked: prefs.checkEnabled, disabled: working || !!snapshot.preferenceError || !managed, onChange: event => perform(() => save({ checkEnabled: event.target.checked })) }), h('p', { className: 'w-muted updates-note' }, t('默认开启,每 6 小时最多一次。只影响这个安装包,关闭后仍可手动检查。', 'On by default, at most every 6 hours. This affects only this bundle; manual checks remain available.'))),
|
|
606
|
+
h('div', null, h(W.Switch, { label: isSuite ? t('空闲时自动热更新 Suite 兼容版本', 'Auto-install compatible Suite updates while idle') : t('空闲时自动热更新兼容版本', 'Auto-install compatible updates while idle'), checked: prefs.autoInstall, disabled: working || !!snapshot.preferenceError || !managed, onChange: event => event.target.checked ? (setError(''), setDialog('automatic')) : perform(() => save({ autoInstall: false })) }), h('p', { className: 'w-muted updates-note' }, t('默认关闭。明确开启后,仅在空闲且无未保存修改时热更新兼容稳定版(含功能小版本与补丁,不含跨主版本)。其他插件的开关不变。', 'Off by default. Explicitly enable compatible stable updates (minor and patch, excluding major) while idle with no unsaved changes. Other plugins’ settings stay unchanged.')), prefs.autoInstall && prefs.autoScope !== 'compatible' && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => { setError(''); setDialog('automatic'); } }, t('升级为包含兼容功能小版本', 'Include compatible minor updates')))));
|
|
607
|
+
const errorStatus = error && h(W.Status, { tone: 'error' }, error === 'check-first' && managed ? h('div', { className: 'updates-bar-actions' }, h('span', null, message(error)), recheckButton('ghost')) : message(error));
|
|
608
|
+
const linksNav = (() => {
|
|
609
|
+
const ownRepo = repoUrl(original.name), suiteRepo = repoUrl('@stardustlc/dsh-suite'), starRepo = isSuite ? suiteRepo : ownRepo;
|
|
610
|
+
if (!ownRepo && !starRepo) return null;
|
|
611
|
+
return h('nav', { className: 'updates-links', 'aria-label': t('开源仓库与反馈', 'Repository and feedback') },
|
|
612
|
+
starRepo && h('a', { href: starRepo, target: '_blank', rel: 'noreferrer noopener' }, isSuite ? t('★ 觉得好用?在 GitHub 给 dsh-suite 点个 Star', '★ Useful? Star dsh-suite on GitHub') : t('★ 觉得好用?在 GitHub 点个 Star', '★ Useful? Star on GitHub')),
|
|
613
|
+
ownRepo && h('a', { href: ownRepo + '/issues', target: '_blank', rel: 'noreferrer noopener' }, t('提交建议 / 问题反馈', 'Feedback & issues')),
|
|
614
|
+
isSuite && original.name !== '@stardustlc/dsh-suite' && ownRepo && h('a', { href: ownRepo, target: '_blank', rel: 'noreferrer noopener' }, t('组件仓库', 'Component repo')),
|
|
615
|
+
!isSuite && suiteRepo && h('a', { href: suiteRepo, target: '_blank', rel: 'noreferrer noopener' }, t('了解 dsh-suite(18 合 1 组合包)', 'Explore dsh-suite (18-in-1 bundle)')));
|
|
616
|
+
})();
|
|
617
|
+
if (!original.bundledBy) {
|
|
618
|
+
// Native bundle detail pages in DSH already render their own Version & Source sections
|
|
619
|
+
// ("重新检查", version list & "更新" button). Keep only non-duplicative auto-update preferences,
|
|
620
|
+
// inline changelog notes, compatibility/error diagnostics, and GitHub feedback links here.
|
|
621
|
+
return h(FooterFrame, { name, label: title, supplement: true, head: h('div', { className: 'updates-compact-bar' },
|
|
622
|
+
optionsSection,
|
|
623
|
+
(row.release || (showUpdate && (!deferred || !ignored))) && h('div', { className: 'updates-head-actions' },
|
|
624
|
+
row.release && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
625
|
+
showUpdate && !deferred && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('推迟提醒 24h', 'Snooze 24h')),
|
|
626
|
+
showUpdate && !ignored && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版提醒', 'Mute reminder')))) },
|
|
627
|
+
notesSection,
|
|
628
|
+
incompatibleText && h(W.Status, null, incompatibleText),
|
|
629
|
+
errorStatus, snapshot.preferenceError && h(W.Status, { tone: 'error' }, message('preferences-unreadable')),
|
|
630
|
+
snapshot.pendingRestart && h(W.Status, null, snapshot.updaterRestart ? message('restart-required') : t('已有插件更新等待手动重启后生效;空闲自动热更新已暂停,建议先重启一次 DSH 再继续更新其他共用依赖的插件。', 'An update awaits a manual restart; idle auto-updates are paused. Restart DSH once before updating other plugins that share dependencies.')),
|
|
631
|
+
prefs.autoInstall && snapshot.autoReady === false && h(W.Status, null, message('page-not-ready')),
|
|
632
|
+
(prefs.autoInstall || jobActiveThis) && windowControls(),
|
|
633
|
+
jobActiveThis && (snapshot.pages.dirty || ownPage.dirty) && h(W.Status, null, message('page-dirty')),
|
|
634
|
+
jobActiveThis && (snapshot.activity.busy || pageBusy) && h(W.Status, null, message(snapshot.activity.busy ? 'busy' : 'page-busy')),
|
|
635
|
+
deferred && h('p', { className: 'w-muted updates-note' }, t('已推迟此插件的对话页与工作台提醒 24 小时。', 'Chat and workbench reminders for this plugin are snoozed for 24 hours.')),
|
|
636
|
+
unconfirmed && h(W.Status, { tone: 'error' }, message('operation-unconfirmed')),
|
|
637
|
+
progress(),
|
|
638
|
+
linksNav,
|
|
639
|
+
windowsDialog, confirmDialog
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
const status = !managed ? t('本地 / 外部来源,保留原安装方式', 'Local / external source; keep original install method') : row.loadError ? t('加载异常,请先检查原生插件管理', 'Loading error; check native plugin management') : row.error ? t('检查失败,可以重试', 'Check failed; retry available') : incompatibleText || (row.available ? (ignored ? t('已忽略提醒,仍可手动更新', 'Reminder ignored; manual update available') : t('有兼容的新版本', 'Compatible update available')) : row.checkedAt ? t('当前已是最新稳定版', 'Latest stable version') : t('尚未检查', 'Not checked yet'));
|
|
561
643
|
return h(FooterFrame, { name, label: title, head: h('div', { className: 'updates-head' },
|
|
562
644
|
h('div', null,
|
|
563
|
-
h('div', { className: 'updates-title-row' }, h('h2', null, t('
|
|
564
|
-
h('p', { className: 'w-muted updates-meta-line' }, status,
|
|
565
|
-
|
|
645
|
+
h('div', { className: 'updates-title-row' }, h('h2', null, t('随 Suite 整包管理', 'Managed via Suite bundle')), h('span', { className: 'updates-mono updates-badge' }, original.name + ' · v' + original.version)),
|
|
646
|
+
h('p', { className: 'w-muted updates-meta-line' }, status, row.checkedAt ? ' · ' + t('上次检查:', 'Last checked: ') + new Date(row.checkedAt).toLocaleString(language() === 'en' ? 'en-US' : 'zh-CN') : ''),
|
|
647
|
+
h('p', { className: 'updates-version updates-note' }, target + ' · v' + row.version, row.release?.version && row.release.version !== row.version ? ' → v' + row.release.version : '')),
|
|
566
648
|
h('div', { className: 'updates-head-actions' },
|
|
567
649
|
showUpdate && checkButton('ghost'),
|
|
568
650
|
row.release && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: showNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
569
|
-
showUpdate && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
|
|
651
|
+
showUpdate && !deferred && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'later', name: target, revision: state.preferences.revision })) }, t('明天再提醒', 'Remind me tomorrow')),
|
|
570
652
|
showUpdate && !ignored && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(() => api({ action: 'ignore', name: target, revision: state.preferences.revision, version: row.release.version })) }, t('忽略此版本提醒', 'Ignore this reminder')),
|
|
571
653
|
primary)) },
|
|
572
654
|
notesSection,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
error && h(W.Status, { tone: 'error' }, message(error)), snapshot.preferenceError && h(W.Status, { tone: 'error' }, message('preferences-unreadable')),
|
|
577
|
-
snapshot.pendingRestart && h(W.Status, null, snapshot.updaterRestart ? message('restart-required') : t('已有更新等待手动重启后生效。你可以继续工作,自动安装已暂停。', 'Some updates need a manual restart. Continue your work; automatic installation is paused.')),
|
|
655
|
+
optionsSection,
|
|
656
|
+
errorStatus, snapshot.preferenceError && h(W.Status, { tone: 'error' }, message('preferences-unreadable')),
|
|
657
|
+
snapshot.pendingRestart && h(W.Status, null, snapshot.updaterRestart ? message('restart-required') : t('已有插件更新等待手动重启后生效;空闲自动热更新已暂停。', 'An update awaits a manual restart; idle auto-updates are paused.')),
|
|
578
658
|
prefs.autoInstall && snapshot.autoReady === false && h(W.Status, null, message('page-not-ready')),
|
|
579
659
|
windowControls(),
|
|
580
660
|
(showUpdate || jobActiveThis) && (snapshot.pages.dirty || ownPage.dirty) && h(W.Status, null, message('page-dirty')),
|
|
581
661
|
(showUpdate || jobActiveThis) && (snapshot.activity.busy || pageBusy) && h(W.Status, null, message(snapshot.activity.busy ? 'busy' : 'page-busy')),
|
|
582
|
-
deferred && h(W.Status, null, t('
|
|
662
|
+
deferred && h(W.Status, null, t('已推迟 Suite 提醒和自动安装 24 小时,仍可手动更新。', 'Suite reminders and automatic installation are deferred for 24 hours. Manual updates remain available.')),
|
|
583
663
|
unconfirmed && h(W.Status, { tone: 'error' }, message('operation-unconfirmed')),
|
|
584
664
|
progress(),
|
|
585
|
-
|
|
586
|
-
const ownRepo = repoUrl(original.name), suiteRepo = repoUrl('@stardustlc/dsh-suite'), starRepo = isSuite ? suiteRepo : ownRepo;
|
|
587
|
-
if (!ownRepo && !starRepo) return null;
|
|
588
|
-
return h('nav', { className: 'updates-links', 'aria-label': t('开源仓库与反馈', 'Repository and feedback') },
|
|
589
|
-
starRepo && h('a', { href: starRepo, target: '_blank', rel: 'noreferrer noopener' }, isSuite ? t('★ 觉得好用?在 GitHub 给 dsh-suite 点个 Star', '★ Useful? Star dsh-suite on GitHub') : t('★ 觉得好用?在 GitHub 点个 Star', '★ Useful? Star on GitHub')),
|
|
590
|
-
ownRepo && h('a', { href: ownRepo + '/issues', target: '_blank', rel: 'noreferrer noopener' }, t('提交建议 / 问题反馈', 'Feedback & issues')),
|
|
591
|
-
isSuite && original.name !== '@stardustlc/dsh-suite' && ownRepo && h('a', { href: ownRepo, target: '_blank', rel: 'noreferrer noopener' }, t('组件仓库', 'Component repo')),
|
|
592
|
-
!isSuite && suiteRepo && h('a', { href: suiteRepo, target: '_blank', rel: 'noreferrer noopener' }, t('了解 dsh-suite(18 合 1 组合包)', 'Explore dsh-suite (18-in-1 bundle)')));
|
|
593
|
-
})(),
|
|
665
|
+
linksNav,
|
|
594
666
|
windowsDialog, confirmDialog
|
|
595
667
|
);
|
|
596
668
|
}
|
|
@@ -600,20 +672,21 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
600
672
|
return name ? h(Panel, { name, inline: false }) : null;
|
|
601
673
|
}
|
|
602
674
|
function Reminder() {
|
|
603
|
-
const snapshot = useSnapshot(), [working, setWorking] = useState(false), [error, setError] = useState(''), [dialog, setDialog] = useState(null), [selectedTarget, setSelectedTarget] = useState(null), [selectedVersion, setSelectedVersion] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false), [dismissedJobId, setDismissedJobId] = useState(null);
|
|
675
|
+
const snapshot = useSnapshot(), [working, setWorking] = useState(false), [checking, setChecking] = useState(false), [error, setError] = useState(''), [dialog, setDialog] = useState(null), [selectedTarget, setSelectedTarget] = useState(null), [selectedVersion, setSelectedVersion] = useState(null), [notes, setNotes] = useState(null), [notesOpen, setNotesOpen] = useState(false), [loadingNotes, setLoadingNotes] = useState(false), [dismissedJobId, setDismissedJobId] = useState(null);
|
|
604
676
|
const seenJob = useRef ? useRef(null) : { current: null };
|
|
605
677
|
const footerVisible = [...(document.querySelectorAll?.('[data-plugin-update-footer]') || [])].some(node => node.getClientRects?.().length);
|
|
606
|
-
const
|
|
607
|
-
|
|
608
|
-
const candidate = snapshot?.rows?.find(item => {
|
|
678
|
+
const job = snapshot?.job && seenJob.current === snapshot.job.id && dismissedJobId !== snapshot.job.id ? snapshot.job : null;
|
|
679
|
+
const yielded = footerVisible && !job && !dialog && !working && !checking && !error && !legacyHint;
|
|
680
|
+
const candidate = yielded ? null : snapshot?.rows?.find(item => {
|
|
609
681
|
const prefs = preferences(item.name);
|
|
610
682
|
return item.sourceKind === 'registry' && item.available && !item.updating && !item.bundledBy && prefs.checkEnabled && prefs.deferredUntil <= Date.now() && prefs.ignoredVersion !== item.release?.version && !notified.has(item.name + '@' + item.release?.version);
|
|
611
683
|
});
|
|
612
|
-
const targetName =
|
|
684
|
+
const targetName = job?.name || selectedTarget || candidate?.name;
|
|
613
685
|
const row = targetName ? originalRow(targetName) : null;
|
|
614
|
-
|
|
615
|
-
if (
|
|
616
|
-
if (legacyHint && !candidate && !job && !dialog)
|
|
686
|
+
useEffect(() => { if (!yielded && row && (candidate || selectedTarget) && !activeJob()) refreshIfStale(row); }, [yielded, row?.name, row?.available, row?.checkedAt, !!candidate, selectedTarget]);
|
|
687
|
+
if (yielded) return null;
|
|
688
|
+
if (!legacyHint && !candidate && !job && !dialog && !(error && row)) return null;
|
|
689
|
+
if (legacyHint && !candidate && !job && !dialog && !(error && row)) {
|
|
617
690
|
const hint = legacyHint;
|
|
618
691
|
return h('aside', { className: 'dshw plugin-updates-reminder', role: 'status', 'aria-live': 'polite' },
|
|
619
692
|
h('style', null, W.styles), h('style', null, FOOTER_CSS),
|
|
@@ -625,6 +698,7 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
625
698
|
const prefs = preferences(row.name), isSuite = row.name === '@stardustlc/dsh-suite', label = language() === 'en' ? row.labelEn : row.label;
|
|
626
699
|
const ownPage = pageState(true), unconfirmed = ['unknown', 'restore-failed'].includes(snapshot.job?.state);
|
|
627
700
|
const pageBusy = ownPage.busy || (snapshot.pages.clients || []).some(c => c.id !== id && c.busy);
|
|
701
|
+
const checkingThis = checking || snapshot.checkingNames?.includes(row.name);
|
|
628
702
|
const installLocked = working || activeJob() || unconfirmed || snapshot.updaterRestart || snapshot.preferenceError || !snapshot.activity.known || snapshot.activity.busy || snapshot.pages.dirty || ownPage.dirty || pageBusy || !snapshot.pages.known || row.loadError;
|
|
629
703
|
const jobResult = job?.outcome?.result;
|
|
630
704
|
const jobReason = job ? job.reason || (jobResult?.pendingBuilds || jobResult?.failureKind === 'build-blocked' ? 'build-blocked' : jobResult?.error?.code) : null;
|
|
@@ -632,21 +706,31 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
632
706
|
const canSuggestAuto = !!job && job.state === 'complete' && !jobReason && (!prefs.autoInstall || prefs.autoScope !== 'compatible') && !snapshot.preferenceError;
|
|
633
707
|
const key = row.release?.version ? row.name + '@' + row.release.version : null;
|
|
634
708
|
async function perform(callback) { setError(''); setWorking(true); try { await callback(); await refresh(); } catch (err) { setError(err.message); await refresh().catch(() => {}); } finally { setWorking(false); } }
|
|
709
|
+
async function checkReminder() { setError(''); setChecking(true); try { staleChecks.set(row.name, Date.now()); await api({ action: 'check', name: row.name }); await refresh(); } catch (err) { setError(err.message); } finally { setChecking(false); } }
|
|
635
710
|
async function runInstall() {
|
|
636
711
|
setDialog(null); manualOperation = true; notify();
|
|
637
|
-
|
|
712
|
+
setError(''); setWorking(true);
|
|
713
|
+
try {
|
|
638
714
|
try {
|
|
639
715
|
await heartbeat();
|
|
640
716
|
const started = await api({ action: 'install', name: row.name, version: selectedVersion, confirmation: 'update-installed-plugin' });
|
|
641
717
|
seenJob.current = started.id;
|
|
642
|
-
if (key) notified.add(key);
|
|
643
718
|
while (alive) {
|
|
644
719
|
await new Promise(resolve => setTimeout(resolve, 800)); await heartbeat(); await refresh();
|
|
645
720
|
if (state.job?.id !== started.id) throw new Error('operation-unconfirmed');
|
|
646
721
|
if (!activeJob()) break;
|
|
647
722
|
}
|
|
723
|
+
if (key && ['complete', 'restart-required'].includes(state?.job?.state)) notified.add(key);
|
|
724
|
+
await refresh();
|
|
648
725
|
} finally { manualOperation = false; notify(); }
|
|
649
|
-
})
|
|
726
|
+
} catch (err) {
|
|
727
|
+
setError(err.message);
|
|
728
|
+
if (['check-first', 'release-changed'].includes(err?.message)) {
|
|
729
|
+
staleChecks.set(row.name, Date.now());
|
|
730
|
+
await api({ action: 'check', name: row.name }).catch(() => {});
|
|
731
|
+
}
|
|
732
|
+
await refresh().catch(() => {});
|
|
733
|
+
} finally { setWorking(false); }
|
|
650
734
|
}
|
|
651
735
|
async function toggleNotes() {
|
|
652
736
|
if (notesOpen) { setNotesOpen(false); return; }
|
|
@@ -676,17 +760,19 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
676
760
|
: h('div', { className: 'w-stack' },
|
|
677
761
|
isSuite && h('p', null, t('此处操作的是 Suite 整包,包含 18 个组件。独立安装的其他插件不受影响。', 'This action applies to the whole Suite, including its 18 components. Other independently installed plugins are unaffected.')),
|
|
678
762
|
h('p', { className: 'updates-mono' }, row.name + ' · v' + row.version + ' → v' + selectedVersion),
|
|
679
|
-
h('p', null, t('Harness 会原地热更新并重新加载,无需离开当前聊天;若需要手动重启会在此处说明。', 'Harness hot-updates and reloads in place without leaving your chat; if a manual restart is needed, it appears here.')),
|
|
763
|
+
h('p', null, row.release?.version === selectedVersion ? t('Harness 会原地热更新并重新加载,无需离开当前聊天;若需要手动重启会在此处说明。', 'Harness hot-updates and reloads in place without leaving your chat; if a manual restart is needed, it appears here.') : (row.available && row.release?.version ? message('release-changed') : message('check-first'))),
|
|
680
764
|
h('div', { className: 'w-toolbar' },
|
|
681
765
|
h(W.Button, { onClick: () => setDialog(null) }, t('取消', 'Cancel')),
|
|
682
|
-
|
|
766
|
+
row.available && row.release?.version && row.release.version !== selectedVersion
|
|
767
|
+
? h(W.Button, { variant: 'primary', disabled: installLocked, onClick: () => { setError(''); setSelectedVersion(row.release.version); } }, t('更新为 v', 'Use v') + row.release.version)
|
|
768
|
+
: h(W.Button, { variant: 'primary', disabled: installLocked || row.release?.version !== selectedVersion, onClick: runInstall }, t('安装此版本', 'Install this version')))));
|
|
683
769
|
return h('aside', { className: 'dshw plugin-updates-reminder', 'data-plugin-update-reminder': row.name, role: 'status', 'aria-live': 'polite' },
|
|
684
770
|
h('style', null, W.styles), h('style', null, FOOTER_CSS),
|
|
685
771
|
h('div', { className: 'reminder-head' },
|
|
686
772
|
h('div', { className: 'reminder-title' },
|
|
687
773
|
h('span', { className: 'updates-pill' + (job && ['failed', 'restore-failed', 'unknown', 'restored'].includes(job.state) ? ' is-error' : '') },
|
|
688
774
|
job ? jobLabel(job) : isSuite ? t('Suite 新版本', 'Suite update') : label + t(' 有新版本', ' update')),
|
|
689
|
-
h('span', { className: 'updates-mono' }, job ? ('v' + job.from + ' → v' + job.to) : ('v' + row.version + ' → v' + row.release.version))),
|
|
775
|
+
h('span', { className: 'updates-mono' }, job ? ('v' + job.from + ' → v' + job.to) : ('v' + row.version + (row.release?.version ? ' → v' + row.release.version : '')))),
|
|
690
776
|
!jobRunning && h('button', { type: 'button', className: 'reminder-close', 'aria-label': t('关闭提醒', 'Dismiss reminder'), onClick: dismiss }, '×')),
|
|
691
777
|
jobReason && h('p', { className: 'updates-inline-msg is-error', style: { margin: '4px 0 0' } }, message(jobReason)),
|
|
692
778
|
error && h('p', { className: 'updates-inline-msg is-error', role: 'alert', style: { margin: '4px 0 0' } }, message(error)),
|
|
@@ -696,11 +782,12 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
696
782
|
: ''),
|
|
697
783
|
canSuggestAuto && h('div', { className: 'updates-auto-nudge' },
|
|
698
784
|
h('span', null, t('下次有兼容新版本时,空闲自动热更新?', 'Auto-install future compatible updates while idle?')),
|
|
699
|
-
h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => { setSelectedTarget(row.name); setDialog('automatic'); } }, t('开启空闲自动热更新', 'Enable idle auto-updates'))),
|
|
700
|
-
!job && h('div', { className: 'reminder-actions' },
|
|
701
|
-
h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked, onClick: () => { setSelectedTarget(row.name); setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('热更新 Suite 至 v', 'Update Suite to v') : t('热更新至 v', 'Update to v')) + row.release.version),
|
|
702
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm',
|
|
703
|
-
h(W.Button, { variant: 'ghost', className: 'is-sm',
|
|
785
|
+
h(W.Button, { variant: 'primary', className: 'is-sm', disabled: working, onClick: () => { setError(''); setSelectedTarget(row.name); setDialog('automatic'); } }, t('开启空闲自动热更新', 'Enable idle auto-updates'))),
|
|
786
|
+
!jobRunning && !unconfirmed && !['complete', 'restart-required'].includes(job?.state) && h('div', { className: 'reminder-actions' },
|
|
787
|
+
row.available && row.release?.version && h(W.Button, { variant: 'primary', className: 'is-sm', icon: 'download', disabled: installLocked || checkingThis, onClick: () => { setError(''); if (job) setDismissedJobId(job.id); setSelectedTarget(row.name); setSelectedVersion(row.release.version); setDialog('install'); } }, (isSuite ? t('热更新 Suite 至 v', 'Update Suite to v') : t('热更新至 v', 'Update to v')) + row.release.version),
|
|
788
|
+
error === 'check-first' && h(W.Button, { variant: row.available ? 'ghost' : 'primary', className: 'is-sm', icon: 'refresh', disabled: working || checkingThis, onClick: checkReminder }, checkingThis ? t('正在检查…', 'Checking…') : t('重新检查', 'Check again')),
|
|
789
|
+
row.release?.version && h(W.Button, { variant: 'ghost', className: 'is-sm', onClick: toggleNotes, 'aria-expanded': notesOpen }, t('更新记录', 'Release notes')),
|
|
790
|
+
row.available && h(W.Button, { variant: 'ghost', className: 'is-sm', disabled: working, onClick: () => perform(async () => { await api({ action: 'later', name: row.name, revision: state.preferences.revision }); dismiss(); }) }, t('明天再提醒', 'Remind tomorrow'))),
|
|
704
791
|
jobRunning && !['applying', 'restoring'].includes(job.phase) && h('div', { className: 'reminder-actions' },
|
|
705
792
|
h(W.Button, { className: 'is-sm', disabled: job.state === 'cancelling', onClick: () => perform(() => api({ action: 'cancel', id: job.id })) }, t('取消更新', 'Cancel update'))),
|
|
706
793
|
notesOpen && h('section', { className: 'updates-notes', 'aria-label': t('更新记录', 'Release notes') },
|
|
@@ -741,14 +828,85 @@ function __stardustUpdatesClient(ctx, React, require, shared) {
|
|
|
741
828
|
/* STARDUSTLC_UPDATE_CLIENT_BODY_START */
|
|
742
829
|
// Generated from templates/client.js, templates/panels/ and templates/workbench-ui.js. Edit the sources.
|
|
743
830
|
(function () {
|
|
744
|
-
|
|
745
|
-
*
|
|
746
|
-
*
|
|
831
|
+
/**
|
|
832
|
+
* DeepSeek Harness (>=0.2.2-rc.3) Unified Style Switcher, Layout & Motion Primitives v3
|
|
833
|
+
* Shared across STARDUSTLC666 workbench plugins:
|
|
834
|
+
* dsh-email, dsh-calendar, dsh-cite, dsh-dream, dsh-code-security,
|
|
835
|
+
* dsh-rss, dsh-ppt, dsh-remotion, dsh-hyperframes
|
|
836
|
+
*
|
|
837
|
+
* Zero external runtime imports: accepts `React` and optional `require` so this
|
|
838
|
+
* module can be bundled via esbuild IIFE or inlined into classic DSH client
|
|
839
|
+
* scripts without requiring `react` in plugin `node_modules` or triggering
|
|
840
|
+
* eager UI `require()` calls during `window.__ModuleLoader__.load`.
|
|
747
841
|
*/
|
|
842
|
+
|
|
748
843
|
const DSH_STYLE_STORAGE_KEY = 'dsh-stardust:ui-style';
|
|
749
844
|
const DSH_STYLE_EVENT = 'dsh-stardust-style';
|
|
750
845
|
const DSH_DEFAULT_STYLE = 'harness';
|
|
751
846
|
|
|
847
|
+
const DSH_FONT_STORAGE_KEY = 'dsh-stardust:ui-font';
|
|
848
|
+
const DSH_FONT_EVENT = 'dsh-stardust-font';
|
|
849
|
+
const DSH_DEFAULT_FONT = 'arcade';
|
|
850
|
+
|
|
851
|
+
const DSH_FONTS = Object.freeze([
|
|
852
|
+
Object.freeze({
|
|
853
|
+
id: 'arcade',
|
|
854
|
+
zh: '幼圆等宽(默认)',
|
|
855
|
+
zhShort: '幼圆',
|
|
856
|
+
en: 'YouYuan Mono (Default)',
|
|
857
|
+
enShort: 'YouYuan',
|
|
858
|
+
}),
|
|
859
|
+
Object.freeze({
|
|
860
|
+
id: 'auto',
|
|
861
|
+
zh: '跟随风格专属字',
|
|
862
|
+
zhShort: '专属字',
|
|
863
|
+
en: 'Match Style Font',
|
|
864
|
+
enShort: 'Style Font',
|
|
865
|
+
}),
|
|
866
|
+
Object.freeze({
|
|
867
|
+
id: 'songkai',
|
|
868
|
+
zh: '中宋+楷书',
|
|
869
|
+
zhShort: '中宋楷',
|
|
870
|
+
en: 'Song + Kai',
|
|
871
|
+
enShort: 'Song+Kai',
|
|
872
|
+
}),
|
|
873
|
+
Object.freeze({
|
|
874
|
+
id: 'fangsong',
|
|
875
|
+
zh: '工程仿宋',
|
|
876
|
+
zhShort: '仿宋',
|
|
877
|
+
en: 'Blueprint FangSong',
|
|
878
|
+
enShort: 'FangSong',
|
|
879
|
+
}),
|
|
880
|
+
Object.freeze({
|
|
881
|
+
id: 'poster',
|
|
882
|
+
zh: '重磅画报黑',
|
|
883
|
+
zhShort: '画报黑',
|
|
884
|
+
en: 'Poster Sans',
|
|
885
|
+
enShort: 'Poster',
|
|
886
|
+
}),
|
|
887
|
+
Object.freeze({
|
|
888
|
+
id: 'retro98',
|
|
889
|
+
zh: '千禧新宋',
|
|
890
|
+
zhShort: '新宋98',
|
|
891
|
+
en: 'Retro 98 SimSun',
|
|
892
|
+
enShort: 'Retro 98',
|
|
893
|
+
}),
|
|
894
|
+
Object.freeze({
|
|
895
|
+
id: 'serif',
|
|
896
|
+
zh: '思源书宋',
|
|
897
|
+
zhShort: '书宋',
|
|
898
|
+
en: 'Book Serif',
|
|
899
|
+
enShort: 'Serif',
|
|
900
|
+
}),
|
|
901
|
+
Object.freeze({
|
|
902
|
+
id: 'modern',
|
|
903
|
+
zh: '现代思源黑',
|
|
904
|
+
zhShort: '思源黑',
|
|
905
|
+
en: 'Modern Sans',
|
|
906
|
+
enShort: 'Modern',
|
|
907
|
+
}),
|
|
908
|
+
]);
|
|
909
|
+
|
|
752
910
|
const DSH_STYLES = Object.freeze([
|
|
753
911
|
Object.freeze({
|
|
754
912
|
id: 'harness',
|
|
@@ -779,8 +937,8 @@ const DSH_STYLES = Object.freeze([
|
|
|
779
937
|
}),
|
|
780
938
|
Object.freeze({
|
|
781
939
|
id: 'pixel8bit',
|
|
782
|
-
zh: '8-Bit
|
|
783
|
-
zhShort: '8-Bit
|
|
940
|
+
zh: '8-Bit 掌机',
|
|
941
|
+
zhShort: '8-Bit',
|
|
784
942
|
en: 'Bright 8-Bit',
|
|
785
943
|
enShort: '8-Bit',
|
|
786
944
|
swatch: '#2e7d5b',
|
|
@@ -795,20 +953,107 @@ const DSH_STYLES = Object.freeze([
|
|
|
795
953
|
swatch: '#0f766e',
|
|
796
954
|
surface: '#f5fafb',
|
|
797
955
|
}),
|
|
956
|
+
Object.freeze({
|
|
957
|
+
id: 'glass',
|
|
958
|
+
zh: '晴昼琉璃',
|
|
959
|
+
zhShort: '琉璃',
|
|
960
|
+
en: 'Daylight Glass',
|
|
961
|
+
enShort: 'Glass',
|
|
962
|
+
swatch: '#4f6df5',
|
|
963
|
+
surface: '#f3f7ff',
|
|
964
|
+
}),
|
|
965
|
+
Object.freeze({
|
|
966
|
+
id: 'eink',
|
|
967
|
+
zh: '护眼墨水屏',
|
|
968
|
+
zhShort: '墨水屏',
|
|
969
|
+
en: 'E-Ink Paper',
|
|
970
|
+
enShort: 'E-Ink',
|
|
971
|
+
swatch: '#171716',
|
|
972
|
+
surface: '#f2f1ec',
|
|
973
|
+
}),
|
|
974
|
+
Object.freeze({
|
|
975
|
+
id: 'blueprint',
|
|
976
|
+
zh: '工程晒图',
|
|
977
|
+
zhShort: '晒图',
|
|
978
|
+
en: 'Blueprint',
|
|
979
|
+
enShort: 'Blueprint',
|
|
980
|
+
swatch: '#0d3b66',
|
|
981
|
+
surface: '#eaf3fb',
|
|
982
|
+
}),
|
|
983
|
+
Object.freeze({
|
|
984
|
+
id: 'risograph',
|
|
985
|
+
zh: '波普孔版',
|
|
986
|
+
zhShort: '孔版',
|
|
987
|
+
en: 'Riso Zine',
|
|
988
|
+
enShort: 'Riso',
|
|
989
|
+
swatch: '#ff3e7f',
|
|
990
|
+
surface: '#faf6ee',
|
|
991
|
+
}),
|
|
992
|
+
Object.freeze({
|
|
993
|
+
id: 'win98',
|
|
994
|
+
zh: '千禧复古',
|
|
995
|
+
zhShort: '复古98',
|
|
996
|
+
en: 'Retro 98',
|
|
997
|
+
enShort: 'Retro 98',
|
|
998
|
+
swatch: '#1b4f9c',
|
|
999
|
+
surface: '#dcdcdc',
|
|
1000
|
+
}),
|
|
1001
|
+
Object.freeze({
|
|
1002
|
+
id: 'songhui',
|
|
1003
|
+
zh: '宋韵朱砂',
|
|
1004
|
+
zhShort: '宋韵',
|
|
1005
|
+
en: 'Song Xuan',
|
|
1006
|
+
enShort: 'Song',
|
|
1007
|
+
swatch: '#b83b2a',
|
|
1008
|
+
surface: '#f7f3e8',
|
|
1009
|
+
}),
|
|
1010
|
+
Object.freeze({
|
|
1011
|
+
id: 'frutiger',
|
|
1012
|
+
zh: '晴空水晶',
|
|
1013
|
+
zhShort: '水晶',
|
|
1014
|
+
en: 'Aqua Gloss',
|
|
1015
|
+
enShort: 'Aqua',
|
|
1016
|
+
swatch: '#0ea5e9',
|
|
1017
|
+
surface: '#eaf7ff',
|
|
1018
|
+
}),
|
|
1019
|
+
Object.freeze({
|
|
1020
|
+
id: 'gazette',
|
|
1021
|
+
zh: '铅字晨报',
|
|
1022
|
+
zhShort: '晨报',
|
|
1023
|
+
en: 'Gazette',
|
|
1024
|
+
enShort: 'Gazette',
|
|
1025
|
+
swatch: '#9b1c1c',
|
|
1026
|
+
surface: '#f6f3ec',
|
|
1027
|
+
}),
|
|
798
1028
|
]);
|
|
799
1029
|
|
|
800
|
-
const
|
|
801
|
-
const
|
|
802
|
-
const DSH_STYLE_SUBSCRIBERS = new Set();
|
|
1030
|
+
const VALID_STYLE_IDS = new Set(DSH_STYLES.map(preset => preset.id));
|
|
1031
|
+
const VALID_FONT_IDS = new Set(DSH_FONTS.map(preset => preset.id));
|
|
803
1032
|
|
|
804
|
-
function
|
|
1033
|
+
function resolveWindow(win) {
|
|
805
1034
|
if (win && typeof win === 'object') return win;
|
|
806
1035
|
return typeof window !== 'undefined' ? window : null;
|
|
807
1036
|
}
|
|
808
1037
|
|
|
1038
|
+
function resolveReact(explicitReact) {
|
|
1039
|
+
if (explicitReact && typeof explicitReact.createElement === 'function') return explicitReact;
|
|
1040
|
+
if (typeof globalThis !== 'undefined' && globalThis.React && typeof globalThis.React.createElement === 'function') {
|
|
1041
|
+
return globalThis.React;
|
|
1042
|
+
}
|
|
1043
|
+
return null;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
function clampNumber(value, min, max) {
|
|
1047
|
+
const lo = Number.isFinite(min) ? min : 0;
|
|
1048
|
+
const hi = Number.isFinite(max) ? Math.max(lo, max) : lo;
|
|
1049
|
+
const num = Number(value);
|
|
1050
|
+
if (!Number.isFinite(num)) return lo;
|
|
1051
|
+
return Math.min(hi, Math.max(lo, num));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
809
1054
|
function normalizeDshStyle(value) {
|
|
810
1055
|
const key = typeof value === 'string' ? value.trim() : '';
|
|
811
|
-
return
|
|
1056
|
+
return VALID_STYLE_IDS.has(key) ? key : DSH_DEFAULT_STYLE;
|
|
812
1057
|
}
|
|
813
1058
|
|
|
814
1059
|
function getDshStylePreset(value) {
|
|
@@ -817,44 +1062,84 @@ function getDshStylePreset(value) {
|
|
|
817
1062
|
}
|
|
818
1063
|
|
|
819
1064
|
function readDshStyle(win) {
|
|
820
|
-
const target =
|
|
821
|
-
if (!target) return
|
|
1065
|
+
const target = resolveWindow(win);
|
|
1066
|
+
if (!target) return DSH_DEFAULT_STYLE;
|
|
822
1067
|
try {
|
|
823
1068
|
const raw = target.localStorage?.getItem(DSH_STYLE_STORAGE_KEY);
|
|
824
|
-
|
|
825
|
-
const normalized = normalizeDshStyle(raw);
|
|
826
|
-
DSH_MEMORY_STYLE.current = normalized;
|
|
827
|
-
return normalized;
|
|
828
|
-
}
|
|
1069
|
+
return normalizeDshStyle(raw);
|
|
829
1070
|
} catch {
|
|
830
|
-
|
|
1071
|
+
return DSH_DEFAULT_STYLE;
|
|
831
1072
|
}
|
|
832
|
-
return DSH_MEMORY_STYLE.current || DSH_DEFAULT_STYLE;
|
|
833
1073
|
}
|
|
834
1074
|
|
|
835
|
-
function
|
|
1075
|
+
function normalizeDshFont(value) {
|
|
1076
|
+
const key = typeof value === 'string' ? value.trim() : '';
|
|
1077
|
+
return VALID_FONT_IDS.has(key) ? key : DSH_DEFAULT_FONT;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
function getDshFontPreset(value) {
|
|
1081
|
+
const id = normalizeDshFont(value);
|
|
1082
|
+
return DSH_FONTS.find(preset => preset.id === id) || DSH_FONTS[0];
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
function readDshFont(win) {
|
|
1086
|
+
const target = resolveWindow(win);
|
|
1087
|
+
if (!target) return DSH_DEFAULT_FONT;
|
|
1088
|
+
try {
|
|
1089
|
+
const raw = target.localStorage?.getItem(DSH_FONT_STORAGE_KEY);
|
|
1090
|
+
return normalizeDshFont(raw);
|
|
1091
|
+
} catch {
|
|
1092
|
+
return DSH_DEFAULT_FONT;
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Stamps `[data-dsh-style]`, `[data-dsh-font]`, and `[data-window-drag-exclude]` onto
|
|
1098
|
+
* any currently open portaled `[role="dialog"]` / `[role="menu"]` surfaces in
|
|
1099
|
+
* `document.body` that were synced via `createOverlaySyncRef` or carry
|
|
1100
|
+
* `[data-dsh-portal-synced]`, plus `[data-dsh-font]` onto `document.documentElement`.
|
|
1101
|
+
*/
|
|
1102
|
+
function syncPortaledOverlays(style, doc, font) {
|
|
836
1103
|
const normalized = normalizeDshStyle(style);
|
|
1104
|
+
const normalizedFont = normalizeDshFont(font ?? readDshFont());
|
|
837
1105
|
const targetDoc = doc || (typeof document !== 'undefined' ? document : null);
|
|
838
|
-
if (!targetDoc
|
|
1106
|
+
if (!targetDoc) return;
|
|
1107
|
+
if (targetDoc.documentElement && typeof targetDoc.documentElement.setAttribute === 'function') {
|
|
1108
|
+
targetDoc.documentElement.setAttribute('data-dsh-font', normalizedFont);
|
|
1109
|
+
}
|
|
1110
|
+
if (typeof targetDoc.querySelectorAll !== 'function') return;
|
|
839
1111
|
for (const el of targetDoc.querySelectorAll('[data-dsh-portal-synced]')) {
|
|
840
1112
|
el.setAttribute('data-dsh-style', normalized);
|
|
1113
|
+
el.setAttribute('data-dsh-font', normalizedFont);
|
|
841
1114
|
if (!el.hasAttribute('data-window-drag-exclude')) {
|
|
842
1115
|
el.setAttribute('data-window-drag-exclude', '');
|
|
843
1116
|
}
|
|
844
1117
|
}
|
|
845
1118
|
}
|
|
846
1119
|
|
|
1120
|
+
function syncPortaledFont(font, doc) {
|
|
1121
|
+
const normalizedFont = normalizeDshFont(font);
|
|
1122
|
+
const targetDoc = doc || (typeof document !== 'undefined' ? document : null);
|
|
1123
|
+
if (!targetDoc) return;
|
|
1124
|
+
if (targetDoc.documentElement && typeof targetDoc.documentElement.setAttribute === 'function') {
|
|
1125
|
+
targetDoc.documentElement.setAttribute('data-dsh-font', normalizedFont);
|
|
1126
|
+
}
|
|
1127
|
+
if (typeof targetDoc.querySelectorAll !== 'function') return;
|
|
1128
|
+
for (const el of targetDoc.querySelectorAll('[data-dsh-portal-synced], [data-dsh-style]')) {
|
|
1129
|
+
el.setAttribute('data-dsh-font', normalizedFont);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
847
1133
|
function writeDshStyle(nextStyle, win) {
|
|
848
1134
|
const normalized = normalizeDshStyle(nextStyle);
|
|
849
|
-
|
|
850
|
-
const target = resolveDshWindow(win);
|
|
1135
|
+
const target = resolveWindow(win);
|
|
851
1136
|
if (target) {
|
|
852
1137
|
try {
|
|
853
1138
|
target.localStorage?.setItem(DSH_STYLE_STORAGE_KEY, normalized);
|
|
854
1139
|
} catch {
|
|
855
1140
|
// Restricted storage: keep in-memory + custom event sync working.
|
|
856
1141
|
}
|
|
857
|
-
syncPortaledOverlays(normalized, target.document);
|
|
1142
|
+
syncPortaledOverlays(normalized, target.document, readDshFont(target));
|
|
858
1143
|
if (typeof target.dispatchEvent === 'function') {
|
|
859
1144
|
try {
|
|
860
1145
|
const CustomEventCtor = target.CustomEvent || (typeof CustomEvent === 'function' ? CustomEvent : null);
|
|
@@ -870,23 +1155,45 @@ function writeDshStyle(nextStyle, win) {
|
|
|
870
1155
|
}
|
|
871
1156
|
}
|
|
872
1157
|
}
|
|
873
|
-
|
|
874
|
-
|
|
1158
|
+
return normalized;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
function writeDshFont(nextFont, win) {
|
|
1162
|
+
const normalized = normalizeDshFont(nextFont);
|
|
1163
|
+
const target = resolveWindow(win);
|
|
1164
|
+
if (target) {
|
|
1165
|
+
try {
|
|
1166
|
+
target.localStorage?.setItem(DSH_FONT_STORAGE_KEY, normalized);
|
|
1167
|
+
} catch {
|
|
1168
|
+
// Restricted storage: keep in-memory + custom event sync working.
|
|
1169
|
+
}
|
|
1170
|
+
syncPortaledFont(normalized, target.document);
|
|
1171
|
+
if (typeof target.dispatchEvent === 'function') {
|
|
1172
|
+
try {
|
|
1173
|
+
const CustomEventCtor = target.CustomEvent || (typeof CustomEvent === 'function' ? CustomEvent : null);
|
|
1174
|
+
if (CustomEventCtor) {
|
|
1175
|
+
target.dispatchEvent(new CustomEventCtor(DSH_FONT_EVENT, { detail: { font: normalized } }));
|
|
1176
|
+
} else if (typeof Event === 'function') {
|
|
1177
|
+
const ev = new Event(DSH_FONT_EVENT);
|
|
1178
|
+
ev.detail = { font: normalized };
|
|
1179
|
+
target.dispatchEvent(ev);
|
|
1180
|
+
}
|
|
1181
|
+
} catch {
|
|
1182
|
+
// Ignore synthetic event errors in minimal VM environments.
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
875
1185
|
}
|
|
876
1186
|
return normalized;
|
|
877
1187
|
}
|
|
878
1188
|
|
|
879
1189
|
function subscribeDshStyle(onChange, win) {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
if (!target || typeof target.addEventListener !== 'function') {
|
|
884
|
-
return () => { DSH_STYLE_SUBSCRIBERS.delete(onChange); };
|
|
1190
|
+
const target = resolveWindow(win);
|
|
1191
|
+
if (!target || typeof target.addEventListener !== 'function' || typeof onChange !== 'function') {
|
|
1192
|
+
return () => {};
|
|
885
1193
|
}
|
|
886
1194
|
const onCustom = event => {
|
|
887
1195
|
const next = normalizeDshStyle(event?.detail?.style ?? readDshStyle(target));
|
|
888
|
-
|
|
889
|
-
syncPortaledOverlays(next, target.document);
|
|
1196
|
+
syncPortaledOverlays(next, target.document, readDshFont(target));
|
|
890
1197
|
onChange(next);
|
|
891
1198
|
};
|
|
892
1199
|
const onStorage = event => {
|
|
@@ -894,19 +1201,48 @@ function subscribeDshStyle(onChange, win) {
|
|
|
894
1201
|
return;
|
|
895
1202
|
}
|
|
896
1203
|
const next = normalizeDshStyle(event?.newValue ?? readDshStyle(target));
|
|
897
|
-
|
|
898
|
-
syncPortaledOverlays(next, target.document);
|
|
1204
|
+
syncPortaledOverlays(next, target.document, readDshFont(target));
|
|
899
1205
|
onChange(next);
|
|
900
1206
|
};
|
|
901
1207
|
target.addEventListener(DSH_STYLE_EVENT, onCustom);
|
|
902
1208
|
target.addEventListener('storage', onStorage);
|
|
903
1209
|
return () => {
|
|
904
|
-
DSH_STYLE_SUBSCRIBERS.delete(onChange);
|
|
905
1210
|
target.removeEventListener(DSH_STYLE_EVENT, onCustom);
|
|
906
1211
|
target.removeEventListener('storage', onStorage);
|
|
907
1212
|
};
|
|
908
1213
|
}
|
|
909
1214
|
|
|
1215
|
+
function subscribeDshFont(onChange, win) {
|
|
1216
|
+
const target = resolveWindow(win);
|
|
1217
|
+
if (!target || typeof target.addEventListener !== 'function' || typeof onChange !== 'function') {
|
|
1218
|
+
return () => {};
|
|
1219
|
+
}
|
|
1220
|
+
const onCustom = event => {
|
|
1221
|
+
const next = normalizeDshFont(event?.detail?.font ?? readDshFont(target));
|
|
1222
|
+
syncPortaledFont(next, target.document);
|
|
1223
|
+
onChange(next);
|
|
1224
|
+
};
|
|
1225
|
+
const onStorage = event => {
|
|
1226
|
+
if (event && event.key !== null && event.key !== undefined && event.key !== DSH_FONT_STORAGE_KEY) {
|
|
1227
|
+
return;
|
|
1228
|
+
}
|
|
1229
|
+
const next = normalizeDshFont(event?.newValue ?? readDshFont(target));
|
|
1230
|
+
syncPortaledFont(next, target.document);
|
|
1231
|
+
onChange(next);
|
|
1232
|
+
};
|
|
1233
|
+
target.addEventListener(DSH_FONT_EVENT, onCustom);
|
|
1234
|
+
target.addEventListener('storage', onStorage);
|
|
1235
|
+
return () => {
|
|
1236
|
+
target.removeEventListener(DSH_FONT_EVENT, onCustom);
|
|
1237
|
+
target.removeEventListener('storage', onStorage);
|
|
1238
|
+
};
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* React hook returning `[style, setStyle]`, synced across plugins, tabs, and
|
|
1243
|
+
* portaled dialogs via `localStorage['dsh-stardust:ui-style']` + `dsh-stardust-style`.
|
|
1244
|
+
* Safe in minimal VM registration tests where `React.useState` may be absent.
|
|
1245
|
+
*/
|
|
910
1246
|
function useDshStyle(React, win) {
|
|
911
1247
|
if (!React || typeof React.useState !== 'function') {
|
|
912
1248
|
return [readDshStyle(win), next => writeDshStyle(next, win)];
|
|
@@ -916,7 +1252,7 @@ function useDshStyle(React, win) {
|
|
|
916
1252
|
React.useEffect(() => {
|
|
917
1253
|
const current = readDshStyle(win);
|
|
918
1254
|
setStyleState(prev => (prev === current ? prev : current));
|
|
919
|
-
syncPortaledOverlays(current,
|
|
1255
|
+
syncPortaledOverlays(current, resolveWindow(win)?.document, readDshFont(win));
|
|
920
1256
|
return subscribeDshStyle(next => {
|
|
921
1257
|
setStyleState(prev => (prev === next ? prev : next));
|
|
922
1258
|
}, win);
|
|
@@ -931,17 +1267,56 @@ function useDshStyle(React, win) {
|
|
|
931
1267
|
return [style, setStyle];
|
|
932
1268
|
}
|
|
933
1269
|
|
|
934
|
-
|
|
1270
|
+
/**
|
|
1271
|
+
* React hook returning `[font, setFont]`, synced via `localStorage['dsh-stardust:ui-font']`
|
|
1272
|
+
* + `dsh-stardust-font` and applied via `[data-dsh-font]`.
|
|
1273
|
+
*/
|
|
1274
|
+
function useDshFont(React, win) {
|
|
1275
|
+
if (!React || typeof React.useState !== 'function') {
|
|
1276
|
+
return [readDshFont(win), next => writeDshFont(next, win)];
|
|
1277
|
+
}
|
|
1278
|
+
const [font, setFontState] = React.useState(() => readDshFont(win));
|
|
1279
|
+
if (typeof React.useEffect === 'function') {
|
|
1280
|
+
React.useEffect(() => {
|
|
1281
|
+
const current = readDshFont(win);
|
|
1282
|
+
setFontState(prev => (prev === current ? prev : current));
|
|
1283
|
+
syncPortaledFont(current, resolveWindow(win)?.document);
|
|
1284
|
+
return subscribeDshFont(next => {
|
|
1285
|
+
setFontState(prev => (prev === next ? prev : next));
|
|
1286
|
+
}, win);
|
|
1287
|
+
}, [win]);
|
|
1288
|
+
}
|
|
1289
|
+
const setFont = next => {
|
|
1290
|
+
const resolved = typeof next === 'function' ? next(font) : next;
|
|
1291
|
+
const applied = writeDshFont(resolved, win);
|
|
1292
|
+
setFontState(applied);
|
|
1293
|
+
return applied;
|
|
1294
|
+
};
|
|
1295
|
+
return [font, setFont];
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Callback ref for elements rendered inside host `@deepseek-ai/dsh-client-ui-primitives`
|
|
1300
|
+
* `Modal` or `Menu` portals (`createPortal(..., document.body)`).
|
|
1301
|
+
* Host `Modal` and `Menu` do not spread arbitrary `data-*` props onto their outer
|
|
1302
|
+
* `<div role="dialog">` / `<div role="menu">` wrapper, so attaching this ref to an
|
|
1303
|
+
* inner header/body wrapper promotes `data-dsh-style`, `data-dsh-font`, and
|
|
1304
|
+
* `data-window-drag-exclude` onto the portaled overlay frame itself.
|
|
1305
|
+
*/
|
|
1306
|
+
function createOverlaySyncRef(style, font) {
|
|
935
1307
|
const normalized = normalizeDshStyle(style);
|
|
1308
|
+
const normalizedFont = normalizeDshFont(font ?? readDshFont());
|
|
936
1309
|
return node => {
|
|
937
1310
|
if (!node || typeof node.setAttribute !== 'function') return;
|
|
938
1311
|
node.setAttribute('data-dsh-style', normalized);
|
|
1312
|
+
node.setAttribute('data-dsh-font', normalizedFont);
|
|
939
1313
|
node.setAttribute('data-window-drag-exclude', '');
|
|
940
1314
|
node.setAttribute('data-dsh-portal-synced', 'true');
|
|
941
1315
|
if (typeof node.closest === 'function') {
|
|
942
1316
|
const overlay = node.closest('[role="dialog"], [role="alertdialog"], [role="menu"], dialog');
|
|
943
|
-
if (overlay
|
|
1317
|
+
if (overlay) {
|
|
944
1318
|
overlay.setAttribute('data-dsh-style', normalized);
|
|
1319
|
+
overlay.setAttribute('data-dsh-font', normalizedFont);
|
|
945
1320
|
overlay.setAttribute('data-window-drag-exclude', '');
|
|
946
1321
|
overlay.setAttribute('data-dsh-portal-synced', 'true');
|
|
947
1322
|
}
|
|
@@ -949,54 +1324,46 @@ function createOverlaySyncRef(style) {
|
|
|
949
1324
|
};
|
|
950
1325
|
}
|
|
951
1326
|
|
|
1327
|
+
/**
|
|
1328
|
+
* Shared crisp 24x24 stroke icons for workbench headers, buttons, and micro-animations.
|
|
1329
|
+
*/
|
|
952
1330
|
const DSH_ICON_PATHS = Object.freeze({
|
|
953
|
-
book: ['M4 4h6a3 3 0 0 1 2 2v15a4 4 0 0 0-4-2H4z', 'M20 4h-6a3 3 0 0 0-2 2v15a4 4 0 0 1 4-2h4z'],
|
|
954
|
-
calendar: ['M4 6h16v14H4z', 'M8 3v4M16 3v4M4 10h16'],
|
|
955
1331
|
mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
|
|
956
1332
|
inbox: ['M4 13 6 5h12l2 8v6H4z', 'M4 13h5l1 3h4l1-3h5'],
|
|
957
1333
|
send: ['m22 2-7 20-4-9-9-4Z', 'M22 2 11 13'],
|
|
958
|
-
rss: ['M5 19a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z', 'M4 11a9 9 0 0 1 9 9', 'M4 5a15 15 0 0 1 15 15'],
|
|
959
|
-
slides: ['M3 4h18v13H3z', 'M12 17v4M8 21h8'],
|
|
960
|
-
shield: ['m12 3 8 3v6c0 4-4 7-8 9-4-2-8-5-8-9V6z', 'm8 12 3 3 5-6'],
|
|
961
|
-
layers: ['M5 3h16v16H5z', 'M2 7v15h15'],
|
|
962
|
-
play: ['m7 5 12 7-12 7Z'],
|
|
963
|
-
video: ['M3 5h12v14H3z', 'm15 10 6-4v12l-6-4'],
|
|
964
1334
|
search: ['M10.5 18a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15Z', 'm16 16 5 5'],
|
|
965
1335
|
plus: ['M12 5v14M5 12h14'],
|
|
966
1336
|
refresh: ['M20 7a9 9 0 1 0 1 8', 'M20 2v5h-5'],
|
|
967
|
-
settings: ['m9 3-.7 2.4-2 .9L4 5.8 2.5 8.4l1.7 1.8v2.3L2.5 14 4 17l2.5-.4 1.9 1L9 20h3l.8-2.4 2-1 2.5.4 1.5-2.7-1.7-1.9v-2.2l1.7-1.8-1.5-2.6-2.5.4-2-1L12 3Z', 'M14 11.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z'],
|
|
968
1337
|
close: ['m6 6 12 12M18 6 6 18'],
|
|
969
1338
|
left: ['m14 5-7 7 7 7'],
|
|
970
1339
|
right: ['m10 5 7 7-7 7'],
|
|
971
1340
|
down: ['m5 9 7 7 7-7'],
|
|
972
|
-
filter: ['M4 5h16M7 12h10M10 19h4'],
|
|
973
1341
|
download: ['M12 3v12m-5-5 5 5 5-5', 'M4 16v5h16v-5'],
|
|
974
|
-
upload: ['M12 16V4m-5 5 5-5 5 5', 'M4 16v5h16v-5'],
|
|
975
|
-
copy: ['M9 9h10v11H9z', 'M5 15H4V4h10v1'],
|
|
976
|
-
external: ['M14 4h6v6', 'M10 14 20 4', 'M18 13v6H5V6h6'],
|
|
977
1342
|
file: ['M4 3h10l6 6v12H4z', 'M14 3v6h6M8 13h8M8 17h6'],
|
|
978
1343
|
folder: ['M3 5h7l2 3h9v12H3z'],
|
|
979
1344
|
edit: ['m15 4 5 5-10 10-6 1 1-6Z', 'm13 6 5 5'],
|
|
980
1345
|
trash: ['M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7M14 10v7'],
|
|
981
|
-
more: ['M5 12h.01M12 12h.01M19 12h.01'],
|
|
982
1346
|
info: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 11v6M12 7h.01'],
|
|
983
1347
|
check: ['m5 12 4 4L19 6'],
|
|
984
|
-
quote: ['M4 12h6v7H3v-7c0-4 2-6 5-7M15 12h6v7h-7v-7c0-4 2-6 5-7'],
|
|
985
1348
|
star: ['m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2-5.6-3-5.6 3 1.1-6.2L3 9.6l6.2-.9Z'],
|
|
986
1349
|
reply: ['m9 5-7 7 7 7v-5h6c3 0 5 2 6 5 0-8-4-11-12-11Z'],
|
|
987
|
-
link: ['M10 13a5 5 0 0 0 7.1 0l2.8-2.8a5 5 0 0 0-7.1-7.1L11 4.9', 'M14 11a5 5 0 0 0-7.1 0l-2.8 2.8a5 5 0 0 0 7.1 7.1L13 19.1'],
|
|
988
1350
|
lock: ['M5 10h14v11H5z', 'M8 10V7a4 4 0 0 1 8 0v3M12 14v3'],
|
|
989
1351
|
clip: ['m8 13 6-6a2.5 2.5 0 0 1 3.5 3.5l-7 7a4 4 0 0 1-5.7-5.7l8-8a5 5 0 0 1 7.1 7.1l-8 8'],
|
|
990
1352
|
clock: ['M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z', 'M12 6v6l4 2'],
|
|
991
1353
|
image: ['M3 4h18v16H3z', 'm3 17 6-6 5 5 2-2 5 5M16 8h.01'],
|
|
1354
|
+
copy: ['M9 9h10v11H9z', 'M5 15H4V4h10v1'],
|
|
1355
|
+
external: ['M14 4h6v6', 'M10 14 20 4', 'M18 13v6H5V6h6'],
|
|
1356
|
+
link: ['M10 13a5 5 0 0 0 7.1 0l2.8-2.8a5 5 0 0 0-7.1-7.1L11 4.9', 'M14 11a5 5 0 0 0-7.1 0l-2.8 2.8a5 5 0 0 0 7.1 7.1L13 19.1'],
|
|
1357
|
+
play: ['m7 5 12 7-12 7Z'],
|
|
992
1358
|
palette: ['M12 3a9 9 0 1 0 0 18h1.5a2.5 2.5 0 0 0 0-5H12a2 2 0 0 1 0-4h4a5 5 0 0 0 5-5c0-2.2-4-4-9-4Z', 'M7.5 10.5h.01M10.5 7.5h.01M14.5 7.5h.01'],
|
|
993
1359
|
sparkles: ['m12 3 1.8 4.2L18 9l-4.2 1.8L12 15l-1.8-4.2L6 9l4.2-1.8Z', 'M19 15v4M17 17h4'],
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1360
|
+
calendar: ['M4 6h16v14H4z', 'M8 3v4M16 3v4M4 10h16'],
|
|
1361
|
+
shield: ['M12 3 5 6v6c0 5 3.4 8.3 7 9 3.6-.7 7-4 7-9V6Z'],
|
|
1362
|
+
rss: ['M5 19a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z', 'M4 11a9 9 0 0 1 9 9', 'M4 5a15 15 0 0 1 15 15'],
|
|
1363
|
+
grip: ['M9 6h.01M9 12h.01M9 18h.01M15 6h.01M15 12h.01M15 18h.01'],
|
|
997
1364
|
});
|
|
998
1365
|
|
|
999
|
-
function renderDshIcon(React, { name = 'file', size = 16, paths = DSH_ICON_PATHS,
|
|
1366
|
+
function renderDshIcon(React, { name = 'file', size = 16, paths = DSH_ICON_PATHS, ...props } = {}) {
|
|
1000
1367
|
const h = React.createElement;
|
|
1001
1368
|
const segments = paths[name] || DSH_ICON_PATHS[name] || DSH_ICON_PATHS.file;
|
|
1002
1369
|
return h(
|
|
@@ -1013,14 +1380,515 @@ function renderDshIcon(React, { name = 'file', size = 16, paths = DSH_ICON_PATHS
|
|
|
1013
1380
|
'aria-hidden': 'true',
|
|
1014
1381
|
focusable: 'false',
|
|
1015
1382
|
'data-dsh-icon': name,
|
|
1016
|
-
'data-spinning': spinning ? 'true' : undefined,
|
|
1017
1383
|
...props,
|
|
1018
1384
|
},
|
|
1019
1385
|
segments.map((d, index) => h('path', { key: index, d })),
|
|
1020
1386
|
);
|
|
1021
1387
|
}
|
|
1022
1388
|
|
|
1389
|
+
/**
|
|
1390
|
+
* Measures the active `[role="tab"][aria-selected="true"]` inside a `[role="tablist"]`
|
|
1391
|
+
* and drives CSS variables `--dsh-tab-x` / `--dsh-tab-w` for `.dsh-tab-indicator`.
|
|
1392
|
+
* Falls back cleanly to static `::after` border underline when layout is unavailable (jsdom)
|
|
1393
|
+
* or under `@media (forced-colors: active)`.
|
|
1394
|
+
*/
|
|
1395
|
+
function useSlidingTabIndicator(React, activeValue, options = {}) {
|
|
1396
|
+
const tablistRef = typeof React?.useRef === 'function' ? React.useRef(null) : { current: null };
|
|
1397
|
+
const [metrics, setMetrics] = typeof React?.useState === 'function'
|
|
1398
|
+
? React.useState({ x: 0, width: 0, ready: false })
|
|
1399
|
+
: [{ x: 0, width: 0, ready: false }, () => {}];
|
|
1400
|
+
|
|
1401
|
+
const syncIndicator = () => {
|
|
1402
|
+
const list = tablistRef.current;
|
|
1403
|
+
if (!list || typeof list.querySelector !== 'function') return;
|
|
1404
|
+
const activeTab = list.querySelector('[role="tab"][aria-selected="true"]');
|
|
1405
|
+
if (!activeTab) {
|
|
1406
|
+
list.setAttribute?.('data-indicator-ready', 'false');
|
|
1407
|
+
setMetrics(prev => (prev.ready ? { x: 0, width: 0, ready: false } : prev));
|
|
1408
|
+
return;
|
|
1409
|
+
}
|
|
1410
|
+
let x = typeof activeTab.offsetLeft === 'number' ? activeTab.offsetLeft : 0;
|
|
1411
|
+
let width = typeof activeTab.offsetWidth === 'number' ? activeTab.offsetWidth : 0;
|
|
1412
|
+
if (!width && typeof activeTab.getBoundingClientRect === 'function' && typeof list.getBoundingClientRect === 'function') {
|
|
1413
|
+
const tabRect = activeTab.getBoundingClientRect();
|
|
1414
|
+
const listRect = list.getBoundingClientRect();
|
|
1415
|
+
if (tabRect && listRect && tabRect.width > 0) {
|
|
1416
|
+
width = tabRect.width;
|
|
1417
|
+
x = tabRect.left - listRect.left + (list.scrollLeft || 0);
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
const ready = width > 0;
|
|
1421
|
+
if (list.style && typeof list.style.setProperty === 'function') {
|
|
1422
|
+
list.style.setProperty('--dsh-tab-x', `${Math.round(x)}px`);
|
|
1423
|
+
list.style.setProperty('--dsh-tab-w', `${Math.round(width)}px`);
|
|
1424
|
+
}
|
|
1425
|
+
list.setAttribute?.('data-indicator-ready', ready ? 'true' : 'false');
|
|
1426
|
+
setMetrics(prev => (
|
|
1427
|
+
prev.x === Math.round(x) && prev.width === Math.round(width) && prev.ready === ready
|
|
1428
|
+
? prev
|
|
1429
|
+
: { x: Math.round(x), width: Math.round(width), ready }
|
|
1430
|
+
));
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
const effectHook = typeof React?.useLayoutEffect === 'function'
|
|
1434
|
+
? React.useLayoutEffect
|
|
1435
|
+
: (typeof React?.useEffect === 'function' ? React.useEffect : null);
|
|
1436
|
+
|
|
1437
|
+
if (effectHook) {
|
|
1438
|
+
const deps = Array.isArray(options?.deps) ? [activeValue, ...options.deps] : [activeValue];
|
|
1439
|
+
effectHook(() => {
|
|
1440
|
+
syncIndicator();
|
|
1441
|
+
const list = tablistRef.current;
|
|
1442
|
+
const win = resolveWindow(options?.win);
|
|
1443
|
+
let ro = null;
|
|
1444
|
+
if (list && typeof win?.ResizeObserver === 'function') {
|
|
1445
|
+
try {
|
|
1446
|
+
ro = new win.ResizeObserver(() => syncIndicator());
|
|
1447
|
+
ro.observe(list);
|
|
1448
|
+
} catch {
|
|
1449
|
+
ro = null;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
if (win && typeof win.addEventListener === 'function') {
|
|
1453
|
+
win.addEventListener('resize', syncIndicator);
|
|
1454
|
+
}
|
|
1455
|
+
return () => {
|
|
1456
|
+
ro?.disconnect?.();
|
|
1457
|
+
if (win && typeof win.removeEventListener === 'function') {
|
|
1458
|
+
win.removeEventListener('resize', syncIndicator);
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
}, deps);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
const indicatorStyle = {
|
|
1465
|
+
'--dsh-tab-x': `${metrics.x}px`,
|
|
1466
|
+
'--dsh-tab-w': `${metrics.width}px`,
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
|
+
return {
|
|
1470
|
+
tablistRef,
|
|
1471
|
+
ready: metrics.ready,
|
|
1472
|
+
indicatorStyle,
|
|
1473
|
+
tablistProps: {
|
|
1474
|
+
ref: tablistRef,
|
|
1475
|
+
'data-dsh-tablist': '',
|
|
1476
|
+
'data-indicator-ready': metrics.ready ? 'true' : 'false',
|
|
1477
|
+
},
|
|
1478
|
+
indicatorProps: {
|
|
1479
|
+
className: 'dsh-tab-indicator',
|
|
1480
|
+
'aria-hidden': 'true',
|
|
1481
|
+
style: indicatorStyle,
|
|
1482
|
+
},
|
|
1483
|
+
syncIndicator,
|
|
1484
|
+
};
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Resizable split-pane hook with `localStorage` persistence, clamping, reset,
|
|
1489
|
+
* and ready-to-spread `resizerProps` for `DshSplitResizer`.
|
|
1490
|
+
*/
|
|
1491
|
+
function useResizableSplit(
|
|
1492
|
+
React,
|
|
1493
|
+
{ key, initial = 320, min = 220, max = 560, orientation = 'vertical', reverse = false, win } = {},
|
|
1494
|
+
) {
|
|
1495
|
+
const clampedInitial = clampNumber(initial, min, max);
|
|
1496
|
+
const readStored = () => {
|
|
1497
|
+
const target = resolveWindow(win);
|
|
1498
|
+
if (!key || !target) return clampedInitial;
|
|
1499
|
+
try {
|
|
1500
|
+
const raw = target.localStorage?.getItem(key);
|
|
1501
|
+
if (raw == null || raw === '') return clampedInitial;
|
|
1502
|
+
const parsed = Number(raw);
|
|
1503
|
+
return Number.isFinite(parsed) ? clampNumber(parsed, min, max) : clampedInitial;
|
|
1504
|
+
} catch {
|
|
1505
|
+
return clampedInitial;
|
|
1506
|
+
}
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
const writeStored = nextSize => {
|
|
1510
|
+
const clamped = Math.round(clampNumber(nextSize, min, max));
|
|
1511
|
+
const target = resolveWindow(win);
|
|
1512
|
+
if (key && target) {
|
|
1513
|
+
try {
|
|
1514
|
+
target.localStorage?.setItem(key, String(clamped));
|
|
1515
|
+
} catch {
|
|
1516
|
+
// Ignore restricted storage errors.
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
return clamped;
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
const hasHooks = Boolean(React && typeof React.useState === 'function');
|
|
1523
|
+
const [size, setSizeState] = hasHooks ? React.useState(() => readStored()) : [readStored(), () => {}];
|
|
1524
|
+
const [isDragging, setIsDragging] = hasHooks ? React.useState(false) : [false, () => {}];
|
|
1525
|
+
|
|
1526
|
+
const setSize = next => {
|
|
1527
|
+
const resolved = typeof next === 'function' ? next(size) : next;
|
|
1528
|
+
const applied = writeStored(resolved);
|
|
1529
|
+
setSizeState(applied);
|
|
1530
|
+
return applied;
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
const reset = () => {
|
|
1534
|
+
const applied = writeStored(clampedInitial);
|
|
1535
|
+
setSizeState(applied);
|
|
1536
|
+
return applied;
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
return {
|
|
1540
|
+
size,
|
|
1541
|
+
width: size,
|
|
1542
|
+
setSize,
|
|
1543
|
+
reset,
|
|
1544
|
+
isDragging,
|
|
1545
|
+
setIsDragging,
|
|
1546
|
+
paneStyle: { '--dsh-split-size': `${size}px` },
|
|
1547
|
+
resizerProps: {
|
|
1548
|
+
value: size,
|
|
1549
|
+
initial: clampedInitial,
|
|
1550
|
+
min,
|
|
1551
|
+
max,
|
|
1552
|
+
orientation,
|
|
1553
|
+
reverse,
|
|
1554
|
+
onChange: setSize,
|
|
1555
|
+
onReset: reset,
|
|
1556
|
+
onDraggingChange: setIsDragging,
|
|
1557
|
+
},
|
|
1558
|
+
};
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
function renderDshSplitResizer(
|
|
1562
|
+
React,
|
|
1563
|
+
{
|
|
1564
|
+
value = 320,
|
|
1565
|
+
initial,
|
|
1566
|
+
min = 220,
|
|
1567
|
+
max = 560,
|
|
1568
|
+
orientation = 'vertical',
|
|
1569
|
+
reverse = false,
|
|
1570
|
+
step = 16,
|
|
1571
|
+
label = 'Resize pane',
|
|
1572
|
+
onChange,
|
|
1573
|
+
onReset,
|
|
1574
|
+
onDraggingChange,
|
|
1575
|
+
className,
|
|
1576
|
+
style,
|
|
1577
|
+
...rest
|
|
1578
|
+
} = {},
|
|
1579
|
+
) {
|
|
1580
|
+
const R = resolveReact(React);
|
|
1581
|
+
if (!R) return null;
|
|
1582
|
+
const h = R.createElement;
|
|
1583
|
+
const dragRef = typeof R.useRef === 'function' ? R.useRef(null) : { current: null };
|
|
1584
|
+
const [dragging, setDragging] = typeof R.useState === 'function' ? R.useState(false) : [false, () => {}];
|
|
1585
|
+
|
|
1586
|
+
const isHorizontal = orientation === 'horizontal';
|
|
1587
|
+
const clampedValue = Math.round(clampNumber(value, min, max));
|
|
1588
|
+
|
|
1589
|
+
const setDragActive = active => {
|
|
1590
|
+
setDragging(active);
|
|
1591
|
+
onDraggingChange?.(active);
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1594
|
+
const cleanupWindowListeners = () => {
|
|
1595
|
+
const drag = dragRef.current;
|
|
1596
|
+
if (drag?.cleanup) {
|
|
1597
|
+
drag.cleanup();
|
|
1598
|
+
}
|
|
1599
|
+
dragRef.current = null;
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
if (typeof R.useEffect === 'function') {
|
|
1603
|
+
R.useEffect(() => cleanupWindowListeners, []);
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
const updateFromClientPos = (clientX, clientY) => {
|
|
1607
|
+
const drag = dragRef.current;
|
|
1608
|
+
if (!drag) return;
|
|
1609
|
+
const rawDelta = isHorizontal ? (clientY - drag.startY) : (clientX - drag.startX);
|
|
1610
|
+
const delta = reverse ? -rawDelta : rawDelta;
|
|
1611
|
+
const next = Math.round(clampNumber(drag.startValue + delta, min, max));
|
|
1612
|
+
onChange?.(next);
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
const handlePointerDown = event => {
|
|
1616
|
+
if (event?.button !== undefined && event.button !== 0) return;
|
|
1617
|
+
event?.preventDefault?.();
|
|
1618
|
+
const targetEl = event?.currentTarget;
|
|
1619
|
+
const pointerId = event?.pointerId;
|
|
1620
|
+
const startX = Number(event?.clientX ?? 0);
|
|
1621
|
+
const startY = Number(event?.clientY ?? 0);
|
|
1622
|
+
|
|
1623
|
+
cleanupWindowListeners();
|
|
1624
|
+
|
|
1625
|
+
let captured = false;
|
|
1626
|
+
if (targetEl && typeof targetEl.setPointerCapture === 'function' && pointerId !== undefined) {
|
|
1627
|
+
try {
|
|
1628
|
+
targetEl.setPointerCapture(pointerId);
|
|
1629
|
+
captured = true;
|
|
1630
|
+
} catch {
|
|
1631
|
+
captured = false;
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
const win = resolveWindow();
|
|
1636
|
+
let cleanup = null;
|
|
1637
|
+
if (!captured && win && typeof win.addEventListener === 'function') {
|
|
1638
|
+
const onWinMove = moveEvent => updateFromClientPos(Number(moveEvent.clientX ?? 0), Number(moveEvent.clientY ?? 0));
|
|
1639
|
+
const onWinUp = () => {
|
|
1640
|
+
cleanupWindowListeners();
|
|
1641
|
+
setDragActive(false);
|
|
1642
|
+
};
|
|
1643
|
+
win.addEventListener('pointermove', onWinMove);
|
|
1644
|
+
win.addEventListener('mousemove', onWinMove);
|
|
1645
|
+
win.addEventListener('pointerup', onWinUp);
|
|
1646
|
+
win.addEventListener('mouseup', onWinUp);
|
|
1647
|
+
win.addEventListener('pointercancel', onWinUp);
|
|
1648
|
+
cleanup = () => {
|
|
1649
|
+
win.removeEventListener('pointermove', onWinMove);
|
|
1650
|
+
win.removeEventListener('mousemove', onWinMove);
|
|
1651
|
+
win.removeEventListener('pointerup', onWinUp);
|
|
1652
|
+
win.removeEventListener('mouseup', onWinUp);
|
|
1653
|
+
win.removeEventListener('pointercancel', onWinUp);
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
dragRef.current = { startX, startY, startValue: clampedValue, pointerId, captured, cleanup };
|
|
1658
|
+
setDragActive(true);
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
const handlePointerMove = event => {
|
|
1662
|
+
if (!dragRef.current) return;
|
|
1663
|
+
updateFromClientPos(Number(event?.clientX ?? 0), Number(event?.clientY ?? 0));
|
|
1664
|
+
};
|
|
1665
|
+
|
|
1666
|
+
const handlePointerEnd = event => {
|
|
1667
|
+
const drag = dragRef.current;
|
|
1668
|
+
if (!drag) return;
|
|
1669
|
+
if (drag.captured && event?.currentTarget && typeof event.currentTarget.releasePointerCapture === 'function' && drag.pointerId !== undefined) {
|
|
1670
|
+
try {
|
|
1671
|
+
event.currentTarget.releasePointerCapture(drag.pointerId);
|
|
1672
|
+
} catch {
|
|
1673
|
+
// Ignore release errors when pointer already detached.
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
cleanupWindowListeners();
|
|
1677
|
+
setDragActive(false);
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
const handleKeyDown = event => {
|
|
1681
|
+
const key = event?.key;
|
|
1682
|
+
const deltaStep = event?.shiftKey ? step * 2 : step;
|
|
1683
|
+
const dir = reverse ? -1 : 1;
|
|
1684
|
+
let next = null;
|
|
1685
|
+
if ((!isHorizontal && key === 'ArrowLeft') || (isHorizontal && key === 'ArrowUp')) {
|
|
1686
|
+
next = clampNumber(clampedValue - deltaStep * dir, min, max);
|
|
1687
|
+
} else if ((!isHorizontal && key === 'ArrowRight') || (isHorizontal && key === 'ArrowDown')) {
|
|
1688
|
+
next = clampNumber(clampedValue + deltaStep * dir, min, max);
|
|
1689
|
+
} else if (key === 'Home') {
|
|
1690
|
+
next = min;
|
|
1691
|
+
} else if (key === 'End') {
|
|
1692
|
+
next = max;
|
|
1693
|
+
}
|
|
1694
|
+
if (next !== null) {
|
|
1695
|
+
event?.preventDefault?.();
|
|
1696
|
+
onChange?.(Math.round(next));
|
|
1697
|
+
}
|
|
1698
|
+
};
|
|
1699
|
+
|
|
1700
|
+
const handleDoubleClick = () => {
|
|
1701
|
+
if (typeof onReset === 'function') {
|
|
1702
|
+
onReset();
|
|
1703
|
+
} else if (initial !== undefined) {
|
|
1704
|
+
onChange?.(Math.round(clampNumber(initial, min, max)));
|
|
1705
|
+
}
|
|
1706
|
+
};
|
|
1707
|
+
|
|
1708
|
+
return h('div', {
|
|
1709
|
+
...rest,
|
|
1710
|
+
role: 'separator',
|
|
1711
|
+
tabIndex: 0,
|
|
1712
|
+
'aria-orientation': orientation,
|
|
1713
|
+
'aria-label': label,
|
|
1714
|
+
'aria-valuemin': min,
|
|
1715
|
+
'aria-valuemax': max,
|
|
1716
|
+
'aria-valuenow': clampedValue,
|
|
1717
|
+
'data-dsh-resizer': '',
|
|
1718
|
+
'data-dragging': dragging ? 'true' : 'false',
|
|
1719
|
+
'data-window-drag-exclude': '',
|
|
1720
|
+
className: ['dsh-split-resizer', className].filter(Boolean).join(' '),
|
|
1721
|
+
style,
|
|
1722
|
+
onPointerDown: handlePointerDown,
|
|
1723
|
+
onPointerMove: handlePointerMove,
|
|
1724
|
+
onPointerUp: handlePointerEnd,
|
|
1725
|
+
onPointerCancel: handlePointerEnd,
|
|
1726
|
+
onLostPointerCapture: handlePointerEnd,
|
|
1727
|
+
onKeyDown: handleKeyDown,
|
|
1728
|
+
onDoubleClick: handleDoubleClick,
|
|
1729
|
+
});
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
function createSplitResizerComponent(React) {
|
|
1733
|
+
return function DshSplitResizerWithReact(props) {
|
|
1734
|
+
return renderDshSplitResizer(React, props);
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
function DshSplitResizer(props = {}) {
|
|
1739
|
+
const { React: explicitReact, ...rest } = props;
|
|
1740
|
+
return renderDshSplitResizer(resolveReact(explicitReact), rest);
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* Theme-tinted shimmer skeleton helper (`DshSkeleton` / `createSkeletonComponent` / `renderDshSkeleton`).
|
|
1745
|
+
* Honors `prefers-reduced-motion: reduce` and `eink` zero-distraction mode automatically via CSS.
|
|
1746
|
+
*/
|
|
1747
|
+
function renderDshSkeleton(
|
|
1748
|
+
React,
|
|
1749
|
+
{
|
|
1750
|
+
variant = 'text',
|
|
1751
|
+
lines = 3,
|
|
1752
|
+
width,
|
|
1753
|
+
height,
|
|
1754
|
+
radius,
|
|
1755
|
+
animated = true,
|
|
1756
|
+
label,
|
|
1757
|
+
className,
|
|
1758
|
+
style,
|
|
1759
|
+
...rest
|
|
1760
|
+
} = {},
|
|
1761
|
+
) {
|
|
1762
|
+
const R = resolveReact(React);
|
|
1763
|
+
if (!R) return null;
|
|
1764
|
+
const h = R.createElement;
|
|
1765
|
+
const a11yProps = label
|
|
1766
|
+
? { role: 'status', 'aria-busy': 'true', 'aria-label': label }
|
|
1767
|
+
: { 'aria-hidden': 'true' };
|
|
1768
|
+
|
|
1769
|
+
const baseBar = (barWidth, barHeight, key) =>
|
|
1770
|
+
h('span', {
|
|
1771
|
+
key,
|
|
1772
|
+
className: 'dsh-skeleton',
|
|
1773
|
+
'data-dsh-skeleton': variant,
|
|
1774
|
+
'data-animated': animated ? 'true' : 'false',
|
|
1775
|
+
style: {
|
|
1776
|
+
width: barWidth ?? width,
|
|
1777
|
+
height: barHeight ?? height,
|
|
1778
|
+
borderRadius: radius,
|
|
1779
|
+
},
|
|
1780
|
+
});
|
|
1781
|
+
|
|
1782
|
+
if (variant === 'circle') {
|
|
1783
|
+
return h('span', {
|
|
1784
|
+
...a11yProps,
|
|
1785
|
+
...rest,
|
|
1786
|
+
className: ['dsh-skeleton', 'dsh-skeleton-circle', className].filter(Boolean).join(' '),
|
|
1787
|
+
'data-dsh-skeleton': 'circle',
|
|
1788
|
+
'data-animated': animated ? 'true' : 'false',
|
|
1789
|
+
style: { width, height, ...style },
|
|
1790
|
+
});
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
if (variant === 'rect') {
|
|
1794
|
+
return h('span', {
|
|
1795
|
+
...a11yProps,
|
|
1796
|
+
...rest,
|
|
1797
|
+
className: ['dsh-skeleton', className].filter(Boolean).join(' '),
|
|
1798
|
+
'data-dsh-skeleton': 'rect',
|
|
1799
|
+
'data-animated': animated ? 'true' : 'false',
|
|
1800
|
+
style: { width, height: height ?? '80px', borderRadius: radius, ...style },
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
if (variant === 'row') {
|
|
1805
|
+
return h(
|
|
1806
|
+
'div',
|
|
1807
|
+
{
|
|
1808
|
+
...a11yProps,
|
|
1809
|
+
...rest,
|
|
1810
|
+
className: ['dsh-skeleton-row', className].filter(Boolean).join(' '),
|
|
1811
|
+
style,
|
|
1812
|
+
},
|
|
1813
|
+
h('span', {
|
|
1814
|
+
className: 'dsh-skeleton dsh-skeleton-circle',
|
|
1815
|
+
'data-dsh-skeleton': 'circle',
|
|
1816
|
+
'data-animated': animated ? 'true' : 'false',
|
|
1817
|
+
}),
|
|
1818
|
+
h(
|
|
1819
|
+
'div',
|
|
1820
|
+
{ className: 'dsh-skeleton-group' },
|
|
1821
|
+
baseBar('58%', '12px', 'r1'),
|
|
1822
|
+
baseBar('84%', '10px', 'r2'),
|
|
1823
|
+
),
|
|
1824
|
+
);
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
if (variant === 'card') {
|
|
1828
|
+
return h(
|
|
1829
|
+
'div',
|
|
1830
|
+
{
|
|
1831
|
+
...a11yProps,
|
|
1832
|
+
...rest,
|
|
1833
|
+
className: ['dsh-skeleton-card', className].filter(Boolean).join(' '),
|
|
1834
|
+
style,
|
|
1835
|
+
},
|
|
1836
|
+
baseBar('46%', '14px', 'c1'),
|
|
1837
|
+
baseBar('100%', '11px', 'c2'),
|
|
1838
|
+
baseBar('74%', '11px', 'c3'),
|
|
1839
|
+
);
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
const count = Math.max(1, Math.round(Number(lines) || 1));
|
|
1843
|
+
if (count === 1) {
|
|
1844
|
+
return h('span', {
|
|
1845
|
+
...a11yProps,
|
|
1846
|
+
...rest,
|
|
1847
|
+
className: ['dsh-skeleton', className].filter(Boolean).join(' '),
|
|
1848
|
+
'data-dsh-skeleton': 'text',
|
|
1849
|
+
'data-animated': animated ? 'true' : 'false',
|
|
1850
|
+
style: { width, height, borderRadius: radius, ...style },
|
|
1851
|
+
});
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
const bars = [];
|
|
1855
|
+
for (let i = 0; i < count; i += 1) {
|
|
1856
|
+
const isLast = i === count - 1;
|
|
1857
|
+
bars.push(baseBar(isLast ? '68%' : '100%', height, `l-${i}`));
|
|
1858
|
+
}
|
|
1859
|
+
return h(
|
|
1860
|
+
'div',
|
|
1861
|
+
{
|
|
1862
|
+
...a11yProps,
|
|
1863
|
+
...rest,
|
|
1864
|
+
className: ['dsh-skeleton-group', className].filter(Boolean).join(' '),
|
|
1865
|
+
style,
|
|
1866
|
+
},
|
|
1867
|
+
bars,
|
|
1868
|
+
);
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
function createSkeletonComponent(React) {
|
|
1872
|
+
return function DshSkeletonWithReact(props) {
|
|
1873
|
+
return renderDshSkeleton(React, props);
|
|
1874
|
+
};
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
function DshSkeleton(props = {}) {
|
|
1878
|
+
const { React: explicitReact, ...rest } = props;
|
|
1879
|
+
return renderDshSkeleton(resolveReact(explicitReact), rest);
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Lazily resolves `@deepseek-ai/dsh-client-ui-primitives` on render and supplies
|
|
1884
|
+
* semantic, accessible HTML fallbacks when running in standalone `jsdom` or `node:vm`
|
|
1885
|
+
* tests where host UI primitives are not mounted.
|
|
1886
|
+
*
|
|
1887
|
+
* IMPORTANT: Call ONLY inside component render paths — never eagerly inside
|
|
1888
|
+
* `window.__ModuleLoader__.load({ factory })` or `apply(ctx)`.
|
|
1889
|
+
*/
|
|
1023
1890
|
const DSH_PRIMITIVES_CACHE = new WeakMap();
|
|
1891
|
+
let fallbackControlSeq = 0;
|
|
1024
1892
|
|
|
1025
1893
|
function resolveHostPrimitives(React, requireFn) {
|
|
1026
1894
|
if (typeof requireFn === 'function' && DSH_PRIMITIVES_CACHE.has(requireFn)) {
|
|
@@ -1037,7 +1905,7 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1037
1905
|
}
|
|
1038
1906
|
|
|
1039
1907
|
function FallbackButton({ variant = 'ghost', size = 'md', icon, className, children, type = 'button', ...rest }) {
|
|
1040
|
-
const cls = ['dsh-btn',
|
|
1908
|
+
const cls = ['dsh-btn', `dsh-btn-${variant}`, `dsh-btn-${size}`, className].filter(Boolean).join(' ');
|
|
1041
1909
|
return h(
|
|
1042
1910
|
'button',
|
|
1043
1911
|
{ type, className: cls, ...rest },
|
|
@@ -1057,8 +1925,7 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1057
1925
|
}
|
|
1058
1926
|
|
|
1059
1927
|
function FallbackCheckbox({ id, checked = false, onChange, label, disabled = false, title, className, ...rest }) {
|
|
1060
|
-
const
|
|
1061
|
-
const inputId = id || generatedId;
|
|
1928
|
+
const inputId = id || (typeof React.useId === 'function' ? React.useId() : 'dsh-chk-' + (++fallbackControlSeq));
|
|
1062
1929
|
return h(
|
|
1063
1930
|
'label',
|
|
1064
1931
|
{ htmlFor: inputId, className: ['dsh-checkbox-label', className].filter(Boolean).join(' '), title },
|
|
@@ -1118,7 +1985,7 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1118
1985
|
'button',
|
|
1119
1986
|
{
|
|
1120
1987
|
key: opt.value,
|
|
1121
|
-
id: id ? id
|
|
1988
|
+
id: id ? `${id}-${opt.value}` : undefined,
|
|
1122
1989
|
type: 'button',
|
|
1123
1990
|
role: 'tab',
|
|
1124
1991
|
title: opt.title,
|
|
@@ -1216,14 +2083,16 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1216
2083
|
);
|
|
1217
2084
|
}
|
|
1218
2085
|
|
|
1219
|
-
function renderPortalSyncNode(styleValue) {
|
|
2086
|
+
function renderPortalSyncNode(styleValue, fontValue) {
|
|
1220
2087
|
const syncStyle = normalizeDshStyle(styleValue ?? readDshStyle());
|
|
2088
|
+
const syncFont = normalizeDshFont(fontValue ?? readDshFont());
|
|
1221
2089
|
return h('span', {
|
|
1222
2090
|
key: '__dsh_portal_sync__',
|
|
1223
|
-
ref: createOverlaySyncRef(syncStyle),
|
|
2091
|
+
ref: createOverlaySyncRef(syncStyle, syncFont),
|
|
1224
2092
|
hidden: true,
|
|
1225
2093
|
'aria-hidden': 'true',
|
|
1226
2094
|
'data-dsh-style': syncStyle,
|
|
2095
|
+
'data-dsh-font': syncFont,
|
|
1227
2096
|
});
|
|
1228
2097
|
}
|
|
1229
2098
|
|
|
@@ -1239,8 +2108,10 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1239
2108
|
className,
|
|
1240
2109
|
listClassName,
|
|
1241
2110
|
dshStyle,
|
|
2111
|
+
dshFont,
|
|
1242
2112
|
}) {
|
|
1243
2113
|
const style = normalizeDshStyle(dshStyle ?? readDshStyle());
|
|
2114
|
+
const font = normalizeDshFont(dshFont ?? readDshFont());
|
|
1244
2115
|
return h(
|
|
1245
2116
|
'div',
|
|
1246
2117
|
{ className: ['dsh-style-fallback-wrap', className].filter(Boolean).join(' ') },
|
|
@@ -1251,6 +2122,7 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1251
2122
|
{
|
|
1252
2123
|
role: 'menu',
|
|
1253
2124
|
'data-dsh-style': style,
|
|
2125
|
+
'data-dsh-font': font,
|
|
1254
2126
|
'data-window-drag-exclude': '',
|
|
1255
2127
|
'data-dsh-portal-synced': 'true',
|
|
1256
2128
|
className: ['dsh-style-fallback-menu', listClassName].filter(Boolean).join(' '),
|
|
@@ -1261,8 +2133,9 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1261
2133
|
}
|
|
1262
2134
|
},
|
|
1263
2135
|
},
|
|
1264
|
-
items.map(item =>
|
|
1265
|
-
|
|
2136
|
+
items.map(item => {
|
|
2137
|
+
const stylePreset = VALID_STYLE_IDS.has(item.id) ? getDshStylePreset(item.id) : null;
|
|
2138
|
+
return h(
|
|
1266
2139
|
'button',
|
|
1267
2140
|
{
|
|
1268
2141
|
key: item.id,
|
|
@@ -1278,10 +2151,21 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1278
2151
|
}
|
|
1279
2152
|
},
|
|
1280
2153
|
},
|
|
1281
|
-
h(
|
|
2154
|
+
h(
|
|
2155
|
+
'span',
|
|
2156
|
+
{ className: 'dsh-style-fallback-item-leading' },
|
|
2157
|
+
stylePreset
|
|
2158
|
+
? h('span', {
|
|
2159
|
+
className: 'dsh-style-swatch',
|
|
2160
|
+
'aria-hidden': 'true',
|
|
2161
|
+
style: { '--dsh-swatch-color': stylePreset.swatch },
|
|
2162
|
+
})
|
|
2163
|
+
: null,
|
|
2164
|
+
h('span', null, item.label),
|
|
2165
|
+
),
|
|
1282
2166
|
item.id === selectedId ? h('span', { 'aria-hidden': 'true' }, '✓') : null,
|
|
1283
|
-
)
|
|
1284
|
-
),
|
|
2167
|
+
);
|
|
2168
|
+
}),
|
|
1285
2169
|
children,
|
|
1286
2170
|
footer,
|
|
1287
2171
|
)
|
|
@@ -1301,15 +2185,18 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1301
2185
|
onKeyDownCapture,
|
|
1302
2186
|
headless = false,
|
|
1303
2187
|
dshStyle,
|
|
2188
|
+
dshFont,
|
|
1304
2189
|
}) {
|
|
1305
2190
|
if (!open) return null;
|
|
1306
2191
|
const style = normalizeDshStyle(dshStyle ?? readDshStyle());
|
|
2192
|
+
const font = normalizeDshFont(dshFont ?? readDshFont());
|
|
1307
2193
|
return h(
|
|
1308
2194
|
'div',
|
|
1309
2195
|
{
|
|
1310
2196
|
className: 'dsh-fallback-modal-root',
|
|
1311
2197
|
role: 'presentation',
|
|
1312
2198
|
'data-dsh-style': style,
|
|
2199
|
+
'data-dsh-font': font,
|
|
1313
2200
|
'data-window-drag-exclude': '',
|
|
1314
2201
|
'data-dsh-portal-synced': 'true',
|
|
1315
2202
|
onKeyDownCapture: event => {
|
|
@@ -1328,6 +2215,7 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1328
2215
|
'aria-label': title,
|
|
1329
2216
|
tabIndex: -1,
|
|
1330
2217
|
'data-dsh-style': style,
|
|
2218
|
+
'data-dsh-font': font,
|
|
1331
2219
|
'data-window-drag-exclude': '',
|
|
1332
2220
|
'data-dsh-portal-synced': 'true',
|
|
1333
2221
|
className: ['dsh-fallback-modal-dialog', className].filter(Boolean).join(' '),
|
|
@@ -1351,11 +2239,11 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1351
2239
|
}
|
|
1352
2240
|
|
|
1353
2241
|
const WrappedMenu = host?.Menu
|
|
1354
|
-
? function HostMenuWithStyle({ dshStyle, children, ...menuProps }) {
|
|
2242
|
+
? function HostMenuWithStyle({ dshStyle, dshFont, children, ...menuProps }) {
|
|
1355
2243
|
if (!menuProps.open) {
|
|
1356
2244
|
return children !== undefined ? h(host.Menu, menuProps, children) : h(host.Menu, menuProps);
|
|
1357
2245
|
}
|
|
1358
|
-
const syncNode = renderPortalSyncNode(dshStyle);
|
|
2246
|
+
const syncNode = renderPortalSyncNode(dshStyle, dshFont);
|
|
1359
2247
|
return children !== undefined && children !== null
|
|
1360
2248
|
? h(host.Menu, menuProps, children, syncNode)
|
|
1361
2249
|
: h(host.Menu, menuProps, syncNode);
|
|
@@ -1363,11 +2251,11 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1363
2251
|
: FallbackMenu;
|
|
1364
2252
|
|
|
1365
2253
|
const WrappedModal = host?.Modal
|
|
1366
|
-
? function HostModalWithStyle({ dshStyle, children, ...modalProps }) {
|
|
2254
|
+
? function HostModalWithStyle({ dshStyle, dshFont, children, ...modalProps }) {
|
|
1367
2255
|
if (!modalProps.open) {
|
|
1368
2256
|
return children !== undefined ? h(host.Modal, modalProps, children) : h(host.Modal, modalProps);
|
|
1369
2257
|
}
|
|
1370
|
-
const syncNode = renderPortalSyncNode(dshStyle);
|
|
2258
|
+
const syncNode = renderPortalSyncNode(dshStyle, dshFont);
|
|
1371
2259
|
return children !== undefined && children !== null
|
|
1372
2260
|
? h(host.Modal, modalProps, children, syncNode)
|
|
1373
2261
|
: h(host.Modal, modalProps, syncNode);
|
|
@@ -1396,11 +2284,110 @@ function resolveHostPrimitives(React, requireFn) {
|
|
|
1396
2284
|
return resolved;
|
|
1397
2285
|
}
|
|
1398
2286
|
|
|
2287
|
+
/**
|
|
2288
|
+
* Compact standalone Font Pairing Switcher (`FontSwitcher`), synced via
|
|
2289
|
+
* `localStorage['dsh-stardust:ui-font']` + `dsh-stardust-font` and `[data-dsh-font]`.
|
|
2290
|
+
*/
|
|
2291
|
+
function createFontSwitcherComponent(React, requireFn) {
|
|
2292
|
+
const h = React.createElement;
|
|
2293
|
+
return function FontSwitcher({
|
|
2294
|
+
font: controlledFont,
|
|
2295
|
+
style: controlledStyle,
|
|
2296
|
+
onChange,
|
|
2297
|
+
lang = 'zh',
|
|
2298
|
+
id = 'dsh-font-switcher',
|
|
2299
|
+
compact = true,
|
|
2300
|
+
disabled = false,
|
|
2301
|
+
align = 'end',
|
|
2302
|
+
className,
|
|
2303
|
+
open: controlledOpen,
|
|
2304
|
+
onOpenChange,
|
|
2305
|
+
} = {}) {
|
|
2306
|
+
const [syncedFont, setSyncedFont] = useDshFont(React);
|
|
2307
|
+
const [syncedStyle] = useDshStyle(React);
|
|
2308
|
+
const activeFont = normalizeDshFont(controlledFont ?? syncedFont);
|
|
2309
|
+
const activeStyle = normalizeDshStyle(controlledStyle ?? syncedStyle);
|
|
2310
|
+
const [internalOpen, setInternalOpen] = typeof React.useState === 'function' ? React.useState(false) : [false, () => {}];
|
|
2311
|
+
const open = controlledOpen !== undefined ? Boolean(controlledOpen) : internalOpen;
|
|
2312
|
+
const setOpen = next => {
|
|
2313
|
+
const resolved = typeof next === 'function' ? next(open) : Boolean(next);
|
|
2314
|
+
if (controlledOpen === undefined) setInternalOpen(resolved);
|
|
2315
|
+
onOpenChange?.(resolved);
|
|
2316
|
+
};
|
|
2317
|
+
const isZh = String(lang || '').toLowerCase().startsWith('zh');
|
|
2318
|
+
const preset = getDshFontPreset(activeFont);
|
|
2319
|
+
const P = resolveHostPrimitives(React, requireFn);
|
|
2320
|
+
const triggerLabel = isZh ? `字体搭配:${preset.zh}` : `Font pairing: ${preset.en}`;
|
|
2321
|
+
const visibleText = compact
|
|
2322
|
+
? (isZh ? preset.zhShort : preset.enShort)
|
|
2323
|
+
: (isZh ? preset.zh : preset.en);
|
|
2324
|
+
const items = DSH_FONTS.map(option => ({
|
|
2325
|
+
id: option.id,
|
|
2326
|
+
label: isZh ? `${option.zh} (${option.enShort})` : `${option.en}`,
|
|
2327
|
+
}));
|
|
2328
|
+
const selectFont = nextId => {
|
|
2329
|
+
const applied = writeDshFont(nextId);
|
|
2330
|
+
setSyncedFont(applied);
|
|
2331
|
+
onChange?.(applied);
|
|
2332
|
+
setOpen(false);
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
return h(P.Menu, {
|
|
2336
|
+
open: open && !disabled,
|
|
2337
|
+
selectedId: activeFont,
|
|
2338
|
+
dshStyle: activeStyle,
|
|
2339
|
+
dshFont: activeFont,
|
|
2340
|
+
items,
|
|
2341
|
+
align,
|
|
2342
|
+
portal: !P.isFallback,
|
|
2343
|
+
autoFocus: true,
|
|
2344
|
+
minWidthFromAnchor: true,
|
|
2345
|
+
className,
|
|
2346
|
+
onClose: () => setOpen(false),
|
|
2347
|
+
onSelect: selectFont,
|
|
2348
|
+
anchor: h(
|
|
2349
|
+
P.Button,
|
|
2350
|
+
{
|
|
2351
|
+
id,
|
|
2352
|
+
variant: 'outline',
|
|
2353
|
+
size: 'sm',
|
|
2354
|
+
disabled,
|
|
2355
|
+
className: 'dsh-font-trigger',
|
|
2356
|
+
'aria-label': triggerLabel,
|
|
2357
|
+
'aria-haspopup': 'menu',
|
|
2358
|
+
'aria-expanded': Boolean(open && !disabled),
|
|
2359
|
+
title: triggerLabel,
|
|
2360
|
+
onClick: () => setOpen(prev => !prev),
|
|
2361
|
+
onKeyDown: event => {
|
|
2362
|
+
if (!open && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
|
|
2363
|
+
event.preventDefault?.();
|
|
2364
|
+
setOpen(true);
|
|
2365
|
+
}
|
|
2366
|
+
},
|
|
2367
|
+
},
|
|
2368
|
+
h('span', { className: 'dsh-font-glyph', 'aria-hidden': 'true' }, isZh ? '字' : 'Aa'),
|
|
2369
|
+
h('span', { className: 'dsh-font-label' }, visibleText),
|
|
2370
|
+
renderDshIcon(React, { name: 'down', size: 13 }),
|
|
2371
|
+
),
|
|
2372
|
+
});
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Ready-made 13-preset Style Switcher + compact Font Pairing Switcher (`StyleSwitcher`).
|
|
2378
|
+
* Renders the style menu trigger with a live color swatch alongside the compact
|
|
2379
|
+
* font-pairing trigger (`showFontSwitcher = true` by default), syncing via
|
|
2380
|
+
* `localStorage['dsh-stardust:ui-style']` / `['dsh-stardust:ui-font']` and custom events.
|
|
2381
|
+
*/
|
|
1399
2382
|
function createStyleSwitcherComponent(React, requireFn) {
|
|
1400
2383
|
const h = React.createElement;
|
|
2384
|
+
const FontSwitcher = createFontSwitcherComponent(React, requireFn);
|
|
1401
2385
|
return function StyleSwitcher({
|
|
1402
2386
|
style: controlledStyle,
|
|
2387
|
+
font: controlledFont,
|
|
1403
2388
|
onChange,
|
|
2389
|
+
onFontChange,
|
|
2390
|
+
showFontSwitcher = true,
|
|
1404
2391
|
lang = 'zh',
|
|
1405
2392
|
id = 'dsh-style-switcher',
|
|
1406
2393
|
compact = false,
|
|
@@ -1412,14 +2399,17 @@ function createStyleSwitcherComponent(React, requireFn) {
|
|
|
1412
2399
|
formatAriaLabel,
|
|
1413
2400
|
} = {}) {
|
|
1414
2401
|
const [syncedStyle, setSyncedStyle] = useDshStyle(React);
|
|
2402
|
+
const [syncedFont] = useDshFont(React);
|
|
1415
2403
|
const activeStyle = normalizeDshStyle(controlledStyle ?? syncedStyle);
|
|
2404
|
+
const activeFont = normalizeDshFont(controlledFont ?? syncedFont);
|
|
1416
2405
|
const [open, setOpen] = typeof React.useState === 'function' ? React.useState(false) : [false, () => {}];
|
|
2406
|
+
const [fontOpen, setFontOpen] = typeof React.useState === 'function' ? React.useState(false) : [false, () => {}];
|
|
1417
2407
|
const isZh = String(lang || '').toLowerCase().startsWith('zh');
|
|
1418
2408
|
const preset = getDshStylePreset(activeStyle);
|
|
1419
2409
|
const P = resolveHostPrimitives(React, requireFn);
|
|
1420
2410
|
const triggerLabel = typeof formatAriaLabel === 'function'
|
|
1421
2411
|
? formatAriaLabel(preset, isZh)
|
|
1422
|
-
: (isZh ?
|
|
2412
|
+
: (isZh ? `界面风格:${preset.zh}` : `UI style: ${preset.en}`);
|
|
1423
2413
|
const visibleText = typeof formatTriggerLabel === 'function'
|
|
1424
2414
|
? formatTriggerLabel(preset, compact, isZh)
|
|
1425
2415
|
: (compact ? (isZh ? preset.zhShort : preset.enShort) : (isZh ? preset.zh : preset.en));
|
|
@@ -1427,7 +2417,7 @@ function createStyleSwitcherComponent(React, requireFn) {
|
|
|
1427
2417
|
id: option.id,
|
|
1428
2418
|
label: typeof formatOptionLabel === 'function'
|
|
1429
2419
|
? formatOptionLabel(option, isZh)
|
|
1430
|
-
: (isZh ? option.zh
|
|
2420
|
+
: (isZh ? `${option.zh} (${option.enShort})` : `${option.en}`),
|
|
1431
2421
|
}));
|
|
1432
2422
|
const selectStyle = nextId => {
|
|
1433
2423
|
const applied = writeDshStyle(nextId);
|
|
@@ -1446,6 +2436,7 @@ function createStyleSwitcherComponent(React, requireFn) {
|
|
|
1446
2436
|
open: open && !disabled,
|
|
1447
2437
|
selectedId: activeStyle,
|
|
1448
2438
|
dshStyle: activeStyle,
|
|
2439
|
+
dshFont: activeFont,
|
|
1449
2440
|
items,
|
|
1450
2441
|
align,
|
|
1451
2442
|
portal: !P.isFallback,
|
|
@@ -1465,10 +2456,14 @@ function createStyleSwitcherComponent(React, requireFn) {
|
|
|
1465
2456
|
'aria-haspopup': 'menu',
|
|
1466
2457
|
'aria-expanded': Boolean(open && !disabled),
|
|
1467
2458
|
title: triggerLabel,
|
|
1468
|
-
onClick: () =>
|
|
2459
|
+
onClick: () => {
|
|
2460
|
+
setFontOpen(false);
|
|
2461
|
+
setOpen(prev => !prev);
|
|
2462
|
+
},
|
|
1469
2463
|
onKeyDown: event => {
|
|
1470
|
-
if (!open && (event
|
|
2464
|
+
if (!open && (event.key === 'ArrowDown' || event.key === 'ArrowUp')) {
|
|
1471
2465
|
event.preventDefault?.();
|
|
2466
|
+
setFontOpen(false);
|
|
1472
2467
|
setOpen(true);
|
|
1473
2468
|
}
|
|
1474
2469
|
},
|
|
@@ -1482,6 +2477,23 @@ function createStyleSwitcherComponent(React, requireFn) {
|
|
|
1482
2477
|
renderDshIcon(React, { name: 'down', size: 14 }),
|
|
1483
2478
|
),
|
|
1484
2479
|
}),
|
|
2480
|
+
showFontSwitcher
|
|
2481
|
+
? h(FontSwitcher, {
|
|
2482
|
+
id: `${id}-font`,
|
|
2483
|
+
font: controlledFont,
|
|
2484
|
+
style: activeStyle,
|
|
2485
|
+
onChange: onFontChange,
|
|
2486
|
+
lang,
|
|
2487
|
+
compact: true,
|
|
2488
|
+
disabled,
|
|
2489
|
+
align,
|
|
2490
|
+
open: fontOpen && !disabled,
|
|
2491
|
+
onOpenChange: next => {
|
|
2492
|
+
if (next) setOpen(false);
|
|
2493
|
+
setFontOpen(next);
|
|
2494
|
+
},
|
|
2495
|
+
})
|
|
2496
|
+
: null,
|
|
1485
2497
|
);
|
|
1486
2498
|
};
|
|
1487
2499
|
}
|
|
@@ -1602,9 +2614,11 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1602
2614
|
});
|
|
1603
2615
|
}
|
|
1604
2616
|
|
|
1605
|
-
function Page({ title, subtitle, actions, children, workbench = false, className, rootRef, style: styleProp, ...props }) {
|
|
2617
|
+
function Page({ title, subtitle, actions, children, workbench = false, className, rootRef, style: styleProp, font: fontProp, ...props }) {
|
|
1606
2618
|
const [syncedStyle] = useDshStyle(React);
|
|
2619
|
+
const [syncedFont] = useDshFont(React);
|
|
1607
2620
|
const activeStyle = normalizeDshStyle(styleProp ?? syncedStyle);
|
|
2621
|
+
const activeFont = normalizeDshFont(fontProp ?? syncedFont);
|
|
1608
2622
|
return h(
|
|
1609
2623
|
'section',
|
|
1610
2624
|
{
|
|
@@ -1613,6 +2627,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1613
2627
|
className: cx('dshw', 'w-page', className),
|
|
1614
2628
|
'data-main': workbench ? 'true' : 'false',
|
|
1615
2629
|
'data-dsh-style': activeStyle,
|
|
2630
|
+
'data-dsh-font': activeFont,
|
|
1616
2631
|
},
|
|
1617
2632
|
h(Styles, { key: 'styles' }),
|
|
1618
2633
|
h(
|
|
@@ -1628,6 +2643,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1628
2643
|
function Tabs({ items, value, onChange, label, children }) {
|
|
1629
2644
|
const id = typeof useId === 'function' ? useId() : 'w-tabs';
|
|
1630
2645
|
const active = items.some(item => item.id === value) ? value : items[0]?.id;
|
|
2646
|
+
const tabsIndicator = useSlidingTabIndicator(React, active, { deps: [items.length] });
|
|
1631
2647
|
function keys(event, index) {
|
|
1632
2648
|
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
|
|
1633
2649
|
event.preventDefault();
|
|
@@ -1640,7 +2656,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1640
2656
|
{ className: 'w-tabs-layout' },
|
|
1641
2657
|
h(
|
|
1642
2658
|
'div',
|
|
1643
|
-
{ className: 'w-tabs', role: 'tablist', 'aria-label': label },
|
|
2659
|
+
{ className: 'w-tabs dsh-tablist dsh-tablist-pill', role: 'tablist', 'aria-label': label, ...tabsIndicator.tablistProps },
|
|
1644
2660
|
items.map((item, index) =>
|
|
1645
2661
|
h(
|
|
1646
2662
|
'button',
|
|
@@ -1659,8 +2675,16 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1659
2675
|
item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null,
|
|
1660
2676
|
),
|
|
1661
2677
|
),
|
|
2678
|
+
h('span', tabsIndicator.indicatorProps),
|
|
1662
2679
|
),
|
|
1663
|
-
h('div', {
|
|
2680
|
+
h('div', {
|
|
2681
|
+
key: active,
|
|
2682
|
+
className: 'w-tab-panel dsh-tab-panel',
|
|
2683
|
+
'data-dsh-tab-panel': '',
|
|
2684
|
+
id: id + '-panel',
|
|
2685
|
+
role: 'tabpanel',
|
|
2686
|
+
'aria-labelledby': id + '-' + active,
|
|
2687
|
+
}, children),
|
|
1664
2688
|
);
|
|
1665
2689
|
}
|
|
1666
2690
|
|
|
@@ -1760,9 +2784,11 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1760
2784
|
);
|
|
1761
2785
|
}
|
|
1762
2786
|
|
|
1763
|
-
function Dialog({ title, children, onClose, closeLabel = 'Close', className, busy = false, footer, style: styleProp }) {
|
|
2787
|
+
function Dialog({ title, children, onClose, closeLabel = 'Close', className, busy = false, footer, style: styleProp, font: fontProp }) {
|
|
1764
2788
|
const [syncedStyle] = useDshStyle(React);
|
|
2789
|
+
const [syncedFont] = useDshFont(React);
|
|
1765
2790
|
const activeStyle = normalizeDshStyle(styleProp ?? syncedStyle);
|
|
2791
|
+
const activeFont = normalizeDshFont(fontProp ?? syncedFont);
|
|
1766
2792
|
const titleId = typeof useId === 'function' ? useId() : 'w-dialog-title';
|
|
1767
2793
|
const P = resolveHostPrimitives(React, requireFn);
|
|
1768
2794
|
const close = () => { if (!busy) onClose?.(); };
|
|
@@ -1771,6 +2797,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1771
2797
|
{
|
|
1772
2798
|
open: true,
|
|
1773
2799
|
dshStyle: activeStyle,
|
|
2800
|
+
dshFont: activeFont,
|
|
1774
2801
|
headless: true,
|
|
1775
2802
|
title,
|
|
1776
2803
|
closeLabel,
|
|
@@ -1781,9 +2808,10 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1781
2808
|
h(
|
|
1782
2809
|
'section',
|
|
1783
2810
|
{
|
|
1784
|
-
ref: createOverlaySyncRef(activeStyle),
|
|
2811
|
+
ref: createOverlaySyncRef(activeStyle, activeFont),
|
|
1785
2812
|
className: cx('dshw', 'w-dialog', className),
|
|
1786
2813
|
'data-dsh-style': activeStyle,
|
|
2814
|
+
'data-dsh-font': activeFont,
|
|
1787
2815
|
'data-window-drag-exclude': '',
|
|
1788
2816
|
'aria-labelledby': titleId,
|
|
1789
2817
|
},
|
|
@@ -1799,8 +2827,9 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1799
2827
|
);
|
|
1800
2828
|
}
|
|
1801
2829
|
|
|
1802
|
-
function CoachmarkTour({ rootRef, steps = [], step = 0, manual = false, style = 'harness', lang = 'zh', activeKey = '', layout: rawLayout, setLayout, onStep, onClose, onCopyPrompt }) {
|
|
2830
|
+
function CoachmarkTour({ rootRef, steps = [], step = 0, manual = false, style = 'harness', font, lang = 'zh', activeKey = '', layout: rawLayout, setLayout, onStep, onClose, onCopyPrompt }) {
|
|
1803
2831
|
const activeStyle = normalizeDshStyle(style);
|
|
2832
|
+
const activeFont = normalizeDshFont(font ?? readDshFont());
|
|
1804
2833
|
const layerRef = useRef ? useRef(null) : { current: null };
|
|
1805
2834
|
const cardRef = useRef ? useRef(null) : { current: null };
|
|
1806
2835
|
const nextBtnRef = useRef ? useRef(null) : { current: null };
|
|
@@ -1835,12 +2864,29 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1835
2864
|
}, [step]);
|
|
1836
2865
|
|
|
1837
2866
|
useEffect?.(() => {
|
|
2867
|
+
function safeQuery(scope, selector) {
|
|
2868
|
+
if (!scope || typeof scope.querySelector !== 'function' || !selector) return null;
|
|
2869
|
+
if (selector.startsWith('#') && !/[\s>+~,\[]/.test(selector)) {
|
|
2870
|
+
const rawId = selector.slice(1);
|
|
2871
|
+
const escaped = typeof CSS !== 'undefined' && typeof CSS.escape === 'function'
|
|
2872
|
+
? '#' + CSS.escape(rawId)
|
|
2873
|
+
: (/[:"\\]/.test(rawId) ? '[id="' + rawId.replace(/["\\]/g, '\\$&') + '"]' : selector);
|
|
2874
|
+
try {
|
|
2875
|
+
return scope.querySelector(escaped);
|
|
2876
|
+
} catch {
|
|
2877
|
+
try { return scope.querySelector(selector); } catch { return null; }
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
try {
|
|
2881
|
+
return scope.querySelector(selector);
|
|
2882
|
+
} catch {
|
|
2883
|
+
return null;
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
1838
2886
|
function measure() {
|
|
1839
2887
|
const scope = rootRef?.current || (typeof document !== 'undefined' ? document : null);
|
|
1840
2888
|
if (!scope || typeof scope.querySelector !== 'function') return;
|
|
1841
|
-
const target = (current.selector
|
|
1842
|
-
|| (current.fallback && scope.querySelector(current.fallback))
|
|
1843
|
-
|| null;
|
|
2889
|
+
const target = safeQuery(scope, current.selector) || safeQuery(scope, current.fallback);
|
|
1844
2890
|
setLayout?.(computeTourLayout(target, current.side, cardRef.current));
|
|
1845
2891
|
}
|
|
1846
2892
|
measure();
|
|
@@ -1890,6 +2936,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1890
2936
|
ref: layerRef,
|
|
1891
2937
|
className: 'dshw cite-tour-layer',
|
|
1892
2938
|
'data-dsh-style': activeStyle,
|
|
2939
|
+
'data-dsh-font': activeFont,
|
|
1893
2940
|
'data-cite-tour': current.id || String(step),
|
|
1894
2941
|
'data-window-drag-exclude': '',
|
|
1895
2942
|
},
|
|
@@ -1960,7 +3007,7 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1960
3007
|
}
|
|
1961
3008
|
|
|
1962
3009
|
const styles = `
|
|
1963
|
-
.dshw{--w-bg:var(--dsw-alias-bg-base,#ffffff);--w-soft:var(--dsw-alias-bg-layer-1,#f7f9fc);--w-layer-2:var(--dsw-alias-bg-layer-2,#eef2f7);--w-text:var(--dsw-alias-label-primary,#1b2230);--w-muted:var(--dsw-alias-label-secondary,#5b667a);--w-border:var(--dsw-alias-border-l2,#e2e7f0);--w-accent:var(--dsw-alias-state-business-primary,#4176e6);--w-selected:color-mix(in oklab,var(--w-accent) 12%,var(--w-bg));--w-primary:var(--dsw-alias-button-primary-fill,#4176e6);--w-on-primary:var(--dsw-alias-button-primary-ink,#ffffff);container-type:inline-size;container-name:dsh-workbench;color:var(--w-text);font:14px/1.65 var(--dsh-font-family-content,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif);min-width:0;max-width:100%;box-sizing:border-box;text-align:start;color-scheme:inherit}
|
|
3010
|
+
.dshw{--w-bg:var(--dsw-alias-bg-base,#ffffff);--w-soft:var(--dsw-alias-bg-layer-1,#f7f9fc);--w-layer-2:var(--dsw-alias-bg-layer-2,#eef2f7);--w-text:var(--dsw-alias-label-primary,#1b2230);--w-muted:var(--dsw-alias-label-secondary,#5b667a);--w-border:var(--dsw-alias-border-l2,#e2e7f0);--w-accent:var(--dsw-alias-state-business-primary,#4176e6);--w-selected:color-mix(in oklab,var(--w-accent) 12%,var(--w-bg));--w-primary:var(--dsw-alias-button-primary-fill,#4176e6);--w-on-primary:var(--dsw-alias-button-primary-ink,#ffffff);container-type:inline-size;container-name:dsh-workbench;color:var(--w-text);font:14px/1.65 var(--dsh-font-body,var(--dsh-font-family-content,system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif));min-width:0;max-width:100%;box-sizing:border-box;text-align:start;color-scheme:inherit}
|
|
1964
3011
|
.dshw *,.dshw *:before,.dshw *:after{box-sizing:border-box}.dshw h1,.dshw h2,.dshw h3,.dshw h4,.dshw p{margin:0}.dshw h1{font-size:30px;line-height:1.25;letter-spacing:-.025em;font-weight:650}.dshw h2{font-size:20px;line-height:1.35;font-weight:650;letter-spacing:-.015em;overflow-wrap:anywhere}.dshw h3,.dshw h4{font-size:16px;line-height:1.4;font-weight:600}.dshw a{color:var(--w-accent);text-underline-offset:3px;overflow-wrap:anywhere}.dshw button,.dshw input,.dshw select,.dshw textarea{font:inherit;color:inherit;max-width:100%}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select,.dshw textarea{background:var(--dsw-specific-input-major,var(--w-bg));border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:6px 10px;min-width:0;line-height:1.5}.dshw input:not([type=checkbox]):not([type=radio]):not([type=file]),.dshw select{min-height:34px}.dshw textarea{resize:vertical}.dshw input[type=checkbox],.dshw input[type=radio]{width:15px;height:15px;flex-shrink:0;accent-color:var(--w-accent)}.dshw :focus-visible{outline:2px solid var(--w-accent);outline-offset:2px}.dshw button:disabled,.dshw input:disabled,.dshw select:disabled,.dshw textarea:disabled{opacity:.5;cursor:not-allowed}.dshw label{font-size:13px}.dshw fieldset{min-width:0;border:1px solid var(--w-border);border-radius:var(--dsw-radius-sm,8px)}.dshw summary{cursor:pointer;font-weight:550;list-style:none;display:flex;align-items:center;gap:8px}.dshw summary::-webkit-details-marker{display:none}.dshw summary:after{content:'';display:block;margin-inline-start:auto;width:7px;height:7px;border-inline-end:1.75px solid currentColor;border-bottom:1.75px solid currentColor;transform:rotate(45deg);flex-shrink:0;transition:transform .18s ease}.dshw details[open]>summary:after{transform:rotate(225deg)}.dshw details>summary+*{margin-top:12px}.dshw pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;max-width:100%;background:var(--w-soft);border-radius:var(--dsw-radius-sm,8px);padding:12px}.dshw img,.dshw video,.dshw iframe{max-width:100%}
|
|
1965
3012
|
.w-page{display:flex;flex-direction:column;position:relative;padding:0;min-height:540px;gap:0}.w-page[data-main=true]{height:100%;min-height:0;padding:calc(24px + var(--dsh-frame-top-clearance,0px)) 28px 0 max(28px,var(--dsh-frame-leading-clearance,0px));overflow:auto}.dshw[data-main=true]{background:var(--w-bg)}.dshw.w-page,.dshw .w-body,.dshw .w-tab-panel{overflow-x:clip}.w-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding-bottom:22px;flex-shrink:0}.w-heading{min-width:0}.w-subtitle{margin-top:8px!important;font-size:14px;color:var(--w-muted);line-height:1.6}.w-header-actions,.w-toolbar,.w-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.w-header-actions{justify-content:flex-end}.w-body,.w-tabs-layout{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.w-body{overflow:auto}.w-tab-panel{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:auto}.w-tabs{display:flex;align-items:stretch;gap:20px;border-bottom:1px solid var(--w-border);flex-shrink:0;overflow-x:auto;scrollbar-width:thin}.dshw .w-tabs>button{border:0;border-bottom:2px solid transparent;background:transparent;padding:11px 8px 13px;white-space:nowrap;font-size:14px;font-weight:550;cursor:pointer;color:var(--w-muted);display:flex;align-items:center;gap:7px}.dshw .w-tabs>button[aria-selected=true]{border-bottom-color:var(--w-accent);color:var(--w-accent)}.w-count,.w-tag{font-size:12px;line-height:1.5;display:inline-flex;align-items:center;flex-shrink:0;background:var(--w-soft);border-radius:var(--dsw-radius-xs,5px);padding:1px 6px;color:var(--w-muted)}.w-tabs [aria-selected=true] .w-count,.w-selected .w-tag{color:var(--w-accent);background:var(--w-selected)}
|
|
1966
3013
|
.dshw .w-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:var(--w-bg);border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);padding:6px 11px;min-height:30px;line-height:1.4;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;white-space:normal}.dshw .w-button:not(:disabled):hover{background:var(--dsw-alias-interactive-bg-hover,var(--w-soft))}.dshw .w-primary{background:var(--w-primary);border-color:var(--w-primary);color:var(--w-on-primary)}.dshw .w-primary:not(:disabled):hover{background:var(--dsw-alias-button-primary-hover,var(--w-primary));opacity:.95}.dshw .w-ghost{background:transparent;border-color:transparent}.dshw .w-danger{color:var(--dsw-alias-state-error-primary,#b43c3c)}.dshw .w-icon-button{width:30px;min-width:30px;padding:6px}.dshw .w-button svg{flex-shrink:0}.w-muted{color:var(--w-muted);font-size:12px;line-height:1.6}.w-section{padding:24px 0;border-bottom:1px solid var(--w-border);min-width:0}.w-section>h3{margin-bottom:12px}.w-section>p+p{margin-top:8px}.w-fields{display:grid;gap:16px;min-width:0}.w-field{display:grid;gap:6px;min-width:0}.w-field>input,.w-field>select,.w-field>textarea{width:100%}.w-status{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;margin:10px 0;border:var(--dsh-control-border-width,1px) solid var(--w-border);border-radius:var(--dsw-radius-sm,8px);background:var(--w-soft);font-size:13px;overflow-wrap:anywhere;flex-shrink:0}.w-status>svg{flex-shrink:0;margin-top:2px}.w-status-error{color:var(--dsw-alias-state-error-primary,#ad3636)}.w-status-success{color:var(--dsw-alias-state-success-primary,#24794a)}.w-status-warn{color:var(--dsw-alias-state-warn-label,#8a5a00)}.w-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;width:100%;max-width:580px;padding:40px 24px;margin:auto;min-height:240px;overflow-wrap:anywhere}.w-empty>svg{color:var(--w-muted)}.w-empty h2{font-size:18px}.w-empty .w-muted{font-size:13px}.w-empty .w-toolbar{justify-content:center}
|
|
@@ -1972,8 +3019,10 @@ function createWorkbenchUI(React, requireFn) {
|
|
|
1972
3019
|
@media(max-width:700px){.w-page[data-main=true]{padding:calc(16px + var(--dsh-frame-top-clearance,0px)) 16px 0 max(16px,var(--dsh-frame-leading-clearance,0px))}}
|
|
1973
3020
|
@media(prefers-reduced-motion:reduce){.dshw summary:after,.w-switch-track,.w-switch-track:before{transition:none!important}}
|
|
1974
3021
|
`;
|
|
3022
|
+
const SplitResizer = createSplitResizerComponent(React);
|
|
3023
|
+
const Skeleton = createSkeletonComponent(React);
|
|
1975
3024
|
function Styles() { return h('style', null, styles); }
|
|
1976
|
-
return { Icon, Button, IconButton, Page, Tabs, Status, Empty, Split, Row, Search, Switch, Dialog, CoachmarkTour, computeTourLayout, readTourDone, writeTourDone, Styles, register, styles };
|
|
3025
|
+
return { Icon, Button, IconButton, Page, Tabs, Status, Empty, Split, SplitResizer, Skeleton, Row, Search, Switch, Dialog, CoachmarkTour, computeTourLayout, readTourDone, writeTourDone, Styles, register, styles };
|
|
1977
3026
|
}
|
|
1978
3027
|
|
|
1979
3028
|
// Editable browser entry. Build with node scripts/build-client.mjs.
|
|
@@ -1987,7 +3036,7 @@ window.__ModuleLoader__.load(__stardustUpdatesWrap({
|
|
|
1987
3036
|
const hostPrimitives = () => resolveHostPrimitives(React, require);
|
|
1988
3037
|
const StyleSwitcher = createStyleSwitcherComponent(React, require);
|
|
1989
3038
|
const W = createWorkbenchUI(React, require);
|
|
1990
|
-
const CITE_WORKBENCH_CSS = "/* ==========================================================================\n * DeepSeek Harness (>=0.2.2-rc.3) Unified Workbench Themes & Motion System\n * Vendored from _dsh-design-system/themes-and-motion.css for standalone builds.\n *\n * Design Principles:\n * 1. NEVER TOO DARK: Airy daylight defaults; when host `body[data-ds-dark-theme]`\n * is active under `harness`, soften to breathable slate (#1f232b / #272c36),\n * never pitch black (#000 / #090a0f / #151517).\n * 2. 5 SWITCHABLE PRESETS via `[data-dsh-style]`:\n * - `harness` (原生清透 / Native Airy)\n * - `cream` (米白纸感 / Warm Cream)\n * - `claude` (Claude 暖书卷 / Claude Warmth)\n * - `pixel8bit` (8-Bit 像素 / Bright 8-Bit)\n * - `mint` (晴空薄荷 / Airy Mint)\n * 3. PORTALED OVERLAY SYNC: Selectors match both `[data-dsh-style=\"...\"]` roots\n * AND portaled `[role=\"dialog\"]` / `[role=\"menu\"]` containers carrying or\n * wrapping `[data-dsh-style=\"...\"]`.\n * 4. COMPOSITOR MOTION & ICON MICRO-ANIMATIONS with full `prefers-reduced-motion`\n * and `forced-colors` compliance.\n * ========================================================================== */\n\n/* --------------------------------------------------------------------------\n * 1. Motion Timing & Base Token Fallbacks (Standalone + Host Safe)\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n --dsh-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n /* Standard cubic-bezier fallback before linear() physics spring */\n --dsh-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n --dsh-motion-fast: 140ms;\n --dsh-motion-base: 200ms;\n --dsh-motion-dialog: 220ms;\n --dsh-control-border-width: 0.5px;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);\n --dsh-card-hover-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);\n}\n\n@supports (transition-timing-function: linear(0, 1)) {\n :where([data-dsh-style]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-spring: linear(\n 0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%,\n 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%,\n 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1\n );\n }\n}\n\n/* Electron / macOS 0.2.2+ window-drag-regions rule:\n * Exclude ONLY the visible overlay owner box itself (never `[data-window-drag-exclude] *`,\n * so scrolled/clipped descendants cannot register offscreen no-drag rects over headers). */\n[data-window-drag-exclude] {\n -webkit-app-region: no-drag;\n}\n\n/* --------------------------------------------------------------------------\n * 2. Preset 1: `harness` — 原生清透 / Native Airy\n * - Daylight: crisp airy white & mist slate; defers to host tokens when set,\n * with bright standalone fallbacks for tests/previews.\n * - Host Dark (`body[data-ds-dark-theme]`): softened breathable slate\n * (`#1f232b` / `#272c36`), overriding DSH's near-black `#151517`.\n * -------------------------------------------------------------------------- */\n:where(body:not([data-ds-dark-theme])) [data-dsh-style=\"harness\"],\n:where(body:not([data-ds-dark-theme])) :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n color-scheme: light;\n accent-color: var(--dsw-alias-state-business-primary, #4176e6);\n}\n\n/* Standalone fallbacks when host ui-theme stylesheet is not mounted (e.g. jsdom / preview) */\n:root:not([data-dsh-host-tokens]) :where([data-dsh-style=\"harness\"], [role=\"dialog\"][data-dsh-style=\"harness\"], [role=\"menu\"][data-dsh-style=\"harness\"]) {\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 8px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n}\n\nbody:not([data-ds-dark-theme]) [data-dsh-style=\"harness\"] {\n --dsh-surface-spotlight: rgba(65, 118, 230, 0.06);\n}\n\n/* NEVER TOO DARK: Soft breathable slate when host dark mode is active in `harness` mode */\nbody[data-ds-dark-theme] [data-dsh-style=\"harness\"],\nbody[data-ds-dark-theme] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n color-scheme: dark;\n accent-color: #7aaaff;\n --dsw-alias-bg-base: #1f232b;\n --dsw-alias-bg-layer-1: #272c36;\n --dsw-alias-bg-layer-2: #2f3542;\n --dsw-alias-bg-layer-3: #373e4d;\n --dsw-alias-bg-overlay: #2a303c;\n --dsw-alias-bg-module-platform: #2c323e;\n --dsw-alias-settings-card-fill: #262b35;\n --dsw-alias-settings-card-stroke: rgba(226, 232, 240, 0.12);\n --dsw-specific-menu: rgba(39, 44, 54, 0.96);\n --dsw-alias-border-l1: rgba(226, 232, 240, 0.09);\n --dsw-alias-border-l2: rgba(226, 232, 240, 0.15);\n --dsw-alias-border-l3: rgba(226, 232, 240, 0.22);\n --dsw-alias-border-l4: rgba(226, 232, 240, 0.28);\n --dsw-alias-label-primary: #eef2f7;\n --dsw-alias-label-secondary: #b6c0cf;\n --dsw-alias-label-tertiary: #8d98ab;\n --dsw-alias-label-dimmed: #737e91;\n --dsw-alias-brand-primary: #7aaaff;\n --dsw-alias-brand-text: #eef2f7;\n --dsw-alias-state-business-primary: #7aaaff;\n --dsw-alias-state-business-tertiary: rgba(122, 170, 255, 0.16);\n --dsw-alias-link: #8bb6ff;\n --dsw-alias-button-primary-fill: #5b8def;\n --dsw-alias-button-primary-hover: #6f9cf4;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(226, 232, 240, 0.07);\n --dsw-alias-interactive-bg-active: rgba(226, 232, 240, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(122, 170, 255, 0.15);\n --dsw-alias-interactive-bg-hover-danger: rgba(248, 113, 113, 0.16);\n --dsw-alias-state-error-primary: #f87171;\n --dsw-alias-state-warn-primary: #fbbf24;\n --dsw-alias-state-warn-label: #fcd34d;\n --dsw-alias-state-warn-tertiary: rgba(251, 191, 36, 0.15);\n --dsw-alias-state-success-primary: #4ade80;\n --dsw-alias-state-success-tertiary: rgba(74, 222, 128, 0.15);\n --dsw-elevation-soft: 0 2px 8px rgba(10, 14, 22, 0.22);\n --dsw-elevation-panel: 0 4px 16px rgba(10, 14, 22, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.12);\n --dsw-elevation-prominent: 0 14px 38px rgba(10, 14, 22, 0.42), 0 0 0 1px rgba(226, 232, 240, 0.16);\n --dsh-button-hover-shadow: 0 2px 8px rgba(10, 14, 22, 0.25);\n --dsh-card-hover-shadow: 0 8px 22px rgba(10, 14, 22, 0.32);\n --dsh-surface-spotlight: rgba(122, 170, 255, 0.10);\n}\n\n/* --------------------------------------------------------------------------\n * 3. Preset 2: `cream` — 米白纸感 / Warm Cream\n * (#FAF7F0 / #F3EFE4 paper surfaces, #2B2620 ink, warm amber/sand accents)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"cream\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"cream\"], :has([data-dsh-style=\"cream\"])) {\n color-scheme: light;\n accent-color: #9e5829;\n --dsw-alias-bg-base: #faf7f0;\n --dsw-alias-bg-layer-1: #f3efe4;\n --dsw-alias-bg-layer-2: #eae3d3;\n --dsw-alias-bg-layer-3: #e0d7c3;\n --dsw-alias-bg-overlay: #fcfaf4;\n --dsw-alias-bg-module-platform: #efe9da;\n --dsw-alias-settings-card-fill: #f5f1e6;\n --dsw-alias-settings-card-stroke: #dfd5be;\n --dsw-specific-menu: rgba(252, 250, 244, 0.97);\n --dsw-alias-border-l1: #e6dec8;\n --dsw-alias-border-l2: #d4c8ae;\n --dsw-alias-border-l3: #c0b193;\n --dsw-alias-border-l4: #ad9c7c;\n --dsw-alias-label-primary: #2b2620;\n --dsw-alias-label-secondary: #655b4e;\n --dsw-alias-label-tertiary: #857968;\n --dsw-alias-label-dimmed: #9c907f;\n --dsw-alias-brand-primary: #9e5829;\n --dsw-alias-brand-text: #2b2620;\n --dsw-alias-state-business-primary: #a65e2e;\n --dsw-alias-state-business-tertiary: rgba(166, 94, 46, 0.13);\n --dsw-alias-link: #934e20;\n --dsw-alias-button-primary-fill: #9e5829;\n --dsw-alias-button-primary-hover: #86481e;\n --dsw-alias-button-primary-ink: #fffdf9;\n --dsw-alias-interactive-bg-hover: rgba(108, 84, 50, 0.075);\n --dsw-alias-interactive-bg-active: rgba(166, 94, 46, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(166, 94, 46, 0.12);\n --dsw-alias-interactive-bg-hover-danger: rgba(185, 56, 44, 0.11);\n --dsw-alias-state-error-primary: #b9382c;\n --dsw-alias-state-warn-primary: #b45309;\n --dsw-alias-state-warn-label: #8c3d08;\n --dsw-alias-state-warn-tertiary: #fdefd6;\n --dsw-alias-state-success-primary: #2a6f4e;\n --dsw-alias-state-success-tertiary: rgba(42, 111, 78, 0.13);\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 13px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-soft: 0 1px 4px rgba(68, 52, 32, 0.06);\n --dsw-elevation-panel: 0 3px 12px rgba(68, 52, 32, 0.07), 0 0 0 1px rgba(180, 164, 138, 0.35);\n --dsw-elevation-prominent: 0 14px 34px rgba(68, 52, 32, 0.14), 0 2px 6px rgba(68, 52, 32, 0.06), 0 0 0 1px rgba(180, 164, 138, 0.42);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 6px rgba(84, 62, 34, 0.09);\n --dsh-card-hover-shadow: 0 8px 20px rgba(84, 62, 34, 0.10);\n --dsh-surface-spotlight: rgba(166, 94, 46, 0.08);\n}\n\n/* --------------------------------------------------------------------------\n * 4. Preset 3: `claude` — Claude 暖书卷 / Claude Warmth\n * (#F5F4ED / #ECE9DF parchment, #C96442 terracotta accent, editorial warmth)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"claude\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) {\n color-scheme: light;\n accent-color: #c96442;\n --dsw-alias-bg-base: #f5f4ed;\n --dsw-alias-bg-layer-1: #ece9df;\n --dsw-alias-bg-layer-2: #e3dfd2;\n --dsw-alias-bg-layer-3: #d8d3c3;\n --dsw-alias-bg-overlay: #faf9f4;\n --dsw-alias-bg-module-platform: #e7e3d6;\n --dsw-alias-settings-card-fill: #efece2;\n --dsw-alias-settings-card-stroke: #dad5c6;\n --dsw-specific-menu: rgba(250, 249, 244, 0.97);\n --dsw-alias-border-l1: #e2ded0;\n --dsw-alias-border-l2: #d0cbc0;\n --dsw-alias-border-l3: #bcb6a7;\n --dsw-alias-border-l4: #a69f8f;\n --dsw-alias-label-primary: #1f1e1b;\n --dsw-alias-label-secondary: #5d5a51;\n --dsw-alias-label-tertiary: #7b776c;\n --dsw-alias-label-dimmed: #948f83;\n --dsw-alias-brand-primary: #c96442;\n --dsw-alias-brand-text: #1f1e1b;\n --dsw-alias-state-business-primary: #c96442;\n --dsw-alias-state-business-tertiary: rgba(201, 100, 66, 0.14);\n --dsw-alias-link: #b35030;\n --dsw-alias-button-primary-fill: #c96442;\n --dsw-alias-button-primary-hover: #b25232;\n --dsw-alias-button-primary-ink: #faf9f5;\n --dsw-alias-interactive-bg-hover: rgba(31, 30, 27, 0.055);\n --dsw-alias-interactive-bg-active: rgba(201, 100, 66, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(201, 100, 66, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(180, 48, 42, 0.11);\n --dsw-alias-state-error-primary: #b4302a;\n --dsw-alias-state-warn-primary: #b85d19;\n --dsw-alias-state-warn-label: #8c430c;\n --dsw-alias-state-warn-tertiary: #f7e8d6;\n --dsw-alias-state-success-primary: #2d6a4f;\n --dsw-alias-state-success-tertiary: rgba(45, 106, 79, 0.13);\n --dsw-radius-xs: 7px;\n --dsw-radius-sm: 10px;\n --dsw-radius-md: 14px;\n --dsw-radius-lg: 18px;\n --dsw-radius-xl: 22px;\n --dsw-elevation-soft: 0 1px 4px rgba(31, 30, 27, 0.05);\n --dsw-elevation-panel: 0 3px 14px rgba(31, 30, 27, 0.06), 0 0 0 1px rgba(145, 139, 126, 0.28);\n --dsw-elevation-prominent: 0 16px 38px rgba(31, 30, 27, 0.13), 0 2px 8px rgba(31, 30, 27, 0.05), 0 0 0 1px rgba(145, 139, 126, 0.34);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(31, 30, 27, 0.08);\n --dsh-card-hover-shadow: 0 8px 22px rgba(31, 30, 27, 0.09);\n --dsh-surface-spotlight: rgba(201, 100, 66, 0.08);\n}\n\n/* Subtle editorial serif warmth on primary workbench/dialog headings in Claude preset */\n[data-dsh-style=\"claude\"] :where(header h1, .cite-brand, [data-dsh-editorial-heading]),\n:where([role=\"dialog\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) header h2 {\n font-family: \"Iowan Old Style\", \"Georgia\", \"Songti SC\", \"Noto Serif SC\", var(--dsw-font-family, serif);\n letter-spacing: -0.01em;\n}\n\n/* --------------------------------------------------------------------------\n * 5. Preset 4: `pixel8bit` — 8-Bit 像素 / Bright 8-Bit\n * (#F4F6E8 / #E7EED2 pastel arcade, #1E2826 ink, #2E7D5B & #D95B43 accents,\n * 0px radius, 2px solid crisp borders, 2px 2px 0 pixel shadow,\n * stepped translate(1px, 1px) press — bright & legible!)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"pixel8bit\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n color-scheme: light;\n accent-color: #2e7d5b;\n --dsw-alias-bg-base: #f4f6e8;\n --dsw-alias-bg-layer-1: #e7eed2;\n --dsw-alias-bg-layer-2: #dbe5c0;\n --dsw-alias-bg-layer-3: #cedaad;\n --dsw-alias-bg-overlay: #f9fbf0;\n --dsw-alias-bg-module-platform: #e2ebc9;\n --dsw-alias-settings-card-fill: #edf2dc;\n --dsw-alias-settings-card-stroke: #1e2826;\n --dsw-specific-menu: #f9fbf0;\n --dsw-alias-border-l1: #7e9478;\n --dsw-alias-border-l2: #1e2826;\n --dsw-alias-border-l3: #1e2826;\n --dsw-alias-border-l4: #1e2826;\n --dsw-alias-label-primary: #1e2826;\n --dsw-alias-label-secondary: #3d514c;\n --dsw-alias-label-tertiary: #58706a;\n --dsw-alias-label-dimmed: #6e857f;\n --dsw-alias-brand-primary: #2e7d5b;\n --dsw-alias-brand-text: #1e2826;\n --dsw-alias-state-business-primary: #2e7d5b;\n --dsw-alias-state-business-tertiary: rgba(46, 125, 91, 0.18);\n --dsw-alias-link: #226448;\n --dsw-alias-button-primary-fill: #2e7d5b;\n --dsw-alias-button-primary-hover: #24674a;\n --dsw-alias-button-primary-ink: #f4f6e8;\n --dsw-alias-interactive-bg-hover: #dfe9c4;\n --dsw-alias-interactive-bg-active: #cfe0ad;\n --dsw-alias-interactive-bg-hover-accent: rgba(46, 125, 91, 0.16);\n --dsw-alias-interactive-bg-hover-danger: rgba(217, 91, 67, 0.18);\n --dsw-alias-state-error-primary: #d95b43;\n --dsw-alias-state-warn-primary: #c47614;\n --dsw-alias-state-warn-label: #7a4808;\n --dsw-alias-state-warn-tertiary: #f6e7b4;\n --dsw-alias-state-success-primary: #2e7d5b;\n --dsw-alias-state-success-tertiary: rgba(46, 125, 91, 0.16);\n --dsh-pixel-accent-secondary: #d95b43;\n --dsw-radius-xs: 0px;\n --dsw-radius-sm: 0px;\n --dsw-radius-md: 0px;\n --dsw-radius-lg: 0px;\n --dsw-radius-xl: 0px;\n --dsw-corner-shape: square;\n --dsw-elevation-soft: 2px 2px 0px #1e2826;\n --dsw-elevation-panel: 3px 3px 0px #1e2826;\n --dsw-elevation-prominent: 4px 4px 0px #1e2826;\n --dsh-control-border-width: 2px;\n --dsh-button-shadow: 2px 2px 0px #1e2826;\n --dsh-button-hover-shadow: 3px 3px 0px #1e2826;\n --dsh-card-hover-shadow: 4px 4px 0px #1e2826;\n --dsh-surface-spotlight: rgba(46, 125, 91, 0.12);\n}\n\n/* Crisp 0px corners, 2px solid borders, and arcade shadows in `pixel8bit` */\n[data-dsh-style=\"pixel8bit\"] :where(button, input, select, textarea, [role=\"button\"], [role=\"tab\"], [role=\"menuitem\"], [role=\"menuitemradio\"], [data-dsh-card], [data-dsh-panel]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button, input, select, textarea, [role=\"menuitem\"], [role=\"menuitemradio\"]) {\n border-radius: 0px !important;\n corner-shape: square;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea) {\n border-width: 2px;\n border-color: #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n border: 2px solid #1e2826 !important;\n box-shadow: 4px 4px 0px #1e2826 !important;\n backdrop-filter: none;\n}\n\n[data-dsh-style=\"pixel8bit\"] [role=\"tab\"][aria-selected=\"true\"]::after {\n border-block-end-color: #d95b43;\n border-block-end-width: 3px;\n}\n\n/* --------------------------------------------------------------------------\n * 6. Preset 5: `mint` — 晴空薄荷 / Airy Mint\n * (#F5FAFB / #EAF3F6 breeze surfaces, #0F766E teal & #0284C7 sky accents)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"mint\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"mint\"], :has([data-dsh-style=\"mint\"])) {\n color-scheme: light;\n accent-color: #0f766e;\n --dsw-alias-bg-base: #f5fafb;\n --dsw-alias-bg-layer-1: #eaf3f6;\n --dsw-alias-bg-layer-2: #dcebf0;\n --dsw-alias-bg-layer-3: #cce1e8;\n --dsw-alias-bg-overlay: #fafdff;\n --dsw-alias-bg-module-platform: #e3eff3;\n --dsw-alias-settings-card-fill: #eef6f8;\n --dsw-alias-settings-card-stroke: #c7dde5;\n --dsw-specific-menu: rgba(250, 253, 255, 0.97);\n --dsw-alias-border-l1: #d5e6ec;\n --dsw-alias-border-l2: #bdd5de;\n --dsw-alias-border-l3: #9ec0cd;\n --dsw-alias-border-l4: #7faab9;\n --dsw-alias-label-primary: #132a2e;\n --dsw-alias-label-secondary: #426067;\n --dsw-alias-label-tertiary: #628088;\n --dsw-alias-label-dimmed: #7c98a0;\n --dsw-alias-brand-primary: #0f766e;\n --dsw-alias-brand-text: #132a2e;\n --dsw-alias-state-business-primary: #0f766e;\n --dsw-alias-state-business-tertiary: rgba(15, 118, 110, 0.13);\n --dsw-alias-link: #0284c7;\n --dsw-alias-button-primary-fill: #0f766e;\n --dsw-alias-button-primary-hover: #0d635c;\n --dsw-alias-button-primary-ink: #f5fafb;\n --dsw-alias-interactive-bg-hover: rgba(15, 118, 110, 0.07);\n --dsw-alias-interactive-bg-active: rgba(15, 118, 110, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(2, 132, 199, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(200, 50, 64, 0.11);\n --dsw-alias-state-error-primary: #c83240;\n --dsw-alias-state-warn-primary: #b4690e;\n --dsw-alias-state-warn-label: #864c07;\n --dsw-alias-state-warn-tertiary: #fdf1d6;\n --dsw-alias-state-success-primary: #0f766e;\n --dsw-alias-state-success-tertiary: rgba(15, 118, 110, 0.13);\n --dsh-mint-sky-accent: #0284c7;\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-soft: 0 1px 4px rgba(15, 76, 92, 0.06);\n --dsw-elevation-panel: 0 3px 12px rgba(15, 76, 92, 0.07), 0 0 0 1px rgba(127, 170, 185, 0.28);\n --dsw-elevation-prominent: 0 14px 34px rgba(15, 76, 92, 0.13), 0 2px 6px rgba(15, 76, 92, 0.05), 0 0 0 1px rgba(127, 170, 185, 0.34);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(15, 118, 110, 0.11);\n --dsh-card-hover-shadow: 0 8px 22px rgba(2, 132, 199, 0.10);\n --dsh-surface-spotlight: rgba(2, 132, 199, 0.08);\n}\n\n/* --------------------------------------------------------------------------\n * 7. Interactive Dynamics: Tactile Button Physics & Active States\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"], a.cite-download),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n translate: 0px 0px;\n scale: 1;\n transition-property: background-color, border-color, color, box-shadow, opacity, translate, scale;\n transition-duration: var(--dsh-motion-fast);\n transition-timing-function: var(--dsh-ease-out);\n}\n\n/* Visible active style on open menu triggers (per `menu` guidance) */\n:where([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]) {\n background-color: var(--dsw-alias-interactive-bg-active);\n color: var(--dsw-alias-label-primary);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n @media (hover: hover) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not([role=\"switch\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not([role=\"switch\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 0px -0.5px;\n }\n\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: -1px -1px;\n box-shadow: 3px 3px 0px #1e2826;\n transition-timing-function: steps(2, end);\n transition-duration: 70ms;\n }\n }\n\n /* Tactile spring press on non-pixel themes */\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"switch\"]):not(.cite-reference-button), [role=\"button\"], a.cite-download):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"switch\"]), [role=\"button\"]):active:not(:disabled):not([aria-disabled=\"true\"]) {\n scale: 0.965;\n translate: 0px 0.5px;\n transition-duration: 80ms;\n }\n\n /* Stepped 8-Bit arcade press (`translate(1px, 1px)` + crisp 1px pixel shadow) */\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"switch\"]):not(.cite-reference-button), .dsh-btn, a.cite-download):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"switch\"]), .dsh-btn):active:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 1px 1px !important;\n scale: 1 !important;\n box-shadow: 1px 1px 0px #1e2826 !important;\n transition-timing-function: steps(2, end);\n transition-duration: 50ms;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 8. Small-Button SVG Icon Micro-Animations\n * Works automatically with `svg[data-dsh-icon=\"<name>\"]` or `svg[data-icon=\"<name>\"]`\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg,\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg {\n translate: 0px 0px;\n rotate: 0deg;\n scale: 1;\n transform-origin: center;\n}\n\n@keyframes dsh-icon-spin {\n to {\n rotate: 360deg;\n }\n}\n\n@keyframes dsh-icon-wiggle {\n 0% { rotate: 0deg; }\n 25% { rotate: -12deg; }\n 55% { rotate: 10deg; }\n 80% { rotate: -5deg; }\n 100% { rotate: 0deg; }\n}\n\n@keyframes dsh-icon-pop {\n 0% { scale: 1; }\n 45% { scale: 1.26; }\n 75% { scale: 0.94; }\n 100% { scale: 1; }\n}\n\n@keyframes dsh-icon-bounce {\n 0%, 100% { translate: 0px 0px; }\n 45% { translate: 0px 2.5px; }\n 75% { translate: 0px -1px; }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg,\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary, a) svg {\n transition:\n translate var(--dsh-motion-base) var(--dsh-ease-spring),\n rotate 240ms var(--dsh-ease-spring),\n scale var(--dsh-motion-base) var(--dsh-ease-spring);\n }\n\n /* 1) `down` / chevron: 180deg flip on `[aria-expanded=\"true\"]` or `details[open]` */\n :where([data-dsh-style]) :where([aria-expanded=\"true\"], [data-open=\"true\"], details[open] > summary) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]) :where([aria-expanded=\"true\"], [data-open=\"true\"]) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n rotate: 180deg;\n }\n\n /* 2) `refresh` / `sync`: smooth 180deg spin on hover, continuous spin when busy */\n :where([data-dsh-style]) :where(button, [role=\"button\"])[aria-busy=\"true\"] :is(svg[data-dsh-icon=\"refresh\"], svg[data-dsh-icon=\"sync\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"]),\n :where([data-dsh-style]) :is(svg[data-dsh-icon=\"refresh\"], svg[data-icon=\"refresh\"])[data-spinning=\"true\"] {\n animation: dsh-icon-spin 0.85s linear infinite;\n }\n\n @media (hover: hover) {\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"refresh\"], svg[data-dsh-icon=\"sync\"], svg[data-dsh-icon=\"reload\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"], svg[data-icon=\"reload\"]) {\n rotate: 180deg;\n }\n\n /* 3) `plus` / `close`: crisp 90deg turn */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"plus\"], svg[data-dsh-icon=\"add\"], svg[data-dsh-icon=\"close\"], svg[data-dsh-icon=\"x\"], svg[data-icon=\"plus\"], svg[data-icon=\"add\"], svg[data-icon=\"close\"], svg[data-icon=\"x\"]) {\n rotate: 90deg;\n }\n\n /* 4) `send` / `external` / `link`: forward/diagonal glide */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], a):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"send\"], svg[data-dsh-icon=\"external\"], svg[data-dsh-icon=\"link\"], svg[data-icon=\"send\"], svg[data-icon=\"external\"], svg[data-icon=\"link\"]) {\n translate: 2px -1.5px;\n }\n\n /* 5) `reply` / `left` / `undo`: leading glide */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"reply\"], svg[data-dsh-icon=\"left\"], svg[data-dsh-icon=\"undo\"], svg[data-icon=\"reply\"], svg[data-icon=\"left\"], svg[data-icon=\"undo\"]) {\n translate: -2px 0px;\n }\n\n /* 6) `right` / `play`: trailing nudge & pulse */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"right\"], svg[data-icon=\"right\"]) {\n translate: 2px 0px;\n }\n\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"play\"], svg[data-icon=\"play\"]) {\n translate: 1.5px 0px;\n scale: 1.14;\n }\n\n /* 7) `trash` / `delete`: tactile warning wiggle */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"trash\"], svg[data-dsh-icon=\"delete\"], svg[data-icon=\"trash\"], svg[data-icon=\"delete\"]) {\n animation: dsh-icon-wiggle 360ms var(--dsh-ease-in-out);\n }\n\n /* 8) `star` / `check` / `copy` / `bookmark`: spring pop */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"star\"], svg[data-dsh-icon=\"check\"], svg[data-dsh-icon=\"copy\"], svg[data-dsh-icon=\"bookmark\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"], svg[data-icon=\"bookmark\"]) {\n scale: 1.18;\n }\n\n /* 9) `download` / `export` / `upload`: vertical bounce */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], a):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"download\"], svg[data-dsh-icon=\"export\"], svg[data-dsh-icon=\"upload\"], svg[data-icon=\"download\"], svg[data-icon=\"export\"], svg[data-icon=\"upload\"]) {\n animation: dsh-icon-bounce 420ms var(--dsh-ease-out);\n }\n\n /* 10) `palette` / `sparkles` / `sparkle` / `edit`: playful tilt */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"palette\"], svg[data-dsh-icon=\"sparkles\"], svg[data-dsh-icon=\"sparkle\"], svg[data-dsh-icon=\"edit\"], svg[data-icon=\"palette\"], svg[data-icon=\"sparkles\"], svg[data-icon=\"edit\"]) {\n rotate: -12deg;\n scale: 1.08;\n }\n\n /* Closed chevron gentle downward cue on hover */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"])[aria-expanded=\"false\"]:hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n translate: 0px 1.5px;\n }\n }\n\n /* Pop feedback when toggled into active/pressed/checked/copied state */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where([aria-pressed=\"true\"], [aria-checked=\"true\"], [data-active=\"true\"], [data-copied=\"true\"]) :is(svg[data-dsh-icon=\"star\"], svg[data-dsh-icon=\"check\"], svg[data-dsh-icon=\"copy\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"]) {\n animation: dsh-icon-pop 300ms var(--dsh-ease-spring);\n }\n}\n\n/* --------------------------------------------------------------------------\n * 9. Tabs, Interactive Rows, Cards & Top-Layer Dialog/Popover Entrance\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) [role=\"tablist\"] {\n scrollbar-width: thin;\n}\n\n:where([data-dsh-style]) [role=\"tab\"] {\n position: relative;\n}\n\n/* Non-color border indicator on selected tabs (WCAG 1.4.1 + Forced Colors safe) */\n:where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n content: \"\";\n position: absolute;\n inset-inline: 6px;\n inset-block-end: 0;\n border-block-end: 2px solid var(--dsw-alias-state-business-primary, currentColor);\n pointer-events: none;\n}\n\n/* Interactive workbench cards & list rows */\n:where([data-dsh-style]) :where([data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row) {\n translate: 0px 0px;\n transition:\n background-color var(--dsh-motion-fast) var(--dsh-ease-out),\n border-color var(--dsh-motion-fast) var(--dsh-ease-out),\n box-shadow var(--dsh-motion-base) var(--dsh-ease-out),\n translate var(--dsh-motion-base) var(--dsh-ease-out);\n}\n\n@media (hover: hover) and (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"])) :where([data-dsh-card], .dsh-card):hover {\n translate: 0px -1.5px;\n box-shadow: var(--dsh-card-hover-shadow);\n }\n\n [data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card):hover {\n translate: -1px -1px;\n box-shadow: 4px 4px 0px #1e2826;\n }\n\n :where([data-dsh-style]) :where([data-dsh-row], .dsh-row):hover:not([data-selected=\"true\"]):not([aria-selected=\"true\"]):not([data-active=\"true\"]) {\n background-color: var(--dsh-surface-spotlight, var(--dsw-alias-interactive-bg-hover));\n }\n}\n\n/* Modal / Dialog & Popover Top-Layer Entrance + Scroll Containment */\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n overscroll-behavior: contain;\n opacity: 1;\n transition-property: opacity, scale, translate, display, overlay;\n transition-duration: var(--dsh-motion-dialog);\n transition-timing-function: var(--dsh-ease-out);\n /* Separate declaration after transition so older parsers never drop transitions */\n transition-behavior: allow-discrete;\n}\n\n@starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 1;\n translate: 0px 0px;\n }\n\n @starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 0.965;\n translate: 0px 6px;\n }\n }\n}\n\ndialog[open]::backdrop {\n overflow: hidden;\n overscroll-behavior: contain;\n}\n\n/* --------------------------------------------------------------------------\n * 10. Unified Header Style Switcher & Standalone Fallback Controls\n * -------------------------------------------------------------------------- */\n.dsh-style-switcher {\n display: inline-flex;\n align-items: center;\n flex: none;\n}\n\n.dsh-style-trigger.dsh-style-trigger {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-height: 28px;\n padding-inline: 8px;\n width: auto;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: var(--dsw-alias-label-secondary, #5b667a);\n background: var(--dsw-alias-bg-layer-1, #f7f9fc);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n cursor: pointer;\n white-space: nowrap;\n}\n\n@media (hover: hover) {\n .dsh-style-trigger.dsh-style-trigger:hover:not(:disabled) {\n color: var(--dsw-alias-label-primary, #1b2230);\n background: var(--dsw-alias-interactive-bg-hover, #eef2f7);\n }\n}\n\n.dsh-style-swatch {\n display: inline-block;\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n corner-shape: round;\n background: var(--dsh-swatch-color, var(--dsw-alias-state-business-primary, #4176e6));\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-style-swatch {\n border-radius: 0px !important;\n corner-shape: square;\n box-shadow: 1px 1px 0px #1e2826;\n}\n\n.dsh-style-fallback-wrap {\n position: relative;\n display: inline-flex;\n}\n\n.dsh-style-fallback-menu {\n position: absolute;\n inset-block-start: calc(100% + 4px);\n inset-inline-end: 0;\n z-index: 2147483001;\n display: grid;\n gap: 2px;\n min-width: 168px;\n padding: 4px;\n background: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base, #ffffff));\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-md, 12px);\n box-shadow: var(--dsw-elevation-prominent, 0 12px 32px rgba(15, 23, 42, 0.14));\n}\n\n.dsh-style-fallback-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n width: 100%;\n min-height: 28px;\n padding: 4px 8px;\n border: 0;\n border-radius: var(--dsw-radius-xs, 6px);\n background: transparent;\n color: var(--dsw-alias-label-primary, #1b2230);\n font: inherit;\n font-size: 12px;\n text-align: start;\n cursor: pointer;\n}\n\n.dsh-style-fallback-item[aria-checked=\"true\"] {\n background: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.12));\n font-weight: 600;\n}\n\n@media (hover: hover) {\n .dsh-style-fallback-item:hover:not(:disabled) {\n background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.05));\n }\n}\n\n.dsh-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n min-height: 28px;\n padding: 4px 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n background: var(--dsw-alias-bg-base, #ffffff);\n color: var(--dsw-alias-label-primary, #1b2230);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n cursor: pointer;\n}\n\n.dsh-btn-ghost {\n background: transparent;\n border-color: transparent;\n}\n\n.dsh-btn-primary {\n background: var(--dsw-alias-button-primary-fill, #4176e6);\n border-color: var(--dsw-alias-button-primary-fill, #4176e6);\n color: var(--dsw-alias-button-primary-ink, #ffffff);\n}\n\n.dsh-fallback-btn-icon,\n.dsh-fallback-input-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n}\n\n.dsh-fallback-input-wrap {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n min-height: 30px;\n padding-inline: 8px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-sm, 8px);\n background: var(--dsw-alias-bg-base, #ffffff);\n}\n\n.dsh-fallback-input-wrap > input {\n flex: 1 1 auto;\n min-width: 0;\n border: 0 !important;\n background: transparent !important;\n padding: 4px 0 !important;\n outline: none;\n color: inherit;\n font: inherit;\n}\n\n.dsh-checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n cursor: pointer;\n}\n\n.dsh-checkbox-icon > span {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n.dsh-segmented-fallback {\n display: inline-flex;\n align-items: center;\n gap: 2px;\n padding: 2px;\n border-radius: var(--dsw-radius-sm, 8px);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n background: var(--dsw-alias-bg-layer-2, #eef2f7);\n max-width: 100%;\n overflow-x: auto;\n}\n\n.dsh-segmented-fallback > button {\n flex: 1 1 auto;\n min-height: 26px;\n padding: 3px 9px;\n border: 0;\n border-radius: max(4px, calc(var(--dsw-radius-sm, 8px) - 2px));\n background: transparent;\n color: var(--dsw-alias-label-secondary, #5b667a);\n font: inherit;\n font-size: 12px;\n font-weight: 500;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.dsh-segmented-fallback > button[aria-selected=\"true\"],\n.dsh-segmented-fallback > button[aria-checked=\"true\"] {\n background: var(--dsw-alias-bg-base, #ffffff);\n color: var(--dsw-alias-label-primary, #1b2230);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n font-weight: 600;\n}\n\n.dsh-pill-fallback {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: 999px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n background: var(--dsw-alias-bg-layer-1, #f7f9fc);\n color: var(--dsw-alias-label-secondary, #5b667a);\n font: inherit;\n font-size: 11.5px;\n cursor: pointer;\n}\n\n.dsh-pill-fallback[data-active=\"true\"],\n.dsh-pill-fallback[aria-pressed=\"true\"] {\n background: var(--dsw-alias-button-primary-fill, #4176e6);\n border-color: var(--dsw-alias-button-primary-fill, #4176e6);\n color: var(--dsw-alias-button-primary-ink, #ffffff);\n}\n\n.dsh-tag-fallback {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 1px 7px;\n border-radius: var(--dsw-radius-xs, 6px);\n background: var(--dsw-alias-bg-layer-2, #eef2f7);\n color: var(--dsw-alias-label-secondary, #5b667a);\n font-size: 11px;\n font-weight: 500;\n}\n\n.dsh-tag-fallback[data-tone=\"success\"] {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n background: var(--dsw-alias-state-success-tertiary, rgba(31, 122, 76, 0.12));\n}\n\n.dsh-tag-fallback[data-tone=\"warning\"] {\n color: var(--dsw-alias-state-warn-label, #8c4b08);\n background: var(--dsw-alias-state-warn-tertiary, rgba(180, 83, 9, 0.14));\n}\n\n.dsh-tag-fallback[data-tone=\"danger\"] {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n background: var(--dsw-alias-interactive-bg-hover-danger, rgba(185, 56, 44, 0.12));\n}\n\n.dsh-tag-fallback[data-tone=\"info\"] {\n color: var(--dsw-alias-state-business-primary, #4176e6);\n background: var(--dsw-alias-state-business-tertiary, rgba(65, 118, 230, 0.12));\n}\n\n/* Fallback Modal & Menu Chrome (when host `@deepseek-ai/dsh-client-ui-primitives` is absent) */\n.dsh-fallback-modal-root {\n position: fixed;\n inset: 0;\n z-index: 2147483000;\n display: grid;\n place-items: center;\n padding: 16px;\n}\n\n.dsh-fallback-modal-mask {\n position: fixed;\n inset: 0;\n background: rgba(15, 23, 42, 0.32);\n}\n\n.dsh-fallback-modal-dialog {\n position: relative;\n z-index: 1;\n width: min(580px, calc(100dvw - 32px));\n max-height: calc(100dvh - 32px);\n overflow: clip;\n display: flex;\n flex-direction: column;\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2, #e2e7f0);\n border-radius: var(--dsw-radius-md, 12px);\n background: var(--dsw-alias-bg-layer-1, #f8fafc);\n color: var(--dsw-alias-label-primary, #1f232b);\n box-shadow: var(--dsw-elevation-prominent, 0 16px 40px rgba(15, 23, 42, 0.2));\n}\n\n/* --------------------------------------------------------------------------\n * 11. Accessibility: Reduced Motion & Windows High Contrast (Forced Colors)\n * -------------------------------------------------------------------------- */\n@media (prefers-reduced-motion: reduce) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], a.cite-download, [data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n translate: none !important;\n scale: none !important;\n transition-property: background-color, border-color, color, opacity;\n transition-duration: 90ms;\n }\n\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], summary, a) svg {\n animation: none !important;\n transition: none !important;\n translate: none !important;\n rotate: none !important;\n scale: none !important;\n }\n\n /* Short, non-spatial fade only for top-layer dialogs under reduced motion */\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: none !important;\n translate: none !important;\n transition-duration: 100ms;\n }\n}\n\n@media (forced-colors: active) {\n :where([data-dsh-style]) :where(button, input, select, textarea),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style], :has([data-dsh-style])) {\n border: 1px solid ButtonText;\n }\n\n :where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n border-block-end: 3px solid Highlight;\n }\n}\n\n.cite-workbench.dshw {\n --cite-base: var(--dsw-alias-bg-base, #ffffff);\n --cite-layer: var(--dsw-alias-bg-layer-1, #f7f9fc);\n --cite-control: var(--dsw-alias-bg-layer-2, #eef2f7);\n --cite-ink: var(--dsw-alias-label-primary, #1b2230);\n --cite-secondary: var(--dsw-alias-label-secondary, #5b667a);\n --cite-line: var(--dsw-alias-border-l2, #e2e7f0);\n --cite-subtle-line: var(--dsw-alias-border-l1, #ebf0f6);\n --cite-accent: var(--dsw-alias-state-business-primary, #4176e6);\n --cite-hover: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.045));\n --cite-active: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.11));\n --cite-primary: var(--dsw-alias-button-primary-fill, #4176e6);\n --cite-on-primary: var(--dsw-alias-button-primary-ink, #ffffff);\n --cite-mono: var(--ds-font-family-code, ui-monospace, SFMono-Regular, Consolas, monospace);\n --cite-radius-sm: var(--dsw-radius-sm, 8px);\n --cite-radius-md: var(--dsw-radius-md, 12px);\n container: cite-workbench / inline-size;\n inline-size: 100%;\n min-inline-size: 0;\n min-block-size: 0;\n box-sizing: border-box;\n font-family: inherit;\n font-size: 13px;\n line-height: 1.5;\n color: var(--cite-ink);\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"true\"] {\n block-size: 100%;\n padding-block-start: var(--dsh-frame-top-clearance, 0px);\n padding-inline-start: var(--dsh-frame-leading-clearance, 0px);\n}\n\n.cite-workbench[data-main=\"false\"] {\n block-size: min(680px, 76dvh);\n min-block-size: 320px;\n padding: 0;\n}\n\n.cite-workbench * {\n box-sizing: border-box;\n}\n\n.cite-workbench .cite-shell {\n display: grid;\n grid-template:\n \"brand tabs import\" auto\n \"panel panel panel\" minmax(0, 1fr)\n / max-content minmax(0, 1fr) max-content;\n align-items: center;\n column-gap: 12px;\n block-size: 100%;\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"false\"] .cite-shell {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n overflow: clip;\n}\n\n.cite-workbench .cite-brand {\n grid-area: brand;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0 0 0 14px;\n font-size: 14px;\n line-height: 1.3;\n font-weight: 650;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-brand-icon {\n display: grid;\n place-items: center;\n inline-size: 25px;\n block-size: 25px;\n border-radius: var(--dsw-radius-xs, 7px);\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n}\n\n.cite-workbench .cite-header-actions {\n grid-area: import;\n justify-self: end;\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 7px 14px 7px 0;\n}\n\n.cite-workbench .w-tabs-layout {\n display: contents;\n}\n\n.cite-workbench .w-tabs {\n grid-area: tabs;\n justify-self: start;\n flex-wrap: nowrap;\n max-inline-size: 100%;\n gap: 2px;\n margin: 7px 0;\n padding: 3px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n border-radius: calc(var(--cite-radius-sm) + 2px);\n background: var(--cite-control);\n}\n\n.cite-workbench .w-tabs > button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 5px;\n min-inline-size: 0;\n min-block-size: 28px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n padding: 4px 11px;\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.3;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-base);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n font-weight: 600;\n}\n\n.cite-workbench .w-tabs .w-count {\n min-inline-size: 0;\n padding: 0 4px;\n border-radius: 999px;\n color: var(--cite-secondary);\n background: color-mix(in oklab, var(--cite-ink) 7%, transparent);\n font: 10px/1.45 var(--cite-mono);\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] .w-count {\n color: var(--cite-accent);\n background: color-mix(in oklab, var(--cite-accent) 14%, transparent);\n}\n\n.cite-workbench .w-tab-panel {\n grid-area: panel;\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n min-inline-size: 0;\n block-size: 100%;\n overflow: hidden;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n}\n\n.cite-workbench .w-tab-panel > [data-plugin-update-footer=\"dsh-cite\"] {\n flex: 0 0 auto;\n padding: 10px 16px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench :is(button, a, input, select, textarea, summary):focus-visible {\n outline: 2px solid var(--cite-accent);\n outline-offset: 2px;\n}\n\n.cite-workbench :is(.cite-reference-button, .cite-filter, .w-tabs > button):focus-visible {\n outline-offset: -2px;\n}\n\n.cite-workbench .cite-button {\n flex: 0 0 auto;\n min-block-size: 30px;\n padding-inline: 10px;\n font-size: 12px;\n line-height: 1.3;\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench .cite-button-primary {\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n color: var(--cite-on-primary);\n}\n\n.cite-workbench .cite-button-danger {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench .cite-icon-button {\n inline-size: 30px;\n min-inline-size: 30px;\n padding-inline: 0;\n justify-content: center;\n}\n\n.cite-workbench .cite-input-wrap {\n width: 100%;\n min-width: 0;\n min-height: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-input-wrap input {\n min-width: 0;\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench .cite-segmented {\n width: 100%;\n}\n\n.cite-workbench .cite-checkbox {\n min-width: 0;\n color: inherit;\n}\n\n.cite-workbench :is(.cite-actions, .cite-chips) {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n min-inline-size: 0;\n gap: 5px;\n}\n\n.cite-workbench .cite-chip {\n display: inline-block;\n max-inline-size: 100%;\n padding: 2px 6px;\n border-radius: var(--dsw-radius-xs, 5px);\n background: var(--cite-control);\n color: var(--cite-secondary);\n font: 10.5px/1.45 var(--cite-mono);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-chip.accent {\n color: var(--cite-accent);\n background: var(--dsw-alias-interactive-bg-hover-accent, color-mix(in oklab, var(--cite-accent) 13%, transparent));\n}\n\n.cite-workbench .cite-chip.warn {\n color: var(--dsw-alias-state-warn-label, #8c4b08);\n background: var(--dsw-alias-state-warn-tertiary, rgba(180, 83, 9, 0.14));\n}\n\n.cite-workbench .cite-chip.success {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n background: var(--dsw-alias-state-success-tertiary, rgba(31, 122, 76, 0.12));\n}\n\n.cite-workbench :is(.cite-chip.danger, .cite-error-text) {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench :is(.cite-muted, .cite-label) {\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.5;\n}\n\n.cite-workbench :is(.cite-mono, code) {\n font-family: var(--cite-mono);\n}\n\n.cite-workbench .cite-label {\n display: block;\n margin-block: 0 5px;\n font-size: 11.5px;\n font-weight: 550;\n}\n\n.cite-workbench .cite-field {\n display: block;\n inline-size: 100%;\n min-block-size: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n padding: 6px 9px;\n background: var(--cite-base);\n color: var(--cite-ink);\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench textarea.cite-field {\n resize: vertical;\n min-block-size: 108px;\n}\n\n.cite-workbench :is(.cite-picker-wrap, .cite-picker, .cite-picker-button) {\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-picker-button {\n justify-content: space-between;\n text-align: start;\n background: var(--cite-base);\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"], progress) {\n accent-color: var(--cite-accent);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"]) {\n flex: 0 0 auto;\n inline-size: 15px;\n block-size: 15px;\n margin: 0;\n}\n\n.cite-workbench .cite-library {\n display: grid;\n flex: 1 1 auto;\n min-block-size: 0;\n grid-template-columns: clamp(168px, 18cqi, 236px) clamp(252px, 28cqi, 356px) minmax(0, 1fr);\n}\n\n.cite-workbench :is(.cite-rail, .cite-list, .cite-inspector) {\n min-inline-size: 0;\n min-block-size: 0;\n}\n\n.cite-workbench .cite-rail {\n overflow: auto;\n overscroll-behavior: contain;\n padding: 12px 10px;\n border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-style-box {\n margin-block-end: 12px;\n padding: 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-filters {\n display: grid;\n gap: 3px;\n}\n\n.cite-workbench .cite-filters > h2 {\n margin: 4px 8px;\n font-size: 11px;\n font-weight: 600;\n}\n\n.cite-workbench .cite-filter {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n min-block-size: 32px;\n padding: 6px 9px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n color: var(--cite-secondary);\n background: transparent;\n font: inherit;\n line-height: 1.35;\n text-align: start;\n cursor: pointer;\n}\n\n.cite-workbench .cite-filter[aria-pressed=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-active);\n font-weight: 600;\n}\n\n.cite-workbench .cite-count {\n color: var(--cite-secondary);\n font: 11px/1.45 var(--cite-mono);\n}\n\n.cite-workbench :is(.cite-list, .cite-inspector) {\n display: flex;\n flex-direction: column;\n}\n\n.cite-workbench .cite-list {\n border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-inspector {\n background: var(--cite-base);\n}\n\n.cite-workbench :is(.cite-searchbar, .cite-inspector-bar, .cite-selection) {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 6px;\n min-block-size: 44px;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n}\n\n.cite-workbench .cite-searchbar > :first-child {\n flex: 1 1 auto;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-searchbar input {\n min-inline-size: 0;\n font-size: 12px;\n}\n\n.cite-workbench.dshw .cite-searchbar .cite-search input {\n border: 0;\n border-radius: 0;\n padding: 0;\n background: transparent;\n}\n\n.cite-workbench .cite-searchbar input::placeholder {\n color: var(--dsw-alias-label-tertiary, var(--cite-secondary));\n}\n\n.cite-workbench :is(.cite-inspector-bar, .cite-selection) {\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.cite-workbench .cite-selection {\n gap: 2px 5px;\n min-block-size: 0;\n padding-block: 4px;\n border-color: var(--cite-subtle-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-selection .cite-button {\n min-block-size: 26px;\n padding-inline: 6px;\n font-size: 11.5px;\n}\n\n.cite-workbench :is(.cite-list-scroll, .cite-inspector-scroll, .cite-subpage) {\n flex: 1 1 auto;\n min-block-size: 0;\n min-inline-size: 0;\n overflow: auto;\n overscroll-behavior: contain;\n}\n\n.cite-workbench :is(.cite-list-loading, .cite-inspector-empty) {\n margin: auto;\n padding: 28px 18px;\n color: var(--cite-secondary);\n text-align: center;\n}\n\n.cite-workbench .cite-list .w-empty {\n gap: 9px;\n min-block-size: 220px;\n padding: 28px 16px;\n}\n\n.cite-workbench .cite-list .w-empty h2 {\n font-size: 15px;\n line-height: 1.4;\n}\n\n.cite-workbench .cite-list .w-empty .w-muted {\n font-size: 12px;\n}\n\n.cite-workbench :is(.cite-reference-list, .cite-plain-list) {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.cite-workbench .cite-reference-row {\n position: relative;\n display: flex;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"] {\n background: var(--cite-active);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"]::before {\n content: \"\";\n position: absolute;\n inset-block: 6px;\n inset-inline-start: 0;\n inline-size: 3px;\n border-radius: 2px;\n background: var(--cite-accent);\n pointer-events: none;\n}\n\n.cite-workbench .cite-reference-check {\n display: flex;\n align-items: flex-start;\n padding: 14px 5px 8px 12px;\n}\n\n.cite-workbench .cite-reference-button {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n gap: 3px;\n min-inline-size: 0;\n border: 0;\n padding: 10px 12px 10px 5px;\n background: transparent;\n color: var(--cite-ink);\n font: inherit;\n text-align: start;\n cursor: pointer;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-reference-meta {\n color: var(--cite-secondary);\n font-size: 11.5px;\n line-height: 1.45;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-reference-button .cite-chips {\n gap: 4px;\n margin-block-start: 3px;\n}\n\n.cite-workbench .cite-more {\n margin: 10px 12px;\n}\n\n.cite-workbench .cite-selection-footer {\n padding: 8px 12px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-inspector-bar {\n padding-inline: 16px;\n}\n\n.cite-workbench .cite-inspector-bar > .cite-chips {\n max-inline-size: 100%;\n}\n\n.cite-workbench .cite-crossref {\n color: var(--cite-accent);\n}\n\n.cite-workbench .cite-back {\n display: none;\n}\n\n.cite-workbench .cite-inspector-scroll {\n padding: 16px 22px 24px;\n}\n\n.cite-workbench .cite-card {\n padding: 13px 15px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-layer);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-card + .cite-card,\n.cite-workbench .cite-subpage-inner > form + .cite-card {\n margin-block-start: 12px;\n}\n\n.cite-workbench .cite-card p {\n margin-block: 0;\n}\n\n.cite-workbench .cite-card-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px 9px;\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-card-header > h3 {\n margin: 0;\n font-size: 13px;\n line-height: 1.45;\n font-weight: 600;\n}\n\n.cite-workbench :is(.cite-formatted, .cite-code),\n.w-dialog .cite-code {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n margin: 0;\n padding: 10px 12px;\n border-radius: var(--cite-radius-sm, 8px);\n background: var(--cite-base, var(--w-bg));\n}\n\n.cite-workbench .cite-formatted {\n border-inline-start: 3px solid var(--cite-accent);\n font: inherit;\n line-height: 1.65;\n}\n\n.cite-workbench .cite-code,\n.w-dialog .cite-code {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line, var(--w-border));\n color: var(--cite-secondary, var(--w-muted));\n font: 11.5px/1.55 var(--cite-mono, ui-monospace, monospace);\n}\n\n.w-dialog .cite-source-entry + .cite-source-entry {\n margin-block-start: 14px;\n}\n\n.cite-workbench :is(.cite-metadata, .cite-form-grid) {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 10px 12px;\n margin: 0;\n}\n\n.cite-workbench .cite-field-wide {\n grid-column: 1 / -1;\n}\n\n.cite-workbench .cite-metadata dd {\n margin: 0;\n min-block-size: 30px;\n padding: 5px 9px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n font-size: 12px;\n white-space: pre-wrap;\n}\n\n.cite-workbench .cite-differences {\n border: 1px solid var(--dsw-alias-state-warn-primary, var(--cite-line));\n}\n\n.cite-workbench .cite-diff-table {\n inline-size: 100%;\n margin-block-start: 8px;\n border-collapse: collapse;\n table-layout: fixed;\n font-size: 12px;\n}\n\n.cite-workbench .cite-diff-table :is(th, td) {\n padding: 6px 7px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n vertical-align: top;\n text-align: start;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-diff-table th:first-child {\n inline-size: 24%;\n}\n\n.cite-workbench .cite-diff-table td:nth-child(2) {\n background: var(--cite-control);\n}\n\n.cite-workbench .cite-subpage {\n padding: 22px 20px 36px;\n}\n\n.cite-workbench .cite-subpage-inner {\n max-inline-size: 840px;\n margin-inline: auto;\n}\n\n.cite-workbench .cite-subpage h2 {\n margin: 0 0 4px;\n font-size: 17px;\n line-height: 1.45;\n font-weight: 650;\n}\n\n.cite-workbench .cite-description {\n margin: 0 0 16px;\n color: var(--cite-secondary);\n font-size: 12.5px;\n}\n\n.cite-workbench .cite-card :is(.cite-form-note, .cite-metadata-note, .cite-export-sample) {\n margin-block-start: 10px;\n}\n\n.cite-workbench .cite-provenance > summary {\n font-weight: 600;\n cursor: pointer;\n}\n\n.cite-workbench .cite-provenance[open] > summary {\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-conflict {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.cite-workbench .cite-plain-list > li {\n padding-block: 8px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-plain-list > li:last-child {\n border-block-end: 0;\n padding-block-end: 0;\n}\n\n.cite-workbench .cite-preview-row {\n display: flex;\n align-items: flex-start;\n gap: 9px;\n}\n\n.cite-workbench .cite-preview-content {\n min-inline-size: 0;\n flex: 1 1 auto;\n}\n\n.cite-workbench .cite-preview-meta {\n display: block;\n color: var(--cite-secondary);\n font-size: 12px;\n}\n\n.cite-workbench .cite-preview-row .cite-chips {\n margin-block-start: 4px;\n}\n\n.cite-workbench :is(.cite-result-row, .cite-message-body, .cite-job-header) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-workbench .cite-download {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n min-block-size: 30px;\n padding: 4px 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n color: var(--cite-ink);\n background: var(--cite-base);\n text-decoration: none;\n font-size: 12px;\n font-weight: 500;\n}\n\n.cite-workbench .cite-download[data-primary=\"true\"] {\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n}\n\n.cite-workbench[data-dsh-style=\"pixel8bit\"] .cite-download {\n border: 2px solid #1e2826;\n border-radius: 0px !important;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n.cite-workbench .cite-feedback {\n flex: 0 0 auto;\n max-block-size: 33%;\n overflow: auto;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-feedback .cite-message {\n align-items: center;\n margin: 0;\n padding: 4px 8px;\n}\n\n.cite-workbench .cite-message > div {\n flex: 1;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-job {\n font-size: 12px;\n}\n\n.cite-workbench .cite-job p {\n margin: 0;\n}\n\n.cite-workbench .cite-job > progress {\n display: block;\n inline-size: 100%;\n block-size: 8px;\n}\n\n.cite-workbench .cite-sr-only {\n position: absolute;\n clip-path: inset(50%);\n overflow: hidden;\n inline-size: 1px;\n block-size: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-tour-trigger {\n font-weight: 600;\n}\n\n.cite-tour-layer {\n --tour-accent: var(--dsw-alias-state-business-primary, #4176e6);\n --tour-bg: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base, #ffffff));\n --tour-ink: var(--dsw-alias-label-primary, #1b2230);\n --tour-muted: var(--dsw-alias-label-secondary, #5b667a);\n --tour-border: var(--dsw-alias-border-l2, #d8e0ec);\n --tour-radius: var(--dsw-radius-md, 12px);\n position: fixed;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n max-inline-size: none;\n max-block-size: none;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n overflow: visible;\n pointer-events: none;\n z-index: 2147483000;\n color: var(--tour-ink);\n font: 13px/1.55 var(--ds-font-family-ui, system-ui, -apple-system, \"Segoe UI\", \"Microsoft YaHei\", sans-serif);\n}\n\n.cite-tour-layer[popover]:is(:popover-open, .\\:popover-open) {\n display: block;\n}\n\n.cite-tour-layer[data-dsh-style=\"pixel8bit\"] {\n --tour-radius: 0px;\n}\n\n.cite-tour-spotlight {\n position: fixed;\n pointer-events: none;\n border-radius: calc(var(--tour-radius) * 0.75 + 2px);\n box-shadow:\n 0 0 0 2px var(--tour-accent),\n 0 0 0 5px color-mix(in oklab, var(--tour-accent) 22%, transparent),\n 0 0 0 9999px rgba(15, 23, 42, 0.26);\n}\n\n.cite-tour-backdrop-fallback {\n position: fixed;\n inset: 0;\n pointer-events: none;\n background: rgba(15, 23, 42, 0.24);\n}\n\n.cite-tour-card {\n position: fixed;\n inset: auto;\n margin: 0;\n inline-size: min(324px, calc(100dvw - 24px));\n max-block-size: calc(100dvh - 24px);\n padding: 13px 15px 12px;\n border: 1px solid var(--tour-border);\n border-radius: var(--tour-radius);\n background: var(--tour-bg);\n color: var(--tour-ink);\n box-shadow: var(--dsw-elevation-prominent, 0 16px 40px rgba(15, 23, 42, 0.18));\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.cite-tour-layer[data-dsh-style=\"pixel8bit\"] .cite-tour-card {\n border: 2px solid #1e2826;\n border-radius: 0px;\n box-shadow: 4px 4px 0px #1e2826;\n}\n\n.cite-tour-arrow {\n position: absolute;\n inline-size: 10px;\n block-size: 10px;\n background: var(--tour-bg);\n transform: rotate(45deg);\n pointer-events: none;\n}\n\n.cite-tour-card[data-side=\"bottom\"] > .cite-tour-arrow {\n top: -6px;\n left: calc(var(--arrow-x, 28px) - 5px);\n border-top: 1px solid var(--tour-border);\n border-left: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"top\"] > .cite-tour-arrow {\n bottom: -6px;\n left: calc(var(--arrow-x, 28px) - 5px);\n border-bottom: 1px solid var(--tour-border);\n border-right: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"right\"] > .cite-tour-arrow {\n left: -6px;\n top: calc(var(--arrow-y, 24px) - 5px);\n border-bottom: 1px solid var(--tour-border);\n border-left: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"left\"] > .cite-tour-arrow {\n right: -6px;\n top: calc(var(--arrow-y, 24px) - 5px);\n border-top: 1px solid var(--tour-border);\n border-right: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"center\"] > .cite-tour-arrow {\n display: none;\n}\n\n.cite-tour-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-tour-step-meta {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.cite-tour-step-badge {\n display: inline-flex;\n align-items: center;\n padding: 1px 7px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 650;\n font-variant-numeric: tabular-nums;\n background: color-mix(in oklab, var(--tour-accent) 14%, transparent);\n color: var(--tour-accent);\n}\n\n.cite-tour-dots {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n\n.cite-tour-dot {\n inline-size: 6px;\n block-size: 6px;\n border-radius: 999px;\n background: var(--tour-border);\n}\n\n.cite-tour-dot[data-active=\"true\"] {\n inline-size: 14px;\n background: var(--tour-accent);\n}\n\n.cite-tour-skip {\n min-block-size: 24px;\n min-inline-size: 24px;\n padding: 2px 6px;\n border: 0;\n border-radius: var(--dsw-radius-xs, 6px);\n background: transparent;\n color: var(--tour-muted);\n font: inherit;\n font-size: 11.5px;\n cursor: pointer;\n}\n\n.cite-tour-skip:hover {\n color: var(--tour-ink);\n background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.05));\n}\n\n.cite-tour-title {\n margin: 0 !important;\n font-size: 14px !important;\n line-height: 1.38 !important;\n font-weight: 650 !important;\n}\n\n.cite-tour-desc {\n margin: 0 !important;\n font-size: 12.5px;\n line-height: 1.55;\n color: var(--tour-muted);\n}\n\n.cite-tour-inline-action {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n padding-block-start: 2px;\n}\n\n.cite-tour-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n margin-block-start: 2px;\n padding-block-start: 8px;\n border-block-start: 0.5px solid var(--tour-border);\n}\n\n.cite-tour-nav {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-inline-start: auto;\n}\n\n.cite-copy-status {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n font-size: 11.5px;\n opacity: 1;\n}\n\n.cite-copy-status:empty {\n opacity: 0;\n}\n\n@media (pointer: coarse) {\n .cite-tour-skip {\n min-block-size: 32px;\n padding: 4px 10px;\n }\n}\n\n.w-dialog .cite-remove-lead {\n margin-block: 0 8px;\n}\n\n.w-dialog .cite-remove-list {\n margin-block: 0 10px;\n}\n\n.w-dialog .cite-remove-note {\n margin-block: 8px 0;\n}\n\n.cite-workbench .cite-job summary {\n width: fit-content;\n cursor: pointer;\n color: var(--cite-accent);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .cite-tour-spotlight {\n transition:\n top 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n left 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n width 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n height 0.24s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .cite-tour-card {\n transition: top 0.22s cubic-bezier(0.22, 1, 0.36, 1), left 0.22s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .cite-tour-dot {\n transition: inline-size 0.18s ease, background-color 0.18s ease;\n }\n .cite-copy-status {\n transition: opacity 150ms ease-out;\n }\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 1;\n translate: 0px 0px;\n transition: opacity 180ms var(--dsh-ease-out, ease-out), translate 200ms var(--dsh-ease-out, ease-out);\n }\n\n @starting-style {\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 0;\n translate: 0px 4px;\n }\n }\n\n @media (hover: hover) {\n .cite-workbench .cite-reference-row {\n translate: 0px 0px;\n transition: background-color 140ms var(--dsh-ease-out, ease-out), translate 180ms var(--dsh-ease-out, ease-out);\n }\n\n .cite-workbench:not([data-dsh-style=\"pixel8bit\"]) .cite-reference-row:hover {\n translate: 2px 0px;\n }\n }\n}\n\n@media (hover: hover) {\n .cite-workbench .w-tabs > button:hover {\n color: var(--cite-ink);\n }\n\n .cite-workbench :is(.cite-filter, .cite-download):hover {\n background: var(--cite-hover);\n }\n\n .cite-workbench .cite-download[data-primary=\"true\"]:hover {\n background: var(--dsw-alias-button-primary-hover, var(--cite-primary));\n }\n}\n\n@container cite-workbench (max-width: 860px) {\n .cite-workbench .cite-library {\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: auto minmax(0, 1fr);\n }\n\n .cite-workbench .cite-rail {\n overflow: visible;\n padding: 8px 10px;\n border-inline-end: 0;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n }\n\n .cite-workbench .cite-style-box {\n display: grid;\n grid-template-columns: auto minmax(120px, 1fr);\n align-items: center;\n gap: 8px;\n padding: 0;\n margin: 0 0 6px;\n border: 0;\n box-shadow: none;\n background: transparent;\n }\n\n .cite-workbench .cite-style-box .cite-label {\n margin: 0;\n }\n\n .cite-workbench .cite-filters {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .cite-workbench .cite-filters > h2,\n .cite-workbench .cite-library[data-open=\"false\"] .cite-inspector,\n .cite-workbench .cite-library[data-open=\"true\"] :is(.cite-rail, .cite-list) {\n display: none;\n }\n\n .cite-workbench .cite-filter {\n font-size: 11.5px;\n }\n\n .cite-workbench .cite-list {\n border-inline-end: 0;\n }\n\n .cite-workbench .cite-library[data-open=\"true\"] .cite-inspector {\n grid-row: 1 / -1;\n }\n\n .cite-workbench .cite-back {\n display: inline-flex;\n align-self: flex-start;\n margin: 5px 8px;\n }\n\n .cite-workbench .cite-inspector-bar {\n padding-inline: 10px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n }\n\n .cite-workbench .cite-inspector-scroll {\n padding-inline: 12px;\n }\n}\n\n@container cite-workbench (max-width: 660px) {\n .cite-workbench .cite-shell {\n grid-template:\n \"brand import\" auto\n \"tabs tabs\" auto\n \"panel panel\" minmax(0, 1fr)\n / minmax(0, 1fr) max-content;\n }\n\n .cite-workbench .w-tabs {\n justify-self: stretch;\n margin: 0 10px 7px;\n }\n\n .cite-workbench .w-tabs > button {\n flex: 1 1 auto;\n padding-inline: 6px;\n min-block-size: 32px;\n }\n\n .cite-workbench .cite-subpage {\n padding: 15px 12px 24px;\n }\n}\n\n@container cite-workbench (max-width: 420px) {\n .cite-workbench :is(.cite-metadata, .cite-form-grid) {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .cite-workbench .cite-card {\n padding: 10px;\n }\n}\n";
|
|
3039
|
+
const CITE_WORKBENCH_CSS = "/* ==========================================================================\n * DeepSeek Harness (>=0.2.2-rc.3) Unified Workbench Themes & Motion System v3\n * Shared across STARDUSTLC666 workbench plugins:\n * dsh-email, dsh-calendar, dsh-cite, dsh-dream, dsh-code-security,\n * dsh-rss, dsh-ppt, dsh-remotion, dsh-hyperframes\n *\n * Design Principles:\n * 1. NEVER TOO DARK: Airy daylight defaults; when host `body[data-ds-dark-theme]`\n * is active under `harness`, soften to breathable slate (#1f232b / #272c36),\n * never pitch black (#000 / #090a0f / #151517).\n * 2. 13 SWITCHABLE PRESETS via `[data-dsh-style]` + 8 FONT PAIRINGS via `[data-dsh-font]`:\n * - `harness` (原生清透 / Native Airy)\n * - `cream` (米白纸感 / Warm Cream — stacked paper, dashed rows, bookmark tab)\n * - `claude` (Claude 暖书卷 / Claude Warmth — editorial serif, paper grain, borderless cards)\n * - `pixel8bit` (8-Bit 掌机 / Bright 8-Bit — dot-matrix header, 2px borders, ▶ cursor, pixel progress)\n * - `mint` (晴空薄荷 / Airy Mint)\n * - `glass` (晴昼琉璃 / Daylight Glass — pastel aurora mesh, frosted blur, specular inner rim)\n * - `eink` (护眼墨水屏 / E-Ink Paper — matte warm paper, #171716 ink, 60ms snappy transitions)\n * - `blueprint` (工程晒图 / Blueprint — cyanotype grid, Prussian #0d3b66 ink, safety-orange #e05a2b, `+` ticks)\n * - `risograph` (波普孔版 / Riso Zine — halftone header, 2px #18181b outlines, #ff3e7f/#2563eb offset shadows)\n * - `win98` (千禧复古 / Retro 98 — Platinum silver 3D raised/sunken bevels, royal-blue titlebar accent)\n * - `songhui` (宋韵朱砂 / Song Xuan — gold-flecked Xuan paper, 3px double #b83b2a masthead, seal stamps)\n * - `frutiger` (晴空水晶 / Aqua Gloss — sky-aqua gradient, glossy specular 999px aqua pills)\n * - `gazette` (铅字晨报 / Gazette — warm newsprint, 4px double #161514 masthead, 1px column rules, #9b1c1c seal)\n * - Dual-layer Chinese + Latin typography per preset + independent `[data-dsh-font]` overrides\n * (`auto`, `songkai`, `fangsong`, `poster`, `retro98`, `serif`, `arcade`, `modern`)\n * 3. SHARED v3 LAYOUT & MOTION PRIMITIVES:\n * - Unified 48px Single-Row Header (`.dsh-header`) + compact `.dsh-style-switcher` + `.dsh-font-trigger`\n * - Sliding Tab Indicator (`.dsh-tablist` + `.dsh-tab-indicator`) + 140ms Panel Enter\n * - Resizable Split Pane (`.dsh-split-pane`, `.dsh-split-resizer`, <760px auto-stack)\n * - Theme-Tinted Shimmer Skeleton (`.dsh-skeleton`)\n * - Row Hover Quick-Action Bar (`.dsh-row-actions`)\n * - Calm Compact Update Strip (`[data-plugin-update-footer]`)\n * 4. PORTALED OVERLAY SYNC + `prefers-reduced-motion` + `forced-colors` compliance.\n * ========================================================================== */\n\n/* --------------------------------------------------------------------------\n * 1. Motion Timing & Base Token Fallbacks (Standalone + Host Safe)\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]),\n:where([data-dsh-portal-synced]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n --dsh-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n /* Standard cubic-bezier fallback before linear() physics spring */\n --dsh-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);\n --dsh-motion-fast: 140ms;\n --dsh-motion-base: 200ms;\n --dsh-motion-dialog: 220ms;\n --dsh-control-border-width: 0.5px;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);\n --dsh-card-shadow: none;\n --dsh-card-hover-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsh-serif-font: \"Palatino Linotype\", Georgia, \"Noto Serif SC\", \"STZhongsong\", \"华文中宋\", \"STSong\", \"华文宋体\", serif;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n@supports (transition-timing-function: linear(0, 1)) {\n :where([data-dsh-style]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) {\n --dsh-ease-spring: linear(\n 0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%,\n 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%,\n 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1\n );\n }\n}\n\n/* Electron / macOS 0.2.2+ window-drag-regions rule:\n * Exclude ONLY the visible overlay owner box itself (never `[data-window-drag-exclude] *`,\n * so scrolled/clipped descendants cannot register offscreen no-drag rects over headers). */\n[data-window-drag-exclude] {\n -webkit-app-region: no-drag;\n}\n\n/* --------------------------------------------------------------------------\n * 2. Preset 1: `harness` — 原生清透 / Native Airy\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"harness\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:where(body:not([data-ds-dark-theme])) [data-dsh-style=\"harness\"],\n:where(body:not([data-ds-dark-theme])) :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style=\"harness\"]) {\n color-scheme: light;\n accent-color: var(--dsw-alias-state-business-primary, #4176e6);\n}\n\n/* Standalone fallbacks when host ui-theme stylesheet is not mounted (e.g. jsdom / preview) */\n:root:not([data-dsh-host-tokens]) [data-dsh-style=\"harness\"] {\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 8px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n}\n\nbody:not([data-ds-dark-theme]) [data-dsh-style=\"harness\"] {\n --dsh-surface-spotlight: rgba(65, 118, 230, 0.06);\n}\n\n/* NEVER TOO DARK: Soft breathable slate when host dark mode is active in `harness` mode */\nbody[data-ds-dark-theme] [data-dsh-style=\"harness\"],\nbody[data-ds-dark-theme] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"harness\"], :has([data-dsh-style=\"harness\"])) {\n color-scheme: dark;\n accent-color: #7aaaff;\n --dsw-alias-bg-base: #1f232b;\n --dsw-alias-bg-layer-1: #272c36;\n --dsw-alias-bg-layer-2: #2f3542;\n --dsw-alias-bg-layer-3: #373e4d;\n --dsw-alias-bg-overlay: #2a303c;\n --dsw-alias-bg-module-platform: #2c323e;\n --dsw-alias-settings-card-fill: #262b35;\n --dsw-alias-settings-card-stroke: rgba(226, 232, 240, 0.12);\n --dsw-specific-menu: rgba(39, 44, 54, 0.96);\n --dsw-alias-border-l1: rgba(226, 232, 240, 0.09);\n --dsw-alias-border-l2: rgba(226, 232, 240, 0.15);\n --dsw-alias-border-l3: rgba(226, 232, 240, 0.22);\n --dsw-alias-border-l4: rgba(226, 232, 240, 0.28);\n --dsw-alias-label-primary: #eef2f7;\n --dsw-alias-label-secondary: #b6c0cf;\n --dsw-alias-label-tertiary: #8d98ab;\n --dsw-alias-label-dimmed: #737e91;\n --dsw-alias-brand-primary: #7aaaff;\n --dsw-alias-brand-text: #eef2f7;\n --dsw-alias-state-business-primary: #7aaaff;\n --dsw-alias-state-business-tertiary: rgba(122, 170, 255, 0.16);\n --dsw-alias-link: #8bb6ff;\n --dsw-alias-button-primary-fill: #5b8def;\n --dsw-alias-button-primary-hover: #6f9cf4;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(226, 232, 240, 0.07);\n --dsw-alias-interactive-bg-active: rgba(226, 232, 240, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(122, 170, 255, 0.15);\n --dsw-alias-interactive-bg-hover-danger: rgba(248, 113, 113, 0.16);\n --dsw-alias-state-error-primary: #f87171;\n --dsw-alias-state-warn-primary: #fbbf24;\n --dsw-alias-state-warn-label: #fcd34d;\n --dsw-alias-state-warn-tertiary: rgba(251, 191, 36, 0.15);\n --dsw-alias-state-success-primary: #4ade80;\n --dsw-elevation-panel: 0 4px 16px rgba(10, 14, 22, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.12);\n --dsw-elevation-prominent: 0 14px 38px rgba(10, 14, 22, 0.42), 0 0 0 1px rgba(226, 232, 240, 0.16);\n --dsh-button-hover-shadow: 0 2px 8px rgba(10, 14, 22, 0.25);\n --dsh-card-hover-shadow: 0 8px 22px rgba(10, 14, 22, 0.32);\n --dsh-surface-spotlight: rgba(122, 170, 255, 0.10);\n}\n\n/* --------------------------------------------------------------------------\n * 3. Preset 2: `cream` — 米白纸感 / Warm Cream (Deepened Materiality)\n * - Stacked-paper double-edge card shadow\n * - Dashed notebook row dividers\n * - Warm bookmark-style active tab accent\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"cream\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"cream\"], :has([data-dsh-style=\"cream\"])) {\n color-scheme: light;\n accent-color: #9e5829;\n --dsw-alias-bg-base: #faf7f0;\n --dsw-alias-bg-layer-1: #f3efe4;\n --dsw-alias-bg-layer-2: #eae3d3;\n --dsw-alias-bg-layer-3: #e0d7c3;\n --dsw-alias-bg-overlay: #fcfaf4;\n --dsw-alias-bg-module-platform: #efe9da;\n --dsw-alias-settings-card-fill: #fdfbf6;\n --dsw-alias-settings-card-stroke: #d4c8ae;\n --dsw-specific-menu: rgba(252, 250, 244, 0.97);\n --dsw-alias-border-l1: #e6dec8;\n --dsw-alias-border-l2: #d4c8ae;\n --dsw-alias-border-l3: #c0b193;\n --dsw-alias-border-l4: #ad9c7c;\n --dsw-alias-label-primary: #2b2620;\n --dsw-alias-label-secondary: #655b4e;\n --dsw-alias-label-tertiary: #857968;\n --dsw-alias-label-dimmed: #9c907f;\n --dsw-alias-brand-primary: #9e5829;\n --dsw-alias-brand-text: #2b2620;\n --dsw-alias-state-business-primary: #a65e2e;\n --dsw-alias-state-business-tertiary: rgba(166, 94, 46, 0.13);\n --dsw-alias-link: #934e20;\n --dsw-alias-button-primary-fill: #9e5829;\n --dsw-alias-button-primary-hover: #86481e;\n --dsw-alias-button-primary-ink: #fffdf9;\n --dsw-alias-interactive-bg-hover: rgba(108, 84, 50, 0.075);\n --dsw-alias-interactive-bg-active: rgba(166, 94, 46, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(166, 94, 46, 0.12);\n --dsw-alias-interactive-bg-hover-danger: rgba(185, 56, 44, 0.11);\n --dsw-alias-state-error-primary: #b9382c;\n --dsw-alias-state-warn-primary: #b45309;\n --dsw-alias-state-warn-label: #8c3d08;\n --dsw-alias-state-warn-tertiary: #fdefd6;\n --dsw-alias-state-success-primary: #2a6f4e;\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 13px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-panel: 0 1px 2px rgba(68, 52, 32, 0.06), 3px 3px 0 #ebe3d1, 0 0 0 1px rgba(180, 164, 138, 0.42);\n --dsw-elevation-prominent: 0 14px 34px rgba(68, 52, 32, 0.14), 3px 3px 0 #ebe3d1, 0 0 0 1px rgba(180, 164, 138, 0.48);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 6px rgba(84, 62, 34, 0.09);\n --dsh-card-shadow: 0 1px 2px rgba(68, 52, 32, 0.06), 3px 3px 0 #ebe3d1;\n --dsh-card-hover-shadow: 0 4px 10px rgba(68, 52, 32, 0.10), 4px 4px 0 #e2d7be;\n --dsh-surface-spotlight: rgba(166, 94, 46, 0.08);\n --dsh-font-display: \"Trebuchet MS\", \"STKaiti\", \"华文楷体\", \"Noto Serif SC SemiBold\", serif;\n --dsh-font-body: \"Source Sans 3\", \"Noto Sans SC\", \"Microsoft YaHei UI\", sans-serif;\n --dsh-font-mono: \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: normal;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"cream\"] :where([data-dsh-card], .dsh-card) {\n border-color: var(--dsw-alias-border-l2);\n box-shadow: var(--dsh-card-shadow);\n}\n\n[data-dsh-style=\"cream\"] :where([data-dsh-row], .dsh-row) {\n border-block-end: 1px dashed var(--dsw-alias-border-l2);\n}\n\n[data-dsh-style=\"cream\"] [role=\"tab\"][aria-selected=\"true\"] {\n background: rgba(158, 88, 41, 0.10);\n color: #7d4119;\n box-shadow: inset 0 2px 0 rgba(158, 88, 41, 0.22);\n}\n\n[data-dsh-style=\"cream\"] [role=\"tab\"][aria-selected=\"true\"]::after {\n border-block-end-color: #9e5829;\n border-block-end-width: 2.5px;\n}\n\n/* --------------------------------------------------------------------------\n * 4. Preset 3: `claude` — Claude 暖书卷 / Claude Warmth (Deepened Materiality)\n * - Editorial serif on headings, reader/detail titles & card titles (`[data-dsh-serif]`)\n * - Subtle warm paper texture\n * - Soft borderless surface cards\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"claude\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) {\n color-scheme: light;\n accent-color: #c96442;\n --dsw-alias-bg-base: #f5f4ed;\n --dsw-alias-bg-layer-1: #ece9df;\n --dsw-alias-bg-layer-2: #e3dfd2;\n --dsw-alias-bg-layer-3: #d8d3c3;\n --dsw-alias-bg-overlay: #faf9f4;\n --dsw-alias-bg-module-platform: #e7e3d6;\n --dsw-alias-settings-card-fill: #faf9f4;\n --dsw-alias-settings-card-stroke: transparent;\n --dsw-specific-menu: rgba(250, 249, 244, 0.97);\n --dsw-alias-border-l1: #e4e0d3;\n --dsw-alias-border-l2: #d5d0c3;\n --dsw-alias-border-l3: #c1bbb0;\n --dsw-alias-border-l4: #aba495;\n --dsw-alias-label-primary: #1f1e1b;\n --dsw-alias-label-secondary: #5d5a51;\n --dsw-alias-label-tertiary: #7b776c;\n --dsw-alias-label-dimmed: #948f83;\n --dsw-alias-brand-primary: #c96442;\n --dsw-alias-brand-text: #1f1e1b;\n --dsw-alias-state-business-primary: #c96442;\n --dsw-alias-state-business-tertiary: rgba(201, 100, 66, 0.14);\n --dsw-alias-link: #b35030;\n --dsw-alias-button-primary-fill: #c96442;\n --dsw-alias-button-primary-hover: #b25232;\n --dsw-alias-button-primary-ink: #faf9f5;\n --dsw-alias-interactive-bg-hover: rgba(31, 30, 27, 0.055);\n --dsw-alias-interactive-bg-active: rgba(201, 100, 66, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(201, 100, 66, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(180, 48, 42, 0.11);\n --dsw-alias-state-error-primary: #b4302a;\n --dsw-alias-state-warn-primary: #b85d19;\n --dsw-alias-state-warn-label: #8c430c;\n --dsw-alias-state-warn-tertiary: #f7e8d6;\n --dsw-alias-state-success-primary: #2d6a4f;\n --dsw-radius-xs: 7px;\n --dsw-radius-sm: 10px;\n --dsw-radius-md: 14px;\n --dsw-radius-lg: 18px;\n --dsw-radius-xl: 22px;\n --dsw-elevation-panel: 0 2px 12px rgba(31, 30, 27, 0.05), 0 0 0 1px rgba(145, 139, 126, 0.18);\n --dsw-elevation-prominent: 0 16px 38px rgba(31, 30, 27, 0.13), 0 2px 8px rgba(31, 30, 27, 0.05), 0 0 0 1px rgba(145, 139, 126, 0.24);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(31, 30, 27, 0.08);\n --dsh-card-shadow: 0 1px 3px rgba(31, 30, 27, 0.05), 0 0 0 1px rgba(145, 139, 126, 0.13);\n --dsh-card-hover-shadow: 0 8px 22px rgba(31, 30, 27, 0.08), 0 0 0 1px rgba(145, 139, 126, 0.20);\n --dsh-surface-spotlight: rgba(201, 100, 66, 0.08);\n --dsh-font-display: \"Palatino Linotype\", Georgia, \"Noto Serif SC SemiBold\", \"Noto Serif SC\", \"STZhongsong\", \"华文中宋\", serif;\n --dsh-font-body: Georgia, \"Noto Serif SC\", \"STSong\", \"华文宋体\", serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: -0.01em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n/* Subtle warm paper grain texture */\n[data-dsh-style=\"claude\"] {\n background-color: var(--dsw-alias-bg-base);\n background-image:\n radial-gradient(rgba(31, 30, 27, 0.024) 0.75px, transparent 0),\n linear-gradient(180deg, rgba(255, 253, 247, 0.45), rgba(236, 233, 223, 0.25));\n background-size: 16px 16px, 100% 100%;\n}\n\n/* Soft borderless surface cards */\n[data-dsh-style=\"claude\"] :where([data-dsh-card], .dsh-card) {\n background: var(--dsw-alias-settings-card-fill);\n border-color: transparent;\n box-shadow: var(--dsh-card-shadow);\n}\n\n/* Editorial display font applied to workbench headings, reader/detail titles & card titles (overrideable via [data-dsh-font]) */\n[data-dsh-style=\"claude\"] :where(\n header h1,\n [data-dsh-editorial-heading],\n [data-dsh-serif],\n [data-dsh-card] :is(h2, h3, .dsh-card-title),\n .dsh-card :is(h2, h3, .dsh-card-title),\n [data-dsh-reader] :is(h1, h2),\n .dsh-reader :is(h1, h2)\n),\n:where([role=\"dialog\"], dialog):where([data-dsh-style=\"claude\"], :has([data-dsh-style=\"claude\"])) header h2 {\n font-family: var(--dsh-font-display);\n font-weight: var(--dsh-display-weight, 700);\n letter-spacing: var(--dsh-display-tracking, -0.01em);\n}\n\n/* --------------------------------------------------------------------------\n * 5. Preset 4: `pixel8bit` — 8-Bit 掌机 / Bright 8-Bit (Deepened Materiality)\n * - 1px dot-matrix header pattern (`6px 6px`)\n * - 2px solid #1e2826 borders + 2px 2px 0 pixel shadows\n * - Animated `▶` active row cursor + stepped pixel progress helper\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"pixel8bit\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n color-scheme: light;\n accent-color: #2e7d5b;\n --dsw-alias-bg-base: #f4f6e8;\n --dsw-alias-bg-layer-1: #e7eed2;\n --dsw-alias-bg-layer-2: #dbe5c0;\n --dsw-alias-bg-layer-3: #cedaad;\n --dsw-alias-bg-overlay: #f9fbf0;\n --dsw-alias-bg-module-platform: #e2ebc9;\n --dsw-alias-settings-card-fill: #edf2dc;\n --dsw-alias-settings-card-stroke: #1e2826;\n --dsw-specific-menu: #f9fbf0;\n --dsw-alias-border-l1: #7e9478;\n --dsw-alias-border-l2: #1e2826;\n --dsw-alias-border-l3: #1e2826;\n --dsw-alias-border-l4: #1e2826;\n --dsw-alias-label-primary: #1e2826;\n --dsw-alias-label-secondary: #3d514c;\n --dsw-alias-label-tertiary: #58706a;\n --dsw-alias-label-dimmed: #6e857f;\n --dsw-alias-brand-primary: #2e7d5b;\n --dsw-alias-brand-text: #1e2826;\n --dsw-alias-state-business-primary: #2e7d5b;\n --dsw-alias-state-business-tertiary: rgba(46, 125, 91, 0.18);\n --dsw-alias-link: #226448;\n --dsw-alias-button-primary-fill: #2e7d5b;\n --dsw-alias-button-primary-hover: #24674a;\n --dsw-alias-button-primary-ink: #f4f6e8;\n --dsw-alias-interactive-bg-hover: #dfe9c4;\n --dsw-alias-interactive-bg-active: #cfe0ad;\n --dsw-alias-interactive-bg-hover-accent: rgba(46, 125, 91, 0.16);\n --dsw-alias-interactive-bg-hover-danger: rgba(217, 91, 67, 0.18);\n --dsw-alias-state-error-primary: #d95b43;\n --dsw-alias-state-warn-primary: #c47614;\n --dsw-alias-state-warn-label: #7a4808;\n --dsw-alias-state-warn-tertiary: #f6e7b4;\n --dsw-alias-state-success-primary: #2e7d5b;\n --dsh-pixel-accent-secondary: #d95b43;\n --dsw-radius-xs: 0px;\n --dsw-radius-sm: 0px;\n --dsw-radius-md: 0px;\n --dsw-radius-lg: 0px;\n --dsw-radius-xl: 0px;\n --dsw-corner-shape: square;\n --dsw-elevation-panel: 2px 2px 0px #1e2826;\n --dsw-elevation-prominent: 4px 4px 0px #1e2826;\n --dsh-control-border-width: 2px;\n --dsh-button-shadow: 2px 2px 0px #1e2826;\n --dsh-button-hover-shadow: 3px 3px 0px #1e2826;\n --dsh-card-shadow: 2px 2px 0px #1e2826;\n --dsh-card-hover-shadow: 4px 4px 0px #1e2826;\n --dsh-surface-spotlight: rgba(46, 125, 91, 0.12);\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.03em;\n --dsh-body-tracking: 0.03em;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n/* Subtle 1px dot-matrix header pattern (`6px 6px`) */\n[data-dsh-style=\"pixel8bit\"] :where(.dsh-header, [data-dsh-header], .dsh-wb-header) {\n background-color: var(--dsw-alias-bg-layer-1);\n background-image: radial-gradient(rgba(30, 40, 38, 0.14) 1px, transparent 0);\n background-size: 6px 6px;\n border-block-end: 2px solid #1e2826;\n}\n\n/* Crisp 0px corners, 2px solid borders, and arcade shadows in `pixel8bit` */\n[data-dsh-style=\"pixel8bit\"] :where(button, input, select, textarea, [role=\"button\"], [role=\"tab\"], [role=\"menuitem\"], [role=\"menuitemradio\"], [data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button, input, select, textarea, [role=\"menuitem\"], [role=\"menuitemradio\"]) {\n border-radius: 0px !important;\n corner-shape: square;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel) {\n border: 2px solid #1e2826;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where(input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea) {\n border-width: 2px;\n border-color: #1e2826;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) {\n border: 2px solid #1e2826 !important;\n box-shadow: 4px 4px 0px #1e2826 !important;\n backdrop-filter: none;\n}\n\n[data-dsh-style=\"pixel8bit\"] [role=\"tab\"][aria-selected=\"true\"]::after,\n[data-dsh-style=\"pixel8bit\"] .dsh-tab-indicator {\n border-block-end-color: #d95b43;\n border-block-end-width: 3px;\n}\n\n/* Animated `▶` active row cursor (`[data-dsh-row][data-active=\"true\"]` or `.dsh-pixel-cursor`) */\n.dsh-pixel-cursor {\n display: none;\n flex: none;\n font-size: 10px;\n line-height: 1;\n color: var(--dsh-pixel-accent-secondary, #d95b43);\n}\n\n@keyframes dsh-pixel-cursor-nudge {\n 0%, 100% { translate: 0px 0px; }\n 50% { translate: 2px 0px; }\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-dsh-row], .dsh-row):where([data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]) {\n background-color: var(--dsw-alias-interactive-bg-active);\n box-shadow: inset 3px 0 0 #d95b43;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-dsh-row], .dsh-row):where([data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]):not(:has(.dsh-pixel-cursor))::before {\n content: \"▶\";\n display: inline-block;\n flex: none;\n margin-inline-end: 6px;\n font-size: 10px;\n line-height: 1;\n color: #d95b43;\n}\n\n[data-dsh-style=\"pixel8bit\"] :where([data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]) .dsh-pixel-cursor {\n display: inline-flex;\n align-items: center;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n [data-dsh-style=\"pixel8bit\"] :where([data-dsh-row], .dsh-row):where([data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]):not(:has(.dsh-pixel-cursor))::before,\n [data-dsh-style=\"pixel8bit\"] :where([data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]) .dsh-pixel-cursor {\n animation: dsh-pixel-cursor-nudge 760ms steps(2, end) infinite;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 6. Preset 5: `mint` — 晴空薄荷 / Airy Mint\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"mint\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"mint\"], :has([data-dsh-style=\"mint\"])) {\n color-scheme: light;\n accent-color: #0f766e;\n --dsw-alias-bg-base: #f5fafb;\n --dsw-alias-bg-layer-1: #eaf3f6;\n --dsw-alias-bg-layer-2: #dcebf0;\n --dsw-alias-bg-layer-3: #cce1e8;\n --dsw-alias-bg-overlay: #fafdff;\n --dsw-alias-bg-module-platform: #e3eff3;\n --dsw-alias-settings-card-fill: #eef6f8;\n --dsw-alias-settings-card-stroke: #c7dde5;\n --dsw-specific-menu: rgba(250, 253, 255, 0.97);\n --dsw-alias-border-l1: #d5e6ec;\n --dsw-alias-border-l2: #bdd5de;\n --dsw-alias-border-l3: #9ec0cd;\n --dsw-alias-border-l4: #7faab9;\n --dsw-alias-label-primary: #132a2e;\n --dsw-alias-label-secondary: #426067;\n --dsw-alias-label-tertiary: #628088;\n --dsw-alias-label-dimmed: #7c98a0;\n --dsw-alias-brand-primary: #0f766e;\n --dsw-alias-brand-text: #132a2e;\n --dsw-alias-state-business-primary: #0f766e;\n --dsw-alias-state-business-tertiary: rgba(15, 118, 110, 0.13);\n --dsw-alias-link: #0284c7;\n --dsw-alias-button-primary-fill: #0f766e;\n --dsw-alias-button-primary-hover: #0d635c;\n --dsw-alias-button-primary-ink: #f5fafb;\n --dsw-alias-interactive-bg-hover: rgba(15, 118, 110, 0.07);\n --dsw-alias-interactive-bg-active: rgba(15, 118, 110, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(2, 132, 199, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(200, 50, 64, 0.11);\n --dsw-alias-state-error-primary: #c83240;\n --dsw-alias-state-warn-primary: #b4690e;\n --dsw-alias-state-warn-label: #864c07;\n --dsw-alias-state-warn-tertiary: #fdf1d6;\n --dsw-alias-state-success-primary: #0f766e;\n --dsh-mint-sky-accent: #0284c7;\n --dsw-radius-xs: 6px;\n --dsw-radius-sm: 9px;\n --dsw-radius-md: 12px;\n --dsw-radius-lg: 16px;\n --dsw-radius-xl: 20px;\n --dsw-elevation-panel: 0 3px 12px rgba(15, 76, 92, 0.07), 0 0 0 1px rgba(127, 170, 185, 0.28);\n --dsw-elevation-prominent: 0 14px 34px rgba(15, 76, 92, 0.13), 0 2px 6px rgba(15, 76, 92, 0.05), 0 0 0 1px rgba(127, 170, 185, 0.34);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 7px rgba(15, 118, 110, 0.11);\n --dsh-card-hover-shadow: 0 8px 22px rgba(2, 132, 199, 0.10);\n --dsh-surface-spotlight: rgba(2, 132, 199, 0.08);\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n/* --------------------------------------------------------------------------\n * 7. Preset 6: `glass` — 晴昼琉璃 / Daylight Glass (NEW!)\n * - Pastel aurora daylight mesh background over `#f3f7ff`\n * - Frosted translucent glass surfaces (`rgba(255,255,255,0.70)`, blur(14px) saturate(140%))\n * - Crisp white specular inner border (`inset 0 1px 0 rgba(255,255,255,0.9)`)\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"glass\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"glass\"], :has([data-dsh-style=\"glass\"])) {\n color-scheme: light;\n accent-color: #4f6df5;\n --dsw-alias-bg-base: #f3f7ff;\n --dsw-alias-bg-layer-1: rgba(255, 255, 255, 0.70);\n --dsw-alias-bg-layer-2: rgba(240, 245, 255, 0.78);\n --dsw-alias-bg-layer-3: rgba(226, 236, 255, 0.84);\n --dsw-alias-bg-overlay: rgba(255, 255, 255, 0.84);\n --dsw-alias-bg-module-platform: rgba(244, 248, 255, 0.76);\n --dsw-alias-settings-card-fill: rgba(255, 255, 255, 0.70);\n --dsw-alias-settings-card-stroke: rgba(255, 255, 255, 0.82);\n --dsw-specific-menu: rgba(255, 255, 255, 0.86);\n --dsw-alias-border-l1: rgba(148, 173, 219, 0.24);\n --dsw-alias-border-l2: rgba(132, 159, 212, 0.34);\n --dsw-alias-border-l3: rgba(114, 144, 204, 0.46);\n --dsw-alias-border-l4: rgba(96, 128, 196, 0.56);\n --dsw-alias-label-primary: #172033;\n --dsw-alias-label-secondary: #4b5973;\n --dsw-alias-label-tertiary: #6b7994;\n --dsw-alias-label-dimmed: #8895ae;\n --dsw-alias-brand-primary: #4f6df5;\n --dsw-alias-brand-text: #172033;\n --dsw-alias-state-business-primary: #4f6df5;\n --dsw-alias-state-business-tertiary: rgba(79, 109, 245, 0.14);\n --dsw-alias-link: #3b59e2;\n --dsw-alias-button-primary-fill: #4f6df5;\n --dsw-alias-button-primary-hover: #3f5de3;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(79, 109, 245, 0.08);\n --dsw-alias-interactive-bg-active: rgba(79, 109, 245, 0.14);\n --dsw-alias-interactive-bg-hover-accent: rgba(14, 165, 233, 0.12);\n --dsw-alias-interactive-bg-hover-danger: rgba(220, 56, 82, 0.12);\n --dsw-alias-state-error-primary: #d13850;\n --dsw-alias-state-warn-primary: #c06a12;\n --dsw-alias-state-warn-label: #8a4a09;\n --dsw-alias-state-warn-tertiary: rgba(251, 191, 36, 0.18);\n --dsw-alias-state-success-primary: #15805d;\n --dsw-radius-xs: 8px;\n --dsw-radius-sm: 11px;\n --dsw-radius-md: 15px;\n --dsw-radius-lg: 18px;\n --dsw-radius-xl: 22px;\n --dsw-elevation-panel: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(59, 92, 168, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.72);\n --dsw-elevation-prominent: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 16px 40px rgba(59, 92, 168, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.80);\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 3px 10px rgba(79, 109, 245, 0.12);\n --dsh-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 16px rgba(59, 92, 168, 0.07);\n --dsh-card-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 10px 26px rgba(59, 92, 168, 0.12);\n --dsh-surface-spotlight: rgba(79, 109, 245, 0.08);\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"glass\"] {\n background-color: #f3f7ff;\n background-image:\n radial-gradient(64% 58% at 12% 8%, rgba(125, 211, 252, 0.30) 0%, transparent 65%),\n radial-gradient(58% 52% at 88% 14%, rgba(196, 181, 253, 0.28) 0%, transparent 65%),\n radial-gradient(60% 55% at 52% 96%, rgba(153, 246, 228, 0.24) 0%, transparent 68%);\n}\n\n[data-dsh-style=\"glass\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel, .dsh-header, [data-dsh-header]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"glass\"], :has([data-dsh-style=\"glass\"])) {\n background: rgba(255, 255, 255, 0.70);\n -webkit-backdrop-filter: blur(14px) saturate(140%);\n backdrop-filter: blur(14px) saturate(140%);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 16px rgba(59, 92, 168, 0.07);\n}\n\n@supports not (backdrop-filter: blur(1px)) {\n [data-dsh-style=\"glass\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel, .dsh-header, [data-dsh-header]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"glass\"], :has([data-dsh-style=\"glass\"])) {\n background: rgba(255, 255, 255, 0.92);\n }\n}\n\n/* --------------------------------------------------------------------------\n * 8. Preset 7: `eink` — 护眼墨水屏 / E-Ink Paper (NEW!)\n * - Warm matte e-paper (`#F2F1EC` base, `#EAE8E1` layer, `#F7F6F2` card)\n * - High-contrast `#171716` charcoal ink, crisp `1px solid #9E9C93` rules\n * - `2px–4px` sharp corners, ultra-snappy `60ms` transitions, zero chromatic distraction\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"eink\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"eink\"], :has([data-dsh-style=\"eink\"])) {\n color-scheme: light;\n accent-color: #171716;\n --dsw-alias-bg-base: #f2f1ec;\n --dsw-alias-bg-layer-1: #eae8e1;\n --dsw-alias-bg-layer-2: #e1dfd6;\n --dsw-alias-bg-layer-3: #d6d3c9;\n --dsw-alias-bg-overlay: #f7f6f2;\n --dsw-alias-bg-module-platform: #eae8e1;\n --dsw-alias-settings-card-fill: #f7f6f2;\n --dsw-alias-settings-card-stroke: #9e9c93;\n --dsw-specific-menu: #f7f6f2;\n --dsw-alias-border-l1: #c5c2b8;\n --dsw-alias-border-l2: #9e9c93;\n --dsw-alias-border-l3: #78766e;\n --dsw-alias-border-l4: #54534d;\n --dsw-alias-label-primary: #171716;\n --dsw-alias-label-secondary: #484742;\n --dsw-alias-label-tertiary: #66645d;\n --dsw-alias-label-dimmed: #807e76;\n --dsw-alias-brand-primary: #171716;\n --dsw-alias-brand-text: #171716;\n --dsw-alias-state-business-primary: #171716;\n --dsw-alias-state-business-tertiary: rgba(23, 23, 22, 0.10);\n --dsw-alias-link: #171716;\n --dsw-alias-button-primary-fill: #171716;\n --dsw-alias-button-primary-hover: #2f2f2c;\n --dsw-alias-button-primary-ink: #f7f6f2;\n --dsw-alias-interactive-bg-hover: rgba(23, 23, 22, 0.06);\n --dsw-alias-interactive-bg-active: rgba(23, 23, 22, 0.12);\n --dsw-alias-interactive-bg-hover-accent: rgba(23, 23, 22, 0.08);\n --dsw-alias-interactive-bg-hover-danger: rgba(23, 23, 22, 0.10);\n --dsw-alias-state-error-primary: #2d2c28;\n --dsw-alias-state-warn-primary: #45443e;\n --dsw-alias-state-warn-label: #171716;\n --dsw-alias-state-warn-tertiary: #e6e4db;\n --dsw-alias-state-success-primary: #242422;\n --dsw-radius-xs: 2px;\n --dsw-radius-sm: 3px;\n --dsw-radius-md: 4px;\n --dsw-radius-lg: 4px;\n --dsw-radius-xl: 4px;\n --dsw-elevation-panel: 0 0 0 1px #9e9c93;\n --dsw-elevation-prominent: 0 2px 0 #9e9c93, 0 0 0 1px #78766e;\n --dsh-control-border-width: 1px;\n --dsh-motion-fast: 60ms;\n --dsh-motion-base: 60ms;\n --dsh-motion-dialog: 60ms;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: none;\n --dsh-card-shadow: none;\n --dsh-card-hover-shadow: none;\n --dsh-surface-spotlight: rgba(23, 23, 22, 0.06);\n --dsh-font-display: \"Palatino Linotype\", Georgia, \"Noto Serif SC SemiBold\", \"Noto Serif SC\", \"STZhongsong\", \"华文中宋\", serif;\n --dsh-font-body: Georgia, \"Noto Serif SC\", \"STSong\", \"华文宋体\", serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: normal;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"eink\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel) {\n border: 1px solid #9e9c93;\n box-shadow: none;\n}\n\n[data-dsh-style=\"eink\"] :where([data-dsh-row], .dsh-row) {\n border-block-end: 1px solid #c5c2b8;\n}\n\n[data-dsh-style=\"eink\"] :where(button, [role=\"button\"], [data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row) {\n translate: none !important;\n scale: none !important;\n transition-duration: 60ms;\n}\n\n/* --------------------------------------------------------------------------\n * 9. Preset 8: `blueprint` — 工程晒图 / Blueprint (NEW!)\n * - Light cyanotype drafting paper (`#eaf3fb`) + dual millimeter grid (`24px` + `6px`)\n * - Prussian engineering blue (`#0d3b66`) ink & `1px solid #1b5e8a` crisp rules\n * - Industrial safety-orange (`#e05a2b`) primary accent + technical monospace\n * - Tiny `+` crosshair registration ticks on cards\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"blueprint\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"blueprint\"], :has([data-dsh-style=\"blueprint\"])) {\n color-scheme: light;\n accent-color: #e05a2b;\n --dsw-alias-bg-base: #eaf3fb;\n --dsw-alias-bg-layer-1: #f4f9fe;\n --dsw-alias-bg-layer-2: #dfeef9;\n --dsw-alias-bg-layer-3: #cfe3f4;\n --dsw-alias-bg-overlay: #f7fbff;\n --dsw-alias-bg-module-platform: #e3f0fa;\n --dsw-alias-settings-card-fill: rgba(244, 249, 254, 0.92);\n --dsw-alias-settings-card-stroke: #1b5e8a;\n --dsw-specific-menu: rgba(247, 251, 255, 0.98);\n --dsw-alias-border-l1: rgba(27, 94, 138, 0.28);\n --dsw-alias-border-l2: #1b5e8a;\n --dsw-alias-border-l3: #0d3b66;\n --dsw-alias-border-l4: #092b4c;\n --dsw-alias-label-primary: #0d3b66;\n --dsw-alias-label-secondary: #1d4e78;\n --dsw-alias-label-tertiary: #3b6f99;\n --dsw-alias-label-dimmed: #5b89ad;\n --dsw-alias-brand-primary: #e05a2b;\n --dsw-alias-brand-text: #0d3b66;\n --dsw-alias-state-business-primary: #e05a2b;\n --dsw-alias-state-business-tertiary: rgba(224, 90, 43, 0.14);\n --dsw-alias-link: #0d3b66;\n --dsw-alias-button-primary-fill: #e05a2b;\n --dsw-alias-button-primary-hover: #c94b20;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(27, 94, 138, 0.08);\n --dsw-alias-interactive-bg-active: rgba(224, 90, 43, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(224, 90, 43, 0.12);\n --dsw-alias-interactive-bg-hover-danger: rgba(185, 45, 38, 0.12);\n --dsw-alias-state-error-primary: #b92d26;\n --dsw-alias-state-warn-primary: #c05614;\n --dsw-alias-state-warn-label: #7c3408;\n --dsw-alias-state-warn-tertiary: #fce9d8;\n --dsw-alias-state-success-primary: #156d5b;\n --dsw-radius-xs: 2px;\n --dsw-radius-sm: 2px;\n --dsw-radius-md: 3px;\n --dsw-radius-lg: 4px;\n --dsw-radius-xl: 4px;\n --dsw-elevation-panel: 0 0 0 1px #1b5e8a;\n --dsw-elevation-prominent: 0 8px 24px rgba(13, 59, 102, 0.14), 0 0 0 1px #1b5e8a;\n --dsh-control-border-width: 1px;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: 0 2px 0 #1b5e8a;\n --dsh-card-shadow: 0 0 0 1px #1b5e8a;\n --dsh-card-hover-shadow: 0 3px 0 #1b5e8a;\n --dsh-surface-spotlight: rgba(27, 94, 138, 0.09);\n --dsh-font-display: \"Cascadia Mono SemiBold\", \"Cascadia Mono\", \"STZhongsong\", \"华文中宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-font-body: \"Cascadia Mono\", \"STFangsong\", \"华文仿宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"STFangsong\", \"华文仿宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.02em;\n --dsh-body-tracking: 0.02em;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"blueprint\"] {\n background-color: #eaf3fb;\n background-image:\n linear-gradient(to right, rgba(18, 78, 120, 0.09) 1px, transparent 1px),\n linear-gradient(to bottom, rgba(18, 78, 120, 0.09) 1px, transparent 1px),\n linear-gradient(to right, rgba(18, 78, 120, 0.045) 1px, transparent 1px),\n linear-gradient(to bottom, rgba(18, 78, 120, 0.045) 1px, transparent 1px);\n background-size: 24px 24px, 24px 24px, 6px 6px, 6px 6px;\n}\n\n[data-dsh-style=\"blueprint\"] :where(.dsh-header, [data-dsh-header], .dsh-wb-header) {\n background: rgba(244, 249, 254, 0.90);\n border-block-end: 1px solid #1b5e8a;\n}\n\n[data-dsh-style=\"blueprint\"] :where([data-dsh-card], .dsh-card) {\n position: relative;\n border: 1px solid #1b5e8a;\n background: rgba(244, 249, 254, 0.92);\n}\n\n[data-dsh-style=\"blueprint\"] :where([data-dsh-card], .dsh-card):not([role=\"tab\"])::after {\n content: \"+\";\n position: absolute;\n inset-block-start: 4px;\n inset-inline-end: 6px;\n font-family: ui-monospace, \"Cascadia Mono\", Menlo, Consolas, monospace;\n font-size: 11px;\n line-height: 1;\n color: #e05a2b;\n opacity: 0.78;\n pointer-events: none;\n}\n\n[data-dsh-style=\"blueprint\"] :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 1px solid #1b5e8a;\n}\n\n/* --------------------------------------------------------------------------\n * 10. Preset 9: `risograph` — 波普孔版 / Riso Zine (NEW!)\n * - Warm printmaking paper (`#faf6ee`), bold `2px solid #18181b` outlines\n * - Vibrant offset hard shadows (`3px 3px 0 #18181b` buttons, `4px 4px 0 #2563eb`/`#ff3e7f` cards/dialogs)\n * - Subtle halftone dot pattern (`7px 7px`) on header\n * - Electric pink `#ff3e7f` & marker-yellow `#fde047` accents + `translate(2px, 2px)` shadow-collapse press\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"risograph\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"risograph\"], :has([data-dsh-style=\"risograph\"])) {\n color-scheme: light;\n accent-color: #ff3e7f;\n --dsw-alias-bg-base: #faf6ee;\n --dsw-alias-bg-layer-1: #f5efe2;\n --dsw-alias-bg-layer-2: #ede4d1;\n --dsw-alias-bg-layer-3: #e3d7be;\n --dsw-alias-bg-overlay: #fffdf7;\n --dsw-alias-bg-module-platform: #f5efe2;\n --dsw-alias-settings-card-fill: #fffdf7;\n --dsw-alias-settings-card-stroke: #18181b;\n --dsw-specific-menu: #fffdf7;\n --dsw-alias-border-l1: #d4cbb8;\n --dsw-alias-border-l2: #18181b;\n --dsw-alias-border-l3: #18181b;\n --dsw-alias-border-l4: #18181b;\n --dsw-alias-label-primary: #18181b;\n --dsw-alias-label-secondary: #3f3f46;\n --dsw-alias-label-tertiary: #52525b;\n --dsw-alias-label-dimmed: #71717a;\n --dsw-alias-brand-primary: #ff3e7f;\n --dsw-alias-brand-text: #18181b;\n --dsw-alias-state-business-primary: #ff3e7f;\n --dsw-alias-state-business-tertiary: rgba(255, 62, 127, 0.14);\n --dsw-alias-link: #2563eb;\n --dsw-alias-button-primary-fill: #ff3e7f;\n --dsw-alias-button-primary-hover: #e62e6d;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(253, 224, 71, 0.38);\n --dsw-alias-interactive-bg-active: #fde047;\n --dsw-alias-interactive-bg-hover-accent: rgba(37, 99, 235, 0.14);\n --dsw-alias-interactive-bg-hover-danger: rgba(255, 62, 127, 0.18);\n --dsw-alias-state-error-primary: #dc2626;\n --dsw-alias-state-warn-primary: #ca8a04;\n --dsw-alias-state-warn-label: #713f12;\n --dsw-alias-state-warn-tertiary: #fef08a;\n --dsw-alias-state-success-primary: #15803d;\n --dsw-radius-xs: 3px;\n --dsw-radius-sm: 4px;\n --dsw-radius-md: 6px;\n --dsw-radius-lg: 8px;\n --dsw-radius-xl: 10px;\n --dsw-elevation-panel: 4px 4px 0px #2563eb;\n --dsw-elevation-prominent: 4px 4px 0px #ff3e7f;\n --dsh-control-border-width: 2px;\n --dsh-button-shadow: 3px 3px 0px #18181b;\n --dsh-button-hover-shadow: 4px 4px 0px #2563eb;\n --dsh-card-shadow: 4px 4px 0px #2563eb;\n --dsh-card-hover-shadow: 5px 5px 0px #ff3e7f;\n --dsh-surface-spotlight: rgba(253, 224, 71, 0.35);\n --dsh-font-display: Impact, \"Arial Black\", \"Noto Sans SC Black\", \"SimHei\", \"黑体\", sans-serif;\n --dsh-font-body: \"Source Sans 3\", \"Noto Sans SC Medium\", \"Noto Sans SC\", sans-serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 900;\n --dsh-display-tracking: -0.02em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"risograph\"] :where(.dsh-header, [data-dsh-header], .dsh-wb-header) {\n background-color: #fffdf7;\n background-image: radial-gradient(rgba(255, 62, 127, 0.15) 1px, transparent 0);\n background-size: 7px 7px;\n border-block-end: 2px solid #18181b;\n}\n\n[data-dsh-style=\"risograph\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"risograph\"], :has([data-dsh-style=\"risograph\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 2px solid #18181b;\n box-shadow: 3px 3px 0px #18181b;\n}\n\n[data-dsh-style=\"risograph\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel) {\n border: 2px solid #18181b;\n box-shadow: 4px 4px 0px #2563eb;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"risograph\"], :has([data-dsh-style=\"risograph\"])) {\n border: 2px solid #18181b !important;\n box-shadow: 4px 4px 0px #ff3e7f !important;\n}\n\n[data-dsh-style=\"risograph\"] [role=\"tab\"][aria-selected=\"true\"] {\n background: #fde047;\n color: #18181b;\n font-weight: 700;\n}\n\n[data-dsh-style=\"risograph\"] [role=\"tab\"][aria-selected=\"true\"]::after,\n[data-dsh-style=\"risograph\"] .dsh-tab-indicator {\n border-block-end-color: #ff3e7f;\n border-block-end-width: 3px;\n}\n\n/* --------------------------------------------------------------------------\n * 11. Preset 10: `win98` — 千禧复古 / Retro 98 (NEW!)\n * - Classic bright Platinum/Win98 silver-gray (`#dcdcdc` / `#e4e4e4`, `#ffffff` wells)\n * - Authentic 3D beveled raised borders flipping to sunken bevels on `:active` / `[aria-selected=\"true\"]`\n * - `0px` sharp corners + royal-blue (`#1b4f9c` -> `#3b82c4`) header accent\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"win98\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) {\n color-scheme: light;\n accent-color: #1b4f9c;\n --dsw-alias-bg-base: #dcdcdc;\n --dsw-alias-bg-layer-1: #e4e4e4;\n --dsw-alias-bg-layer-2: #d0d0d0;\n --dsw-alias-bg-layer-3: #c0c0c0;\n --dsw-alias-bg-overlay: #e4e4e4;\n --dsw-alias-bg-module-platform: #d4d4d4;\n --dsw-alias-settings-card-fill: #ffffff;\n --dsw-alias-settings-card-stroke: #808080;\n --dsw-specific-menu: #dcdcdc;\n --dsw-alias-border-l1: #b8b8b8;\n --dsw-alias-border-l2: #808080;\n --dsw-alias-border-l3: #5a5a5a;\n --dsw-alias-border-l4: #222222;\n --dsw-alias-label-primary: #111111;\n --dsw-alias-label-secondary: #333333;\n --dsw-alias-label-tertiary: #555555;\n --dsw-alias-label-dimmed: #767676;\n --dsw-alias-brand-primary: #1b4f9c;\n --dsw-alias-brand-text: #111111;\n --dsw-alias-state-business-primary: #1b4f9c;\n --dsw-alias-state-business-tertiary: rgba(27, 79, 156, 0.14);\n --dsw-alias-link: #0b3c88;\n --dsw-alias-button-primary-fill: #1b4f9c;\n --dsw-alias-button-primary-hover: #245cb0;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(27, 79, 156, 0.09);\n --dsw-alias-interactive-bg-active: rgba(27, 79, 156, 0.16);\n --dsw-alias-interactive-bg-hover-accent: rgba(59, 130, 196, 0.15);\n --dsw-alias-interactive-bg-hover-danger: rgba(185, 28, 28, 0.13);\n --dsw-alias-state-error-primary: #b91c1c;\n --dsw-alias-state-warn-primary: #9a5b08;\n --dsw-alias-state-warn-label: #6e3f04;\n --dsw-alias-state-warn-tertiary: #fef3c7;\n --dsw-alias-state-success-primary: #166534;\n --dsw-radius-xs: 0px;\n --dsw-radius-sm: 0px;\n --dsw-radius-md: 0px;\n --dsw-radius-lg: 0px;\n --dsw-radius-xl: 0px;\n --dsw-corner-shape: square;\n --dsw-elevation-panel: inset 1.5px 1.5px 0 #ffffff, inset -1.5px -1.5px 0 #5a5a5a, inset 2.5px 2.5px 0 #f4f4f4, inset -2.5px -2.5px 0 #9a9a9a;\n --dsw-elevation-prominent: inset 1.5px 1.5px 0 #ffffff, inset -1.5px -1.5px 0 #5a5a5a, inset 2.5px 2.5px 0 #f4f4f4, inset -2.5px -2.5px 0 #9a9a9a, 4px 4px 12px rgba(0, 0, 0, 0.18);\n --dsh-control-border-width: 1px;\n --dsh-button-shadow: inset 1.5px 1.5px 0 #ffffff, inset -1.5px -1.5px 0 #5a5a5a, inset 2.5px 2.5px 0 #f4f4f4, inset -2.5px -2.5px 0 #9a9a9a;\n --dsh-button-hover-shadow: inset 1.5px 1.5px 0 #ffffff, inset -1.5px -1.5px 0 #5a5a5a, inset 2.5px 2.5px 0 #f4f4f4, inset -2.5px -2.5px 0 #9a9a9a;\n --dsh-card-shadow: inset 1.5px 1.5px 0 #808080, inset -1.5px -1.5px 0 #ffffff, inset 2.5px 2.5px 0 #5a5a5a, inset -2.5px -2.5px 0 #dcdcdc;\n --dsh-card-hover-shadow: inset 1.5px 1.5px 0 #808080, inset -1.5px -1.5px 0 #ffffff, inset 2.5px 2.5px 0 #5a5a5a, inset -2.5px -2.5px 0 #dcdcdc;\n --dsh-surface-spotlight: rgba(27, 79, 156, 0.10);\n --dsh-font-display: Tahoma, \"SimSun\", \"NSimSun\", \"宋体\", \"新宋体\", sans-serif;\n --dsh-font-body: Tahoma, \"SimSun\", \"NSimSun\", \"宋体\", \"新宋体\", sans-serif;\n --dsh-font-mono: \"Fixedsys\", Consolas, \"Courier New\", \"SimSun\", \"宋体\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: normal;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"win98\"] :where(button, input, select, textarea, [role=\"button\"], [role=\"tab\"], [role=\"menuitem\"], [role=\"menuitemradio\"], [data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) :where(button, input, select, textarea, [role=\"menuitem\"], [role=\"menuitemradio\"]) {\n border-radius: 0px !important;\n corner-shape: square;\n}\n\n/* Raised 3D bevel buttons */\n[data-dsh-style=\"win98\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 0;\n background-color: #dcdcdc;\n box-shadow: inset 1.5px 1.5px 0 #ffffff, inset -1.5px -1.5px 0 #5a5a5a, inset 2.5px 2.5px 0 #f4f4f4, inset -2.5px -2.5px 0 #9a9a9a;\n}\n\n/* Keep primary buttons royal blue with 3D bevel */\n[data-dsh-style=\"win98\"] :where(.dsh-wb-btn-primary, .dsh-btn-primary) {\n background-color: #1b4f9c;\n color: #ffffff;\n box-shadow: inset 1.5px 1.5px 0 #6ca0e8, inset -1.5px -1.5px 0 #0d2b57, inset 2.5px 2.5px 0 #4a82d1, inset -2.5px -2.5px 0 #143c78;\n}\n\n/* Sunken 3D bevel on active / pressed / selected controls */\n[data-dsh-style=\"win98\"] :where(button, [role=\"button\"]):is(:active, [aria-pressed=\"true\"], [aria-expanded=\"true\"]):not(:disabled):not([aria-disabled=\"true\"]),\n[data-dsh-style=\"win98\"] [role=\"tab\"][aria-selected=\"true\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) :where(button, [role=\"button\"]):is(:active, [aria-pressed=\"true\"]):not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 0px 0px !important;\n scale: 1 !important;\n background-color: #e4e4e4;\n box-shadow: inset 1.5px 1.5px 0 #5a5a5a, inset -1.5px -1.5px 0 #ffffff, inset 2.5px 2.5px 0 #9a9a9a, inset -2.5px -2.5px 0 #f4f4f4 !important;\n}\n\n/* Sunken white list/card/input wells */\n[data-dsh-style=\"win98\"] :where([data-dsh-card], .dsh-card, input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]), select, textarea) {\n border: 0;\n background: #ffffff;\n box-shadow: inset 1.5px 1.5px 0 #808080, inset -1.5px -1.5px 0 #ffffff, inset 2.5px 2.5px 0 #5a5a5a, inset -2.5px -2.5px 0 #dcdcdc;\n}\n\n/* Bright Win98 Platinum raised toolbar header with iconic royal-blue titlebar stripe */\n[data-dsh-style=\"win98\"] :where(.dsh-header, [data-dsh-header], .pageHeader, .dsh-wb-header, .topbar) {\n background: linear-gradient(180deg, #ececec 0%, #dcdcdc 100%) !important;\n color: #111111;\n border-block-start: 3px solid #1b4f9c !important;\n border-block-end: 2px solid #808080;\n box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #808080;\n}\n\n[data-dsh-style=\"win98\"] .dsh-header-badge {\n background: linear-gradient(90deg, #1b4f9c 0%, #3b82c4 100%);\n color: #ffffff;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) header {\n background: linear-gradient(90deg, #1b4f9c 0%, #3b82c4 100%);\n color: #ffffff;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"win98\"], :has([data-dsh-style=\"win98\"])) header h2 {\n color: #ffffff;\n}\n\n/* --------------------------------------------------------------------------\n * 12. Preset 11: `songhui` — 宋韵朱砂 / Song Xuan (NEW!)\n * - Warm gold-flecked Xuan paper (`#f7f3e8`, subtle `18px` gold-dust radial dots)\n * - Double cinnabar masthead border (`3px double #b83b2a`)\n * - Cinnabar seal-stamp primary buttons (`#b83b2a` with `#fbf9f2` ink, `2px` crisp corners)\n * - Classical Songti / serif typography\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"songhui\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"songhui\"], :has([data-dsh-style=\"songhui\"])) {\n color-scheme: light;\n accent-color: #b83b2a;\n --dsw-alias-bg-base: #f7f3e8;\n --dsw-alias-bg-layer-1: #f0ead9;\n --dsw-alias-bg-layer-2: #e7dec8;\n --dsw-alias-bg-layer-3: #dcd0b4;\n --dsw-alias-bg-overlay: #fbf9f2;\n --dsw-alias-bg-module-platform: #ede6d4;\n --dsw-alias-settings-card-fill: #fbf9f2;\n --dsw-alias-settings-card-stroke: #d4c4a2;\n --dsw-specific-menu: #fbf9f2;\n --dsw-alias-border-l1: #e4dac2;\n --dsw-alias-border-l2: #cfbda0;\n --dsw-alias-border-l3: #b8a382;\n --dsw-alias-border-l4: #9d8765;\n --dsw-alias-label-primary: #252019;\n --dsw-alias-label-secondary: #5c5142;\n --dsw-alias-label-tertiary: #7d705e;\n --dsw-alias-label-dimmed: #998c79;\n --dsw-alias-brand-primary: #b83b2a;\n --dsw-alias-brand-text: #252019;\n --dsw-alias-state-business-primary: #b83b2a;\n --dsw-alias-state-business-tertiary: rgba(184, 59, 42, 0.12);\n --dsw-alias-link: #9e2f20;\n --dsw-alias-button-primary-fill: #b83b2a;\n --dsw-alias-button-primary-hover: #9f3021;\n --dsw-alias-button-primary-ink: #fbf9f2;\n --dsw-alias-interactive-bg-hover: rgba(184, 59, 42, 0.065);\n --dsw-alias-interactive-bg-active: rgba(184, 59, 42, 0.13);\n --dsw-alias-interactive-bg-hover-accent: rgba(184, 59, 42, 0.11);\n --dsw-alias-interactive-bg-hover-danger: rgba(184, 59, 42, 0.15);\n --dsw-alias-state-error-primary: #a62b1c;\n --dsw-alias-state-warn-primary: #9c6216;\n --dsw-alias-state-warn-label: #704309;\n --dsw-alias-state-warn-tertiary: #f7ecd1;\n --dsw-alias-state-success-primary: #2e664b;\n --dsw-radius-xs: 2px;\n --dsw-radius-sm: 2px;\n --dsw-radius-md: 3px;\n --dsw-radius-lg: 4px;\n --dsw-radius-xl: 4px;\n --dsw-elevation-panel: 0 2px 10px rgba(66, 52, 32, 0.06), 0 0 0 1px #cfbda0;\n --dsw-elevation-prominent: 0 12px 30px rgba(66, 52, 32, 0.14), 0 0 0 1px #b8a382;\n --dsh-control-border-width: 1px;\n --dsh-button-hover-shadow: 0 2px 6px rgba(184, 59, 42, 0.12);\n --dsh-card-shadow: 0 1px 2px rgba(66, 52, 32, 0.05);\n --dsh-card-hover-shadow: 0 6px 16px rgba(66, 52, 32, 0.09);\n --dsh-surface-spotlight: rgba(184, 59, 42, 0.07);\n --dsh-font-display: \"STZhongsong\", \"华文中宋\", \"Noto Serif SC Black\", \"SimSun\", \"宋体\", serif;\n --dsh-font-body: \"Palatino Linotype\", \"STKaiti\", \"华文楷体\", \"KaiTi\", \"楷体\", \"Noto Serif SC\", serif;\n --dsh-font-mono: \"Cascadia Mono\", Consolas, \"STFangsong\", \"华文仿宋\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.04em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n/* Gold-flecked Xuan paper */\n[data-dsh-style=\"songhui\"] {\n background-color: #f7f3e8;\n background-image:\n radial-gradient(rgba(196, 152, 64, 0.18) 1px, transparent 0),\n radial-gradient(rgba(196, 152, 64, 0.11) 0.75px, transparent 0);\n background-size: 18px 18px, 29px 29px;\n background-position: 0 0, 9px 7px;\n}\n\n/* Double cinnabar masthead border */\n[data-dsh-style=\"songhui\"] :where(.pageHeader, .dsh-header, [data-dsh-header], .dsh-wb-header) {\n background: rgba(251, 249, 242, 0.90);\n border-block-end: 3px double #b83b2a;\n}\n\n/* Cinnabar seal-stamp primary buttons & badge */\n[data-dsh-style=\"songhui\"] :where(.dsh-wb-btn-primary, .dsh-btn-primary, .dsh-header-badge) {\n background: #b83b2a;\n color: #fbf9f2;\n border-color: #9e2f20;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(251, 249, 242, 0.28);\n}\n\n/* --------------------------------------------------------------------------\n * 13. Preset 12: `frutiger` — 晴空水晶 / Aqua Gloss (NEW!)\n * - Bright Frutiger Aero sky-aqua gradient (`#eaf7ff` -> `#f4fbff`)\n * - Glossy upper-half specular aqua pill buttons (`linear-gradient` + `inset 0 1.5px 0`)\n * - Pill `999px` control radius + luminous translucent cards\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"frutiger\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"frutiger\"], :has([data-dsh-style=\"frutiger\"])) {\n color-scheme: light;\n accent-color: #0284c7;\n --dsw-alias-bg-base: #eaf7ff;\n --dsw-alias-bg-layer-1: rgba(255, 255, 255, 0.78);\n --dsw-alias-bg-layer-2: rgba(232, 246, 255, 0.86);\n --dsw-alias-bg-layer-3: rgba(209, 236, 255, 0.90);\n --dsw-alias-bg-overlay: rgba(248, 253, 255, 0.93);\n --dsw-alias-bg-module-platform: rgba(232, 246, 255, 0.84);\n --dsw-alias-settings-card-fill: rgba(255, 255, 255, 0.82);\n --dsw-alias-settings-card-stroke: rgba(56, 189, 248, 0.44);\n --dsw-specific-menu: rgba(248, 253, 255, 0.95);\n --dsw-alias-border-l1: rgba(56, 189, 248, 0.26);\n --dsw-alias-border-l2: rgba(14, 165, 233, 0.36);\n --dsw-alias-border-l3: rgba(2, 132, 199, 0.48);\n --dsw-alias-border-l4: rgba(3, 105, 161, 0.58);\n --dsw-alias-label-primary: #0c2b45;\n --dsw-alias-label-secondary: #275373;\n --dsw-alias-label-tertiary: #487596;\n --dsw-alias-label-dimmed: #6c96b5;\n --dsw-alias-brand-primary: #0284c7;\n --dsw-alias-brand-text: #0c2b45;\n --dsw-alias-state-business-primary: #0284c7;\n --dsw-alias-state-business-tertiary: rgba(14, 165, 233, 0.16);\n --dsw-alias-link: #0369a1;\n --dsw-alias-button-primary-fill: #0284c7;\n --dsw-alias-button-primary-hover: #0369a1;\n --dsw-alias-button-primary-ink: #ffffff;\n --dsw-alias-interactive-bg-hover: rgba(14, 165, 233, 0.10);\n --dsw-alias-interactive-bg-active: rgba(14, 165, 233, 0.18);\n --dsw-alias-interactive-bg-hover-accent: rgba(56, 189, 248, 0.16);\n --dsw-alias-interactive-bg-hover-danger: rgba(220, 56, 82, 0.13);\n --dsw-alias-state-error-primary: #c83244;\n --dsw-alias-state-warn-primary: #c06a12;\n --dsw-alias-state-warn-label: #8a4a09;\n --dsw-alias-state-warn-tertiary: #fef0d6;\n --dsw-alias-state-success-primary: #0f766e;\n --dsw-radius-xs: 10px;\n --dsw-radius-sm: 999px;\n --dsw-radius-md: 18px;\n --dsw-radius-lg: 22px;\n --dsw-radius-xl: 26px;\n --dsw-elevation-panel: inset 0 1.5px 0 rgba(255, 255, 255, 0.92), 0 6px 20px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.36);\n --dsw-elevation-prominent: inset 0 1.5px 0 rgba(255, 255, 255, 0.95), 0 16px 38px rgba(14, 165, 233, 0.18), 0 0 0 1px rgba(56, 189, 248, 0.44);\n --dsh-control-border-width: 1px;\n --dsh-button-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.92), 0 2px 6px rgba(14, 165, 233, 0.12);\n --dsh-button-hover-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.96), 0 4px 12px rgba(2, 132, 199, 0.22);\n --dsh-card-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.92), 0 6px 20px rgba(14, 165, 233, 0.10);\n --dsh-card-hover-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.98), 0 10px 26px rgba(2, 132, 199, 0.16);\n --dsh-surface-spotlight: rgba(14, 165, 233, 0.10);\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"frutiger\"] {\n background-color: #eaf7ff;\n background-image:\n radial-gradient(60% 48% at 15% 6%, rgba(125, 211, 252, 0.34) 0%, transparent 65%),\n linear-gradient(180deg, #eaf7ff 0%, #f4fbff 55%, #e5f5fe 100%);\n}\n\n[data-dsh-style=\"frutiger\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"frutiger\"], :has([data-dsh-style=\"frutiger\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border-radius: 999px;\n border: 1px solid rgba(14, 165, 233, 0.42);\n background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(224, 244, 255, 0.88) 49%, rgba(204, 236, 255, 0.92) 51%, rgba(235, 249, 255, 0.96) 100%);\n box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.92), 0 2px 6px rgba(14, 165, 233, 0.12);\n}\n\n[data-dsh-style=\"frutiger\"] :where(.dsh-wb-btn-primary, .dsh-btn-primary, .dsh-header-badge) {\n border-radius: 999px;\n border: 1px solid #0284c7;\n color: #ffffff;\n background: linear-gradient(180deg, #7dd3fc 0%, #0ea5e9 48%, #0284c7 52%, #38bdf8 100%);\n box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.88), 0 3px 10px rgba(2, 132, 199, 0.24);\n}\n\n[data-dsh-style=\"frutiger\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel, .dsh-header, [data-dsh-header]) {\n background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 250, 255, 0.78) 100%);\n -webkit-backdrop-filter: blur(10px) saturate(130%);\n backdrop-filter: blur(10px) saturate(130%);\n box-shadow: var(--dsh-card-shadow);\n}\n\n/* --------------------------------------------------------------------------\n * 14. Preset 13: `gazette` — 铅字晨报 / Gazette\n * - Warm newsprint base (`#f6f3ec`), `#ede8dd` layer, `#faf8f3` card, `#161514` ink\n * - `4px double #161514` masthead border on `.pageHeader` / `.dsh-header`\n * - Crisp `1px solid #161514` column rules, `0px–2px` editorial corners\n * - `#9b1c1c` crimson seal/editorial accent & high-contrast ink buttons\n * -------------------------------------------------------------------------- */\n[data-dsh-style=\"gazette\"],\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"gazette\"], :has([data-dsh-style=\"gazette\"])) {\n color-scheme: light;\n accent-color: #9b1c1c;\n --dsw-alias-bg-base: #f6f3ec;\n --dsw-alias-bg-layer-1: #ede8dd;\n --dsw-alias-bg-layer-2: #e3dccd;\n --dsw-alias-bg-layer-3: #d6cebc;\n --dsw-alias-bg-overlay: #faf8f3;\n --dsw-alias-bg-module-platform: #ebe5d8;\n --dsw-alias-settings-card-fill: #faf8f3;\n --dsw-alias-settings-card-stroke: #161514;\n --dsw-specific-menu: #faf8f3;\n --dsw-alias-border-l1: #cec6b6;\n --dsw-alias-border-l2: #161514;\n --dsw-alias-border-l3: #161514;\n --dsw-alias-border-l4: #161514;\n --dsw-alias-label-primary: #161514;\n --dsw-alias-label-secondary: #43403c;\n --dsw-alias-label-tertiary: #635f59;\n --dsw-alias-label-dimmed: #827d75;\n --dsw-alias-brand-primary: #9b1c1c;\n --dsw-alias-brand-text: #161514;\n --dsw-alias-state-business-primary: #9b1c1c;\n --dsw-alias-state-business-tertiary: rgba(155, 28, 28, 0.12);\n --dsw-alias-link: #9b1c1c;\n --dsw-alias-button-primary-fill: #161514;\n --dsw-alias-button-primary-hover: #2d2b28;\n --dsw-alias-button-primary-ink: #faf8f3;\n --dsw-alias-interactive-bg-hover: rgba(22, 21, 20, 0.06);\n --dsw-alias-interactive-bg-active: rgba(155, 28, 28, 0.11);\n --dsw-alias-interactive-bg-hover-accent: rgba(155, 28, 28, 0.10);\n --dsw-alias-interactive-bg-hover-danger: rgba(155, 28, 28, 0.14);\n --dsw-alias-state-error-primary: #9b1c1c;\n --dsw-alias-state-warn-primary: #9a5b08;\n --dsw-alias-state-warn-label: #6e3f04;\n --dsw-alias-state-warn-tertiary: #f6ead2;\n --dsw-alias-state-success-primary: #1f5c3a;\n --dsw-radius-xs: 0px;\n --dsw-radius-sm: 1px;\n --dsw-radius-md: 2px;\n --dsw-radius-lg: 2px;\n --dsw-radius-xl: 2px;\n --dsw-elevation-panel: 0 1px 0 #161514, 0 0 0 1px #161514;\n --dsw-elevation-prominent: 3px 3px 0 #161514, 0 0 0 1px #161514;\n --dsh-control-border-width: 1px;\n --dsh-button-shadow: none;\n --dsh-button-hover-shadow: 0 2px 0 #161514;\n --dsh-card-shadow: none;\n --dsh-card-hover-shadow: 2px 2px 0 #161514;\n --dsh-surface-spotlight: rgba(155, 28, 28, 0.06);\n --dsh-font-display: Garamond, Georgia, \"STZhongsong\", \"华文中宋\", \"Noto Serif SC Black\", serif;\n --dsh-font-body: Georgia, \"Noto Serif SC\", \"STSong\", \"华文宋体\", serif;\n --dsh-font-mono: \"Cascadia Mono\", Consolas, \"Courier New\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: -0.01em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n[data-dsh-style=\"gazette\"] {\n background-color: #f6f3ec;\n}\n\n/* Broadsheet 4px double masthead border */\n[data-dsh-style=\"gazette\"] :where(.pageHeader, .dsh-header, [data-dsh-header], .dsh-wb-header) {\n background: #faf8f3;\n border-block-end: 4px double #161514;\n}\n\n/* Crisp 1px solid #161514 column rules & editorial cards */\n[data-dsh-style=\"gazette\"] :where([data-dsh-card], .dsh-card, [data-dsh-panel], .dsh-panel) {\n background: #faf8f3;\n border: 1px solid #161514;\n border-radius: 2px;\n box-shadow: none;\n}\n\n[data-dsh-style=\"gazette\"] :where([data-dsh-row], .dsh-row) {\n border-block-end: 1px solid #161514;\n}\n\n[data-dsh-style=\"gazette\"] .dsh-split-leading {\n border-inline-end: 1px solid #161514;\n}\n\n[data-dsh-style=\"gazette\"] .dsh-split-resizer::before {\n background: #161514;\n}\n\n/* 0px–2px editorial corners, crimson seal accent & high-contrast ink buttons */\n[data-dsh-style=\"gazette\"] :where(button:not([role=\"tab\"]), .dsh-btn),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"gazette\"], :has([data-dsh-style=\"gazette\"])) :where(button:not([role=\"tab\"]), .dsh-btn) {\n border: 1px solid #161514;\n border-radius: 1px;\n}\n\n[data-dsh-style=\"gazette\"] :where(.dsh-wb-btn-primary, .dsh-btn-primary) {\n background: #161514;\n color: #faf8f3;\n border-color: #161514;\n}\n\n[data-dsh-style=\"gazette\"] :where(.dsh-wb-btn-primary, .dsh-btn-primary):hover:not(:disabled) {\n background: #9b1c1c;\n border-color: #9b1c1c;\n}\n\n[data-dsh-style=\"gazette\"] .dsh-header-badge {\n background: #9b1c1c;\n color: #faf8f3;\n border-radius: 1px;\n}\n\n[data-dsh-style=\"gazette\"] [role=\"tab\"][aria-selected=\"true\"]::after,\n[data-dsh-style=\"gazette\"] .dsh-tab-indicator {\n border-block-end-color: #9b1c1c;\n border-block-end-width: 2.5px;\n}\n\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"gazette\"], :has([data-dsh-style=\"gazette\"])) {\n border: 1px solid #161514 !important;\n border-radius: 2px !important;\n}\n\n/* --------------------------------------------------------------------------\n * 14b. Independent `[data-dsh-font]` Overrides & Dual-Layer Typography Rules\n * When `data-dsh-font=\"auto\"` (or unset), each `[data-dsh-style]` uses its\n * own Windows-verified Chinese + Latin signature font stack.\n * -------------------------------------------------------------------------- */\n:root[data-dsh-font=\"songkai\"] [data-dsh-style],\n:root[data-dsh-font=\"songkai\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"songkai\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"songkai\"],\n[data-dsh-portal-synced][data-dsh-font=\"songkai\"] {\n --dsh-font-display: \"STZhongsong\", \"华文中宋\", \"Noto Serif SC Black\", \"SimSun\", \"宋体\", serif;\n --dsh-font-body: \"Palatino Linotype\", \"STKaiti\", \"华文楷体\", \"KaiTi\", \"楷体\", \"Noto Serif SC\", serif;\n --dsh-font-mono: \"Cascadia Mono\", Consolas, \"STFangsong\", \"华文仿宋\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.04em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"fangsong\"] [data-dsh-style],\n:root[data-dsh-font=\"fangsong\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"fangsong\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"fangsong\"],\n[data-dsh-portal-synced][data-dsh-font=\"fangsong\"] {\n --dsh-font-display: \"Cascadia Mono SemiBold\", \"Cascadia Mono\", \"STZhongsong\", \"华文中宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-font-body: \"Cascadia Mono\", \"STFangsong\", \"华文仿宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"STFangsong\", \"华文仿宋\", \"FangSong\", \"仿宋\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.02em;\n --dsh-body-tracking: 0.02em;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"poster\"] [data-dsh-style],\n:root[data-dsh-font=\"poster\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"poster\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"poster\"],\n[data-dsh-portal-synced][data-dsh-font=\"poster\"] {\n --dsh-font-display: Impact, \"Arial Black\", \"Noto Sans SC Black\", \"SimHei\", \"黑体\", sans-serif;\n --dsh-font-body: \"Source Sans 3\", \"Noto Sans SC Medium\", \"Noto Sans SC\", sans-serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 900;\n --dsh-display-tracking: -0.02em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"retro98\"] [data-dsh-style],\n:root[data-dsh-font=\"retro98\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"retro98\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"retro98\"],\n[data-dsh-portal-synced][data-dsh-font=\"retro98\"] {\n --dsh-font-display: Tahoma, \"SimSun\", \"NSimSun\", \"宋体\", \"新宋体\", sans-serif;\n --dsh-font-body: Tahoma, \"SimSun\", \"NSimSun\", \"宋体\", \"新宋体\", sans-serif;\n --dsh-font-mono: \"Fixedsys\", Consolas, \"Courier New\", \"SimSun\", \"宋体\", monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: normal;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"serif\"] [data-dsh-style],\n:root[data-dsh-font=\"serif\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"serif\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"serif\"],\n[data-dsh-portal-synced][data-dsh-font=\"serif\"] {\n --dsh-font-display: \"Palatino Linotype\", Georgia, \"Noto Serif SC SemiBold\", \"Noto Serif SC\", \"STZhongsong\", \"华文中宋\", serif;\n --dsh-font-body: Georgia, \"Noto Serif SC\", \"STSong\", \"华文宋体\", serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: -0.01em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"arcade\"] [data-dsh-style],\n:root[data-dsh-font=\"arcade\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"arcade\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"arcade\"],\n[data-dsh-portal-synced][data-dsh-font=\"arcade\"] {\n --dsh-font-display: \"Cascadia Code SemiBold\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-body: \"Cascadia Code\", \"Cascadia Mono\", \"YouYuan\", \"幼圆\", \"Noto Sans SC\", monospace;\n --dsh-font-mono: \"Cascadia Mono\", \"Cascadia Code\", \"YouYuan\", \"幼圆\", Consolas, monospace;\n --dsh-display-weight: 700;\n --dsh-display-tracking: 0.015em;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n:root[data-dsh-font=\"modern\"] [data-dsh-style],\n:root[data-dsh-font=\"modern\"] [data-dsh-portal-synced],\n:root[data-dsh-font=\"modern\"] :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]),\n[data-dsh-style][data-dsh-font=\"modern\"],\n[data-dsh-portal-synced][data-dsh-font=\"modern\"] {\n --dsh-font-display: \"Source Sans 3\", \"Segoe UI\", \"Noto Sans SC\", \"Microsoft YaHei UI\", sans-serif;\n --dsh-font-body: \"Source Sans 3\", \"Segoe UI\", \"Noto Sans SC\", \"Microsoft YaHei UI\", sans-serif;\n --dsh-font-mono: \"Cascadia Code\", \"Cascadia Mono\", Consolas, \"Microsoft YaHei UI\", monospace;\n --dsh-display-weight: 650;\n --dsh-display-tracking: normal;\n --dsh-body-tracking: normal;\n --dsw-font-family: var(--dsh-font-body);\n --dsw-font-markdown-base: var(--dsh-font-body);\n}\n\n/* Dual-layer body typography application (workbench + form controls + portaled menus/modals) */\n:where([data-dsh-style], [data-dsh-portal-synced]),\n:where([data-dsh-style], [data-dsh-portal-synced]) :where(button, input, select, textarea),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style], [data-dsh-portal-synced], :has([data-dsh-style])),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style], [data-dsh-portal-synced], :has([data-dsh-style])) :where(button, input, select, textarea) {\n font-family: var(--dsh-font-body);\n letter-spacing: var(--dsh-body-tracking, normal);\n}\n\n/* Dual-layer display typography application (headings, tabs, header title, editorial titles) */\n:where([data-dsh-style], [data-dsh-portal-synced]) :where(\n h1,\n h2,\n h3,\n [role=\"tab\"],\n .dsh-header-title,\n [data-dsh-serif],\n [data-dsh-editorial-heading],\n [data-dsh-card] :is(h2, h3, .dsh-card-title),\n .dsh-card :is(h2, h3, .dsh-card-title),\n [data-dsh-reader] :is(h1, h2),\n .dsh-reader :is(h1, h2)\n),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style], [data-dsh-portal-synced], :has([data-dsh-style])) :where(h1, h2, h3, header h2, [role=\"tab\"], [data-dsh-serif]) {\n font-family: var(--dsh-font-display);\n font-weight: var(--dsh-display-weight, 700);\n letter-spacing: var(--dsh-display-tracking, normal);\n}\n\n/* Monospace code typography */\n:where([data-dsh-style], [data-dsh-portal-synced]) :where(code, pre, kbd, samp),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style], [data-dsh-portal-synced], :has([data-dsh-style])) :where(code, pre, kbd, samp) {\n font-family: var(--dsh-font-mono);\n}\n\n/* --------------------------------------------------------------------------\n * 11. Interactive Dynamics: Tactile Button Physics & Active States\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n /* Identity transforms prevent mid-interaction stacking-context shifts */\n translate: 0px 0px;\n scale: 1;\n transition-property: background-color, border-color, color, box-shadow, opacity, translate, scale;\n transition-duration: var(--dsh-motion-fast);\n transition-timing-function: var(--dsh-ease-out);\n}\n\n/* Visible active style on open menu triggers */\n:where([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]),\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"])[aria-expanded=\"true\"]:not(:disabled):not([aria-disabled=\"true\"]) {\n background-color: var(--dsw-alias-interactive-bg-active);\n color: var(--dsw-alias-label-primary);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n @media (hover: hover) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]):not([data-dsh-style=\"win98\"]):not([data-dsh-style=\"risograph\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not([role=\"switch\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]):not([data-dsh-style=\"win98\"]):not([data-dsh-style=\"risograph\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]):not([role=\"switch\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 0px -0.5px;\n }\n\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: -1px -1px;\n box-shadow: 3px 3px 0px #1e2826;\n transition-timing-function: steps(2, end);\n transition-duration: 70ms;\n }\n\n [data-dsh-style=\"risograph\"] :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):where([data-dsh-style=\"risograph\"], :has([data-dsh-style=\"risograph\"])) :where(button:not([role=\"tab\"]):not([role=\"menuitem\"]):not([role=\"menuitemradio\"]), .dsh-btn):hover:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: -1px -1px;\n box-shadow: 4px 4px 0px #2563eb;\n }\n }\n\n /* Tactile spring press on standard themes */\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]):not([data-dsh-style=\"win98\"]):not([data-dsh-style=\"risograph\"])) :where(button:not([role=\"switch\"]), [role=\"button\"]):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]):not([data-dsh-style=\"win98\"]):not([data-dsh-style=\"risograph\"])) :where(button:not([role=\"switch\"]), [role=\"button\"]):active:not(:disabled):not([aria-disabled=\"true\"]) {\n scale: 0.965;\n translate: 0px 0.5px;\n transition-duration: 80ms;\n }\n\n /* Stepped 8-Bit arcade press (`translate(1px, 1px)` + crisp 1px pixel shadow) */\n [data-dsh-style=\"pixel8bit\"] :where(button:not([role=\"tab\"]):not([role=\"switch\"]), .dsh-btn):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"pixel8bit\"], :has([data-dsh-style=\"pixel8bit\"])) :where(button:not([role=\"tab\"]):not([role=\"switch\"]), .dsh-btn):active:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 1px 1px !important;\n scale: 1 !important;\n box-shadow: 1px 1px 0px #1e2826 !important;\n transition-timing-function: steps(2, end);\n transition-duration: 50ms;\n }\n\n /* Risograph shadow-collapse button press (`translate(2px, 2px)`) */\n [data-dsh-style=\"risograph\"] :where(button:not([role=\"tab\"]):not([role=\"switch\"]), .dsh-btn):active:not(:disabled):not([aria-disabled=\"true\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style=\"risograph\"], :has([data-dsh-style=\"risograph\"])) :where(button:not([role=\"tab\"]):not([role=\"switch\"]), .dsh-btn):active:not(:disabled):not([aria-disabled=\"true\"]) {\n translate: 2px 2px !important;\n scale: 1 !important;\n box-shadow: 1px 1px 0px #18181b !important;\n transition-duration: 60ms;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 12. Small-Button SVG Icon Micro-Animations\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(button, [role=\"button\"], summary) svg,\n:where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary) svg {\n translate: 0px 0px;\n rotate: 0deg;\n scale: 1;\n transform-origin: center;\n}\n\n@keyframes dsh-icon-spin {\n to {\n rotate: 360deg;\n }\n}\n\n@keyframes dsh-icon-wiggle {\n 0% { rotate: 0deg; }\n 25% { rotate: -12deg; }\n 55% { rotate: 10deg; }\n 80% { rotate: -5deg; }\n 100% { rotate: 0deg; }\n}\n\n@keyframes dsh-icon-pop {\n 0% { scale: 1; }\n 45% { scale: 1.26; }\n 75% { scale: 0.94; }\n 100% { scale: 1; }\n}\n\n@keyframes dsh-icon-bounce {\n 0%, 100% { translate: 0px 0px; }\n 45% { translate: 0px 2.5px; }\n 75% { translate: 0px -1px; }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], summary) svg,\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"], summary) svg {\n transition:\n translate var(--dsh-motion-base) var(--dsh-ease-spring),\n rotate 240ms var(--dsh-ease-spring),\n scale var(--dsh-motion-base) var(--dsh-ease-spring);\n }\n\n /* 1) `down` / chevron: 180deg flip on `[aria-expanded=\"true\"]` or `details[open]` */\n :where([data-dsh-style]) :where([aria-expanded=\"true\"], [data-open=\"true\"], details[open] > summary) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog):has([data-dsh-style]) :where([aria-expanded=\"true\"], [data-open=\"true\"]) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n rotate: 180deg;\n }\n\n /* 2) `refresh` / `sync`: smooth 180deg spin on hover, continuous spin when busy */\n :where([data-dsh-style]) :where(button, [role=\"button\"])[aria-busy=\"true\"] :is(svg[data-dsh-icon=\"refresh\"], svg[data-dsh-icon=\"sync\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"]),\n :where([data-dsh-style]) :is(svg[data-dsh-icon=\"refresh\"], svg[data-icon=\"refresh\"])[data-spinning=\"true\"] {\n animation: dsh-icon-spin 0.85s linear infinite;\n }\n\n @media (hover: hover) {\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"refresh\"], svg[data-dsh-icon=\"sync\"], svg[data-dsh-icon=\"reload\"], svg[data-icon=\"refresh\"], svg[data-icon=\"sync\"], svg[data-icon=\"reload\"]) {\n rotate: 180deg;\n }\n\n /* 3) `plus` / `close`: crisp 90deg turn */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"plus\"], svg[data-dsh-icon=\"add\"], svg[data-dsh-icon=\"close\"], svg[data-dsh-icon=\"x\"], svg[data-icon=\"plus\"], svg[data-icon=\"add\"], svg[data-icon=\"close\"], svg[data-icon=\"x\"]) {\n rotate: 90deg;\n }\n\n /* 4) `send` / `external` / `link`: forward/diagonal glide */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], a):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"send\"], svg[data-dsh-icon=\"external\"], svg[data-dsh-icon=\"link\"], svg[data-icon=\"send\"], svg[data-icon=\"external\"], svg[data-icon=\"link\"]) {\n translate: 2px -1.5px;\n }\n\n /* 5) `reply` / `left` / `undo`: leading glide */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"reply\"], svg[data-dsh-icon=\"left\"], svg[data-dsh-icon=\"undo\"], svg[data-icon=\"reply\"], svg[data-icon=\"left\"], svg[data-icon=\"undo\"]) {\n translate: -2px 0px;\n }\n\n /* 6) `right` / `play`: trailing nudge & pulse */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"right\"], svg[data-icon=\"right\"]) {\n translate: 2px 0px;\n }\n\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"play\"], svg[data-icon=\"play\"]) {\n translate: 1.5px 0px;\n scale: 1.14;\n }\n\n /* 7) `trash` / `delete`: tactile warning wiggle */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"trash\"], svg[data-dsh-icon=\"delete\"], svg[data-icon=\"trash\"], svg[data-icon=\"delete\"]) {\n animation: dsh-icon-wiggle 360ms var(--dsh-ease-in-out);\n }\n\n /* 8) `star` / `check` / `copy` / `bookmark`: spring pop */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"star\"], svg[data-dsh-icon=\"check\"], svg[data-dsh-icon=\"copy\"], svg[data-dsh-icon=\"bookmark\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"], svg[data-icon=\"bookmark\"]) {\n scale: 1.18;\n }\n\n /* 9) `download` / `export`: vertical bounce */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"download\"], svg[data-dsh-icon=\"export\"], svg[data-icon=\"download\"], svg[data-icon=\"export\"]) {\n animation: dsh-icon-bounce 420ms var(--dsh-ease-out);\n }\n\n /* 10) `palette` / `sparkles` / `edit`: playful tilt */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"]):hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"palette\"], svg[data-dsh-icon=\"sparkles\"], svg[data-dsh-icon=\"edit\"], svg[data-icon=\"palette\"], svg[data-icon=\"sparkles\"], svg[data-icon=\"edit\"]) {\n rotate: -12deg;\n scale: 1.08;\n }\n\n /* Closed chevron gentle downward cue on hover */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"])[aria-expanded=\"false\"]:hover:not(:disabled):not([aria-disabled=\"true\"]) :is(svg[data-dsh-icon=\"down\"], svg[data-dsh-icon=\"chevron-down\"], svg[data-icon=\"down\"], svg[data-icon=\"chevron-down\"]) {\n translate: 0px 1.5px;\n }\n }\n\n /* Pop feedback when toggled into active/pressed/checked state */\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where([aria-pressed=\"true\"], [aria-checked=\"true\"], [data-active=\"true\"], [data-copied=\"true\"]) :is(svg[data-dsh-icon=\"star\"], svg[data-dsh-icon=\"check\"], svg[data-dsh-icon=\"copy\"], svg[data-icon=\"star\"], svg[data-icon=\"check\"], svg[data-icon=\"copy\"]) {\n animation: dsh-icon-pop 300ms var(--dsh-ease-spring);\n }\n}\n\n/* --------------------------------------------------------------------------\n * 13. v3 Layout Primitives: Unified 48px Single-Row Header\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where(.dsh-header, [data-dsh-header]) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n min-height: 48px;\n padding: 6px 14px;\n flex: none;\n min-width: 0;\n background: var(--dsw-alias-bg-base);\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2);\n}\n\n.dsh-header-leading {\n display: flex;\n align-items: center;\n gap: 10px;\n min-width: 0;\n flex: 1 1 auto;\n}\n\n.dsh-header-brand {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n min-width: 0;\n flex: none;\n white-space: nowrap;\n}\n\n.dsh-header-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n width: 24px;\n height: 24px;\n border-radius: var(--dsw-radius-xs, 6px);\n background: var(--dsw-alias-button-primary-fill, #4176e6);\n color: var(--dsw-alias-button-primary-ink, #ffffff);\n}\n\n.dsh-header-title {\n margin: 0;\n font-size: 13.5px;\n font-weight: var(--dsh-display-weight, 650);\n line-height: 1.25;\n color: var(--dsw-alias-label-primary);\n white-space: nowrap;\n}\n\n.dsh-header-tabs {\n display: flex;\n align-items: center;\n min-width: 0;\n flex: 1 1 auto;\n}\n\n.dsh-header-actions {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex: none;\n white-space: nowrap;\n}\n\n@container (max-width: 759px) {\n :where([data-dsh-style]) :where(.dsh-header, [data-dsh-header]) {\n flex-wrap: wrap;\n padding-block: 6px;\n }\n\n .dsh-header-leading {\n flex-wrap: wrap;\n gap: 6px 10px;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 14. v3 Tabs: Sliding Indicator + 140ms `@starting-style` Panel Entrance\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where([role=\"tablist\"], .dsh-tablist) {\n position: relative;\n display: flex;\n align-items: center;\n gap: 2px;\n min-width: 0;\n overflow-x: auto;\n scrollbar-width: thin;\n}\n\n:where([data-dsh-style]) [role=\"tab\"] {\n position: relative;\n flex: none;\n white-space: nowrap;\n}\n\n/* Static fallback underline when sliding indicator is not active (or in forced-colors) */\n:where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n content: \"\";\n position: absolute;\n inset-inline: 6px;\n inset-block-end: 0;\n border-block-end: 2px solid var(--dsw-alias-state-business-primary);\n pointer-events: none;\n}\n\n[data-dsh-style] :where([data-dsh-tablist][data-indicator-ready=\"true\"], .dsh-tablist[data-indicator-ready=\"true\"]) [role=\"tab\"][aria-selected=\"true\"]::after {\n opacity: 0;\n}\n\n.dsh-tab-indicator {\n position: absolute;\n inset-inline-start: 0;\n inset-block-end: 0;\n height: 2px;\n width: var(--dsh-tab-w, 0px);\n translate: var(--dsh-tab-x, 0px) 0px;\n border-block-end: 2px solid var(--dsw-alias-state-business-primary);\n border-radius: 2px 2px 0 0;\n pointer-events: none;\n opacity: 0;\n transition:\n translate 180ms var(--dsh-ease-out),\n width 180ms var(--dsh-ease-out),\n opacity 120ms ease-out;\n}\n\n[data-indicator-ready=\"true\"] > .dsh-tab-indicator {\n opacity: 1;\n}\n\n.dsh-tablist-pill > .dsh-tab-indicator {\n inset-block: 3px;\n height: auto;\n border-block-end: 2px solid var(--dsw-alias-state-business-primary);\n border-radius: var(--dsw-radius-xs, 6px);\n background: var(--dsw-alias-interactive-bg-active);\n z-index: 0;\n}\n\n.dsh-tablist-pill > [role=\"tab\"] {\n z-index: 1;\n}\n\n[data-dsh-style=\"eink\"] .dsh-tab-indicator {\n transition-duration: 60ms;\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-tab-indicator {\n border-radius: 0px !important;\n transition-timing-function: steps(4, end);\n}\n\n/* 140ms `@starting-style` + keyframe fade-in for active tab panels */\n@keyframes dsh-tab-panel-enter {\n from {\n opacity: 0;\n translate: 0px 4px;\n }\n to {\n opacity: 1;\n translate: 0px 0px;\n }\n}\n\n:where([data-dsh-style]) :where(.dsh-tab-panel, [data-dsh-tab-panel]):not([hidden]) {\n opacity: 1;\n translate: 0px 0px;\n transition:\n opacity 140ms var(--dsh-ease-out),\n translate 140ms var(--dsh-ease-out);\n animation: dsh-tab-panel-enter 140ms var(--dsh-ease-out);\n}\n\n@starting-style {\n :where([data-dsh-style]) :where(.dsh-tab-panel, [data-dsh-tab-panel]):not([hidden]) {\n opacity: 0;\n translate: 0px 4px;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 15. v3 Resizable Split Pane (`.dsh-split-pane` + `.dsh-split-resizer`)\n * - Pointer-capture drag + double-click reset + ArrowLeft/ArrowRight\n * - Auto-stack fallback below 760px container/viewport width\n * -------------------------------------------------------------------------- */\n.dsh-split-pane {\n display: flex;\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n width: 100%;\n}\n\n.dsh-split-leading {\n flex: none;\n min-width: 0;\n min-height: 0;\n width: var(--dsh-split-size, 320px);\n}\n\n.dsh-split-trailing {\n flex: 1 1 auto;\n min-width: 0;\n min-height: 0;\n}\n\n.dsh-split-resizer {\n position: relative;\n flex: none;\n width: 9px;\n min-height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: col-resize;\n touch-action: none;\n user-select: none;\n background: transparent;\n outline: none;\n}\n\n.dsh-split-resizer[aria-orientation=\"horizontal\"] {\n width: 100%;\n height: 9px;\n min-height: 9px;\n cursor: row-resize;\n}\n\n.dsh-split-resizer::before {\n content: \"\";\n width: 1px;\n height: 100%;\n background: var(--dsw-alias-border-l2);\n transition:\n width 120ms var(--dsh-ease-out),\n background-color 120ms var(--dsh-ease-out);\n}\n\n.dsh-split-resizer[aria-orientation=\"horizontal\"]::before {\n width: 100%;\n height: 1px;\n}\n\n.dsh-split-resizer::after {\n content: \"\";\n position: absolute;\n width: 3px;\n height: 28px;\n border-radius: 999px;\n background: var(--dsw-alias-border-l3);\n opacity: 0;\n transition:\n opacity 120ms var(--dsh-ease-out),\n background-color 120ms var(--dsh-ease-out);\n}\n\n.dsh-split-resizer[aria-orientation=\"horizontal\"]::after {\n width: 28px;\n height: 3px;\n}\n\n.dsh-split-resizer:hover::before,\n.dsh-split-resizer:focus-visible::before,\n.dsh-split-resizer[data-dragging=\"true\"]::before {\n width: 2px;\n background: var(--dsw-alias-state-business-primary);\n}\n\n.dsh-split-resizer[aria-orientation=\"horizontal\"]:is(:hover, :focus-visible, [data-dragging=\"true\"])::before {\n width: 100%;\n height: 2px;\n}\n\n.dsh-split-resizer:is(:hover, :focus-visible, [data-dragging=\"true\"])::after {\n opacity: 1;\n background: var(--dsw-alias-state-business-primary);\n}\n\n.dsh-split-resizer:focus-visible {\n outline: 2px solid var(--dsw-alias-state-business-primary);\n outline-offset: -2px;\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-split-resizer::before {\n width: 2px;\n background: #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-split-resizer::after {\n border-radius: 0px;\n}\n\n@container (max-width: 759px) {\n .dsh-split-pane {\n flex-direction: column;\n overflow-y: auto;\n }\n\n .dsh-split-leading {\n width: 100% !important;\n max-width: 100%;\n flex: none;\n }\n\n .dsh-split-resizer {\n display: none;\n }\n}\n\n@media (max-width: 759px) {\n .dsh-split-pane {\n flex-direction: column;\n overflow-y: auto;\n }\n\n .dsh-split-leading {\n width: 100% !important;\n max-width: 100%;\n flex: none;\n }\n\n .dsh-split-resizer {\n display: none;\n }\n}\n\n/* --------------------------------------------------------------------------\n * 16. v3 Theme-Tinted Shimmer Skeleton & Pixel Progress Helpers\n * -------------------------------------------------------------------------- */\n@keyframes dsh-skeleton-shimmer {\n 0% { background-position: 100% 0; }\n 100% { background-position: -100% 0; }\n}\n\n.dsh-skeleton-group {\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 100%;\n}\n\n.dsh-skeleton {\n display: block;\n width: 100%;\n height: 12px;\n border-radius: var(--dsw-radius-xs, 6px);\n background-color: var(--dsw-alias-bg-layer-2, #e5e7eb);\n background-image: linear-gradient(\n 90deg,\n var(--dsw-alias-bg-layer-2, #e5e7eb) 0%,\n color-mix(in oklab, var(--dsw-alias-bg-overlay, #ffffff) 82%, var(--dsw-alias-state-business-primary, #4176e6) 18%) 48%,\n var(--dsw-alias-bg-layer-2, #e5e7eb) 100%\n );\n background-size: 220% 100%;\n background-position: 100% 0;\n}\n\n.dsh-skeleton-circle {\n width: 32px;\n height: 32px;\n border-radius: 50%;\n flex: none;\n}\n\n.dsh-skeleton-card {\n display: flex;\n flex-direction: column;\n gap: 10px;\n padding: 12px 14px;\n border-radius: var(--dsw-radius-md, 12px);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l1);\n background: var(--dsw-alias-bg-layer-1);\n}\n\n.dsh-skeleton-row {\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 8px 10px;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]:not([data-dsh-style=\"eink\"])) .dsh-skeleton[data-animated=\"true\"] {\n animation: dsh-skeleton-shimmer 1.35s var(--dsh-ease-in-out) infinite;\n }\n\n [data-dsh-style=\"pixel8bit\"] .dsh-skeleton[data-animated=\"true\"] {\n border-radius: 0px !important;\n border: 1px solid #1e2826;\n animation-timing-function: steps(4, end);\n }\n}\n\n[data-dsh-style=\"eink\"] .dsh-skeleton {\n background-image: none;\n border: 1px solid #c5c2b8;\n}\n\n/* Stepped pixel progress helper */\n.dsh-progress {\n position: relative;\n width: 100%;\n height: 6px;\n overflow: clip;\n border-radius: 999px;\n background: var(--dsw-alias-bg-layer-2);\n}\n\n.dsh-progress-bar {\n height: 100%;\n width: var(--dsh-progress-value, 0%);\n border-radius: inherit;\n background: var(--dsw-alias-state-business-primary);\n transition: width 200ms var(--dsh-ease-out);\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-progress {\n height: 10px;\n border-radius: 0px !important;\n border: 2px solid #1e2826;\n background: var(--dsw-alias-bg-layer-1);\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-progress-bar {\n border-radius: 0px !important;\n background: repeating-linear-gradient(\n 90deg,\n #2e7d5b 0px,\n #2e7d5b 6px,\n #24674a 6px,\n #24674a 8px\n );\n transition-timing-function: steps(8, end);\n}\n\n/* --------------------------------------------------------------------------\n * 17. v3 Interactive Cards, Rows, Quick-Action Bar & Top-Layer Dialog Entrance\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) :where([data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row) {\n translate: 0px 0px;\n transition:\n background-color var(--dsh-motion-fast) var(--dsh-ease-out),\n border-color var(--dsh-motion-fast) var(--dsh-ease-out),\n box-shadow var(--dsh-motion-base) var(--dsh-ease-out),\n translate var(--dsh-motion-base) var(--dsh-ease-out);\n}\n\n/* Row Hover Quick-Action Bar (`.dsh-row-actions`) */\n.dsh-row-actions {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex: none;\n translate: 0px 0px;\n transition:\n opacity var(--dsh-motion-fast) var(--dsh-ease-out),\n translate var(--dsh-motion-fast) var(--dsh-ease-out);\n}\n\n@media (hover: hover) {\n :where([data-dsh-row], .dsh-row) .dsh-row-actions:not([data-always-visible=\"true\"]) {\n opacity: 0;\n translate: 4px 0px;\n pointer-events: none;\n }\n\n :where([data-dsh-row], .dsh-row):is(:hover, :focus-within, [data-active=\"true\"], [data-selected=\"true\"], [aria-selected=\"true\"]) .dsh-row-actions {\n opacity: 1;\n translate: 0px 0px;\n pointer-events: auto;\n }\n}\n\n@media (hover: hover) and (prefers-reduced-motion: no-preference) {\n :where([data-dsh-style]:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]):not([data-dsh-style=\"win98\"]):not([data-dsh-style=\"risograph\"])) :where([data-dsh-card], .dsh-card):hover {\n translate: 0px -1.5px;\n box-shadow: var(--dsh-card-hover-shadow);\n }\n\n [data-dsh-style=\"pixel8bit\"] :where([data-dsh-card], .dsh-card):hover {\n translate: -1px -1px;\n box-shadow: 4px 4px 0px #1e2826;\n }\n\n [data-dsh-style=\"risograph\"] :where([data-dsh-card], .dsh-card):hover {\n translate: -1px -1px;\n box-shadow: 5px 5px 0px #ff3e7f;\n }\n\n :where([data-dsh-style]) :where([data-dsh-row], .dsh-row):hover:not([data-selected=\"true\"]):not([aria-selected=\"true\"]):not([data-active=\"true\"]) {\n background-color: var(--dsh-surface-spotlight, var(--dsw-alias-interactive-bg-hover));\n }\n}\n\n/* Modal / Dialog & Popover Top-Layer Entrance + Scroll Containment */\n:where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n overscroll-behavior: contain;\n opacity: 1;\n transition-property: opacity, scale, translate, display, overlay;\n transition-duration: var(--dsh-motion-dialog);\n transition-timing-function: var(--dsh-ease-out);\n /* Separate declaration after transition so older parsers never drop transitions */\n transition-behavior: allow-discrete;\n}\n\n@starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n opacity: 0;\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 1;\n translate: 0px 0px;\n }\n\n @starting-style {\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: 0.965;\n translate: 0px 6px;\n }\n }\n}\n\ndialog[open]::backdrop {\n overflow: hidden;\n overscroll-behavior: contain;\n}\n\n/* --------------------------------------------------------------------------\n * 18. v3 Calm Compact Update Strip (`[data-plugin-update-footer]`)\n * Keeps `@stardustlc/dsh-updates` footer compact at bottom without\n * crushing or cutting off `flex: 1` split-pane columns.\n * -------------------------------------------------------------------------- */\n:where([data-dsh-style]) [data-plugin-update-footer] {\n flex: none;\n box-sizing: border-box;\n width: 100%;\n min-height: 32px;\n margin: 0;\n padding: 6px 14px;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 6px 12px;\n font-size: 12px;\n line-height: 1.4;\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-1);\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2);\n}\n\n:where([data-dsh-style]) [data-plugin-update-footer] :where(button, a) {\n min-height: 24px;\n font-size: 11.5px;\n}\n\n:where([data-dsh-style]) [data-show-updates=\"false\"] [data-plugin-update-footer] {\n display: none;\n}\n\n/* --------------------------------------------------------------------------\n * 19. Unified Header Style & Font Switcher Chrome (`.dsh-style-switcher`)\n * -------------------------------------------------------------------------- */\n.dsh-style-switcher {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n flex: none;\n white-space: nowrap;\n}\n\n.dsh-style-trigger.dsh-style-trigger,\n.dsh-font-trigger.dsh-font-trigger {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n min-height: 28px;\n height: 28px;\n padding-inline: 8px;\n width: auto;\n flex-shrink: 0;\n font-size: 12px;\n line-height: 18px;\n font-weight: 500;\n color: var(--dsw-alias-label-secondary);\n background: var(--dsw-alias-bg-layer-1);\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2);\n border-radius: var(--dsw-radius-sm, 8px);\n cursor: pointer;\n white-space: nowrap;\n}\n\n.dsh-font-trigger.dsh-font-trigger {\n gap: 5px;\n padding-inline: 7px;\n}\n\n.dsh-font-glyph {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n min-width: 16px;\n height: 16px;\n padding-inline: 3px;\n border-radius: var(--dsw-radius-xs, 4px);\n background: var(--dsw-alias-state-business-tertiary, rgba(65, 118, 230, 0.12));\n color: var(--dsw-alias-state-business-primary, var(--dsw-alias-label-primary));\n font-family: var(--dsh-font-display);\n font-size: 10.5px;\n font-weight: 700;\n line-height: 1;\n}\n\n.dsh-style-label,\n.dsh-font-label {\n white-space: nowrap;\n line-height: 1;\n}\n\n@media (hover: hover) {\n .dsh-style-trigger.dsh-style-trigger:hover:not(:disabled),\n .dsh-font-trigger.dsh-font-trigger:hover:not(:disabled) {\n color: var(--dsw-alias-label-primary);\n background: var(--dsw-alias-interactive-bg-hover);\n }\n}\n\n.dsh-style-swatch {\n display: inline-block;\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n corner-shape: round;\n background: var(--dsh-swatch-color, var(--dsw-alias-state-business-primary));\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);\n}\n\n[data-dsh-style=\"pixel8bit\"] .dsh-style-swatch {\n border-radius: 0px !important;\n corner-shape: square;\n box-shadow: 1px 1px 0px #1e2826;\n}\n\n.dsh-style-fallback-wrap {\n position: relative;\n display: inline-flex;\n}\n\n.dsh-style-fallback-menu {\n position: absolute;\n inset-block-start: calc(100% + 4px);\n inset-inline-end: 0;\n z-index: 2147483001;\n display: grid;\n gap: 2px;\n min-width: 186px;\n max-height: min(420px, 70dvh);\n overflow-y: auto;\n overscroll-behavior: contain;\n padding: 4px;\n background: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base));\n border: var(--dsh-control-border-width, 0.5px) solid var(--dsw-alias-border-l2);\n border-radius: var(--dsw-radius-md, 12px);\n box-shadow: var(--dsw-elevation-prominent);\n}\n\n.dsh-style-fallback-item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n width: 100%;\n min-height: 28px;\n padding: 4px 8px;\n border: 0;\n border-radius: var(--dsw-radius-xs, 6px);\n background: transparent;\n color: var(--dsw-alias-label-primary);\n font: inherit;\n font-size: 12px;\n text-align: start;\n cursor: pointer;\n}\n\n.dsh-style-fallback-item-leading {\n display: inline-flex;\n align-items: center;\n gap: 7px;\n min-width: 0;\n}\n\n.dsh-style-fallback-item[aria-checked=\"true\"] {\n background: var(--dsw-alias-interactive-bg-active);\n font-weight: 600;\n}\n\n@media (hover: hover) {\n .dsh-style-fallback-item:hover:not(:disabled) {\n background: var(--dsw-alias-interactive-bg-hover);\n }\n}\n\n/* Fallback Modal & Menu Chrome (when host `@deepseek-ai/dsh-client-ui-primitives` is absent) */\n.dsh-fallback-modal-root {\n position: fixed;\n inset: 0;\n z-index: 2147483000;\n display: grid;\n place-items: center;\n padding: 16px;\n}\n\n.dsh-fallback-modal-mask {\n position: fixed;\n inset: 0;\n background: rgba(15, 23, 42, 0.36);\n}\n\n.dsh-fallback-modal-dialog {\n position: relative;\n z-index: 1;\n max-width: min(560px, calc(100dvw - 32px));\n max-height: calc(100dvh - 32px);\n overflow: clip;\n display: flex;\n flex-direction: column;\n border-radius: var(--dsw-radius-md, 12px);\n background: var(--dsw-alias-bg-layer-1, #f8fafc);\n color: var(--dsw-alias-label-primary, #1f232b);\n box-shadow: var(--dsw-elevation-prominent);\n}\n\n/* --------------------------------------------------------------------------\n * 20. Accessibility: Reduced Motion & Windows High Contrast (Forced Colors)\n * -------------------------------------------------------------------------- */\n@media (prefers-reduced-motion: reduce) {\n :where([data-dsh-style]) :where(button, [role=\"button\"], [data-dsh-card], .dsh-card, [data-dsh-row], .dsh-row, .dsh-row-actions, .dsh-tab-panel, [data-dsh-tab-panel]),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):has([data-dsh-style]) :where(button, [role=\"button\"]) {\n translate: none !important;\n scale: none !important;\n animation: none !important;\n transition-property: background-color, border-color, color, opacity;\n transition-duration: 90ms;\n }\n\n :where([data-dsh-style], [role=\"dialog\"], [role=\"alertdialog\"], dialog) :where(button, [role=\"button\"], summary) svg,\n [data-dsh-style=\"pixel8bit\"] :where([data-dsh-row], .dsh-row)::before,\n [data-dsh-style=\"pixel8bit\"] .dsh-pixel-cursor {\n animation: none !important;\n transition: none !important;\n translate: none !important;\n scale: none !important;\n }\n\n .dsh-tab-indicator {\n transition-property: opacity;\n transition-duration: 90ms;\n }\n\n .dsh-skeleton {\n animation: none !important;\n background-image: none;\n }\n\n /* Short, non-spatial fade only for top-layer dialogs under reduced motion */\n :where([role=\"dialog\"], [role=\"alertdialog\"], dialog[open]):where([data-dsh-style], :has([data-dsh-style])) {\n scale: none !important;\n translate: none !important;\n transition-duration: 100ms;\n }\n}\n\n@media (forced-colors: active) {\n :where([data-dsh-style]) :where(button, input, select, textarea, [data-dsh-card], .dsh-card),\n :where([role=\"dialog\"], [role=\"alertdialog\"], [role=\"menu\"], dialog):where([data-dsh-style], :has([data-dsh-style])) {\n border: 1px solid ButtonText;\n }\n\n :where([data-dsh-style]) [role=\"tab\"][aria-selected=\"true\"]::after {\n opacity: 1 !important;\n border-block-end: 3px solid Highlight;\n }\n\n .dsh-tab-indicator {\n background: transparent !important;\n border-block-end: 3px solid Highlight;\n }\n\n .dsh-split-resizer::before,\n .dsh-split-resizer::after {\n background: ButtonText;\n }\n\n .dsh-skeleton {\n border: 1px solid GrayText;\n background: Canvas;\n }\n}\n\n.cite-workbench.dshw {\n --cite-base: var(--dsw-alias-bg-base, #ffffff);\n --cite-layer: var(--dsw-alias-bg-layer-1, #f7f9fc);\n --cite-control: var(--dsw-alias-bg-layer-2, #eef2f7);\n --cite-ink: var(--dsw-alias-label-primary, #1b2230);\n --cite-secondary: var(--dsw-alias-label-secondary, #5b667a);\n --cite-line: var(--dsw-alias-border-l2, #e2e7f0);\n --cite-subtle-line: var(--dsw-alias-border-l1, #ebf0f6);\n --cite-accent: var(--dsw-alias-state-business-primary, #4176e6);\n --cite-hover: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.045));\n --cite-active: var(--dsw-alias-interactive-bg-active, rgba(65, 118, 230, 0.11));\n --cite-primary: var(--dsw-alias-button-primary-fill, #4176e6);\n --cite-on-primary: var(--dsw-alias-button-primary-ink, #ffffff);\n --cite-mono: var(--dsh-font-mono, var(--ds-font-family-code, ui-monospace, SFMono-Regular, Consolas, monospace));\n --cite-radius-sm: var(--dsw-radius-sm, 8px);\n --cite-radius-md: var(--dsw-radius-md, 12px);\n container: cite-workbench / inline-size;\n inline-size: 100%;\n min-inline-size: 0;\n min-block-size: 0;\n box-sizing: border-box;\n font-family: var(--dsh-font-body, inherit);\n font-size: 13px;\n line-height: 1.5;\n color: var(--cite-ink);\n background: var(--cite-base);\n}\n\n.cite-workbench[data-main=\"true\"] {\n block-size: 100%;\n padding-block-start: var(--dsh-frame-top-clearance, 0px);\n padding-inline-start: var(--dsh-frame-leading-clearance, 0px);\n}\n\n.cite-workbench[data-main=\"false\"] {\n block-size: min(680px, 76dvh);\n min-block-size: 320px;\n padding: 0;\n}\n\n.cite-workbench * {\n box-sizing: border-box;\n}\n\n.cite-workbench .cite-shell {\n display: flex;\n flex-direction: column;\n block-size: 100%;\n min-block-size: 0;\n background: transparent;\n}\n\n.cite-workbench[data-main=\"false\"] .cite-shell {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n overflow: clip;\n}\n\n.cite-workbench .cite-header {\n min-block-size: 48px;\n}\n\n.cite-workbench .cite-brand {\n margin: 0;\n font-size: 13.5px;\n line-height: 1.25;\n font-weight: 650;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-brand-icon {\n display: grid;\n place-items: center;\n inline-size: 24px;\n block-size: 24px;\n border-radius: var(--dsw-radius-xs, 7px);\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n}\n\n.cite-workbench .cite-header-actions {\n display: inline-flex;\n align-items: center;\n flex-wrap: nowrap;\n gap: 6px;\n margin: 0;\n}\n\n.cite-workbench .w-tabs-layout {\n display: contents;\n}\n\n.cite-workbench .w-tabs {\n position: relative;\n flex-wrap: nowrap;\n max-inline-size: 100%;\n gap: 2px;\n margin: 0;\n padding: 3px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n border-radius: calc(var(--cite-radius-sm) + 2px);\n background: var(--cite-control);\n}\n\n.cite-workbench .w-tabs > button {\n position: relative;\n z-index: 1;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 5px;\n min-inline-size: 0;\n min-block-size: 28px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n padding: 4px 11px;\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.3;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-base);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n font-weight: 600;\n}\n\n.cite-workbench .w-tabs[data-indicator-ready=\"true\"] > button[aria-selected=\"true\"] {\n background: transparent;\n box-shadow: none;\n}\n\n.cite-workbench .w-tabs > .dsh-tab-indicator {\n inset-block: 3px;\n height: auto;\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n box-shadow: var(--dsw-elevation-soft, 0 1px 3px rgba(15, 23, 42, 0.08));\n}\n\n.cite-workbench[data-dsh-style=\"cream\"] .w-tabs > .dsh-tab-indicator {\n background: rgba(158, 88, 41, 0.11);\n box-shadow: inset 0 2px 0 rgba(158, 88, 41, 0.22);\n}\n\n.cite-workbench[data-dsh-style=\"pixel8bit\"] .w-tabs > .dsh-tab-indicator {\n border-radius: 0px !important;\n border-block-end: 3px solid #d95b43;\n}\n\n.cite-workbench .w-tabs .w-count {\n min-inline-size: 0;\n padding: 0 4px;\n border-radius: 999px;\n color: var(--cite-secondary);\n background: color-mix(in oklab, var(--cite-ink) 7%, transparent);\n font: 10px/1.45 var(--cite-mono);\n}\n\n.cite-workbench .w-tabs > button[aria-selected=\"true\"] .w-count {\n color: var(--cite-accent);\n background: color-mix(in oklab, var(--cite-accent) 14%, transparent);\n}\n\n.cite-workbench .w-tab-panel,\n.cite-workbench .cite-panel-body {\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n min-block-size: 0;\n min-inline-size: 0;\n overflow: hidden;\n}\n\n.cite-workbench .cite-shell > [data-plugin-update-footer=\"dsh-cite\"] {\n flex: 0 0 auto;\n}\n\n.cite-workbench :is(button, a, input, select, textarea, summary):focus-visible {\n outline: 2px solid var(--cite-accent);\n outline-offset: 2px;\n}\n\n.cite-workbench :is(.cite-reference-button, .cite-filter, .w-tabs > button):focus-visible {\n outline-offset: -2px;\n}\n\n.cite-workbench .cite-button {\n flex: 0 0 auto;\n min-block-size: 30px;\n padding-inline: 10px;\n font-size: 12px;\n line-height: 1.3;\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench .cite-button-primary {\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n color: var(--cite-on-primary);\n}\n\n.cite-workbench .cite-button-danger {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench .cite-icon-button {\n inline-size: 30px;\n min-inline-size: 30px;\n padding-inline: 0;\n justify-content: center;\n}\n\n.cite-workbench .cite-input-wrap {\n width: 100%;\n min-width: 0;\n min-height: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-input-wrap input {\n min-width: 0;\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench .cite-segmented {\n width: 100%;\n}\n\n.cite-workbench .cite-checkbox {\n min-width: 0;\n color: inherit;\n}\n\n.cite-workbench :is(.cite-actions, .cite-chips) {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n min-inline-size: 0;\n gap: 5px;\n}\n\n.cite-workbench .cite-chip {\n display: inline-block;\n max-inline-size: 100%;\n padding: 2px 6px;\n border-radius: var(--dsw-radius-xs, 5px);\n background: var(--cite-control);\n color: var(--cite-secondary);\n font: 10.5px/1.45 var(--cite-mono);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-chip.accent {\n color: var(--cite-accent);\n background: var(--dsw-alias-interactive-bg-hover-accent, color-mix(in oklab, var(--cite-accent) 13%, transparent));\n}\n\n.cite-workbench .cite-chip.warn {\n color: var(--dsw-alias-state-warn-label, #8c4b08);\n background: var(--dsw-alias-state-warn-tertiary, rgba(180, 83, 9, 0.14));\n}\n\n.cite-workbench .cite-chip.success {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n background: var(--dsw-alias-state-success-tertiary, rgba(31, 122, 76, 0.12));\n}\n\n.cite-workbench :is(.cite-chip.danger, .cite-error-text) {\n color: var(--dsw-alias-state-error-primary, #b9382c);\n}\n\n.cite-workbench :is(.cite-muted, .cite-label) {\n color: var(--cite-secondary);\n font-size: 12px;\n line-height: 1.5;\n}\n\n.cite-workbench :is(.cite-mono, code) {\n font-family: var(--cite-mono);\n}\n\n.cite-workbench .cite-label {\n display: block;\n margin-block: 0 5px;\n font-size: 11.5px;\n font-weight: 550;\n}\n\n.cite-workbench .cite-field {\n display: block;\n inline-size: 100%;\n min-block-size: 32px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n padding: 6px 9px;\n background: var(--cite-base);\n color: var(--cite-ink);\n font-size: 12.5px;\n line-height: 1.5;\n}\n\n.cite-workbench textarea.cite-field {\n resize: vertical;\n min-block-size: 108px;\n}\n\n.cite-workbench :is(.cite-picker-wrap, .cite-picker, .cite-picker-button) {\n inline-size: 100%;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-picker-button {\n justify-content: space-between;\n text-align: start;\n background: var(--cite-base);\n border-radius: var(--cite-radius-sm);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"], progress) {\n accent-color: var(--cite-accent);\n}\n\n.cite-workbench :is(input[type=\"checkbox\"], input[type=\"radio\"]) {\n flex: 0 0 auto;\n inline-size: 15px;\n block-size: 15px;\n margin: 0;\n}\n\n.cite-workbench .cite-library {\n display: flex;\n flex: 1 1 auto;\n min-block-size: 0;\n min-inline-size: 0;\n inline-size: 100%;\n}\n\n.cite-workbench :is(.cite-rail, .cite-list, .cite-inspector) {\n min-inline-size: 0;\n min-block-size: 0;\n}\n\n.cite-workbench .cite-rail {\n flex: 0 0 auto;\n inline-size: clamp(168px, 18cqi, 228px);\n overflow: auto;\n overscroll-behavior: contain;\n padding: 12px 10px;\n border-inline-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-style-box {\n margin-block-end: 12px;\n padding: 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-filters {\n display: grid;\n gap: 3px;\n}\n\n.cite-workbench .cite-filters > h2 {\n margin: 4px 8px;\n font-size: 11px;\n font-weight: 600;\n}\n\n.cite-workbench .cite-filter {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 6px;\n min-block-size: 32px;\n padding: 6px 9px;\n border: 0;\n border-radius: var(--cite-radius-sm);\n color: var(--cite-secondary);\n background: transparent;\n font: inherit;\n line-height: 1.35;\n text-align: start;\n cursor: pointer;\n}\n\n.cite-workbench .cite-filter[aria-pressed=\"true\"] {\n color: var(--cite-ink);\n background: var(--cite-active);\n font-weight: 600;\n}\n\n.cite-workbench .cite-count {\n color: var(--cite-secondary);\n font: 11px/1.45 var(--cite-mono);\n}\n\n.cite-workbench :is(.cite-list, .cite-inspector) {\n display: flex;\n flex-direction: column;\n}\n\n.cite-workbench .cite-list {\n flex: 0 0 auto;\n inline-size: min(var(--dsh-split-size, 320px), max(220px, calc(100% - 236px - 320px)));\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-inspector {\n flex: 1 1 auto;\n min-inline-size: 0;\n background: var(--cite-base);\n}\n\n.cite-workbench:is([data-dsh-style=\"glass\"], [data-dsh-style=\"claude\"], [data-dsh-style=\"blueprint\"], [data-dsh-style=\"risograph\"], [data-dsh-style=\"songhui\"], [data-dsh-style=\"frutiger\"]) :is(.cite-list, .cite-inspector, .cite-feedback) {\n background: transparent;\n}\n\n.cite-workbench :is(.cite-searchbar, .cite-inspector-bar, .cite-selection) {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n gap: 6px;\n min-block-size: 44px;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n}\n\n.cite-workbench .cite-searchbar > :first-child {\n flex: 1 1 auto;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-searchbar input {\n min-inline-size: 0;\n font-size: 12px;\n}\n\n.cite-workbench.dshw .cite-searchbar .cite-search input {\n border: 0;\n border-radius: 0;\n padding: 0;\n background: transparent;\n}\n\n.cite-workbench .cite-searchbar input::placeholder {\n color: var(--dsw-alias-label-tertiary, var(--cite-secondary));\n}\n\n.cite-workbench :is(.cite-inspector-bar, .cite-selection) {\n justify-content: space-between;\n flex-wrap: wrap;\n}\n\n.cite-workbench .cite-selection {\n gap: 2px 5px;\n min-block-size: 0;\n padding-block: 4px;\n border-color: var(--cite-subtle-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-selection .cite-button {\n min-block-size: 26px;\n padding-inline: 6px;\n font-size: 11.5px;\n}\n\n.cite-workbench :is(.cite-list-scroll, .cite-inspector-scroll, .cite-subpage) {\n flex: 1 1 auto;\n min-block-size: 0;\n min-inline-size: 0;\n overflow: auto;\n overscroll-behavior: contain;\n}\n\n.cite-workbench :is(.cite-list-loading, .cite-inspector-empty) {\n margin: auto;\n padding: 28px 18px;\n color: var(--cite-secondary);\n text-align: center;\n}\n\n.cite-workbench .cite-skeleton-wrap {\n display: grid;\n gap: 10px;\n margin: 0;\n padding: 12px;\n text-align: start;\n}\n\n.cite-workbench .cite-list .w-empty {\n gap: 9px;\n min-block-size: 220px;\n padding: 28px 16px;\n}\n\n.cite-workbench .cite-list .w-empty h2 {\n font-size: 15px;\n line-height: 1.4;\n}\n\n.cite-workbench .cite-list .w-empty .w-muted {\n font-size: 12px;\n}\n\n.cite-workbench :is(.cite-reference-list, .cite-plain-list) {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.cite-workbench .cite-reference-row {\n position: relative;\n display: flex;\n align-items: center;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n}\n\n.cite-workbench[data-dsh-style=\"cream\"] .cite-reference-row {\n border-block-end: 1px dashed var(--dsw-alias-border-l2);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"] {\n background: var(--cite-active);\n}\n\n.cite-workbench .cite-reference-row[data-active=\"true\"]::before {\n content: \"\";\n position: absolute;\n inset-block: 6px;\n inset-inline-start: 0;\n inline-size: 3px;\n border-radius: 2px;\n background: var(--cite-accent);\n pointer-events: none;\n}\n\n.cite-workbench[data-dsh-style=\"pixel8bit\"] .cite-reference-row[data-active=\"true\"]::before {\n background: #d95b43;\n border-radius: 0;\n}\n\n.cite-workbench .cite-reference-check {\n display: flex;\n align-self: flex-start;\n align-items: flex-start;\n padding: 14px 5px 8px 12px;\n}\n\n.cite-workbench .cite-reference-button {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n gap: 3px;\n min-inline-size: 0;\n border: 0;\n padding: 10px 6px 10px 5px;\n background: transparent;\n color: var(--cite-ink);\n font: inherit;\n text-align: start;\n cursor: pointer;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-reference-title-line {\n display: flex;\n align-items: baseline;\n gap: 5px;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-row-actions {\n padding: 6px 8px 6px 2px;\n}\n\n.cite-workbench .cite-detail-title {\n margin: 0 0 12px;\n font-size: 18px;\n line-height: 1.35;\n font-weight: 650;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-reference-meta {\n color: var(--cite-secondary);\n font-size: 11.5px;\n line-height: 1.45;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-reference-button .cite-chips {\n gap: 4px;\n margin-block-start: 3px;\n}\n\n.cite-workbench .cite-more {\n margin: 10px 12px;\n}\n\n.cite-workbench .cite-selection-footer {\n padding: 8px 12px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-layer);\n}\n\n.cite-workbench .cite-inspector-bar {\n padding-inline: 16px;\n}\n\n.cite-workbench .cite-inspector-bar > .cite-chips {\n max-inline-size: 100%;\n}\n\n.cite-workbench .cite-crossref {\n color: var(--cite-accent);\n}\n\n.cite-workbench .cite-back {\n display: none;\n}\n\n.cite-workbench .cite-inspector-scroll {\n padding: 16px 22px 24px;\n}\n\n.cite-workbench .cite-card {\n padding: 13px 15px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-md);\n background: var(--cite-layer);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-card + .cite-card,\n.cite-workbench .cite-subpage-inner > form + .cite-card {\n margin-block-start: 12px;\n}\n\n.cite-workbench .cite-card p {\n margin-block: 0;\n}\n\n.cite-workbench .cite-card-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: 6px 9px;\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-card-header > h3 {\n margin: 0;\n font-size: 13px;\n line-height: 1.45;\n font-weight: 600;\n}\n\n.cite-workbench :is(.cite-formatted, .cite-code),\n.w-dialog .cite-code {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n margin: 0;\n padding: 10px 12px;\n border-radius: var(--cite-radius-sm, 8px);\n background: var(--cite-base, var(--w-bg));\n}\n\n.cite-workbench .cite-formatted {\n border-inline-start: 3px solid var(--cite-accent);\n font: inherit;\n line-height: 1.65;\n}\n\n.cite-workbench .cite-code,\n.w-dialog .cite-code {\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line, var(--w-border));\n color: var(--cite-secondary, var(--w-muted));\n font: 11.5px/1.55 var(--cite-mono, ui-monospace, monospace);\n}\n\n.w-dialog .cite-source-entry + .cite-source-entry {\n margin-block-start: 14px;\n}\n\n.cite-workbench :is(.cite-metadata, .cite-form-grid) {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 10px 12px;\n margin: 0;\n}\n\n.cite-workbench .cite-field-wide {\n grid-column: 1 / -1;\n}\n\n.cite-workbench .cite-metadata dd {\n margin: 0;\n min-block-size: 30px;\n padding: 5px 9px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n background: var(--cite-base);\n font-size: 12px;\n white-space: pre-wrap;\n}\n\n.cite-workbench .cite-differences {\n border: 1px solid var(--dsw-alias-state-warn-primary, var(--cite-line));\n}\n\n.cite-workbench .cite-diff-table {\n inline-size: 100%;\n margin-block-start: 8px;\n border-collapse: collapse;\n table-layout: fixed;\n font-size: 12px;\n}\n\n.cite-workbench .cite-diff-table :is(th, td) {\n padding: 6px 7px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n vertical-align: top;\n text-align: start;\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-diff-table th:first-child {\n inline-size: 24%;\n}\n\n.cite-workbench .cite-diff-table td:nth-child(2) {\n background: var(--cite-control);\n}\n\n.cite-workbench .cite-subpage {\n padding: 22px 20px 36px;\n}\n\n.cite-workbench .cite-subpage-inner {\n max-inline-size: 840px;\n margin-inline: auto;\n}\n\n.cite-workbench .cite-subpage h2 {\n margin: 0 0 4px;\n font-size: 17px;\n line-height: 1.45;\n font-weight: 650;\n}\n\n.cite-workbench .cite-description {\n margin: 0 0 16px;\n color: var(--cite-secondary);\n font-size: 12.5px;\n}\n\n.cite-workbench .cite-card :is(.cite-form-note, .cite-metadata-note, .cite-export-sample) {\n margin-block-start: 10px;\n}\n\n.cite-workbench .cite-provenance > summary {\n font-weight: 600;\n cursor: pointer;\n}\n\n.cite-workbench .cite-provenance[open] > summary {\n margin-block-end: 8px;\n}\n\n.cite-workbench .cite-conflict {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 8px;\n}\n\n.cite-workbench .cite-plain-list > li {\n padding-block: 8px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n overflow-wrap: anywhere;\n}\n\n.cite-workbench .cite-plain-list > li:last-child {\n border-block-end: 0;\n padding-block-end: 0;\n}\n\n.cite-workbench .cite-preview-row {\n display: flex;\n align-items: flex-start;\n gap: 9px;\n}\n\n.cite-workbench .cite-preview-content {\n min-inline-size: 0;\n flex: 1 1 auto;\n}\n\n.cite-workbench .cite-preview-meta {\n display: block;\n color: var(--cite-secondary);\n font-size: 12px;\n}\n\n.cite-workbench .cite-preview-row .cite-chips {\n margin-block-start: 4px;\n}\n\n.cite-workbench :is(.cite-result-row, .cite-message-body, .cite-job-header) {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-workbench .cite-download {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n min-block-size: 30px;\n padding: 4px 10px;\n border: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n border-radius: var(--cite-radius-sm);\n color: var(--cite-ink);\n background: var(--cite-base);\n text-decoration: none;\n font-size: 12px;\n font-weight: 500;\n}\n\n.cite-workbench .cite-download[data-primary=\"true\"] {\n color: var(--cite-on-primary);\n background: var(--cite-primary);\n border-color: var(--cite-primary);\n}\n\n.cite-workbench[data-dsh-style=\"pixel8bit\"] .cite-download {\n border: 2px solid #1e2826;\n border-radius: 0px !important;\n box-shadow: 2px 2px 0px #1e2826;\n}\n\n.cite-workbench .cite-feedback {\n flex: 0 0 auto;\n max-block-size: 33%;\n overflow: auto;\n padding: 6px 12px;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n background: var(--cite-base);\n}\n\n.cite-workbench .cite-feedback .cite-message {\n align-items: center;\n margin: 0;\n padding: 4px 8px;\n}\n\n.cite-workbench .cite-message > div {\n flex: 1;\n min-inline-size: 0;\n}\n\n.cite-workbench .cite-job {\n font-size: 12px;\n}\n\n.cite-workbench .cite-job p {\n margin: 0;\n}\n\n.cite-workbench .cite-job > progress,\n.cite-workbench .cite-job-progress {\n display: block;\n inline-size: 100%;\n margin-block-start: 6px;\n}\n\n.cite-workbench .cite-sr-only {\n position: absolute;\n clip-path: inset(50%);\n overflow: hidden;\n inline-size: 1px;\n block-size: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n white-space: nowrap;\n}\n\n.cite-workbench .cite-tour-trigger {\n font-weight: 600;\n}\n\n.cite-tour-layer {\n --tour-accent: var(--dsw-alias-state-business-primary, #4176e6);\n --tour-bg: var(--dsw-alias-bg-overlay, var(--dsw-alias-bg-base, #ffffff));\n --tour-ink: var(--dsw-alias-label-primary, #1b2230);\n --tour-muted: var(--dsw-alias-label-secondary, #5b667a);\n --tour-border: var(--dsw-alias-border-l2, #d8e0ec);\n --tour-radius: var(--dsw-radius-md, 12px);\n position: fixed;\n inset: 0;\n inline-size: 100%;\n block-size: 100%;\n max-inline-size: none;\n max-block-size: none;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n overflow: visible;\n pointer-events: none;\n z-index: 2147483000;\n color: var(--tour-ink);\n font: 13px/1.55 var(--dsh-font-body, var(--ds-font-family-ui, system-ui, -apple-system, \"Segoe UI\", \"Microsoft YaHei\", sans-serif));\n}\n\n.cite-tour-layer[popover]:is(:popover-open, .\\:popover-open) {\n display: block;\n}\n\n.cite-tour-layer[data-dsh-style=\"pixel8bit\"] {\n --tour-radius: 0px;\n}\n\n.cite-tour-spotlight {\n position: fixed;\n pointer-events: none;\n border-radius: calc(var(--tour-radius) * 0.75 + 2px);\n box-shadow:\n 0 0 0 2px var(--tour-accent),\n 0 0 0 5px color-mix(in oklab, var(--tour-accent) 22%, transparent),\n 0 0 0 9999px rgba(15, 23, 42, 0.26);\n}\n\n.cite-tour-backdrop-fallback {\n position: fixed;\n inset: 0;\n pointer-events: none;\n background: rgba(15, 23, 42, 0.24);\n}\n\n.cite-tour-card {\n position: fixed;\n inset: auto;\n margin: 0;\n inline-size: min(324px, calc(100dvw - 24px));\n max-block-size: calc(100dvh - 24px);\n padding: 13px 15px 12px;\n border: 1px solid var(--tour-border);\n border-radius: var(--tour-radius);\n background: var(--tour-bg);\n color: var(--tour-ink);\n box-shadow: var(--dsw-elevation-prominent, 0 16px 40px rgba(15, 23, 42, 0.18));\n pointer-events: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.cite-tour-layer[data-dsh-style=\"pixel8bit\"] .cite-tour-card {\n border: 2px solid #1e2826;\n border-radius: 0px;\n box-shadow: 4px 4px 0px #1e2826;\n}\n\n.cite-tour-arrow {\n position: absolute;\n inline-size: 10px;\n block-size: 10px;\n background: var(--tour-bg);\n transform: rotate(45deg);\n pointer-events: none;\n}\n\n.cite-tour-card[data-side=\"bottom\"] > .cite-tour-arrow {\n top: -6px;\n left: calc(var(--arrow-x, 28px) - 5px);\n border-top: 1px solid var(--tour-border);\n border-left: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"top\"] > .cite-tour-arrow {\n bottom: -6px;\n left: calc(var(--arrow-x, 28px) - 5px);\n border-bottom: 1px solid var(--tour-border);\n border-right: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"right\"] > .cite-tour-arrow {\n left: -6px;\n top: calc(var(--arrow-y, 24px) - 5px);\n border-bottom: 1px solid var(--tour-border);\n border-left: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"left\"] > .cite-tour-arrow {\n right: -6px;\n top: calc(var(--arrow-y, 24px) - 5px);\n border-top: 1px solid var(--tour-border);\n border-right: 1px solid var(--tour-border);\n}\n\n.cite-tour-card[data-side=\"center\"] > .cite-tour-arrow {\n display: none;\n}\n\n.cite-tour-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n\n.cite-tour-step-meta {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n}\n\n.cite-tour-step-badge {\n display: inline-flex;\n align-items: center;\n padding: 1px 7px;\n border-radius: 999px;\n font-size: 11px;\n font-weight: 650;\n font-variant-numeric: tabular-nums;\n background: color-mix(in oklab, var(--tour-accent) 14%, transparent);\n color: var(--tour-accent);\n}\n\n.cite-tour-dots {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n\n.cite-tour-dot {\n inline-size: 6px;\n block-size: 6px;\n border-radius: 999px;\n background: var(--tour-border);\n}\n\n.cite-tour-dot[data-active=\"true\"] {\n inline-size: 14px;\n background: var(--tour-accent);\n}\n\n.cite-tour-skip {\n min-block-size: 24px;\n min-inline-size: 24px;\n padding: 2px 6px;\n border: 0;\n border-radius: var(--dsw-radius-xs, 6px);\n background: transparent;\n color: var(--tour-muted);\n font: inherit;\n font-size: 11.5px;\n cursor: pointer;\n}\n\n.cite-tour-skip:hover {\n color: var(--tour-ink);\n background: var(--dsw-alias-interactive-bg-hover, rgba(15, 23, 42, 0.05));\n}\n\n.cite-tour-title {\n margin: 0 !important;\n font-size: 14px !important;\n line-height: 1.38 !important;\n font-weight: 650 !important;\n}\n\n.cite-tour-desc {\n margin: 0 !important;\n font-size: 12.5px;\n line-height: 1.55;\n color: var(--tour-muted);\n}\n\n.cite-tour-inline-action {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 6px;\n padding-block-start: 2px;\n}\n\n.cite-tour-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n margin-block-start: 2px;\n padding-block-start: 8px;\n border-block-start: 0.5px solid var(--tour-border);\n}\n\n.cite-tour-nav {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n margin-inline-start: auto;\n}\n\n.cite-copy-status {\n color: var(--dsw-alias-state-success-primary, #1f7a4c);\n font-size: 11.5px;\n opacity: 1;\n}\n\n.cite-copy-status:empty {\n opacity: 0;\n}\n\n@media (pointer: coarse) {\n .cite-tour-skip {\n min-block-size: 32px;\n padding: 4px 10px;\n }\n}\n\n.w-dialog .cite-remove-lead {\n margin-block: 0 8px;\n}\n\n.w-dialog .cite-remove-list {\n margin-block: 0 10px;\n}\n\n.w-dialog .cite-remove-note {\n margin-block: 8px 0;\n}\n\n.cite-workbench .cite-job summary {\n width: fit-content;\n cursor: pointer;\n color: var(--cite-accent);\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .cite-tour-spotlight {\n transition:\n top 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n left 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n width 0.24s cubic-bezier(0.22, 1, 0.36, 1),\n height 0.24s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .cite-tour-card {\n transition: top 0.22s cubic-bezier(0.22, 1, 0.36, 1), left 0.22s cubic-bezier(0.22, 1, 0.36, 1);\n }\n .cite-tour-dot {\n transition: inline-size 0.18s ease, background-color 0.18s ease;\n }\n .cite-copy-status {\n transition: opacity 150ms ease-out;\n }\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 1;\n translate: 0px 0px;\n transition: opacity 180ms var(--dsh-ease-out, ease-out), translate 200ms var(--dsh-ease-out, ease-out);\n }\n\n @starting-style {\n .cite-workbench :is(.cite-subpage, .cite-inspector-scroll) {\n opacity: 0;\n translate: 0px 4px;\n }\n }\n\n @media (hover: hover) {\n .cite-workbench .cite-reference-row {\n translate: 0px 0px;\n transition: background-color 140ms var(--dsh-ease-out, ease-out), translate 180ms var(--dsh-ease-out, ease-out);\n }\n\n .cite-workbench:not([data-dsh-style=\"pixel8bit\"]):not([data-dsh-style=\"eink\"]) .cite-reference-row:hover {\n translate: 2px 0px;\n }\n }\n}\n\n@media (hover: hover) {\n .cite-workbench .w-tabs > button:hover {\n color: var(--cite-ink);\n }\n\n .cite-workbench :is(.cite-filter, .cite-download):hover {\n background: var(--cite-hover);\n }\n\n .cite-workbench .cite-download[data-primary=\"true\"]:hover {\n background: var(--dsw-alias-button-primary-hover, var(--cite-primary));\n }\n}\n\n@container cite-workbench (max-width: 860px) {\n .cite-workbench .cite-header-actions {\n flex-wrap: wrap;\n }\n\n .cite-workbench .cite-library {\n flex-direction: column;\n }\n\n .cite-workbench .cite-rail {\n inline-size: 100%;\n overflow: visible;\n padding: 8px 10px;\n border-inline-end: 0;\n border-block-end: var(--dsh-control-border-width, 0.5px) solid var(--cite-line);\n }\n\n .cite-workbench .cite-list {\n inline-size: 100% !important;\n flex: 1 1 auto;\n border-inline-end: 0;\n }\n\n .cite-workbench .cite-resizer {\n display: none;\n }\n\n .cite-workbench .cite-style-box {\n display: grid;\n grid-template-columns: auto minmax(120px, 1fr);\n align-items: center;\n gap: 8px;\n padding: 0;\n margin: 0 0 6px;\n border: 0;\n box-shadow: none;\n background: transparent;\n }\n\n .cite-workbench .cite-style-box .cite-label {\n margin: 0;\n }\n\n .cite-workbench .cite-filters {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n\n .cite-workbench .cite-filters > h2,\n .cite-workbench .cite-library[data-open=\"false\"] .cite-inspector,\n .cite-workbench .cite-library[data-open=\"true\"] :is(.cite-rail, .cite-list) {\n display: none;\n }\n\n .cite-workbench .cite-filter {\n font-size: 11.5px;\n }\n\n .cite-workbench .cite-library[data-open=\"true\"] .cite-inspector {\n flex: 1 1 auto;\n }\n\n .cite-workbench .cite-back {\n display: inline-flex;\n align-self: flex-start;\n margin: 5px 8px;\n }\n\n .cite-workbench .cite-inspector-bar {\n padding-inline: 10px;\n border-block-start: var(--dsh-control-border-width, 0.5px) solid var(--cite-subtle-line);\n }\n\n .cite-workbench .cite-inspector-scroll {\n padding-inline: 12px;\n }\n}\n\n@container cite-workbench (max-width: 660px) {\n .cite-workbench .cite-header {\n padding-inline: 10px;\n }\n\n .cite-workbench .w-tabs {\n justify-self: stretch;\n }\n\n .cite-workbench .w-tabs > button {\n flex: 1 1 auto;\n padding-inline: 6px;\n min-block-size: 32px;\n }\n\n .cite-workbench .cite-subpage {\n padding: 15px 12px 24px;\n }\n}\n\n@container cite-workbench (max-width: 420px) {\n .cite-workbench :is(.cite-metadata, .cite-form-grid) {\n grid-template-columns: minmax(0, 1fr);\n }\n\n .cite-workbench .cite-card {\n padding: 10px;\n }\n}\n";
|
|
1991
3040
|
function CiteButton({ className = '', children, variant = 'outline', icon, spinning = false, type = 'button', ...props }) {
|
|
1992
3041
|
const P = hostPrimitives();
|
|
1993
3042
|
const mappedVariant = variant === 'danger' ? 'ghost' : variant;
|
|
@@ -2029,12 +3078,14 @@ function CiteInput({ className = '', icon, ...props }) {
|
|
|
2029
3078
|
|
|
2030
3079
|
function CiteCheckbox({ label, hiddenLabel = false, checked, disabled, onChange, className = '', title, ...props }) {
|
|
2031
3080
|
const P = hostPrimitives();
|
|
3081
|
+
const ariaLabel = props['aria-label'] || (hiddenLabel && typeof label === 'string' ? label : undefined);
|
|
2032
3082
|
return h(P.Checkbox, {
|
|
2033
3083
|
...props,
|
|
2034
3084
|
checked: Boolean(checked),
|
|
2035
3085
|
disabled,
|
|
2036
|
-
label,
|
|
2037
|
-
|
|
3086
|
+
label: hiddenLabel ? undefined : label,
|
|
3087
|
+
'aria-label': ariaLabel,
|
|
3088
|
+
title: title || ariaLabel,
|
|
2038
3089
|
className: ['cite-checkbox', hiddenLabel && 'dsh-checkbox-icon', className].filter(Boolean).join(' '),
|
|
2039
3090
|
onChange: next => onChange?.(typeof next === 'boolean' ? next : Boolean(next?.target?.checked)),
|
|
2040
3091
|
});
|
|
@@ -2056,12 +3107,14 @@ function CiteSegmented({ id, label, value, options, onChange, disabled = false,
|
|
|
2056
3107
|
function CitePicker({ id, label, value, options, onChange, disabled }) {
|
|
2057
3108
|
const [open, setOpen] = useState(false);
|
|
2058
3109
|
const [uiStyle] = useDshStyle(React);
|
|
3110
|
+
const [uiFont] = useDshFont(React);
|
|
2059
3111
|
const P = hostPrimitives();
|
|
2060
3112
|
const current = options.find(option => option.id === value) || options[0];
|
|
2061
3113
|
return h('div', { className: 'cite-picker-wrap', 'data-window-drag-exclude': '' },
|
|
2062
3114
|
h(P.Menu, {
|
|
2063
3115
|
open: Boolean(open && !disabled),
|
|
2064
3116
|
dshStyle: uiStyle,
|
|
3117
|
+
dshFont: uiFont,
|
|
2065
3118
|
portal: !P.isFallback,
|
|
2066
3119
|
compact: true,
|
|
2067
3120
|
autoFocus: true,
|
|
@@ -2081,7 +3134,7 @@ function CitePicker({ id, label, value, options, onChange, disabled }) {
|
|
|
2081
3134
|
setOpen(true);
|
|
2082
3135
|
}
|
|
2083
3136
|
},
|
|
2084
|
-
}, h('span', { ref: open ? createOverlaySyncRef(uiStyle) : undefined }, current?.label || ''), h(W.Icon, { name: 'down', size: 13 })),
|
|
3137
|
+
}, h('span', { ref: open ? createOverlaySyncRef(uiStyle, uiFont) : undefined }, current?.label || ''), h(W.Icon, { name: 'down', size: 13 })),
|
|
2085
3138
|
items: options,
|
|
2086
3139
|
selectedId: value,
|
|
2087
3140
|
onClose: () => setOpen(false),
|
|
@@ -2129,7 +3182,7 @@ function CiteChip({ tone = '', children, ...props }) {
|
|
|
2129
3182
|
|
|
2130
3183
|
function CiteCard({ title, actions, children, className = '' }) {
|
|
2131
3184
|
return h('section', { className: ('cite-card ' + className).trim(), 'data-dsh-card': '' },
|
|
2132
|
-
h('header', { className: 'cite-card-header' }, h('h3',
|
|
3185
|
+
h('header', { className: 'cite-card-header' }, h('h3', { 'data-dsh-serif': '' }, title), actions),
|
|
2133
3186
|
children,
|
|
2134
3187
|
);
|
|
2135
3188
|
}
|
|
@@ -2172,7 +3225,7 @@ function useCitationOutput({ kind, id, style, lang, revision }) {
|
|
|
2172
3225
|
|
|
2173
3226
|
function CiteOutput({ output, label, code = false, t }) {
|
|
2174
3227
|
if (output.error) return h(W.Status, { tone: 'error' }, output.error);
|
|
2175
|
-
if (!output.content) return h(
|
|
3228
|
+
if (!output.content) return h(W.Skeleton, { variant: 'text', lines: 2, label: t('正在生成…', 'Formatting…') });
|
|
2176
3229
|
return h('pre', { className: code ? 'cite-code' : 'cite-formatted', 'aria-label': label }, output.content);
|
|
2177
3230
|
}
|
|
2178
3231
|
|
|
@@ -2185,6 +3238,7 @@ function CiteEnrichment({ t, job, busy, onCancel, onDismiss }) {
|
|
|
2185
3238
|
cancelled: t('补全已取消', 'Enrichment cancelled'),
|
|
2186
3239
|
}[job.state];
|
|
2187
3240
|
const failed = job.results.filter(row => !row.ok).length;
|
|
3241
|
+
const pct = job.total ? Math.min(100, Math.round((job.completed / job.total) * 100)) : 0;
|
|
2188
3242
|
return h('section', { className: 'cite-job', 'aria-label': t('补全进度', 'Enrichment progress') },
|
|
2189
3243
|
h('div', { className: 'cite-job-header' },
|
|
2190
3244
|
h('div', { role: job.state === 'failed' ? 'alert' : 'status' },
|
|
@@ -2199,7 +3253,14 @@ function CiteEnrichment({ t, job, busy, onCancel, onDismiss }) {
|
|
|
2199
3253
|
? h(CiteButton, { variant: 'ghost', onClick: onCancel, disabled: busy }, t('取消补全', 'Cancel enrichment'))
|
|
2200
3254
|
: h(CiteIconButton, { icon: 'close', label: t('关闭补全结果', 'Dismiss enrichment results'), onClick: onDismiss }),
|
|
2201
3255
|
),
|
|
2202
|
-
running ? h('
|
|
3256
|
+
running ? h('div', {
|
|
3257
|
+
className: 'dsh-progress cite-job-progress',
|
|
3258
|
+
role: 'progressbar',
|
|
3259
|
+
'aria-label': t('补全进度', 'Enrichment progress'),
|
|
3260
|
+
'aria-valuemin': 0,
|
|
3261
|
+
'aria-valuemax': job.total || 1,
|
|
3262
|
+
'aria-valuenow': job.completed,
|
|
3263
|
+
}, h('div', { className: 'dsh-progress-bar', style: { '--dsh-progress-value': pct + '%' } })) : null,
|
|
2203
3264
|
job.results.length ? h('details', { className: 'cite-job-results' },
|
|
2204
3265
|
h('summary', null, t('查看每条结果', 'Show individual results')),
|
|
2205
3266
|
h('ul', { className: 'cite-plain-list' }, job.results.map(row =>
|
|
@@ -2415,7 +3476,10 @@ function CiteCheck({ t, lang, text, report, onReport, onChange, onSendToImport }
|
|
|
2415
3476
|
}),
|
|
2416
3477
|
h('p', { className: 'cite-muted cite-form-note' }, t('按首次出现的顺序核查前 50 个唯一 DOI。只将提取出的 DOI 发给 Crossref。',
|
|
2417
3478
|
'Checks the first 50 unique DOIs in order of appearance. Sends only extracted DOIs to Crossref.')),
|
|
2418
|
-
running ? h('
|
|
3479
|
+
running ? h('div', { className: 'cite-skeleton-wrap' },
|
|
3480
|
+
h(W.Skeleton, { variant: 'card', label: t('正在核查 DOI…', 'Checking DOIs…') }),
|
|
3481
|
+
h(W.Skeleton, { variant: 'row' }),
|
|
3482
|
+
) : null,
|
|
2419
3483
|
cancelled ? h('p', { className: 'cite-muted', role: 'status' }, t('已取消核查。', 'DOI check cancelled.')) : null,
|
|
2420
3484
|
error ? h(W.Status, { tone: 'error' }, error) : null,
|
|
2421
3485
|
),
|
|
@@ -2528,6 +3592,13 @@ function CiteLibrary({
|
|
|
2528
3592
|
const root = useRef(null);
|
|
2529
3593
|
const pickerId = typeof React.useId === 'function' ? React.useId() : 'cite-style-picker';
|
|
2530
3594
|
const searchId = typeof React.useId === 'function' ? React.useId() : 'cite-library-search';
|
|
3595
|
+
const listId = typeof React.useId === 'function' ? React.useId() : 'cite-list-pane';
|
|
3596
|
+
const split = useResizableSplit(React, {
|
|
3597
|
+
key: 'dsh-cite:list-width',
|
|
3598
|
+
initial: 320,
|
|
3599
|
+
min: 220,
|
|
3600
|
+
max: 520,
|
|
3601
|
+
});
|
|
2531
3602
|
const { indexed, missing, enriched } = useMemo(() => {
|
|
2532
3603
|
const indexed = entries.map(entry => {
|
|
2533
3604
|
const byline = authors(entry.work);
|
|
@@ -2584,7 +3655,36 @@ function CiteLibrary({
|
|
|
2584
3655
|
setOpenedId('');
|
|
2585
3656
|
}
|
|
2586
3657
|
|
|
2587
|
-
|
|
3658
|
+
async function quickCopy(entry) {
|
|
3659
|
+
try {
|
|
3660
|
+
const value = await api({ action: 'export', kind: 'references', ids: [entry.id], style, lang }, lang);
|
|
3661
|
+
const text = String(value?.content || '').trim() || referenceTitle(entry, t);
|
|
3662
|
+
await copy(text, t('引文', 'citation'), 'row-' + entry.id);
|
|
3663
|
+
} catch {
|
|
3664
|
+
await copy(entry.work.doi || referenceTitle(entry, t), t('引文', 'citation'), 'row-' + entry.id);
|
|
3665
|
+
}
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
function quickInspect(entry) {
|
|
3669
|
+
setActiveId(entry.id);
|
|
3670
|
+
setOpenedId(entry.id);
|
|
3671
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
3672
|
+
requestAnimationFrame(() => {
|
|
3673
|
+
const target = root.current?.querySelector?.('.cite-detail-title, .cite-back');
|
|
3674
|
+
if (target) {
|
|
3675
|
+
target.tabIndex = -1;
|
|
3676
|
+
target.focus({ preventScroll: true });
|
|
3677
|
+
}
|
|
3678
|
+
});
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
return h('div', {
|
|
3683
|
+
ref: root,
|
|
3684
|
+
className: 'cite-library dsh-split-pane',
|
|
3685
|
+
'data-open': String(open),
|
|
3686
|
+
style: split.paneStyle,
|
|
3687
|
+
},
|
|
2588
3688
|
h('aside', { className: 'cite-rail', 'aria-label': t('文献库筛选', 'Library filters') },
|
|
2589
3689
|
h('div', { className: 'cite-style-box', 'data-dsh-card': '', 'data-tour': 'cite-format-picker' },
|
|
2590
3690
|
h('label', { className: 'cite-label', htmlFor: pickerId }, t('引文格式', 'Citation format')),
|
|
@@ -2598,7 +3698,7 @@ function CiteLibrary({
|
|
|
2598
3698
|
}, h('span', null, item.label), h('span', { className: 'cite-count' }, item.count))),
|
|
2599
3699
|
),
|
|
2600
3700
|
),
|
|
2601
|
-
h('section', { className: 'cite-list', 'aria-label': t('文献列表', 'Reference list'), 'aria-busy': loading },
|
|
3701
|
+
h('section', { id: listId, className: 'cite-list dsh-split-leading', 'aria-label': t('文献列表', 'Reference list'), 'aria-busy': loading },
|
|
2602
3702
|
h('div', { className: 'cite-searchbar' },
|
|
2603
3703
|
h('div', { className: 'cite-search-field' },
|
|
2604
3704
|
h('label', { className: 'cite-sr-only', htmlFor: searchId }, searchLabel),
|
|
@@ -2636,7 +3736,9 @@ function CiteLibrary({
|
|
|
2636
3736
|
),
|
|
2637
3737
|
) : null,
|
|
2638
3738
|
h('div', { className: 'cite-list-scroll' },
|
|
2639
|
-
loading ? h('
|
|
3739
|
+
loading ? h('div', { className: 'cite-list-loading cite-skeleton-wrap', role: 'status', 'aria-busy': 'true', 'aria-label': t('正在读取文献库…', 'Loading library…') },
|
|
3740
|
+
[0, 1, 2, 3].map(idx => h(W.Skeleton, { key: idx, variant: 'row' })),
|
|
3741
|
+
)
|
|
2640
3742
|
: !loaded ? h(W.Empty, {
|
|
2641
3743
|
title: t('暂时无法读取文献库', 'Could not load the library'),
|
|
2642
3744
|
action: h(CiteButton, { icon: 'refresh', disabled: locked, onClick: onRefresh }, t('重新加载', 'Reload')),
|
|
@@ -2650,6 +3752,7 @@ function CiteLibrary({
|
|
|
2650
3752
|
action: h(CiteButton, { icon: 'close', onClick: () => { changeFilter('all'); onSearch(''); } }, t('清空筛选', 'Clear filters')),
|
|
2651
3753
|
}) : h('ul', { className: 'cite-reference-list' }, visible.map(({ entry, byline }) => h(CiteReferenceRow, {
|
|
2652
3754
|
key: entry.id, entry, byline, active: entry.id === active?.id, checked: selectedIds.has(entry.id),
|
|
3755
|
+
copied: copiedKey === 'row-' + entry.id,
|
|
2653
3756
|
disabled: locked || (selected.length >= 100 && !selectedIds.has(entry.id)), t,
|
|
2654
3757
|
onOpen: event => {
|
|
2655
3758
|
lastRow.current = event.currentTarget;
|
|
@@ -2657,6 +3760,8 @@ function CiteLibrary({
|
|
|
2657
3760
|
setOpenedId(entry.id);
|
|
2658
3761
|
},
|
|
2659
3762
|
onSelect: checked => setSelected(checked ? [...selected, entry.id] : selected.filter(id => id !== entry.id)),
|
|
3763
|
+
onQuickCopy: () => quickCopy(entry),
|
|
3764
|
+
onQuickInspect: () => quickInspect(entry),
|
|
2660
3765
|
}))),
|
|
2661
3766
|
visible.length < matches.length ? h(CiteButton, { className: 'cite-more', onClick: onMore },
|
|
2662
3767
|
t('再显示 50 条', 'Show 50 more'),
|
|
@@ -2677,7 +3782,13 @@ function CiteLibrary({
|
|
|
2677
3782
|
),
|
|
2678
3783
|
) : null,
|
|
2679
3784
|
),
|
|
2680
|
-
h(
|
|
3785
|
+
h(W.SplitResizer, {
|
|
3786
|
+
...split.resizerProps,
|
|
3787
|
+
'aria-controls': listId,
|
|
3788
|
+
label: t('调整文献列表宽度', 'Resize reference list pane'),
|
|
3789
|
+
className: 'cite-resizer',
|
|
3790
|
+
}),
|
|
3791
|
+
h('section', { className: 'cite-inspector dsh-split-trailing', 'aria-label': t('文献详情', 'Reference details') },
|
|
2681
3792
|
open ? h(CiteButton, { className: 'cite-back', icon: 'left', variant: 'ghost', onClick: back }, t('返回文献列表', 'Back to references')) : null,
|
|
2682
3793
|
active
|
|
2683
3794
|
? h(CiteInspector, {
|
|
@@ -2688,7 +3799,7 @@ function CiteLibrary({
|
|
|
2688
3799
|
);
|
|
2689
3800
|
}
|
|
2690
3801
|
|
|
2691
|
-
function CiteReferenceRow({ entry, byline, active, checked, disabled, t, onOpen, onSelect }) {
|
|
3802
|
+
function CiteReferenceRow({ entry, byline, active, checked, copied, disabled, t, onOpen, onSelect, onQuickCopy, onQuickInspect }) {
|
|
2692
3803
|
const title = referenceTitle(entry, t);
|
|
2693
3804
|
const { work, bibKey, warnings, crossref } = entry;
|
|
2694
3805
|
const meta = [byline, work.year, work.containerTitle].filter(Boolean).join(' · ');
|
|
@@ -2706,7 +3817,10 @@ function CiteReferenceRow({ entry, byline, active, checked, disabled, t, onOpen,
|
|
|
2706
3817
|
onChange: onSelect,
|
|
2707
3818
|
})),
|
|
2708
3819
|
h('button', { type: 'button', className: 'cite-reference-button', 'aria-pressed': active, onClick: onOpen },
|
|
2709
|
-
h('
|
|
3820
|
+
h('span', { className: 'cite-reference-title-line' },
|
|
3821
|
+
h('span', { className: 'dsh-pixel-cursor', 'aria-hidden': 'true' }, '▶'),
|
|
3822
|
+
h('strong', { 'data-dsh-serif': '' }, title),
|
|
3823
|
+
),
|
|
2710
3824
|
meta ? h('span', { className: 'cite-reference-meta' }, meta) : null,
|
|
2711
3825
|
h('span', { className: 'cite-chips' },
|
|
2712
3826
|
bibKey ? h(CiteChip, { tone: 'accent' }, '@' + bibKey) : null,
|
|
@@ -2715,6 +3829,21 @@ function CiteReferenceRow({ entry, byline, active, checked, disabled, t, onOpen,
|
|
|
2715
3829
|
crossref ? h(CiteChip, { tone: 'success' }, t('已查询 Crossref', 'Crossref checked')) : null,
|
|
2716
3830
|
),
|
|
2717
3831
|
),
|
|
3832
|
+
h('div', { className: 'dsh-row-actions cite-row-actions' },
|
|
3833
|
+
h(CiteIconButton, {
|
|
3834
|
+
icon: copied ? 'check' : 'copy',
|
|
3835
|
+
'data-copied': copied ? 'true' : undefined,
|
|
3836
|
+
'data-cite-quick-copy': entry.id,
|
|
3837
|
+
label: copied ? t('已复制引文', 'Copied citation') : t('快速复制引文', 'Quick copy citation'),
|
|
3838
|
+
onClick: onQuickCopy,
|
|
3839
|
+
}),
|
|
3840
|
+
h(CiteIconButton, {
|
|
3841
|
+
icon: 'right',
|
|
3842
|
+
'data-cite-quick-inspect': entry.id,
|
|
3843
|
+
label: t('查看详情', 'Inspect reference'),
|
|
3844
|
+
onClick: onQuickInspect,
|
|
3845
|
+
}),
|
|
3846
|
+
),
|
|
2718
3847
|
);
|
|
2719
3848
|
}
|
|
2720
3849
|
|
|
@@ -2789,6 +3918,7 @@ function CiteInspector({ entry, sources, style, uiStyle, lang, revision, locked,
|
|
|
2789
3918
|
),
|
|
2790
3919
|
),
|
|
2791
3920
|
h('div', { className: 'cite-inspector-scroll' },
|
|
3921
|
+
h('h2', { className: 'cite-detail-title', 'data-dsh-serif': '' }, referenceTitle(entry, t)),
|
|
2792
3922
|
h(CiteCard, {
|
|
2793
3923
|
title: t(citationLabel + ' 引文预览', citationLabel + ' citation preview'),
|
|
2794
3924
|
actions: h('span', { className: 'cite-muted' }, t('提交前请核对引用要求', 'Check submission requirements')),
|
|
@@ -2903,6 +4033,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
2903
4033
|
function Workbench({ locale, workbench = false } = {}) {
|
|
2904
4034
|
const [lang, setLang] = useState(() => language(locale));
|
|
2905
4035
|
const [uiStyle, setUiStyle] = useDshStyle(React);
|
|
4036
|
+
const [uiFont, setUiFont] = useDshFont(React);
|
|
2906
4037
|
const [activeTab, setActiveTab] = useState('library');
|
|
2907
4038
|
const [library, setLibrary] = useState(null);
|
|
2908
4039
|
const [job, setJob] = useState(null);
|
|
@@ -3164,7 +4295,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
3164
4295
|
fallback: '#cite-style-switcher',
|
|
3165
4296
|
side: 'right',
|
|
3166
4297
|
title: t('切换引文体例(GB/T 7714 / APA)', 'Switch citation styles (GB/T 7714 / APA)'),
|
|
3167
|
-
desc: t('随时切换 GB/T 7714、APA、MLA、Chicago 引文格式,右上角还可切换
|
|
4298
|
+
desc: t('随时切换 GB/T 7714、APA、MLA、Chicago 引文格式,右上角还可切换 13 套明亮护眼工作台风格与字体搭配。', 'Switch between GB/T 7714, APA, MLA, and Chicago formats anytime, plus 13 daylight-friendly workbench styles & font pairings.'),
|
|
3168
4299
|
},
|
|
3169
4300
|
{
|
|
3170
4301
|
id: 'export',
|
|
@@ -3235,6 +4366,16 @@ function CiteMetadata({ fields, t }) {
|
|
|
3235
4366
|
{ id: 'check', label: t('DOI 核查', 'DOI check') },
|
|
3236
4367
|
{ id: 'export', label: t('导出备份', 'Export') },
|
|
3237
4368
|
];
|
|
4369
|
+
const tabId = typeof React.useId === 'function' ? React.useId() : 'cite-tabs';
|
|
4370
|
+
const tabsIndicator = useSlidingTabIndicator(React, activeTab, { deps: [lang, library ? entries.length : 0] });
|
|
4371
|
+
function onTabKeyDown(event, index) {
|
|
4372
|
+
if (!['ArrowLeft', 'ArrowRight', 'Home', 'End'].includes(event.key)) return;
|
|
4373
|
+
event.preventDefault();
|
|
4374
|
+
const next = event.key === 'Home' ? 0 : event.key === 'End' ? tabs.length - 1 : (index + (event.key === 'ArrowRight' ? 1 : -1) + tabs.length) % tabs.length;
|
|
4375
|
+
const node = event.currentTarget.parentElement?.querySelectorAll('[role="tab"]')[next];
|
|
4376
|
+
setActiveTab(tabs[next].id);
|
|
4377
|
+
node?.focus?.();
|
|
4378
|
+
}
|
|
3238
4379
|
const onImport = () => setActiveTab('import');
|
|
3239
4380
|
const onRequestRemove = ids => {
|
|
3240
4381
|
setTour(prev => (prev.open ? { ...prev, open: false } : prev));
|
|
@@ -3294,35 +4435,77 @@ function CiteMetadata({ fields, t }) {
|
|
|
3294
4435
|
className: 'dshw cite-workbench',
|
|
3295
4436
|
'data-main': String(Boolean(workbench)),
|
|
3296
4437
|
'data-dsh-style': uiStyle,
|
|
4438
|
+
'data-dsh-font': uiFont,
|
|
3297
4439
|
},
|
|
3298
4440
|
h(W.Styles),
|
|
3299
4441
|
h('style', null, CITE_WORKBENCH_CSS),
|
|
3300
4442
|
h('div', { className: 'cite-shell' },
|
|
3301
|
-
h('
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
'
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
4443
|
+
h('header', { className: 'dsh-header cite-header', 'data-dsh-header': '' },
|
|
4444
|
+
h('div', { className: 'dsh-header-leading' },
|
|
4445
|
+
h('div', { className: 'dsh-header-brand cite-brand' },
|
|
4446
|
+
h('span', { className: 'dsh-header-badge cite-brand-icon', 'aria-hidden': 'true' }, h(W.Icon, { name: 'book', size: 14 })),
|
|
4447
|
+
h('h1', { className: 'dsh-header-title' }, 'dsh-cite'),
|
|
4448
|
+
),
|
|
4449
|
+
h('div', { className: 'dsh-header-tabs' },
|
|
4450
|
+
h('div', {
|
|
4451
|
+
className: 'w-tabs dsh-tablist dsh-tablist-pill',
|
|
4452
|
+
role: 'tablist',
|
|
4453
|
+
'aria-label': t('引文工作台', 'Citation workbench'),
|
|
4454
|
+
...tabsIndicator.tablistProps,
|
|
4455
|
+
},
|
|
4456
|
+
tabs.map((item, index) => h('button', {
|
|
4457
|
+
type: 'button',
|
|
4458
|
+
role: 'tab',
|
|
4459
|
+
key: item.id,
|
|
4460
|
+
id: tabId + '-' + item.id,
|
|
4461
|
+
'data-tab-id': item.id,
|
|
4462
|
+
'aria-selected': activeTab === item.id,
|
|
4463
|
+
tabIndex: activeTab === item.id ? 0 : -1,
|
|
4464
|
+
onClick: () => setActiveTab(item.id),
|
|
4465
|
+
onKeyDown: event => onTabKeyDown(event, index),
|
|
4466
|
+
},
|
|
4467
|
+
item.label,
|
|
4468
|
+
item.count !== undefined ? h('span', { className: 'w-count' }, item.count) : null,
|
|
4469
|
+
)),
|
|
4470
|
+
h('span', tabsIndicator.indicatorProps),
|
|
4471
|
+
),
|
|
4472
|
+
),
|
|
4473
|
+
),
|
|
4474
|
+
h('div', { className: 'dsh-header-actions cite-header-actions' },
|
|
4475
|
+
h(CiteButton, {
|
|
4476
|
+
ref: triggerRef,
|
|
4477
|
+
variant: 'ghost',
|
|
4478
|
+
className: 'cite-tour-trigger',
|
|
4479
|
+
'data-tour-trigger': '',
|
|
4480
|
+
'data-cite-tour-trigger': '',
|
|
4481
|
+
'aria-label': t('使用引导', 'Interactive guide'),
|
|
4482
|
+
'aria-expanded': tour.open,
|
|
4483
|
+
title: t('使用引导', 'Interactive guide'),
|
|
4484
|
+
onClick: () => (tour.open ? closeTour(true) : setTour({ open: true, step: 0, manual: true })),
|
|
4485
|
+
}, t('? 引导', '? Tour')),
|
|
4486
|
+
h(StyleSwitcher, {
|
|
4487
|
+
style: uiStyle,
|
|
4488
|
+
font: uiFont,
|
|
4489
|
+
onChange: setUiStyle,
|
|
4490
|
+
onFontChange: setUiFont,
|
|
4491
|
+
showFontSwitcher: true,
|
|
4492
|
+
lang,
|
|
4493
|
+
compact: true,
|
|
4494
|
+
id: 'cite-style-switcher',
|
|
4495
|
+
}),
|
|
4496
|
+
h(CiteButton, {
|
|
4497
|
+
className: 'cite-quick-import', variant: 'primary', icon: 'plus', onClick: onImport,
|
|
4498
|
+
}, t('导入 DOI / BibTeX', 'Import DOI / BibTeX')),
|
|
4499
|
+
),
|
|
3324
4500
|
),
|
|
3325
|
-
h(
|
|
4501
|
+
h('div', {
|
|
4502
|
+
key: activeTab,
|
|
4503
|
+
className: 'w-tab-panel dsh-tab-panel cite-panel-body',
|
|
4504
|
+
'data-dsh-tab-panel': '',
|
|
4505
|
+
id: tabId + '-panel',
|
|
4506
|
+
role: 'tabpanel',
|
|
4507
|
+
'aria-labelledby': tabId + '-' + activeTab,
|
|
4508
|
+
},
|
|
3326
4509
|
error || notice || job ? h('div', { className: 'cite-feedback' },
|
|
3327
4510
|
error ? h(CiteMessage, { tone: 'error', onClose: () => setError(''), t }, error) : null,
|
|
3328
4511
|
notice ? h(CiteMessage, { tone: 'success', onClose: () => setNotice(''), t }, notice) : null,
|
|
@@ -3332,9 +4515,9 @@ function CiteMetadata({ fields, t }) {
|
|
|
3332
4515
|
}) : null,
|
|
3333
4516
|
) : null,
|
|
3334
4517
|
panel,
|
|
3335
|
-
workbench && typeof __stardustUpdatesFooter === 'function'
|
|
3336
|
-
? __stardustUpdatesFooter(React, 'dsh-cite') : null,
|
|
3337
4518
|
),
|
|
4519
|
+
workbench && typeof __stardustUpdatesFooter === 'function'
|
|
4520
|
+
? __stardustUpdatesFooter(React, 'dsh-cite') : null,
|
|
3338
4521
|
),
|
|
3339
4522
|
tour.open && !removeModal ? h(W.CoachmarkTour, {
|
|
3340
4523
|
rootRef,
|
|
@@ -3342,6 +4525,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
3342
4525
|
step: tour.step,
|
|
3343
4526
|
manual: tour.manual,
|
|
3344
4527
|
style: uiStyle,
|
|
4528
|
+
font: uiFont,
|
|
3345
4529
|
lang,
|
|
3346
4530
|
activeKey: activeTab,
|
|
3347
4531
|
layout: tourLayout,
|
|
@@ -3352,6 +4536,7 @@ function CiteMetadata({ fields, t }) {
|
|
|
3352
4536
|
}) : null,
|
|
3353
4537
|
removeModal ? h(W.Dialog, {
|
|
3354
4538
|
style: uiStyle,
|
|
4539
|
+
font: uiFont,
|
|
3355
4540
|
busy,
|
|
3356
4541
|
title: removeModal.ids.length === 1 ? t('确认删除文献', 'Remove reference?') : t('确认删除所选文献', 'Remove selected references?'),
|
|
3357
4542
|
closeLabel: t('关闭', 'Close'),
|
|
@@ -3429,10 +4614,18 @@ function CiteMetadata({ fields, t }) {
|
|
|
3429
4614
|
readDshStyle,
|
|
3430
4615
|
writeDshStyle,
|
|
3431
4616
|
subscribeDshStyle,
|
|
4617
|
+
DSH_FONTS,
|
|
4618
|
+
DSH_FONT_STORAGE_KEY,
|
|
4619
|
+
DSH_FONT_EVENT,
|
|
4620
|
+
DSH_DEFAULT_FONT,
|
|
4621
|
+
normalizeDshFont,
|
|
4622
|
+
readDshFont,
|
|
4623
|
+
writeDshFont,
|
|
4624
|
+
subscribeDshFont,
|
|
3432
4625
|
},
|
|
3433
4626
|
};
|
|
3434
4627
|
},
|
|
3435
|
-
},{"name":"dsh-cite","version":"0.1.0","hasWorkbench":true,"packageVersion":"0.10.3","label":"引文库","labelEn":"Citations","suiteComponent":true,"sectionIds":["dsh-cite"],"iconData":"data:image/webp;base64,UklGRn5aAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSBkZAAABz6e4bRsn0v5rp135R0QGXylJOrklAznFcOS2jSRJ/392d9tJLzPXiJgA/koVded8yHhPO+s9Gx9gx4rDW6TmTJCFe97HMQMUBggdvnI8gQJFSVVJjtReI4Py3d6wbTOkSdu2IyKyztbYRhtj27Zt20ZPj23btm3bnra7p3FWcP9bGRkZVZlZdfuO6D8syHaiSpcwYNwYZEmiIu+XjgC3YSTp/5+9qC1x024JKMBzeUT/ZUGyWrfSBPmZOBhJgOS7qf2mju/+33/8TxgwLkSSJEJw1oG3FYkIZzZPeCcFF9xbNe+AjfY89OjD995kYO80NR0tElHC5lzn+Ds/HNkN33X/+ujRSxN1wkMzIYhoqQMe/Md5x9MqdQZwmHHvciR4p4sljGjBg1+dDgcrpdY240zjLA71EQnxTherbfbgRMApqY3NdUYZvLMMiQ52HEa99/s05ajMuoiIxF+DO1ZUcOp1xE+Alh7HeXAujEYi6vhuAWKdiUvioJ/htLLOc9GwEi9w1pm4q7wNl7azLgcByiTFNeiUzrMNS2iuy+pQ2tpQPIhQchowmLRMp2FxQVv8Cq3C9SyDXO981kUdJhBUG2GgTF7MpM5mfRgaf8/fUYKElnwbOrNXVsaS2jgA1iipTC6swiEkOolf958GN9TCKOUL3PLfKf9aAF5r7IKugReJd5C1u8+CdgGuMsDML+46add1hi675LIrbXHIVe9OSRnhDQwmLEysY8QPd0YH6pTRMO8f1j/J6ZQWO+Cl2dDahc5nsAmJTuGPQcNnoTWeW4v7JhfOOeM8Y3sZcJt2KtQRSRxPSYfwh8AYazNx7cypEfYlLyGMNvwZKojLQn9Y4+Ikvm2uDfudjdE26zQmb0+JiLXE0EJvp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A60Ae8nzAKkr+rD5hyzEA1uqN4mq+9rHFVobnmaLcEUycOd6eqe7n5Ujcw3rJ6N9j6VDE5W8jhWx0CHZLjkinRiGYFQAA1hK0sLrw3sND3aLC+oAB+oUosjptr0bFu6Gj6PHZHG3tb0MYShY8JTdIM3dKZjhHczCm+MDIoUnV9NpXiBoVNR/lS6SsD45AtHvmRg8ZNYtmw0eqsnwr5oeCXm6vzTEAeH1MLHXqStbKYG4UlBJcEqeZ8yYemzyihIU8jRFufuXgj3Opa1l8FgrAQaGDz3mLem3dXmTvLBB+rynP+SVlWo4bfi4PfFrhUi92kmpdg9FwKv7YbOmr9ta59A5hDnQl2lwedVD8rolxBy2PGx5jO2pMM2hxHek3N5X6g6NVFT3lr5o/ndDgaKkpdA2Wp0civz/Q4vzTnbpaYwLrbrkzDkEOTi7Y4uC9cOKchr7IXPmxX8GqQLBkhNOkIcN38Cg0YMDfeAtzH9JIIG2R3a+f+YfMb2aYA+2gTbNuAYIQhm79Rm1zvQ622DDBP4S6gmElgXrOBtUyPYG0HoN5UgnKVoFGc6DNpt1aROxj5CvsP36FYnQkv50R62shrbdQyRdnKFVlhoyJ/8Vo3rxkqhKNuewo+TkF9IqbAZbPL5tBm7+yL2wDD4kgx9bimJxBTcWJ+4/QiJbnPUSHjZ+3R+bm3fjRNzPigR5eml9Q6FBsvEkR3DHT52Q3WmCcBaJY2+ApPYZkc7cliSLJlN8l2FlzTXsBNGJKJDH25gJzR2+q93m5lW/TAXl+qLYPc/gVQx69eK4BP/BQzxSOZp+6i2OA2oAw1SoACliAAAAAA="}));
|
|
4628
|
+
},{"name":"dsh-cite","version":"0.1.0","hasWorkbench":true,"packageVersion":"0.11.0","label":"引文库","labelEn":"Citations","suiteComponent":true,"sectionIds":["dsh-cite"],"iconData":"data:image/webp;base64,UklGRn5aAABXRUJQVlA4WAoAAAAQAAAA/wAA/wAAQUxQSBkZAAABz6e4bRsn0v5rp135R0QGXylJOrklAznFcOS2jSRJ/392d9tJLzPXiJg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