/* The approved main menu's palette, type, outlines and button motion. */
@font-face{font-family:LuxuryMenu;src:url('assets/regular.ttf')}@font-face{font-family:LuxuryMenu;src:url('assets/semibold.ttf');font-weight:600}
:root{color-scheme:dark;--text:#f0f0f2;--muted:#969ba3;--accent:#c8c0af;--accent-rgb:200,192,175;--accent-ink:217,211,199;--motion:cubic-bezier(.22,1,.36,1)}
body{font-family:LuxuryMenu,Arial,sans-serif;background:#0b0c0e;-webkit-font-smoothing:antialiased}button,input{font-family:LuxuryMenu,Arial,sans-serif}.icon,.glyph{display:inline-block;position:static;flex-shrink:0;background:none;mask:none;-webkit-mask:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;overflow:visible}.duotone{display:none}#world{background:#0b0c0e}.world-shade{background:radial-gradient(ellipse at 74% 46%,#30343c40,transparent 60%),radial-gradient(ellipse at 14% 50%,#33384040,transparent 50%)}#cursor-light{width:220px;height:220px;opacity:.3;background:radial-gradient(circle,rgba(var(--accent-rgb),.045),transparent 65%)}
.dropdown{width:1260px;gap:12px}.panel{width:200px;min-width:200px;border-radius:12px;background:#101114c9;border:0;box-shadow:none;overflow:visible}.panel-head{height:48px;padding:0 15px;cursor:grab}.panel-head strong{font:600 17px LuxuryMenu;letter-spacing:-.35px;color:#f0f0f2}.panel-head>.glyph{width:18px;height:18px;color:#969ba3;transition:transform .3s var(--motion),color .2s}.panel-head:hover>.glyph{color:rgb(var(--accent-ink));transform:translateY(-1px) rotate(-4deg)}.panel-head:after{left:14px;right:14px;bottom:0;width:auto;height:1px;border-radius:0;background:#ffffff0e;opacity:1}.panel-strip{left:1px;right:1px;top:1px;height:46px;border-radius:11px;background:linear-gradient(110deg,#ffffff03,#ffffff00)}.gpu-ready .panel-strip{background:linear-gradient(110deg,#ffffff03,#ffffff00)}.panel-content{padding:9px 8px 8px}.panel-content:before{display:none}.native-scrollbar{top:55px;right:3px;bottom:8px;width:2px;background:#ffffff04}.native-scrollbar span{background:#a3a5aa55;width:2px}
.module{margin-bottom:5px}.module-head{height:35px;border:1px solid #ffffff0f;border-radius:7px;background:linear-gradient(110deg,#ffffff02,#ffffff00);box-shadow:none;overflow:hidden;transition:background .2s,border-color .2s,transform .3s var(--motion)}.module-head:before{display:none}.module-head:after{content:'';position:absolute;inset:0;pointer-events:none;transform:translateX(-100%);background:linear-gradient(90deg,transparent,#ffffff05,transparent);transition:transform .5s}.module-head:hover:after{transform:translateX(100%)}.module-head:hover{background:#ffffff08;border-color:#ffffff38;box-shadow:none;transform:translateX(1px)}.module.enabled>.module-head{background:linear-gradient(105deg,rgba(var(--accent-rgb),.075),#ffffff08);border-color:rgba(var(--accent-rgb),.22);box-shadow:inset 0 1px #ffffff0a}.module.enabled>.module-head:hover{border-color:rgba(var(--accent-rgb),.36)}.module-toggle,.dropdown .module-toggle{font:14px LuxuryMenu;letter-spacing:0;padding:0 10px;color:#d4d5d9;line-height:20px}.enabled>.module-head .module-toggle{color:#f0f0f2}.expand,.dropdown .expand{width:25px;height:30px;margin-right:3px;translate:0;color:#6f747d;transition:color .2s}.expand:hover{color:rgb(var(--accent-ink))}.chevron{width:5px;height:5px;border-width:1.2px}.no-settings-space{width:25px}.bind-chip{font:10px LuxuryMenu;padding:2px 5px;border:1px solid #ffffff15;background:#ffffff05;border-radius:4px;color:#b0b3ba;max-width:50px}.module-settings{padding:9px 4px 4px}.setting{font:12px LuxuryMenu;color:#a9adb5;margin-bottom:5px;min-height:27px}.setting-line{height:27px;padding:0 6px;gap:6px}.setting-name{line-height:1.4}.setting output{font:11px LuxuryMenu;color:rgb(var(--accent-ink))}.setting[data-kind=number]{height:36px;padding:0 6px}.setting[data-kind=number]>.setting-line{height:18px;padding:0}.setting:hover:not([data-kind=mode]){background:#ffffff03;border-radius:5px}.setting:hover:not([data-kind=mode]):before{display:none}input[type=range]{height:3px;background:linear-gradient(to right,var(--accent) var(--value,50%),#292c33 var(--value,50%));margin-top:8px;border-radius:3px}input[type=range]::-webkit-slider-thumb{width:7px;height:7px;background:rgb(var(--accent-ink))}input[type=range]:hover::-webkit-slider-thumb{width:9px;height:9px;box-shadow:0 0 8px rgba(var(--accent-rgb),.09)}.switch{width:28px;height:15px;border-radius:8px;background:#24262c;border:1px solid #ffffff0e;box-shadow:none}.switch:after{width:9px;height:9px;left:2px;background:#969ba3;box-shadow:none}.switch[aria-checked=true]{background:var(--accent);border-color:rgba(var(--accent-rgb),.25);box-shadow:none}.switch[aria-checked=true]:after{left:14px;background:#f5f6f8}.setting[data-kind=mode]>.setting-line{height:24px;padding-top:0}.pills{gap:5px;padding:0 6px 5px}.pill{font:11px LuxuryMenu;height:25px;padding:0 8px;border-radius:5px;border:1px solid #ffffff0e;color:#a9adb5;background:#ffffff03;max-width:100%;overflow:hidden;text-overflow:ellipsis}.pill:hover{background:#ffffff09;border-color:#ffffff28;color:rgb(var(--accent-ink))}.pill.active{color:#f0f0f2;background:linear-gradient(105deg,rgba(var(--accent-rgb),.11),#ffffff0a);border-color:rgba(var(--accent-rgb),.22)}.key-button{height:20px;min-width:29px;border:1px solid #ffffff18;border-radius:4px;font:11px LuxuryMenu;background:#ffffff04;color:#c4c5cb}.color-input{width:23px;height:14px;border-radius:4px;border:1px solid #ffffff30}.setting[data-kind=text]{height:48px}.text-input{height:29px;font:12px LuxuryMenu;border:1px solid #ffffff14;border-radius:6px;background:#ffffff04;color:#f0f0f2;padding:0 9px}.text-input:focus{border-color:rgba(var(--accent-rgb),.24)}.setting[data-kind=multiselect]{height:39px}.setting[data-kind=multiselect] .setting-line{height:39px;padding:3px 6px}.multi-caption{font-size:10px;margin-top:5px;color:#737983}.select-button{padding-right:11px;color:#969ba3}.multi-popup{font-family:LuxuryMenu;background:#121215f5;border:1px solid #ffffff23;border-radius:10px;box-shadow:0 20px 70px #0008}.multi-popup button{font:12px LuxuryMenu;padding:10px 8px}.multi-popup button:hover{background:#ffffff08}.empty{font:12px LuxuryMenu;padding:14px 0;color:#969ba3}.inline-picker{padding:6px}.inline-picker .color-well{height:78px}.hue-bar{height:9px;border-radius:3px}
.dropdown-search{width:240px;height:36px}.dropdown-search:focus-within{width:270px}.search{height:36px;padding:0 12px;gap:10px;border:1px solid #ffffff13;border-radius:8px;background:#ffffff03;box-shadow:none;transition:border-color .2s,background .2s}.gpu-ready .search{background:#ffffff02;box-shadow:none}.search:focus-within{border-color:rgba(var(--accent-rgb),.22);background:#ffffff06}.search>.glyph{width:16px;height:16px;color:#969ba3}.search input{font:13px LuxuryMenu;color:#ececef}.search input::placeholder{color:#6f747d}.clear-search{font:16px LuxuryMenu;color:#969ba3}.native-mode-switch{height:36px;padding:3px;border:1px solid #ffffff12;border-radius:8px;background:#121315c9;gap:3px}.native-mode-switch button{height:28px;padding:0 12px;gap:8px;border-radius:5px;font:12px LuxuryMenu;color:#969ba3;transition:.2s}.native-mode-switch button>.icon{width:14px;height:14px}.native-mode-switch button:hover{color:rgb(var(--accent-ink));background:#ffffff06}.native-mode-switch button.selected{color:#f0f0f2;background:linear-gradient(105deg,rgba(var(--accent-rgb),.075),#ffffff08);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.17)}
.theme-button{height:29px;padding-left:29px;margin-bottom:3px;border-radius:6px;font:12px LuxuryMenu;color:#b8bbc2}.theme-dot{left:8px;width:10px;height:10px;border:1px solid #ffffff18}.theme-button.active,.theme-button:hover{background:#ffffff06}.theme-button.active:before,.dropdown .theme-button.active:before{display:none}.theme-button.active .theme-dot{width:10px;height:10px;left:8px;box-shadow:none}.theme-editor{margin:13px 6px 0}.eyebrow{height:14px;margin-bottom:7px;font:10px LuxuryMenu;letter-spacing:1.3px;color:#6f747d}.theme-editor .text-input{margin-bottom:9px}.color-well{height:90px;border-radius:5px}.hue-bar{margin:9px 0}.theme-color-row{height:20px;margin-bottom:9px;gap:9px;font:11px LuxuryMenu;color:#b8bbc2}.theme-color-row .color-input{width:28px;height:18px;border-radius:4px}.theme-save{height:31px;margin-bottom:13px;border-radius:6px;border:1px solid #ffffff18;background:linear-gradient(110deg,#ffffff02,#ffffff00);font:12px LuxuryMenu;color:#d4d5d9;transition:.2s}.theme-save:hover{background:#ffffff08;border-color:#ffffff38}.theme-sliders{padding:0 6px}.theme-sliders .setting{height:40px;margin-bottom:4px;font:11px LuxuryMenu}.theme-sliders .setting-line{height:20px}.theme-sliders input{margin-top:7px}
.cs-window{border-radius:16px;background:#101114e8}.cs-topbar{height:74px;padding-left:24px;gap:12px}.cs-topbar-strip{inset:0;height:74px;border-radius:16px 16px 0 0;background:none;border-bottom:1px solid #ffffff0c}.gpu-ready .cs-topbar-strip{background:none}.logo-tile{width:30px;height:30px;border:1px solid rgba(var(--accent-rgb),.16);border-radius:8px;background:rgba(var(--accent-rgb),.035);box-shadow:none;color:var(--accent)}.logo-tile>.glyph{width:17px;height:17px}.cs-brand strong{font:600 18px LuxuryMenu;letter-spacing:-.2px;line-height:24px;text-transform:none}.cs-brand small{display:none}.cs-topbar .search{right:24px;top:20px;width:246px;height:35px;border-radius:8px;padding-left:12px;gap:9px}.cs-topbar .search:focus-within{width:270px}.cs-topbar .search>.glyph{width:15px;height:15px}.cs-topbar .search input{font:12px LuxuryMenu}.cs-main{inset:94px 24px 22px;gap:20px}.cs-sidebar{width:174px;padding:0;background:none;box-shadow:none;border-radius:0;gap:7px}.category-tab{width:174px;height:42px;min-height:42px;padding:0 12px;gap:10px;border:1px solid transparent;border-radius:7px;font:13px LuxuryMenu;color:#969ba3;transition:.2s}.category-tab:hover{background:#ffffff06;border-color:#ffffff12;box-shadow:none;color:#d8d7d3}.category-tab.selected{background:linear-gradient(105deg,rgba(var(--accent-rgb),.075),#ffffff08);border-color:rgba(var(--accent-rgb),.22);box-shadow:inset 0 1px #ffffff0a;color:#f0f0f2}.cat-icon{width:22px;height:22px;border-radius:0;background:none}.cat-icon>.glyph{width:17px;height:17px;color:#969ba3}.category-tab.selected .cat-icon{background:none;box-shadow:none}.category-tab.selected .cat-icon>.glyph{color:var(--accent)}.cat-count{height:auto;min-width:0;padding:0;background:none;border:0;font:10px LuxuryMenu;color:#565c66}.selected .cat-count{background:none;border:0;color:#a19a8e}.profile{height:58px;min-height:58px;margin:20px 0 0;margin-top:auto;padding:10px 8px;gap:10px;border:1px solid #ffffff0c;border-radius:8px;background:#ffffff02;box-shadow:none}.avatar{width:29px;height:29px;background:#ffffff04;border:1px solid #ffffff12;border-radius:7px;color:#969ba3;display:grid;place-items:center}.avatar>.glyph{width:16px;height:16px}.profile strong{font:12px LuxuryMenu;line-height:18px;color:#d7d8dc}.profile small{font:10px LuxuryMenu;line-height:15px;color:#656b76}.cs-content-head{height:60px;min-height:60px;gap:0;align-items:flex-start}.cs-content-head>.cat-icon{display:none}.cs-content-title{padding-top:1px}.cs-content-title strong{font:600 20px LuxuryMenu;height:28px;letter-spacing:-.45px;line-height:28px;color:#f0f0f2}.cs-content-title small{font:11px LuxuryMenu;line-height:17px;color:#6f747d}.filters{top:5px;right:0;height:30px;padding:3px;border:1px solid #ffffff0e;border-radius:7px;background:#ffffff02;box-shadow:none;gap:2px}.filters button{height:22px;padding:0 11px;font:11px LuxuryMenu;border-radius:4px;color:#737983}.filters button.active{background:rgba(var(--accent-rgb),.075);color:rgb(var(--accent-ink));box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.17)}.cs-scroll{margin-top:5px;padding-right:9px}.card-grid{gap:10px}.card-column{gap:10px}.cs .module{border:1px solid #ffffff0f;border-radius:8px;background:linear-gradient(110deg,#ffffff02,#ffffff00);box-shadow:none;transition:border-color .2s,background .2s}.cs .module:hover{border-color:#ffffff26;background:#ffffff04}.cs .module.enabled{background:linear-gradient(105deg,rgba(var(--accent-rgb),.075),#ffffff08);border-color:rgba(var(--accent-rgb),.22);box-shadow:inset 0 1px #ffffff0a}.cs .module-head{height:58px;padding:0;border:0;border-radius:7px;background:none;box-shadow:none;transform:none}.cs .module-head:hover{background:none;transform:none}.cs .module-head:after{display:none}.cs .module-toggle{font:13px LuxuryMenu;line-height:21px;padding:0 13px;color:#d7d8dc}.module-desc{font:10px LuxuryMenu;line-height:17px;color:#626975}.cs .module-head>.expand{width:21px;height:25px;margin-right:7px;border-radius:4px;color:#626975}.cs .module-head>.expand:hover,.cs .module.expanded>.module-head>.expand{background:#ffffff06;color:var(--accent)}.cs .module-head>.switch{width:27px;height:15px;margin-right:13px;border-radius:8px}.cs .module-head>.switch:after{width:9px;height:9px;left:2px}.cs .module-head>.switch[aria-checked=true]:after{left:13px}.cs .module-head>.bind-chip{margin-right:3px;font-size:9px}.cs .module-settings{padding:9px 9px 6px;margin:0 5px 5px;border-top:1px solid #ffffff0c;border-radius:0 0 5px 5px;background:#00000012}.cs .setting-line{padding-left:5px;padding-right:4px}.cs .setting[data-kind=number]{padding-left:5px;padding-right:5px}.cs .setting .switch{width:26px;height:14px}.cs .setting .switch:after{height:8px;width:8px;left:2px}.cs .setting .switch[aria-checked=true]:after{left:13px}.cs .setting[data-kind=mode]>.setting-line{height:24px}.cs .pill{height:25px;padding:0 8px;border:1px solid #ffffff10;border-radius:5px;background:#ffffff03}.cs .pill.active{background:rgba(var(--accent-rgb),.085);border-color:rgba(var(--accent-rgb),.22);color:#f0f0f2}.cs-content>.native-scrollbar{top:65px;bottom:0;right:0;background:#ffffff03}.cs-content>.native-scrollbar span{background:#a3a5aa55}.cs-themes-title{height:23px;font:10px LuxuryMenu;letter-spacing:1px;color:#6f747d}.cs .theme-grid{gap:7px;margin-bottom:16px}.cs .theme-button{height:48px;padding:7px 10px 7px 34px;border:1px solid #ffffff0e;border-radius:7px;font:12px LuxuryMenu;background:#ffffff02;box-shadow:none}.cs .theme-button.active{background:rgba(var(--accent-rgb),.05);border-color:rgba(var(--accent-rgb),.22)}.cs .theme-dot,.cs .theme-button.active .theme-dot{top:17px;left:12px;width:12px;height:12px}.theme-label small{font:9px LuxuryMenu;line-height:16px;color:#626975}.cs .theme-check{font-size:12px;color:var(--accent)}.cs-theme-boxes{gap:10px}.interface-box,.cs .theme-editor{padding:0 10px 10px;border:1px solid #ffffff10;border-radius:8px;box-shadow:none;background:#ffffff02}.box-head{height:36px;margin:0 0 9px;padding:0;font:13px LuxuryMenu;border-bottom:1px solid #ffffff0c;border-radius:0;background:none;color:#d4d5d9}.box-head>.glyph{width:15px;height:15px;color:#737983}.cs .color-well{height:88px}.cs .hue-bar{height:9px}.cs .theme-sliders{padding:0}.cs .theme-sliders .setting{height:36px}.cs .theme-editor .theme-save{margin-bottom:0}
.workbench{font-family:LuxuryMenu;border-color:#ffffff18;background:#121315e8;box-shadow:0 8px 30px #0005}.segmented button{font-family:LuxuryMenu}.segmented button.selected{color:rgb(var(--accent-ink));background:rgba(var(--accent-rgb),.065)}.icon-button{color:#969ba3}.icon-button:hover{background:#ffffff06;color:rgb(var(--accent-ink))}.icon-button>.glyph{width:15px;height:15px}#author-tools{color:#969ba3;background:#111215;border-color:#ffffff12}#editor{background:#121215f5;border-color:#ffffff23;font-family:LuxuryMenu}#editor p{color:#737983}.editor-range>output{color:var(--accent)}#toast,#tooltip{background:#121215f5;border-color:#ffffff23;font-family:LuxuryMenu}button:focus-visible,input:focus-visible{outline:1px solid #dfe0e6;outline-offset:2px}@media(prefers-reduced-motion:reduce){.module-head,.module-head:after,.panel-head>.glyph{transition:none}}
body:hover #cursor-light{opacity:.3}.cs .inline-picker .color-well{height:78px}.cs .inline-picker .hue-bar{height:9px}

/* CSGUI: a quiet inset rail, themed glass cards and no dashboard counters. */
.cs-window{border-radius:20px;isolation:isolate}
.cs-window:before{content:'';position:absolute;inset:1px;z-index:-1;border-radius:19px;pointer-events:none;background:radial-gradient(ellipse at 100% 0,rgba(var(--accent-rgb),.055),transparent 58%)}
.cs-topbar{height:78px;padding-left:27px;gap:12px}
.cs-topbar-strip{height:78px;border-radius:20px 20px 0 0;border-bottom-color:#ffffff09}
.logo-tile{height:32px;width:32px;border-radius:10px;background:linear-gradient(145deg,rgba(var(--accent-rgb),.11),#ffffff02);border-color:rgba(var(--accent-rgb),.22);color:rgb(var(--accent-ink))}
.cs-brand strong{font-size:17px;letter-spacing:1px}
.cs-topbar .search{right:72px;top:21px;width:245px;height:36px;border-radius:10px}
.cs-topbar .search:focus-within{width:270px}
.cs-topbar .cs-close{position:absolute;right:25px;top:24px;display:grid;width:30px;height:30px;border:1px solid #ffffff0a;border-radius:9px;background:#ffffff02}
.cs-topbar .cs-close:hover{color:#ffa3a3;border-color:#ff727230;background:#ff72720c}
.cs-main{inset:95px 25px 24px;gap:24px}
.cs-sidebar{width:166px;border:1px solid #ffffff09;border-radius:14px;background:linear-gradient(160deg,#ffffff03,#ffffff00);padding:9px 7px 7px;gap:0}
.category-list{display:flex;flex-direction:column;gap:7px}
.category-tab{width:150px;min-height:47px;height:47px;border-radius:9px;padding:0 12px;gap:12px;color:#858b96;transition:background .25s,border-color .25s,color .25s,transform .35s var(--motion)}
.category-tab:hover{transform:translateX(2px);background:#ffffff04;color:#d4d6dc;border-color:#ffffff0c}
.category-tab .cat-icon{height:23px;width:23px}
.category-tab .cat-icon>.glyph{height:18px;width:18px;transition:color .25s,transform .35s var(--motion)}
.category-tab.selected{background:linear-gradient(110deg,rgba(var(--accent-rgb),.14),rgba(var(--accent-rgb),.035));border-color:rgba(var(--accent-rgb),.2);color:rgb(var(--accent-ink));box-shadow:inset 0 1px #ffffff05}
.category-tab.selected:after{content:'';position:absolute;right:9px;width:3px;height:3px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px rgba(var(--accent-rgb),.35)}
.category-tab.selected .cat-icon>.glyph{color:var(--accent)}





.cs-content-head{height:65px;min-height:65px;gap:12px;align-items:center;padding-bottom:13px}
.cs-content-head>.cat-icon{display:grid;width:36px;height:36px;margin:0;border:1px solid rgba(var(--accent-rgb),.17);border-radius:11px;background:linear-gradient(145deg,rgba(var(--accent-rgb),.09),#ffffff01);box-shadow:inset 0 1px #ffffff05}
.cs-content-head>.cat-icon>.glyph{width:19px;height:19px;color:var(--accent)}
.cs-content-title{padding:0}.cs-content-title strong{font-size:23px;line-height:32px;height:32px;letter-spacing:-.5px}
.filters{top:12px;height:28px;border-radius:8px;padding:3px;background:#ffffff02;border-color:#ffffff09}
.filters button{height:20px;padding:0 10px;border-radius:5px;font-size:10px;transition:background .2s,color .2s}
.filters button.active{background:rgba(var(--accent-rgb),.1);color:rgb(var(--accent-ink));box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.16)}
.cs-scroll{margin-top:0;padding:1px 5px 10px 1px;scroll-behavior:smooth;overflow-anchor:none}
.card-grid,.card-column{gap:12px}
.cs .module{border-radius:12px;border-color:#ffffff0d;background:linear-gradient(125deg,#ffffff04,#ffffff00);box-shadow:inset 0 1px #ffffff03;transition:background .25s,border-color .25s,box-shadow .25s}
.cs .module:hover{border-color:#ffffff23;background:linear-gradient(125deg,#ffffff08,#ffffff02);box-shadow:inset 0 1px #ffffff07,0 5px 16px #0000000c}
.cs .module.enabled{border-color:rgba(var(--accent-rgb),.24);background:linear-gradient(115deg,rgba(var(--accent-rgb),.095),rgba(var(--accent-rgb),.018));box-shadow:inset 0 1px rgba(var(--accent-rgb),.07)}
.cs .module.expanded{border-color:rgba(var(--accent-rgb),.25)}
.cs .module-head{height:76px;border-radius:11px}


.cs .module-toggle{padding:0 10px;font-size:13px;line-height:22px}
.cs .module-name{letter-spacing:-.12px}
.cs .module-desc{font-size:10px;line-height:16px;color:#646e7c;max-width:100%}
.cs .module-head>.expand{height:25px;width:25px;margin-right:6px;border:1px solid transparent;border-radius:7px;color:#5f6875;transition:background .2s,color .2s,border-color .2s}
.cs .module-head>.expand>.glyph{width:14px;height:14px;transition:transform .35s var(--motion)}
.cs .module-head>.expand:hover,.cs .module.expanded>.module-head>.expand{color:var(--accent);background:rgba(var(--accent-rgb),.07);border-color:rgba(var(--accent-rgb),.12)}
.cs .module.expanded>.module-head>.expand>.glyph{transform:rotate(180deg)}
.cs .module-head>.switch{margin-right:13px}
.cs .module-settings{margin:0 11px 9px;padding:10px 0 2px;background:linear-gradient(180deg,rgba(var(--accent-rgb),.016),transparent 70%);border-top:1px solid rgba(var(--accent-rgb),.1);border-radius:0 0 8px 8px}
.cs-content>.native-scrollbar{top:65px;background:transparent}
.native-scrollbar span,.cs-content>.native-scrollbar span{background:rgba(var(--accent-rgb),.38)}
.cs .theme-grid{gap:9px}.cs .theme-button{height:53px;border-radius:10px}
.cs .theme-button.active{background:rgba(var(--accent-rgb),.075);border-color:rgba(var(--accent-rgb),.28)}
.cs .theme-dot,.cs .theme-button.active .theme-dot{top:19px}
.cs .theme-check{color:var(--accent)}
.cs .theme-editor,.interface-box{border-radius:12px}

/* All interactive controls share the selected client theme. */
.panel-head:hover>.glyph,.expand:hover,.setting output,.editor-range>output{color:rgb(var(--accent-ink))}
.module.enabled>.module-head{border-color:rgba(var(--accent-rgb),.24);background:linear-gradient(110deg,rgba(var(--accent-rgb),.1),rgba(var(--accent-rgb),.025))}
.cs .module.enabled>.module-head{border:0;background:none}
.cs .pill.active,.pill.active{background:rgba(var(--accent-rgb),.12);border-color:rgba(var(--accent-rgb),.32);color:rgb(var(--accent-ink));box-shadow:inset 0 1px rgba(var(--accent-rgb),.04)}
.switch{--thumb-distance:12px;transition:background .22s,border-color .22s,box-shadow .22s}
.switch:after{left:2px!important;transform:translateX(0);transition:transform .28s var(--motion),background .22s}
.switch[aria-checked=true]{background:rgba(var(--accent-rgb),.8);border-color:rgba(var(--accent-rgb),.3);box-shadow:0 0 9px rgba(var(--accent-rgb),.065)}
.switch[aria-checked=true]:after{transform:translateX(var(--thumb-distance));background:#f4f5f8}
.cs .module-head>.switch{--thumb-distance:11px}.cs .setting .switch{--thumb-distance:11px}
.switch.switched-on:after{animation:thumb-on .3s var(--motion)}.switch.switched-off:after{animation:thumb-off .3s var(--motion)}
.pill,.key-button,.theme-button,.theme-save,.icon-button{transition:color .2s,background .2s,border-color .2s,transform .25s var(--motion)}
.theme-button:active,.theme-save:active,.key-button:active,.pill:active,.icon-button:active{transform:scale(.96)}
.module-toggle:active{opacity:.75}.category-tab:active{transform:translateX(2px) scale(.98)}
input[type=range]{background:linear-gradient(to right,var(--accent) var(--value,50%),#292c33 var(--value,50%))}
input[type=range]::-webkit-slider-thumb{background:rgb(var(--accent-ink));transition:width .15s,height .15s,box-shadow .15s}
input[type=range]:hover::-webkit-slider-thumb{box-shadow:0 0 10px rgba(var(--accent-rgb),.3)}
.text-input:focus,.search:focus-within{border-color:rgba(var(--accent-rgb),.32)}
.theme-button.active .theme-label{color:rgb(var(--accent-ink))}
.native-mode-switch button.selected{color:rgb(var(--accent-ink));background:rgba(var(--accent-rgb),.08);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.17)}
.multi-popup{animation:popup-in .2s var(--motion)}.multi-popup .check{color:var(--accent)}
.inline-picker{animation:popup-in .25s var(--motion)}
button:focus-visible,input:focus-visible{outline-color:var(--accent)}
.search input:focus-visible{outline:none}
@keyframes thumb-on{from{transform:translateX(0)}to{transform:translateX(var(--thumb-distance))}}
@keyframes thumb-off{from{transform:translateX(var(--thumb-distance))}to{transform:translateX(0)}}
@keyframes popup-in{from{opacity:0;translate:0 -4px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact CSGUI revision: cards on the left, a stable inspector on the right. */
.cs-main{gap:20px}.cs-sidebar{width:146px;padding:8px 6px 7px}
.category-list{gap:5px}.category-tab{width:132px;height:43px;min-height:43px;padding:0 9px;gap:10px;font-size:12px}
.category-tab .cat-icon{width:20px;height:20px}.category-tab .cat-icon>.glyph{width:17px;height:17px}
.category-tab.selected:after{right:7px}
.user-profile{display:flex;align-items:center;gap:9px;margin-top:auto;padding:15px 5px 6px;border-top:1px solid #ffffff09;min-height:53px}
.user-avatar{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center;border:1px solid rgba(var(--accent-rgb),.18);border-radius:9px;background:linear-gradient(140deg,rgba(var(--accent-rgb),.07),#ffffff02);color:rgb(var(--accent-ink))}
.user-avatar>.glyph{height:17px;width:17px}.user-profile strong{font:12px LuxuryMenu;overflow:hidden;text-overflow:ellipsis;color:#daddE3}
.user-status{height:4px;width:4px;margin-left:auto;border-radius:50%;background:var(--accent);opacity:.7;flex-shrink:0}
.cs-content.has-inspector{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:stretch}
.cs-library{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}
.cs-list-toolbar{display:flex;align-items:center;min-height:35px;margin-bottom:9px}
.cs-list-toolbar .filters{position:static;height:27px;gap:3px;background:#ffffff01}
.cs-list-toolbar .filters button{height:19px;padding:0 10px}
.cs-library>.native-scrollbar{top:45px;right:-3px;bottom:10px;background:none}
.cs-content:not(.has-inspector)>.native-scrollbar{top:0}
.cs .card-grid,.cs .card-column{gap:9px}
.cs .module{border-radius:10px}
.cs .module-head{height:85px;border-radius:9px;display:block}
.cs .module-toggle{position:absolute;inset:0;padding:10px 11px 11px;font-size:12px;line-height:20px;text-align:left;display:flex;flex-direction:column;justify-content:flex-start;white-space:normal}
.cs .module-name{padding-right:52px;max-width:100%;flex-shrink:0;line-height:21px}
.cs .module-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;line-height:14px;font-size:10px;color:#7e8794;margin-top:5px;text-overflow:ellipsis}
.cs .module-head>.expand{position:absolute;right:39px;top:9px;width:23px;height:23px;margin:0;border-radius:6px}
.cs .module-head>.expand>.glyph{width:13px;height:13px}
.cs .module-head>.switch{position:absolute;right:10px;top:14px;margin:0;width:24px;height:13px;--thumb-distance:10px}
.cs .module-head>.switch:after{width:7px;height:7px;top:2px}
.cs .module-head>.bind-chip{display:none}
.cs .module.expanded{background:linear-gradient(115deg,rgba(var(--accent-rgb),.065),rgba(var(--accent-rgb),.012));border-color:rgba(var(--accent-rgb),.3);box-shadow:inset 0 1px rgba(var(--accent-rgb),.06)}
.cs .module.enabled .module-name{color:rgb(var(--accent-ink))}
.module-inspector{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid #ffffff0c;border-radius:12px;background:linear-gradient(150deg,#ffffff04,#ffffff00 70%);overflow:hidden}
.inspector-head{padding:16px 15px 13px;border-bottom:1px solid #ffffff09;flex-shrink:0;background:linear-gradient(110deg,rgba(var(--accent-rgb),.035),transparent)}
.inspector-head strong{display:block;font:600 15px LuxuryMenu;line-height:22px;letter-spacing:-.2px;color:#e4e7ec}
.inspector-head p{font:10px LuxuryMenu;line-height:15px;color:#7e8794;margin:6px 0 0}
.inspector-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:none;padding:8px 9px 12px;overflow-anchor:none}
.module-inspector>.native-scrollbar{top:100px;right:2px;bottom:12px;background:none}
.inspector-binding{border-bottom:1px solid #ffffff08;margin:0 3px 8px;padding:0 3px 9px;height:35px!important;color:#8b929e;font-size:11px}
.inspector-scroll .setting{font-size:11px;margin-bottom:7px}
.inspector-scroll .setting-name{min-width:0;white-space:normal;line-height:15px}
.inspector-scroll .setting-line{min-height:28px;height:auto;padding-top:3px;padding-bottom:3px}
.inspector-scroll .setting[data-kind=number]>.setting-line{height:18px;min-height:18px;padding:0}
.inspector-scroll .setting[data-kind=number]{height:40px}
.inspector-scroll .setting[data-kind=mode]>.setting-line{height:26px;min-height:26px}
.inspector-scroll .pill{font-size:10px;height:25px;padding:0 8px}
.inspector-scroll .pills{gap:5px}
.inspector-scroll .empty{padding:8px 5px;color:#737d89;font-size:11px}

/* Close the inspector to expand the library from two to three columns. */
.cs-content.has-library{display:grid;grid-template-columns:minmax(0,1fr);gap:0;overflow:clip}
.cs-content.has-library.has-inspector{grid-template-columns:minmax(0,1fr) 280px;gap:16px}
.cs .card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:9px}
.cs .has-inspector .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cs .module,.module-inspector{transform-origin:top left}
.inspector-head{position:relative}.inspector-head strong{padding-right:25px}
.inspector-close{position:absolute;right:10px;top:12px;width:25px;height:25px;border:1px solid #ffffff0a;border-radius:7px;background:#ffffff02}
.inspector-close:hover{background:rgba(var(--accent-rgb),.08);border-color:rgba(var(--accent-rgb),.18);color:rgb(var(--accent-ink))}
.inspector-close>.glyph{width:13px;height:13px}
.inspector-exit{will-change:opacity,transform}

/* One clipping plane for every Dropdown panel, including panels moved down. */
.dropdown .panel{display:flex;flex-direction:column;height:var(--panel-total-height);overflow:hidden}
.dropdown .panel-head{flex-shrink:0}
.dropdown .panel-content{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
.dropdown .panel.collapsed{height:48px}
.dropdown .panel.collapsed .panel-content{display:none}

.category-tab.selected:after{content:none}
.module-inspector{margin-top:45px}
.user-avatar{position:relative;overflow:hidden;font:600 13px LuxuryMenu}
.user-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.user-profile strong{min-width:0;flex:1}

/* Compact multiselect, using the same outlined controls as the main menu. */
.multi-popup{width:208px;padding:5px;border:1px solid #ffffff1c;border-radius:9px;transform-origin:top left;background:linear-gradient(145deg,#18191bf5,#101113fa);box-shadow:0 12px 36px #0006,inset 0 1px #ffffff04;backdrop-filter:blur(14px);scrollbar-width:thin;scrollbar-color:rgba(var(--accent-rgb),.3) transparent;overscroll-behavior:contain}
.multi-popup button{align-items:center;gap:8px;min-height:26px;height:auto;margin:1px 0;padding:5px 7px;border:1px solid transparent;border-radius:5px;font:11px LuxuryMenu;line-height:15px;color:#b5bac3;transition:background .15s,border-color .15s,color .15s}
.multi-popup button>span:first-child{min-width:0;flex:1}
.multi-popup button:hover{background:#ffffff07;border-color:#ffffff0e;color:#eef0f4}
.multi-popup button[aria-checked=true]{background:rgba(var(--accent-rgb),.065);border-color:rgba(var(--accent-rgb),.12);color:rgb(var(--accent-ink))}
.multi-popup .check{display:grid;place-items:center;width:11px;height:11px;flex-shrink:0;border:1px solid #ffffff20;border-radius:3px;color:rgb(var(--accent-ink));background:#ffffff03}
.multi-popup .check>.glyph{width:8px;height:8px;stroke-width:2.2;opacity:0;transform:scale(.65);transition:transform .18s var(--motion),opacity .15s}
.multi-popup button[aria-checked=true] .check{border-color:rgba(var(--accent-rgb),.45);background:rgba(var(--accent-rgb),.2)}
.multi-popup button[aria-checked=true] .check>.glyph{opacity:1;transform:scale(1)}
.panel-head,.cs-topbar{cursor:default;touch-action:auto}
