.pref-modal .ant-modal-content{padding:0;border-radius:14px;overflow:hidden}.pref-head{padding:12px 16px;border-bottom:1px solid #f1f5f9}.pref-close,.pref-head{display:flex;align-items:center}.pref-close{margin-left:auto;justify-content:center;height:28px;width:28px;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer}.pref-close:hover{background:#f1f5f9;color:#0f172a}.pref-body{display:grid;grid-template-columns:180px minmax(0,1fr);height:min(70vh,600px)}.pref-nav{display:flex;flex-direction:column;gap:2px;padding:10px 8px;border-right:1px solid #f1f5f9;background:#fafbfc}.pref-nav-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#334155;font:inherit;font-size:calc(13px * var(--ui-text-scale, 1));cursor:pointer;text-align:left}.pref-nav-item:hover{background:#f1f5f9}.pref-nav-item.is-on{background:var(--accent-soft);color:var(--accent-text);font-weight:600}.pref-content{padding:16px 18px;overflow:auto;min-height:0;height:100%}.pref-foot{padding:8px 16px;border-top:1px solid #f1f5f9;font-size:calc(11px * var(--ui-text-scale, 1));color:#64748b}.pref-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.pref-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;text-align:left;font:inherit}.pref-option:hover{background:#f8fafc}.pref-option.is-on{border-color:#1677ff;box-shadow:0 0 0 2px rgba(22,119,255,.15)}.pref-option-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f1f5f9;color:#334155;flex:none}.pref-option .n{font-size:calc(13px * var(--ui-text-scale, 1));font-weight:600;color:#0f172a}.pref-option .d{font-size:calc(12px * var(--ui-text-scale, 1));color:#64748b}html.dark .pref-foot,html.dark .pref-head,html.dark .pref-nav{border-color:hsla(0,0%,100%,.08)}html.dark .pref-nav{background:#141a2e}html.dark .pref-nav-item{color:#cbd5e1}html.dark .pref-nav-item:hover{background:#1f2745}html.dark .pref-nav-item.is-on{background:rgba(96,165,250,.16);color:#7cb4ff}html.dark .pref-close{color:#9ca3af}html.dark .pref-close:hover{background:#1f2745;color:#e5e7eb}html.dark .pref-option,html.dark .theme-preset{background:#171d33;border-color:hsla(0,0%,100%,.12)}html.dark .pref-option:hover,html.dark .theme-preset:hover{background:#1f2745}html.dark .pref-option .n,html.dark .theme-preset .n{color:#e5e7eb}html.dark .pref-option .d,html.dark .theme-preset .d{color:#9ca3af}html.dark .pref-option-icon{background:#232b4d;color:#cbd5e1}html.dark .theme-field{border-bottom-color:hsla(0,0%,100%,.08);color:#e5e7eb}html.dark .theme-preview{border-color:hsla(0,0%,100%,.12)}