.fate-tools-launcher { position:fixed; top:16px; right:28px; z-index:340; display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:0 15px; border:1px solid #deded9; border-radius:22px; background:#fff; color:#2c2d29; font:500 13px -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; cursor:pointer; box-shadow:0 3px 12px #00000008; }
.fate-tools-launcher:hover { background:#f6f6f4; border-color:#bfc1b9; }.fate-tools-launcher:focus-visible,.fate-tools-dialog :is(button,a):focus-visible { outline:2px solid #76856f; outline-offset:3px; }.fate-tools-icon { font-size:18px; line-height:1; }
.fate-tools-dialog { width:min(650px,calc(100% - 32px)); max-height:min(760px,calc(100dvh - 32px)); padding:26px; border:1px solid #e8e8e5; border-radius:18px; background:#fff; color:#222; box-shadow:0 20px 65px #0003; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif; }
.fate-tools-dialog::backdrop { background:#171b1780; }.fate-tools-header { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:24px; }.fate-tools-eyebrow { color:#888b83; font-size:12px; }.fate-tools-header h2 { font-size:23px; line-height:1.2; margin:6px 0 0; color:#222; font-weight:650; }.fate-tools-close { border:0; width:36px; height:36px; border-radius:50%; background:#f5f5f3; color:#444; font-size:24px; cursor:pointer; line-height:1; }
.fate-tools-groups { display:grid; gap:20px; }.fate-tools-groups section h3 { margin:0 0 10px; color:#777a72; font-size:12px; font-weight:600; }.fate-tools-groups section>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.fate-tools-groups a { display:flex; justify-content:space-between; gap:12px; padding:12px 14px; border:1px solid #eeeeea; border-radius:9px; color:#222; text-decoration:none; }.fate-tools-groups a:hover,.fate-tools-groups a[aria-current=page] { background:#f4f6f2; border-color:#d4ded1; }.fate-tools-groups strong,.fate-tools-groups small { display:block; }.fate-tools-groups strong { font-size:14px; font-weight:600; }.fate-tools-groups small { color:#8a8d85; font-size:12px; margin-top:4px; }.fate-tools-groups b { color:#999; font-weight:400; }.fate-tools-home { display:inline-block; margin-top:20px; color:#656a60; font-size:13px; }
/* The prior sidebar toggle is replaced by the labelled launcher. */
.fm-workspace .workspace-sidebar-trigger,.fm-workspace [class*="sidebar-wrapper"] > div.fixed [data-sidebar="trigger"],.ziwei-view-open .fate-tools-launcher { display:none!important; }
@media(max-width:767px) { .fate-tools-launcher { top:12px; right:16px; min-height:40px; }.fm-workspace [class*="sidebar-wrapper"] > div.fixed .flex:has(> [data-sidebar="trigger"]) > [data-sidebar="trigger"] { visibility:hidden; }.fate-tools-dialog { padding:20px; }.fate-tools-groups section>div { grid-template-columns:1fr; }.fate-tools-groups a { padding:10px 12px; }.fate-tools-groups small { margin-top:2px; } }
