:root{color:#f5f5fc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--rail:#111523;--surface:#151a29;--input:#121827;--line:#364461;--subtle-line:#29354e;--muted:#bdc6dc;--accent:#9b87ff;--accent-surface:#302d54;--danger:#ff9ab0;background:#0d101b;font-family:Inter,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button svg,.button svg{vertical-align:middle;flex:none}a{color:inherit}h1,h2,p{margin:0}.muted{color:var(--muted)}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{border-bottom:1px solid var(--subtle-line);background:#111522;justify-content:space-between;align-items:center;gap:20px;min-height:82px;padding:0 26px 0 33px;display:flex}.brand,.profile{align-items:center;min-width:0;display:flex}.brand{letter-spacing:-.035em;white-space:nowrap;gap:22px;font-size:34px;font-weight:750}.brand svg{color:var(--accent);stroke-width:1.65px;width:50px;height:50px}.profile{gap:16px;font-size:22px}.profile>span:last-of-type{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.avatar{background:#545383;border-radius:100%;flex:none;place-items:center;width:45px;height:45px;font-size:19px;font-weight:700;display:grid}.picker-options .avatar{background:#7060e8}.picker-options .tone-1{background:#216dc4}.picker-options .tone-2{background:#675487}.layout{grid-template-columns:330px minmax(0,1fr);min-height:calc(100dvh - 82px);display:grid}.sidebar{background:var(--rail);border-right:1px solid #202638;padding:28px 17px}.server{border:1px solid var(--line);border-radius:11px;align-items:center;gap:15px;min-height:91px;padding:12px 14px;display:flex}.server-avatar,.folder-tile{color:#fff;background:linear-gradient(145deg,#6b58df,#806aff);border:1px solid #ffffff15;flex:none;place-items:center;display:grid}.server-avatar{border-radius:12px;width:53px;height:53px;font-size:25px;font-weight:750}.server-identity{min-width:0}.server strong,.server small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.server strong{font-size:21px}.server small{color:var(--muted);margin-top:4px;font-size:17px}.server .refresh{color:var(--muted);width:30px;min-width:30px;margin-left:auto;padding:0}.navigation{gap:3px;display:grid}.server+.navigation{margin-top:29px}.navigation button{text-align:left;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:23px;width:100%;min-width:0;min-height:54px;padding:10px 19px;font-size:21px;display:flex}.navigation button[aria-current]{background:var(--accent-surface);font-weight:650}.navigation button:hover{background:#262b44}.navigation button[aria-current]:hover{background:#383360}.navigation svg{stroke-width:1.75px;width:28px;height:28px}.categories{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.category-header{justify-content:space-between;align-items:center;margin:0 3px 15px 11px;display:flex}.category-header h2{color:var(--muted);font-size:20px;font-weight:650}.category-list span{text-overflow:ellipsis;overflow:hidden}.main{min-width:0;padding:34px 23px 44px 29px}.page-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:39px;padding-left:16px;display:flex}h1{letter-spacing:-.025em;font-size:clamp(32px,2.8vw,44px);font-weight:750;line-height:1.1}.page-heading p{color:var(--muted);margin-top:7px;font-size:clamp(17px,1.55vw,24px);line-height:1.35}.page-heading code{color:var(--accent);font-size:.9em}.surface{background:var(--surface);border:1px solid var(--line);border-radius:12px}.category-card{padding:0 17px 11px}.card-heading{align-items:center;gap:27px;min-width:0;padding:19px 8px;display:flex}.card-heading>div{min-width:0}.card-heading h2{overflow-wrap:anywhere;font-size:28px;line-height:1.2}.card-heading p{color:var(--muted);margin-top:4px;font-size:20px}.folder-tile{background:linear-gradient(145deg,#6355bf,#6f5ed4);border-radius:14px;width:62px;height:62px}.folder-tile svg{stroke-width:1.55px;width:38px;height:38px}.category-edit{margin-left:auto}.role-table{border-collapse:collapse;table-layout:fixed;width:100%}.role-table th,.role-table td{border-top:1px solid var(--subtle-line);text-align:left;padding:12px 10px}.role-table th{color:var(--muted);height:55px;font-size:19px;font-weight:650}.role-table th:first-child{width:39%}.role-table th:last-child{width:53px}.role-table td:last-child{padding-left:0}.role-table td{height:66px}.role-label{overflow-wrap:anywhere;align-items:center;gap:21px;font-size:23px;line-height:1.2;display:flex}.role-dot{background:var(--role-color);border-radius:100%;flex:none;width:13px;height:13px;display:inline-block}.role-label .role-dot,.picker-input .role-dot{width:21px;height:21px}.row-warning{color:#ffbe93;margin:5px 0 0 42px;display:block}.access-source{color:var(--muted);margin-top:4px;font-size:12px;display:block}.chips{flex-wrap:wrap;gap:7px 11px;display:flex}.permission-chip{background:#202638;border:1px solid #3b4862;border-radius:10px;align-items:center;gap:9px;min-width:0;max-width:100%;padding:5px 11px;font-size:17px;line-height:1.25;display:inline-flex}.permission-chip span{overflow-wrap:anywhere}.permission-chip button{background:0 0;border:0;margin-left:2px;padding:0}.hierarchy{align-items:center;gap:27px;margin-top:34px;padding:16px 25px;display:flex}.hierarchy-icon{color:#f0f1fc;border-right:1px solid #4c5b7c;flex:none;padding:10px 28px 10px 3px}.hierarchy-icon svg{stroke-width:1.6px;width:40px;height:40px;display:block}.hierarchy h2{font-size:23px}.hierarchy p{color:var(--muted);font-size:18px;line-height:1.4}.empty{color:var(--muted);padding:30px;font-size:18px}.inside-card{border-top:1px solid var(--subtle-line)}.button,.icon-button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.button{gap:9px;min-height:48px;padding:10px 18px;font-weight:650}.primary{color:#fff;background:linear-gradient(145deg,#6651d9,#7059e7);box-shadow:inset 0 1px #ffffff24}.primary:hover:not(:disabled){background:#7962eb}.primary:disabled{opacity:.68}.page-heading .primary{white-space:nowrap;min-height:56px;padding-inline:24px;font-size:21px}.secondary,.bordered{border-color:var(--line);background:#141a29}.secondary:hover:not(:disabled){background:#232c42}.danger{color:#fff;background:#a42d49}.danger:hover:not(:disabled){background:#bb3855}.text-danger{color:var(--danger);background:0 0}.text-danger:hover:not(:disabled){background:#3b2436}.icon-button{background-color:#0000;min-width:39px;min-height:39px;padding:4px}.icon-button:hover:not(:disabled){background:#2a324a}.spinning{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.field label{margin-bottom:9px;font-size:20px;font-weight:650;display:block}.field input[type=text]{background:var(--input);border:1px solid var(--line);border-radius:11px;outline:none;width:100%;min-width:0;min-height:52px;padding:0 15px;display:block}.field input[type=text]::placeholder{color:#aab6d0;opacity:1}.field input[type=text]:focus{border-color:var(--accent)}.picker-input{background:var(--input);border:1px solid var(--line);border-radius:11px;align-items:center;gap:11px;min-height:53px;padding:0 17px;display:flex}.picker-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.picker-input input[type=text]{background:0 0;border:0;flex:1;min-height:50px;padding:0}.picker-options{border:1px solid var(--line);scrollbar-color:#536185 #191f30;background:#191f30;border-radius:11px;max-height:272px;margin:4px 0 0;padding:0;list-style:none;overflow-y:auto}.picker-options:empty{border:0;margin:0}.picker-options li{cursor:pointer;align-items:center;gap:15px;min-height:51px;padding:9px 17px;display:flex}.picker-options li+li{border-top:1px solid var(--subtle-line)}.picker-options li:not([aria-disabled=true]):hover,.picker-options [data-active=true],.picker-options [aria-selected=true]{background:#302e53}.picker-options [aria-disabled=true]{color:var(--muted);cursor:default}.picker-options li>span:last-child{overflow-wrap:anywhere;min-width:0}.picker-options li strong{font-weight:650;display:block}.picker-options li small{color:var(--muted);margin-top:3px;font-size:13px;display:block}.picker-message,.field-hint{color:var(--muted);margin-top:8px;font-size:14px}.field-hint{line-height:1.45;display:block}.notice{background:#372137;border:1px solid #7e415a;border-radius:8px;margin-bottom:12px;padding:12px 14px}.error{color:var(--danger)}dialog{color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:15px;width:min(640px,100% - 30px);max-height:calc(100dvh - 30px);padding:0;box-shadow:0 25px 110px #0008}dialog::backdrop{background:#06080fc2}.dialog-head,.dialog-foot{justify-content:space-between;align-items:center;gap:12px;padding:17px 22px;display:flex}.dialog-head{border-bottom:1px solid var(--subtle-line);align-items:start}.dialog-head h2{overflow-wrap:anywhere;font-size:24px}.dialog-head p{color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.dialog-body{gap:18px;padding:20px 22px;display:grid}.dialog-body p{line-height:1.45}.dialog-body .notice{margin:0}.dialog-body .field label{font-size:16px}.dialog-foot{border-top:1px solid var(--subtle-line);flex-wrap:wrap;justify-content:flex-end}.delete-action{margin-right:auto}.access-editor{gap:13px;min-width:0;display:grid}.selected-role{overflow-wrap:anywhere;font-weight:650}.checkbox-row{border:1px solid var(--subtle-line);border-radius:8px;align-items:start;gap:10px;padding:11px;display:flex}.checkbox-row input{accent-color:#8d79ff;flex:none;width:17px;height:17px;margin-top:2px}.checkbox-row small{color:var(--muted);margin-top:5px;display:block}.gate{place-items:center;min-height:calc(100dvh - 82px);padding:24px;display:grid}.login-card{justify-items:start;gap:20px;width:min(100%,520px);padding:clamp(22px,5vw,45px);display:grid}.login-card p{color:var(--muted)}.login-card .error{color:var(--danger);margin:0}.edit-levels-head{justify-content:space-between;align-items:start;gap:18px;padding:22px 24px;display:flex}.edit-levels-head h2{overflow-wrap:anywhere;font-size:25px}.edit-levels-head p{color:var(--muted);margin-top:4px;line-height:1.35}.edit-level-row{border-top:1px solid var(--subtle-line);grid-template-columns:minmax(145px,1fr) minmax(145px,1.4fr) minmax(126px,1fr) auto;align-items:start;gap:15px;padding:16px 24px;display:grid}.edit-level-row h3{overflow-wrap:anywhere;margin:0;font-size:19px}.edit-level-row small{color:var(--muted);margin-top:5px;display:block}.edit-level-row .chips{margin-top:6px}.level-field{gap:7px;display:grid}.level-ceiling-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.level-ceiling-controls .button{min-height:36px;padding:5px 10px;font-size:14px}.edit-error{justify-content:space-between;align-items:center;gap:12px;display:flex}@media (width<=1250px){.layout{grid-template-columns:265px minmax(0,1fr)}.navigation button{gap:14px;font-size:18px}.page-heading .primary{padding-inline:16px;font-size:17px}.role-label{gap:12px;font-size:20px}.role-table th{font-size:16px}}@media (width<=900px){.layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-inline:12px}.navigation button{padding-inline:10px}.navigation svg{width:22px;height:22px}.server{gap:9px;padding-inline:10px}.server strong{font-size:17px}.server small{font-size:14px}.server-avatar{width:36px;height:36px;font-size:18px}.main{padding:25px 16px}.page-heading{flex-direction:column;align-items:flex-start;margin-bottom:22px;padding-left:0}.hierarchy{gap:15px;padding:15px}.hierarchy-icon{padding-right:15px}.hierarchy p{font-size:16px}.edit-level-row{grid-template-columns:minmax(110px,1fr) minmax(100px,1fr) auto}.edit-level-row>div:nth-child(3){grid-column:1/3}.edit-level-row>button{grid-area:1/3}}@media (width<=650px){.layout{min-height:calc(100dvh - 62px);display:block}.site-header{min-height:62px;padding:0 14px}.brand{gap:9px;font-size:24px}.brand svg{width:35px;height:35px}.profile{gap:7px;font-size:14px}.profile .avatar{width:29px;height:29px;font-size:14px}.sidebar{border-right:0;border-bottom:1px solid var(--subtle-line);padding:13px 14px}.server{min-height:57px;padding-block:7px}.server small{margin-top:1px}.server+.navigation,.category-list{gap:6px;margin-top:10px;display:flex}.sidebar>.navigation{grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.sidebar>.navigation button{justify-content:center}.navigation button{gap:7px;min-height:42px;padding:6px 8px;font-size:15px}.navigation svg{width:19px;height:19px}.categories{margin-top:10px;padding-top:6px}.category-header{margin:0 2px 0 7px}.category-header h2{font-size:16px}.category-list{margin-top:4px;overflow-x:auto}.category-list button{width:auto;min-width:max-content}.main{padding:21px 14px 28px}.page-heading .primary{min-height:44px;padding-inline:13px;font-size:16px}.card-heading{gap:13px;padding:12px 1px}.card-heading h2{font-size:23px}.card-heading p{font-size:15px}.folder-tile{border-radius:10px;width:44px;height:44px}.folder-tile svg{width:26px;height:26px}.category-card{padding-inline:10px}.role-table th,.role-table td{padding:8px 4px}.role-table th{font-size:13px}.role-table th:last-child{width:38px}.role-label{gap:6px;font-size:15px}.role-label .role-dot{width:10px;height:10px}.row-warning{margin-left:0;font-size:11px}.permission-chip{gap:4px;padding:4px 5px;font-size:13px}.permission-chip .role-dot{width:9px;height:9px}.chips{gap:4px}.access-source{font-size:11px}.hierarchy{align-items:flex-start;margin-top:19px}.hierarchy-icon{padding:2px 9px 2px 0}.hierarchy-icon svg{width:27px;height:27px}.hierarchy h2{font-size:18px}.hierarchy p{font-size:14px}.dialog-head,.dialog-body,.dialog-foot{padding-inline:15px}.edit-levels-head{flex-direction:column;gap:12px;padding:15px}.edit-levels-head h2{font-size:21px}.edit-level-row{padding-inline:14px}}@media (prefers-reduced-motion:reduce){.spinning{animation:none}}
