*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,sans-serif}[hidden]{display:none!important}.skip-link{z-index:10000;background:var(--accent);color:#fff;opacity:0;pointer-events:none;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:2px solid #8b5cf68c;border-radius:999px;width:1px;height:1px;padding:10px 22px;font-size:.92rem;font-weight:700;text-decoration:none;transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s;position:fixed;top:14px;left:50%;overflow:hidden;transform:translate(-50%,-150%);box-shadow:0 8px 24px #6c63ff66,0 2px 8px #00000026}.skip-link:focus-visible{opacity:1;pointer-events:auto;clip:auto;clip-path:none;white-space:normal;outline-offset:3px;outline:3px solid #6c63ff99;width:auto;height:auto;overflow:visible;transform:translate(-50%)}html{scroll-behavior:smooth;scrollbar-gutter:stable}:root{--brand-token:#faf8d4;--bg:#0b0914;--bg2:#120e24;--card:#faf8d4;--card-solid:#faf8d4;--card-hover:#f5f2be;--text:#fff;--text-primary:#fff;--text-secondary:#f1f0fb;--muted:#cbd5e1;--accent:#8b5cf6;--accent2:#7c3aed;--accent-glow:#8b5cf659;--gold:#fef08a;--gold-hover:#fde047;--gold-glow:#fef08a4d;--border:#8b5cf638;--border-hover:#8b5cf66b;--shadow:0 4px 24px #00000073}body{min-height:100vh;color:var(--text);background-color:var(--bg);background-image:radial-gradient(circle at 10% 20%,#8b5cf624 0%,#0000 45%),radial-gradient(circle at 90% 80%,#fef08a0d 0%,#0000 45%),radial-gradient(circle,#7c3aed14 0%,#0000 60%);background-attachment:fixed}.container{width:min(95%,1500px);margin:auto;padding:35px 0}.dashboard{grid-template-columns:280px 1fr;gap:35px;min-width:0;min-height:calc(100vh - 70px);display:grid}.content{flex-direction:column;gap:30px;width:100%;min-width:0;display:flex}.content>*{min-width:0}.page-header{background:var(--card);backdrop-filter:blur(16px);overflow-wrap:anywhere;color:#0f172a;border:1px solid #faf8d499;border-radius:clamp(20px,2.2vw,24px);padding:clamp(22px,3vw,35px);box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426}.page-header h1{overflow-wrap:anywhere;color:#0f172a;margin-bottom:10px;font-size:clamp(1.75rem,3vw,2.2rem);line-height:1.15}.page-header p{color:#334155;overflow-wrap:anywhere;max-width:85ch;line-height:1.7}.page-header p strong{color:#0f172a}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.stat-card{background:var(--card);backdrop-filter:blur(16px);overflow-wrap:anywhere;color:#0f172a;border:1px solid #faf8d499;border-radius:clamp(18px,2vw,22px);min-width:0;padding:clamp(18px,2vw,28px);transition:transform .25s,box-shadow .25s,border-color .25s;box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426}.stat-card:hover{border-color:#faf8d4;transform:translateY(-4px);box-shadow:0 14px 32px #00000073,0 0 28px #faf8d459}.stat-card .title{color:#475569;margin-bottom:12px;font-size:.95rem;font-weight:700}.stat-card h2{overflow-wrap:anywhere;color:#0f172a;margin-bottom:8px;font-size:clamp(1.55rem,2.2vw,2rem);line-height:1.15}.stat-card-name h2{font-size:clamp(1.1rem,1.6vw,1.45rem);line-height:1.3}.stat-card small{color:#6c63ff;font-weight:700}.actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px;display:grid}.action-card{background:var(--card);color:#0f172a;backdrop-filter:blur(16px);overflow-wrap:anywhere;border:1px solid #faf8d499;border-radius:clamp(18px,2vw,22px);min-width:0;padding:clamp(20px,2.2vw,30px);text-decoration:none;transition:transform .25s,box-shadow .25s,border-color .25s;box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426}.action-card:hover{border-color:#faf8d4;transform:translateY(-4px);box-shadow:0 14px 32px #00000073,0 0 28px #faf8d459}.action-icon{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent2));border-radius:18px;justify-content:center;align-items:center;width:70px;height:70px;margin-bottom:20px;font-size:2rem;display:flex}.action-card h3{overflow-wrap:anywhere;color:#0f172a;margin-bottom:12px;font-size:1.2rem}.action-card p{color:#334155;overflow-wrap:anywhere;line-height:1.7}.activity{background:var(--card);backdrop-filter:blur(16px);color:#0f172a;border:1px solid #faf8d499;border-radius:clamp(18px,2vw,24px);min-width:0;overflow:hidden;box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426}.activity-header{border-bottom:1px solid #0f172a14;padding:clamp(18px,2.4vw,25px) clamp(18px,2.8vw,30px)}.activity-header h2{overflow-wrap:anywhere;color:#0f172a;font-size:clamp(1.2rem,2vw,1.4rem)}.activity-list{flex-direction:column;display:flex}.activity-item{justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:clamp(16px,2.2vw,22px) clamp(18px,2.8vw,30px);transition:all .2s;display:flex}.activity-item:hover{background:#6c63ff0f}.activity-item:not(:last-child){border-bottom:1px solid #0f172a14}.activity-left{align-items:center;gap:clamp(12px,2vw,18px);min-width:0;display:flex}.activity-text{min-width:0}.activity-text h4,.activity-text p{overflow-wrap:anywhere}.activity-icon{color:#fff;background:linear-gradient(135deg, var(--accent), var(--accent2));border-radius:50%;flex:none;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.3rem;display:flex}.activity-text h4{color:#0f172a;margin-bottom:4px}.activity-text p{color:#334155;font-size:.92rem}.activity-time{color:#64748b;white-space:nowrap;flex:none;font-size:.9rem;font-weight:600}.section-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 18px;min-width:0;margin-bottom:20px;display:flex}.section-title h2{overflow-wrap:anywhere;color:#0f172a;font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.2}.section-title span{color:#475569;overflow-wrap:anywhere;min-width:0}@media (width<=1280px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1050px){.dashboard{grid-template-columns:1fr;min-height:0}}@media (width<=900px){.stats{gap:14px}.actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}}@media (width<=700px){.container{width:95%}.page-header h1{font-size:1.75rem}.activity-item{flex-direction:column;align-items:flex-start;gap:8px}.activity-time{white-space:normal}.field input[type=text],.field input[type=number],.field select,.permission-filter-bar input,.permission-filter-bar select{font-size:1rem}.field select[multiple]{min-height:120px}}@media (width<=500px){.stats{gap:12px}.overview-stats .stat-card-name{grid-column:1/-1}.overview-stats .stat-card-name h2{font-size:1.18rem;line-height:1.3}.stat-card{padding:16px}.stat-card .title{margin-bottom:6px;font-size:.82rem}.stat-card h2{font-size:1.45rem}.stat-card small{font-size:.78rem}.action-card{padding:18px}.actions{grid-template-columns:1fr;gap:10px}.action-card{grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;padding:14px;display:grid}.action-card .action-icon{border-radius:14px;grid-row:1/span 2;width:48px;height:48px;margin:0;font-size:1.35rem}.action-card h3{grid-column:2;margin:0 0 3px;font-size:1rem;line-height:1.25}.action-card p{grid-column:2;margin:0;font-size:.84rem;line-height:1.4}.action-icon{width:56px;height:56px;margin-bottom:14px;font-size:1.6rem}.section-title{margin-bottom:16px}}@media (width<=360px){.stats{grid-template-columns:1fr}}code{color:#0f172a;overflow-wrap:anywhere;background:#6c63ff1f;border:1px solid #6c63ff40;border-radius:6px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;font-weight:700}.module-kicker{color:#4338ca;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.78rem;font-weight:800}.notice{overflow-wrap:anywhere;color:#0f172a;background:#faf8d4;border:1px solid #faf8d499;border-radius:18px;padding:clamp(14px,2.2vw,18px) clamp(16px,2.6vw,22px);font-weight:600;line-height:1.55;box-shadow:0 10px 24px #0003}.notice.success{color:#065f46;background:#10b9812e;border-color:#10b98173}.notice.error{color:#991b1b;background:#ef444429;border-color:#ef444473}.notice.warn{color:#854d0e;background:#eab30838;border-color:#eab30880}.notice.info{color:#312e81;background:#6c63ff24;border-color:#6c63ff59}.settings-card{background:var(--card);backdrop-filter:blur(16px);overflow-wrap:anywhere;color:#0f172a;border:1px solid #faf8d499;border-radius:clamp(18px,2.2vw,24px);min-width:0;padding:clamp(20px,2.6vw,30px);box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426}.settings-card h2,.settings-card h3{color:#0f172a}.settings-card .module-section-copy{color:#334155}.settings-card .section-title h2{color:#0f172a}.settings-card .section-title span{color:#475569}.settings-card .field label{color:#0f172a;font-weight:700}.settings-card .field .hint{color:#475569}.settings-card .field input[type=text],.settings-card .field input[type=number],.settings-card .field select{color:#0f172a;background:#fff;border:1px solid #0f172a2e}.settings-card .field input::placeholder,.settings-card .field textarea::placeholder{color:#64748b}.settings-card .custom-select-trigger{color:#0f172a;background:#fff;border:1px solid #0f172a2e}.settings-card .check-row{color:#0f172a;background:#ffffffb3;border:1px solid #0f172a1f}.settings-card .check-row span small{color:#475569}.settings-card .permission-current-block{color:#0f172a;background:#ffffffb3;border:1px solid #0f172a1f}.settings-card .permission-current-label{color:#475569}.settings-card .permission-current{color:#0f172a}.settings-card .permission-picker-summary{color:#0f172a;background:#fff;border:1px solid #0f172a2e}.settings-card .permission-order{color:#334155}.settings-card .permission-order strong{color:#0f172a}.settings-card form{margin:0}.section-title.spaced{margin-top:32px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px;display:grid}.spaced-top{margin-top:22px}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field label{color:#0f172a;font-size:.95rem;font-weight:700}.field input[type=text],.field input[type=number],.field select{color:#0f172a;background:#fff;border:1px solid #0f172a2e;border-radius:12px;outline:none;width:100%;min-width:0;min-height:46px;padding:12px 14px;font-family:inherit;font-size:.95rem;transition:border-color .2s,box-shadow .2s}.field input::placeholder,.field textarea::placeholder{color:#64748b;opacity:1}.field select[multiple]{min-height:150px;padding:10px}.field input:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #6c63ff33}.custom-select{width:100%;min-width:0;position:relative}.custom-select.is-open{z-index:80}select.custom-select-native{opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;border:0!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;position:absolute!important;overflow:hidden!important}.custom-select-trigger{color:#0f172a;text-align:left;cursor:pointer;background:#fff;border:1px solid #0f172a2e;border-radius:12px;outline:none;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:46px;padding:11px 14px;font-family:inherit;font-size:.95rem;line-height:1.3;transition:border-color .2s,box-shadow .2s;display:flex}.custom-select-trigger:hover{border-color:#6c63ff73}.custom-select-trigger:focus-visible,.custom-select-trigger[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px #6c63ff26}.custom-select-trigger:disabled{cursor:not-allowed;opacity:.6}.custom-select-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select-chevron{border-bottom:2px solid;border-right:2px solid;flex:none;width:8px;height:8px;transition:transform .2s;transform:rotate(45deg)translateY(-1px)}.custom-select-trigger[aria-expanded=true] .custom-select-chevron{transform:rotate(225deg)translate(-1px)}.custom-select-list{z-index:100;background:#120e24;border:1px solid #8b5cf64d;border-radius:12px;width:100%;max-height:min(280px,50vh);margin:0;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;overflow-y:auto;box-shadow:0 16px 40px #0009}.custom-select.is-open-above .custom-select-list{top:auto;bottom:calc(100% + 6px);box-shadow:0 -16px 40px #231b5029}.custom-select-option{min-height:44px;color:var(--text);cursor:pointer;user-select:none;border-radius:8px;justify-content:space-between;align-items:center;padding:9px 12px;font-size:.9rem;transition:background-color .15s,color .15s;display:flex}.custom-select-option:hover,.custom-select-option.is-active{color:var(--gold);background:#8b5cf633}.custom-select-option[aria-selected=true]{color:var(--gold);background:#8b5cf647;font-weight:700}@media (width<=700px){.custom-select-trigger{font-size:1rem}.custom-select-list{max-height:min(44vh,280px)}.btn-sm{min-height:44px}}.hint{color:#475569;overflow-wrap:anywhere;font-size:.85rem;line-height:1.5}.check-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;min-width:0;display:grid}.check-row{color:#0f172a;overflow-wrap:anywhere;cursor:pointer;background:#ffffffb3;border:1px solid #0f172a1f;border-radius:12px;align-items:flex-start;gap:10px;min-width:0;min-height:44px;padding:12px 14px;font-weight:600;transition:background .2s,border-color .2s;display:flex}.check-row:hover{background:#fffffff2;border-color:#6c63ff59}.check-row input{accent-color:#6c63ff;flex:none;width:18px;height:18px;margin-top:3px}.check-row span{color:#0f172a;flex-direction:column;gap:2px;min-width:0;display:flex}.check-row small{color:#475569;overflow-wrap:anywhere;margin-top:2px;font-size:.82rem;font-weight:500;line-height:1.45;display:block}.toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;min-width:0;margin-top:24px;display:flex}.toolbar form{margin:0}.btn{appearance:none;cursor:pointer;text-align:center;overflow-wrap:anywhere;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:11px 20px;font-family:inherit;font-size:.92rem;font-weight:700;line-height:1.2;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.btn-sm{border-radius:10px;min-height:38px;padding:8px 13px;font-size:.82rem}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;box-shadow:0 4px 16px #8b5cf659}.btn-secondary{color:#4338ca;background:#6c63ff1f;border:1px solid #6c63ff47}.btn-secondary:hover:not(:disabled){color:#312e81;background:#6c63ff33}.btn-danger{color:#b91c1c;background:#ef444424;border:1px solid #ef444459}.btn:hover:not(:disabled){transform:translateY(-2px)}.badge{letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:4px 10px;font-size:.7rem;font-weight:800;line-height:1.25;display:inline-flex}.badge-on{color:#047857;background:#10b9812e;border:1px solid #10b98166}.badge-off{color:#b91c1c;background:#ef444429;border:1px solid #ef444466}.badge-slash{color:#4338ca;background:#6c63ff24;border:1px solid #6c63ff59}.badge-prefix{color:#1e293b;background:#0f172a14;border:1px solid #0f172a33}.badge-blocked{color:#b91c1c;background:#ef444429;border:1px solid #ef444466}.badge-custom{color:#4338ca;background:#6c63ff24;border:1px solid #6c63ff59}.command-list{flex-direction:column;min-width:0;display:flex}.command-row{color:#0f172a;border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;gap:18px;min-width:0;padding:16px 0;display:flex}.command-row:last-child{border-bottom:none}.command-info{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.command-aliases{color:#4338ca;white-space:nowrap;text-overflow:ellipsis;background:#6c63ff1f;border:1px solid #6c63ff40;border-radius:6px;max-width:100%;padding:1px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;font-weight:700;overflow:hidden}.command-info code{color:#0f172a;font-weight:700}.command-info p{color:#334155;flex-basis:100%;margin:0;font-size:.9rem}.command-row form{flex-shrink:0;margin:0}.auto-list{flex-direction:column;gap:14px;min-width:0;display:flex}.auto-item{color:#0f172a;backdrop-filter:blur(16px);overflow-wrap:anywhere;background:#ffffffb3;border:1px solid #0f172a1f;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:18px;min-width:0;padding:clamp(14px,2vw,18px);display:flex}.auto-text{min-width:0}.auto-text strong{color:#0f172a;margin-bottom:6px;display:block}.auto-text p{color:#334155;overflow-wrap:anywhere;margin-bottom:10px;line-height:1.55}.auto-actions{flex-wrap:wrap;flex-shrink:0;gap:10px;min-width:0;display:flex}.auto-actions form{margin:0}.empty-state{color:#475569;text-align:center;overflow-wrap:anywhere;background:#ffffffb3;border:1px dashed #6c63ff59;border-radius:16px;padding:clamp(18px,3vw,26px)}.text-link{color:#4338ca;font-weight:700;text-decoration:none}.text-link:hover{color:#312e81;text-decoration:underline}@media (width<=700px){.settings-card{padding:24px}.form-grid{grid-template-columns:1fr}.command-row,.auto-item{flex-direction:column;align-items:flex-start}.auto-actions,.auto-actions form,.auto-actions .btn,.command-row form,.command-row .btn{width:100%}.toolbar{justify-content:stretch}.toolbar .btn,.toolbar form,.toolbar form .btn{width:100%}}.card,.stat-card,.action-card,.page-header,.activity,.settings-card,.global-settings-card,.module-overview,.module-card,.notice,.stat-card h1,.stat-card h2,.stat-card h3,.stat-card h4,.action-card h1,.action-card h2,.action-card h3,.action-card h4,.page-header h1,.page-header h2,.page-header h3,.page-header h4,.activity h1,.activity h2,.activity h3,.activity h4,.settings-card h1,.settings-card h2,.settings-card h3,.settings-card h4,.global-settings-card h1,.global-settings-card h2,.global-settings-card h3,.global-settings-card h4,.module-card h1,.module-card h2,.module-card h3,.module-card h4{color:#0f172a}.stat-card p,.action-card p,.page-header p,.activity p,.settings-card p,.global-settings-card p,.module-overview p,.module-card p,.module-section-copy{color:#334155}.stat-card strong,.action-card strong,.page-header strong,.activity strong,.settings-card strong,.global-settings-card strong,.module-card strong{color:#0f172a}.stat-card small,.action-card small,.page-header small,.activity small,.settings-card small,.global-settings-card small,.module-card small{color:#475569}.stat-card a:not(.btn),.action-card a:not(.btn),.page-header a:not(.btn),.activity a:not(.btn),.settings-card a:not(.btn),.global-settings-card a:not(.btn),.module-overview a:not(.btn),.module-card a:not(.btn),.text-link{color:#4338ca}.stat-card a:not(.btn):hover,.action-card a:not(.btn):hover,.page-header a:not(.btn):hover,.activity a:not(.btn):hover,.settings-card a:not(.btn):hover,.global-settings-card a:not(.btn):hover,.module-overview a:not(.btn):hover,.module-card a:not(.btn):hover,.text-link:hover{color:#312e81}.settings-card li,.stat-card li,.action-card li,.page-header li,.activity li,.global-settings-card li,.module-card li,.module-overview li,.custom-commands-callout li,.card li,details li{color:#334155}.settings-card li strong,.stat-card li strong,.action-card li strong,.page-header li strong,.activity li strong,.global-settings-card li strong,.module-card li strong,.custom-commands-callout li strong,.card li strong,details li strong{color:#0f172a;font-weight:700}.settings-card li small,.stat-card li small,.action-card li small,.page-header li small,.activity li small,.global-settings-card li small,.module-card li small,.card li small,details li small{color:#475569}.settings-card li code,.stat-card li code,.action-card li code,.page-header li code,.activity li code,.global-settings-card li code,.module-card li code,.card li code,details li code{color:#0f172a;background:#0f172a14;border-radius:4px;padding:2px 5px}.settings-card summary,.stat-card summary,.action-card summary,.global-settings-card summary,.module-card summary,.card summary,details>summary{color:#0f172a;font-weight:700}details[open]>summary{color:#0f172a}.custom-commands-callout{color:#0f172a!important;background:#faf8d4!important;border:1px solid #faf8d499!important;box-shadow:0 10px 24px #00000059,0 0 20px #faf8d426!important}.custom-commands-callout strong{color:#0f172a!important}.custom-commands-callout p{color:#334155!important}