/* Additive white/blue theme for the installed New API component tokens. */
html.ljx-theme{color-scheme:light!important;--font-body:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif!important;--font-sans:var(--font-body)!important;--radius:.75rem!important;--background:#fff!important;--foreground:#293246!important;--card:#fff!important;--card-foreground:#293246!important;--popover:#fff!important;--popover-foreground:#293246!important;--primary:#4d6bfe!important;--primary-foreground:#fff!important;--secondary:#f0f4ff!important;--secondary-foreground:#536dd4!important;--muted:#f6f8fc!important;--muted-foreground:#7e8ba3!important;--accent:#edf3ff!important;--accent-foreground:#4564dc!important;--border:#e6ebf4!important;--input:#e0e7f2!important;--ring:#809bff!important;--sidebar:#f8faff!important;--sidebar-foreground:#62718c!important;--sidebar-primary:#4d6bfe!important;--sidebar-primary-foreground:#fff!important;--sidebar-accent:#eaf0ff!important;--sidebar-accent-foreground:#4261db!important;--sidebar-border:#ebeff7!important;--sidebar-ring:#a3b5ff!important;--table-row:#fff!important;--table-header:#f7f9fd!important;--table-header-hover:#f0f4ff!important;--table-disabled:#f5f6f9!important;--table-disabled-hover:#eceff5!important;--table-disabled-border:#e0e5ef!important;--chart-1:#4d6bfe!important;--chart-2:#69a4f9!important;--chart-3:#8a9eec!important;--chart-4:#91c7e8!important;--chart-5:#87b7af!important;--overview-accent-1:#4d6bfe!important;--overview-accent-2:#72a0eb!important;--overview-accent-3:#a2b3eb!important;--skeleton-base:#eef2f8!important;--skeleton-highlight:#f7f9fd!important}
html.ljx-theme body{background:#fff!important;color:#293246;font-family:var(--font-body)!important;-webkit-font-smoothing:antialiased}html.ljx-theme [data-slot=sidebar-container]{background:#f8faff;border-color:#ebeff7}html.ljx-theme [data-slot=sidebar-content]{padding:18px 12px!important;gap:12px}html.ljx-theme [data-slot=sidebar-content] a[data-slot=button]{border-radius:10px;min-height:39px;font-size:13px;margin-top:3px;color:#69758c}html.ljx-theme [data-slot=sidebar-content] a[data-active=true],html.ljx-theme [data-slot=sidebar-content] a[aria-current=page]{color:#4261dc!important;background:#eaf0ff!important}html.ljx-theme [data-slot=sidebar-group-label]{font-size:10px;color:#a0aabd;letter-spacing:.5px}html.ljx-theme [data-slot=card]{border:1px solid #e8edf6;border-radius:15px;box-shadow:0 3px 15px #233b6a04}html.ljx-theme [data-slot=card-title]{font-weight:560;letter-spacing:-.25px}html.ljx-theme [data-slot=input],html.ljx-theme [data-slot=textarea],html.ljx-theme [data-slot=select-trigger]{border-radius:9px;border-color:#e0e7f2;background:#fff;box-shadow:0 1px 2px #283e6103}html.ljx-theme [data-slot=input]:focus,html.ljx-theme [data-slot=textarea]:focus{border-color:#9bb0ff;box-shadow:0 0 0 3px #4d6bfe0c}html.ljx-theme [data-slot=button]{border-radius:9px}html.ljx-theme [data-slot=dialog-content],html.ljx-theme [data-slot=sheet-content]{border-color:#e4eaf5;box-shadow:0 22px 80px #233b6a20}html.ljx-theme [data-slot=dialog-content]{border-radius:18px}html.ljx-theme [data-slot=table-head]{color:#8490a7;font-size:11px;font-weight:550;background:#f7f9fd}html.ljx-theme [data-slot=table-cell]{border-color:#eff2f8}html.ljx-theme [data-slot=table-row]:hover{background:#f8faff}html.ljx-theme a:focus-visible,html.ljx-theme button:focus-visible{outline-color:#a2b5ff}html.ljx-theme h1{letter-spacing:-.7px;font-weight:560}html.ljx-theme [data-slot=badge]{border-radius:6px}html.ljx-theme .ljx-guide{flex:0 0 auto;margin:16px 22px 7px;border:1px solid #dfe8ff;background:linear-gradient(110deg,#f5f8ff,#fcfdff);border-radius:13px;color:#607092;font:12px/1.8 var(--font-body);position:relative}html.ljx-theme .ljx-guide>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:13px 17px;font-size:13px;color:#506bd3;font-weight:550}html.ljx-theme .ljx-guide>summary::-webkit-details-marker{display:none}html.ljx-theme .ljx-guide>summary::before{content:'✧';font-size:20px;color:#6683e8}html.ljx-theme .ljx-guide>summary::after{content:'展开提示 ＋';font-size:10px;color:#91a0bf;font-weight:400;margin-left:auto}html.ljx-theme .ljx-guide[open]>summary::after{content:'收起提示 −'}html.ljx-theme .ljx-guide-body{padding:0 18px 15px}html.ljx-theme .ljx-guide-body>p{margin:0 0 12px;font-size:11px;color:#8390a8}html.ljx-theme .ljx-guide-links{display:flex;gap:10px;flex-wrap:wrap}html.ljx-theme .ljx-guide-links a{border:1px solid #dce5fa;background:white;border-radius:7px;color:#5c77cf;padding:6px 11px;font-size:11px}html.ljx-theme .ljx-guide-links a:hover{background:#edf3ff}html.ljx-theme .ljx-guide-links a:first-child{background:#4d6bfe;color:white;border-color:#4d6bfe}html.ljx-theme .ljx-guide code{font-family:ui-monospace,Consolas,monospace;color:#5270d3}html.ljx-theme .ljx-side-tools{padding:11px 7px 16px;display:grid;gap:9px;flex-shrink:0}html.ljx-theme .ljx-side-tools>a{display:flex;align-items:center;gap:9px;color:#4f6de2;background:#edf3ff;border-radius:9px;padding:9px 11px;font-size:12px}html.ljx-theme .ljx-side-tools>a:first-child{background:#4d6bfe;color:#fff}html.ljx-theme .ljx-mode-toggle{border:1px solid #e0e7f3;background:#fff;color:#8c99b0;border-radius:8px;padding:7px 10px;font:10px var(--font-body);cursor:pointer;text-align:left}html.ljx-theme[data-ljx-simple=true] [data-ljx-advanced=true]{display:none!important}html.ljx-theme .ljx-field-help{color:#7f8ea8;font:11px/1.7 var(--font-body);margin-top:5px;margin-bottom:7px;max-width:500px}html.ljx-theme .ljx-auth-note{border:1px solid #e0e8fc;background:#f7f9ff;border-radius:10px;padding:12px 15px;margin:14px 0;font-size:11px;color:#8795af;text-align:center}html.ljx-theme .ljx-auth-note a{color:#4d6bfe;margin-left:5px}html.ljx-theme .ljx-toolbar-help{position:fixed;bottom:20px;right:22px;z-index:45;background:#fff;border:1px solid #e1e8f7;color:#7186b5;border-radius:20px;padding:9px 15px;box-shadow:0 3px 15px #32466c10;font:11px var(--font-body)}html.ljx-theme .ljx-guest-embed{width:100%;height:calc(100svh - 95px);min-height:540px;border:0;display:block;background:#fff}html.ljx-theme [data-collapsible=icon] .ljx-side-tools{display:none}html.ljx-theme [data-ljx-caption]::after{content:attr(data-ljx-caption);font-size:9px;color:#9ba7bd;margin-left:auto;white-space:nowrap}html.ljx-theme [data-collapsible=icon] [data-ljx-caption]::after{content:none}
@media(max-width:760px){html.ljx-theme .ljx-guide{margin:10px 12px 4px;border-radius:10px}html.ljx-theme .ljx-guide>summary{padding:10px 12px;font-size:12px}html.ljx-theme .ljx-guide>summary::after{font-size:9px}html.ljx-theme .ljx-guide-body{padding:0 13px 13px}html.ljx-theme .ljx-guide-links{gap:7px}html.ljx-theme .ljx-guide-links a{font-size:10px;padding:6px 9px}html.ljx-theme .ljx-toolbar-help{bottom:12px;right:12px;padding:8px 12px;font-size:10px}html.ljx-theme [data-slot=dialog-content]{max-width:calc(100vw - 24px)}html.ljx-theme [data-slot=table-container]{overflow-x:auto}html.ljx-theme .ljx-guest-embed{height:calc(100svh - 80px);min-height:500px}}
@media(prefers-reduced-motion:reduce){html.ljx-theme *{scroll-behavior:auto!important}}
/* Readable density, shared surfaces and mobile behavior across the original app. */
html.ljx-theme{--muted-foreground:#66758d!important;--sidebar-foreground:#53627a!important}
html.ljx-theme [data-slot=sidebar-content] a[data-slot=button]{font-size:.875rem;min-height:42px}
html.ljx-theme [data-slot=sidebar-group-label]{font-size:.75rem;color:#6d7a91;letter-spacing:0}
html.ljx-theme [data-slot=table-head]{font-size:.8125rem;color:#617089}
html.ljx-theme [data-slot=card]{box-shadow:0 1px 3px #172b4506,0 5px 22px #26406604;border-color:#e8edf5}
html.ljx-theme .ljx-guide{font-size:.875rem;margin:16px 24px 8px}
html.ljx-theme .ljx-guide>summary{font-size:.9375rem;color:#3f5ac5}
html.ljx-theme .ljx-guide>summary::after{font-size:.75rem;color:#647697}
html.ljx-theme .ljx-guide-body>p{font-size:.875rem;color:#596b86;line-height:1.85}
html.ljx-theme .ljx-guide-links a{font-size:.8125rem;min-height:36px;display:inline-flex;align-items:center;color:#3d5bbe}
html.ljx-theme .ljx-side-tools>a{font-size:.875rem;min-height:42px}
html.ljx-theme .ljx-mode-toggle{font-size:.75rem;line-height:1.5;color:#637491;min-height:36px}
html.ljx-theme .ljx-field-help{font-size:.8125rem;color:#62748e}
html.ljx-theme .ljx-auth-note{font-size:.875rem;color:#63738d}
html.ljx-theme [data-ljx-caption]::after{font-size:.6875rem;color:#73819b;white-space:normal;text-align:right;max-width:5em;line-height:1.4}
html.ljx-theme .ljx-toolbar-help{font-size:.8125rem;color:#526da7;min-height:38px}
html.ljx-theme [data-slot=sidebar-inset]{background:#fbfcff}
html.ljx-theme [data-slot=dialog-content]{max-height:calc(100dvh - 48px);overflow-y:auto}
html.ljx-theme [data-slot=table-container]{overflow-x:auto;max-width:100%}
html.ljx-theme [data-slot=sidebar-content]{scrollbar-width:thin}
html.ljx-theme [data-slot=button]{transition:background-color .16s,border-color .16s,box-shadow .16s}
html.ljx-theme [data-slot=input],html.ljx-theme [data-slot=textarea]{line-height:1.6}
@media(max-width:760px){
 html.ljx-theme .ljx-guide{margin:10px 12px 6px}
 html.ljx-theme .ljx-guide>summary{font-size:.875rem;flex-wrap:wrap}
 html.ljx-theme .ljx-guide>summary::after{font-size:.75rem}
 html.ljx-theme .ljx-guide-links a{font-size:.8125rem;padding:8px 11px}
 html.ljx-theme [data-slot=input],html.ljx-theme [data-slot=textarea],html.ljx-theme [data-slot=select-trigger]{font-size:16px}
 html.ljx-theme [data-slot=dialog-content]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 html.ljx-theme .ljx-toolbar-help{font-size:.75rem;bottom:calc(12px + env(safe-area-inset-bottom));right:12px}
}
/* Honor a manually selected dark appearance with the same blue design system. */
html.ljx-theme.dark{color-scheme:dark!important;--background:#131a29!important;--foreground:#e2e8f4!important;--card:#1a2335!important;--card-foreground:#e2e8f4!important;--popover:#1d283c!important;--popover-foreground:#e2e8f4!important;--primary:#718bff!important;--primary-foreground:#fff!important;--secondary:#223454!important;--secondary-foreground:#b8c8ff!important;--muted:#202d43!important;--muted-foreground:#a6b5cd!important;--accent:#25395c!important;--accent-foreground:#c3d1ff!important;--border:#2d3a51!important;--input:#35435e!important;--sidebar:#172033!important;--sidebar-foreground:#b0bfd6!important;--sidebar-accent:#25395c!important;--sidebar-accent-foreground:#bfceff!important;--sidebar-border:#29364c!important;--table-row:#1a2335!important;--table-header:#202c41!important;--table-header-hover:#293954!important}
html.ljx-theme.dark body,html.ljx-theme.dark [data-slot=sidebar-inset]{background:#131a29!important;color:#e2e8f4}
html.ljx-theme.dark [data-slot=sidebar-container]{background:#172033;border-color:#29364c}
html.ljx-theme.dark [data-slot=card],html.ljx-theme.dark [data-slot=dialog-content],html.ljx-theme.dark [data-slot=sheet-content]{border-color:#2d3a51}
html.ljx-theme.dark [data-slot=input],html.ljx-theme.dark [data-slot=textarea],html.ljx-theme.dark [data-slot=select-trigger]{background:#1a2335;border-color:#35435e;color:#e2e8f4}
html.ljx-theme.dark [data-slot=table-head]{background:#202c41;color:#a6b5cd}
html.ljx-theme.dark [data-slot=table-row]:hover{background:#202d43}
html.ljx-theme.dark [data-slot=table-cell]{border-color:#2d3a51}
html.ljx-theme.dark .ljx-guide,html.ljx-theme.dark .ljx-auth-note{background:#1c2a45;border-color:#31466b;color:#b6c5de}
html.ljx-theme.dark .ljx-guide>summary,html.ljx-theme.dark .ljx-guide-body>p,html.ljx-theme.dark .ljx-guide>summary::after,html.ljx-theme.dark .ljx-field-help{color:#b6c5de}
html.ljx-theme.dark .ljx-guide-links a,html.ljx-theme.dark .ljx-side-tools>a,html.ljx-theme.dark .ljx-mode-toggle,html.ljx-theme.dark .ljx-toolbar-help{background:#223454;border-color:#344b73;color:#c3d1ff}
html.ljx-theme.dark .ljx-side-tools>a:first-child,html.ljx-theme.dark .ljx-guide-links a:first-child{background:#5875ee;color:#fff}
html.ljx-theme #lj-nav-lottery-badge{background:#4d6bfe!important;color:#fff!important;font-size:12px!important}
html.ljx-theme [id^=lj-nav-][style*="rgba(166"]{background:#eaf0ff!important;color:#4261db!important}
html.ljx-theme #lj-embed-root-open,html.ljx-theme #lj-embed-root button{font-size:14px!important;min-height:36px}
@media(max-width:480px){html.ljx-theme #lj-embed-root>div:first-child{flex-wrap:wrap}html.ljx-theme #lj-embed-root-open,html.ljx-theme #lj-embed-root button{font-size:12px!important}}
/* Keep native labels readable instead of truncating them beside helper captions. */
html.ljx-theme [data-slot=sidebar-wrapper]{--sidebar-width:16rem!important}
html.ljx-theme [data-ljx-caption]::after{font-size:11px;max-width:6em;flex-shrink:0;white-space:nowrap}
html.ljx-theme [data-slot=sidebar-menu-button]{min-height:40px}
html.ljx-theme input[data-slot=form-control],html.ljx-theme textarea[data-slot=form-control]{border-radius:9px;border-color:#dce4f0;background:#fff;line-height:1.6}
html.ljx-theme.dark input[data-slot=form-control],html.ljx-theme.dark textarea[data-slot=form-control]{background:#1a2335;border-color:#35435e}
@media(max-width:760px){html.ljx-theme .ljx-toolbar-help{display:none}html.ljx-theme input[data-slot=form-control],html.ljx-theme textarea[data-slot=form-control]{font-size:16px}}
