:root{--bg:#121315;--rail:#0f1012;--surface:#1b1c1e;--surface-2:#232426;--surface-3:#2c2d30;--line:#ffffff0d;--line-strong:#ffffff14;--text:#fff;--muted:#8b8c8f;--faint:#56575b;--accent:#667bff;--accent-hover:#8293ff;--accent-soft:#667bff24;--accent-line:#667bff8c;--on-accent:#fff;--danger:#ef5b5b;--danger-soft:#ef5b5b24;--success:#6fd98c;--success-soft:#6fd98c1f;--warning:#f5a524;--warning-soft:#f5a52424;--radius-lg:1.5rem;--radius-md:1rem;--radius-sm:.75rem;--gap:1rem;--ease-out:cubic-bezier(.22,1,.36,1);--dur-fast:.14s;--dur:.22s;--t-ui:background-color var(--dur-fast)var(--ease-out),color var(--dur-fast)var(--ease-out),border-color var(--dur-fast)var(--ease-out),box-shadow var(--dur)var(--ease-out),opacity var(--dur)var(--ease-out);--font:"Gilroy",system-ui,-apple-system,"Segoe UI",sans-serif;--buncss-light: ;--buncss-dark:initial;color-scheme:dark}@font-face{font-family:Gilroy;src:url(/Gilroy-Medium-1rdty312.ttf)format(truetype);font-weight:500;font-display:swap}@font-face{font-family:Gilroy;src:url(/Gilroy-Bold-003w1mkm.ttf)format(truetype);font-weight:700;font-display:swap}*,*:before,*:after{box-sizing:border-box}html{font-size:clamp(15px,min(1.05vw,1.72vh),20px)}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow:hidden;font-size:1rem;font-weight:500;line-height:1.4}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}.splash{display:grid;text-align:center;place-content: center;justify-items:center;gap:.75rem;height:100%;padding:1.5rem}.splash__title{font-size:1.25rem;font-weight:700}.splash__text{color:var(--muted);max-width:24rem}.spinner{border:.1875rem solid var(--surface-3);border-top-color:var(--accent);animation:.8s linear infinite spin;border-radius:50%;width:1.75rem;height:1.75rem}.spinner--sm{border-width:.14rem;width:1rem;height:1rem}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(.5rem)}}.panel{border-radius:var(--radius-lg);min-width:0;padding:1.375rem}.panel--raised{background:var(--surface);border:1px solid var(--line)}.panel--inset{background:var(--surface-2);border-radius:var(--radius-md);border:1px solid var(--line);padding:1rem 1.25rem}.panel--success{background:var(--success-soft);color:var(--success);border-radius:var(--radius-md);display:flex;align-items: center;gap:.625rem;padding:.875rem 1.125rem;font-weight:700}.panel--danger{background:var(--danger-soft);color:var(--danger);border-radius:var(--radius-md);display:flex;align-items: center;gap:.625rem;padding:.875rem 1.125rem;font-weight:700}.panel--applying{background:var(--accent-soft);color:var(--accent-hover);border-radius:var(--radius-md);display:flex;align-items: center;gap:.625rem;padding:.875rem 1.125rem;font-weight:700}.panel__title{font-size:1.25rem;font-weight:700}.panel__text{color:var(--muted);font-size:.9rem}.button{display:inline-flex;border-radius:var(--radius-md);cursor:pointer;transition:var(--t-ui),transform .12s ease;border:0;justify-content:center;align-items: center;gap:.5rem;min-height:2.75rem;padding:0 1.25rem;font-weight:700}.button:disabled{opacity:.55;cursor:default}.button:not(:disabled):active{transform:scale(.97)}.button--sm{border-radius:var(--radius-sm);min-height:2.125rem;padding:0 .875rem;font-size:.85rem}.button--primary{background:var(--accent);color:var(--on-accent)}.button--primary:not(:disabled):hover{background:var(--accent-hover)}.button--success{background:var(--success);color:#0e1410}.button--danger{background:var(--danger);color:#fff}.button--secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--line-strong)}.button--secondary:not(:disabled):hover{background:var(--surface-3)}.button--ghost{color:var(--muted);background:0 0}.button--ghost:not(:disabled):hover{background:var(--surface-2);color:var(--text)}.icon-btn{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2);color:var(--muted);display:inline-grid;cursor:pointer;transition:var(--t-ui);flex:none;place-items: center;width:2.125rem;height:2.125rem}.icon-btn:hover{color:var(--text);background:var(--surface-3);border-color:var(--accent-line)}.field{display:grid;gap:.4rem}.field__label{color:var(--muted);font-size:.8125rem;font-weight:700}.field__input{border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface-2);color:var(--text);outline:none;transition:border-color var(--dur-fast)ease;width:100%;min-width:0;height:2.75rem;padding:0 .875rem;font-weight:500}.field__input:focus{border-color:var(--accent-line)}.field__input--area{resize:vertical;height:auto;min-height:5.5rem;padding:.75rem .875rem}.tabs{display:inline-flex;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--line);flex-wrap:wrap;gap:.25rem;padding:.25rem}.tabs__item{display:inline-flex;border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;transition:var(--t-ui);background:0 0;border:0;align-items: center;gap:.5rem;height:2.35rem;padding:0 1rem;font-weight:700}.tabs__item:hover{color:var(--text)}.tabs__item--active{background:var(--surface-3);color:var(--text)}.tabs__badge{display:inline-grid;background:var(--accent);color:var(--on-accent);border-radius:999px;place-items: center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;font-size:.75rem}.badge{display:inline-flex;background:var(--surface-3);color:var(--muted);border-radius:999px;align-items: center;gap:.35rem;height:1.5rem;padding:0 .625rem;font-size:.75rem;font-weight:700}.badge--accent{background:var(--accent-soft);color:var(--accent-hover)}.badge--success{background:var(--success-soft);color:var(--success)}.badge--danger{background:var(--danger-soft);color:var(--danger)}.badge--warning{background:var(--warning-soft);color:var(--warning)}.chips{display:flex;flex-wrap:wrap;gap:.5rem}.chip{display:inline-flex;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--muted);cursor:pointer;transition:var(--t-ui);align-items: center;gap:.4rem;padding:.5rem .875rem;font-size:.85rem;font-weight:700}.chip:hover{color:var(--text)}.chip--active{background:var(--accent-soft);border-color:var(--accent-line);color:var(--text)}.switch{position:relative;display:inline-flex;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);cursor:pointer;justify-content:space-between;align-items: center;gap:1rem;padding:.75rem 1rem}.switch__track{background:var(--surface-3);display:flex;transition:var(--t-ui);border-radius:999px;flex:none;align-items: center;width:2.75rem;height:1.5rem;padding:.1875rem}.switch__track--on{background:var(--accent);justify-content:flex-end}.switch__thumb{background:#fff;border-radius:50%;width:1.125rem;height:1.125rem}.shell{display:grid;grid-template-columns:8.25rem minmax(0,1fr);animation:fade var(--dur)var(--ease-out);height:100%}.rail{display:flex;background:var(--rail);border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:none;flex-direction:column;gap:.5rem;padding:1.25rem .75rem}.rail__item{display:grid;grid-template-columns:minmax(0,1fr);border-radius:var(--radius-md);background:var(--surface);color:var(--faint);cursor:pointer;transition:var(--t-ui);border:0;justify-items:center;gap:.3125rem;padding:.875rem .375rem .6875rem}.rail__item:hover{color:var(--muted)}.rail__item--active{color:var(--text);background:var(--surface-2)}.rail__icon{position:relative;display:inline-grid}.rail__badge{position:absolute;display:grid;border:.125rem solid var(--rail);background:var(--accent);color:var(--on-accent);border-radius:.5625rem;place-items: center;min-width:1.125rem;height:1.125rem;padding:0 .3125rem;font-size:.6875rem;font-weight:700;top:-.375rem;right:-.625rem}.rail__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.8125rem;font-weight:700}.rail__footer{border-radius:var(--radius-md);background:var(--surface);display:grid;text-align:center;justify-items:center;gap:.375rem;margin-top:auto;padding:.75rem .5rem}.rail__avatar{object-fit:cover;border-radius:50%;width:2.125rem;height:2.125rem}.rail__user{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.75rem;font-weight:700}.rail__role{color:var(--accent);font-size:.65rem;font-weight:700}.content{overflow-y:auto;overscroll-behavior:contain;padding:1.75rem max(1.75rem,env(safe-area-inset-right))5rem max(1.75rem,env(safe-area-inset-left))}.page{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--gap);align-content: start;width:100%;max-width:82rem;margin:0 auto}@media (max-width:640px){.shell{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr auto}.rail{padding:.375rem .5rem calc(.375rem + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);flex-direction:row;order:2}.rail__item{background:0 0;flex:1;padding:.5rem .25rem}.rail__item--active{background:var(--surface-2)}.rail__footer{display:none}.content{padding:1rem 1rem 5rem}}.page-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:1rem}.server-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:1rem}.server-card{display:grid;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);text-align:left;cursor:pointer;transition:var(--t-ui);gap:.875rem;padding:1.5rem}.server-card:hover{background:var(--surface-2);border-color:var(--accent-line)}.server-card--active{background:var(--surface-2);border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-line)}.server-card__icon{border-radius:var(--radius-md);background:var(--accent-soft);color:var(--accent-hover);display:grid;place-items: center;width:3rem;height:3rem}.server-card__id{color:var(--faint);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.tree-wrap{display:grid;gap:.875rem}.category-block{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);overflow:hidden}.category-head{display:flex;background:var(--surface-2);border-bottom:1px solid var(--line);justify-content:space-between;align-items: center;gap:.75rem;padding:.875rem 1rem}.category-head__left{display:flex;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items: center;gap:.625rem;min-width:0;padding:0}.category-head__title{letter-spacing:.03em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:700}.channel-list{display:grid}.channel-row{display:flex;border-top:1px solid var(--line);transition:background-color var(--dur-fast)ease;justify-content:space-between;align-items: center;gap:.75rem;padding:.6875rem 1rem}.channel-row:first-child{border-top:0}.channel-row:hover{background:#ffffff06}.channel-row__left{display:flex;flex:1;align-items: center;gap:.625rem;min-width:0}.channel-row__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.channel-row__meta{display:flex;flex-wrap:wrap;align-items: center;gap:.5rem}.draft-bar{position:fixed;z-index:35;display:flex;border-radius:var(--radius-lg);background:var(--surface-2);border:1px solid var(--accent-line);animation:rise var(--dur)var(--ease-out);flex-wrap:wrap;justify-content:space-between;align-items: center;gap:.875rem;padding:.875rem 1.25rem;bottom:1.25rem;left:9.75rem;right:1.75rem;box-shadow:0 18px 40px #0000008c}@media (max-width:640px){.draft-bar{bottom:4.75rem;left:.75rem;right:.75rem}}.modal-backdrop{position:fixed;z-index:60;backdrop-filter:blur(8px);display:flex;animation:fade var(--dur-fast)var(--ease-out);background:#000000ad;justify-content:center;align-items: center;padding:1rem;inset:0}.modal-box{background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-lg);display:grid;grid-template-rows:auto 1fr auto;overflow:hidden;width:100%;max-width:60rem;max-height:90vh;box-shadow:0 24px 64px #000000a6}.modal-head{display:flex;background:var(--rail);border-bottom:1px solid var(--line);justify-content:space-between;align-items: center;gap:1rem;padding:1.125rem 1.5rem}.modal-body{overflow-y:auto;display:grid;align-content: start;gap:1.25rem;padding:1.375rem 1.5rem}.modal-foot{display:flex;background:var(--rail);border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items: center;gap:.75rem;padding:1rem 1.5rem}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem}.perm-layout{display:grid;gap:1rem}@media (min-width:820px){.perm-layout{grid-template-columns:16.5rem minmax(0,1fr);align-items: start}}.perm-targets{display:grid;background:var(--rail);border-radius:var(--radius-md);border:1px solid var(--line);gap:.5rem;padding:.75rem}.perm-target{display:flex;border-radius:var(--radius-sm);color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items: center;gap:.5rem;width:100%;padding:.55rem .75rem;font-weight:700}.perm-target:hover{background:var(--surface-2);color:var(--text)}.perm-target--active{background:var(--accent-soft);color:var(--text)}.perm-matrix{display:grid;gap:1rem}.perm-group{display:grid;gap:.375rem}.perm-group__title{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-bottom:.25rem;font-size:.75rem;font-weight:700}.perm-row{display:flex;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);justify-content:space-between;align-items: center;gap:.75rem;padding:.55rem .75rem}.perm-row--changed{border-color:var(--accent-line)}.tri-toggle{display:inline-flex;overflow:hidden;border:1px solid var(--line-strong);background:var(--rail);border-radius:.5rem;flex:none}.tri-toggle__btn{color:var(--faint);display:grid;cursor:pointer;background:0 0;border:0;place-items: center;width:2rem;height:1.75rem;font-weight:700}.tri-toggle__btn:hover{color:var(--text)}.tri-toggle__btn--deny{background:var(--danger);color:#fff}.tri-toggle__btn--neutral{background:var(--surface-3);color:var(--text)}.tri-toggle__btn--allow{background:var(--success);color:#0e1410}.request-card{display:grid;gap:1rem}.request-card__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items: center;gap:.875rem}.request-card__author{display:flex;align-items: center;gap:.75rem}.diff-list{display:grid;gap:.75rem}.diff-item{display:grid;border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--line);gap:.625rem;padding:1rem}.diff-kv{display:flex;flex-wrap:wrap;align-items: center;gap:.5rem;font-size:.875rem}.mention-pill{display:inline-flex;background:var(--accent-soft);color:var(--accent-hover);border-radius:.45rem;align-items: center;padding:.15rem .5rem;font-weight:700}.dev-bar{position:fixed;z-index:50;display:flex;border-radius:var(--radius-md);border:1px solid var(--line-strong);background:#0f1012eb;align-items: center;gap:.5rem;padding:.375rem .625rem;font-size:.78rem;top:.75rem;right:.75rem}
