:root{--bg: #121214;--panel: #1b1b1e;--panel-2: #202024;--line: rgba(255, 255, 255, .10);--text: rgba(255, 255, 255, .92);--text-dim: rgba(255, 255, 255, .46);--accent: #5ec97c;--danger: #e05252;--header-h: 48px;--side-w: 232px}*{box-sizing:border-box}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:rgba(0,0,0,0)}::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(255,255,255,.14)}::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.26)}::-webkit-scrollbar-corner{background:rgba(0,0,0,0)}html{height:100%}body{height:100%;margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:13px;line-height:1.5;display:grid;grid-template-rows:var(--header-h) 1fr;grid-template-columns:var(--side-w) 1fr;grid-template-areas:"header header" "side   main"}body>.shell-header{grid-area:header;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;border-bottom:1px solid var(--line);background:var(--panel)}body>.shell-header>.burger{display:none;align-items:center;justify-content:center;width:30px;height:30px;margin-right:-6px;padding:0;border:0;border-radius:6px;background:none;color:var(--text);cursor:pointer}body>.shell-header>.burger:hover{background:rgba(255,255,255,.08)}body>.shell-header>.brand{font-size:14px;font-weight:600;letter-spacing:.02em;white-space:nowrap}body>.shell-header>.user{position:relative;min-width:0}body>.shell-header>.user>.me{display:flex;align-items:center;gap:10px;max-width:240px;padding:5px 8px;border:0;border-radius:8px;background:none;font-family:inherit;font-size:13px;color:var(--text);text-align:left;cursor:pointer}body>.shell-header>.user>.me:hover{background:rgba(255,255,255,.06)}body>.shell-header>.user>.me>img{width:26px;height:26px;flex:0 0 26px;border-radius:50%;background:var(--panel-2)}body>.shell-header>.user>.me>.who{display:flex;flex-direction:column;min-width:0;line-height:1.25}body>.shell-header>.user>.me>.who>.name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body>.shell-header>.user>.me>.who>.roles{font-size:11px;color:var(--text-dim);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body>.shell-header>.user>.me>.arrow{flex:0 0 auto;font-size:9px;color:var(--text-dim);transition:transform .15s ease}body>.shell-header>.user>.menu{display:none;position:absolute;top:calc(100% + 6px);right:0;z-index:200;min-width:160px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);box-shadow:0 10px 30px rgba(0,0,0,.5)}body>.shell-header>.user>.menu>a{display:block;padding:8px 10px;border-radius:6px;color:var(--text-dim);text-decoration:none;white-space:nowrap}body>.shell-header>.user>.menu>a:hover{background:rgba(224,82,82,.16);color:var(--text)}body>.shell-header>.user.open>.me{background:rgba(255,255,255,.08)}body>.shell-header>.user.open>.me>.arrow{transform:rotate(180deg)}body>.shell-header>.user.open>.menu{display:block}body>.shell-side{grid-area:side;padding:8px;border-right:1px solid var(--line);background:var(--panel);overflow-y:auto}body>.shell-side>.empty{padding:10px 8px;color:var(--text-dim)}body>.shell-side>.shell-cat+.shell-cat{margin-top:2px}body>.shell-side>.shell-cat.bare{margin-bottom:8px}body>.shell-side>.shell-cat.bare>.items{margin-left:0;border-left:0}body>.shell-side>.shell-cat.bare>.items>a{margin-left:0}body>.shell-side>.shell-cat.bare>.items>a::before,body>.shell-side>.shell-cat.bare>.items>a::after{display:none}body>.shell-side>.shell-cat>.head{display:flex;align-items:center;gap:6px;width:100%;padding:7px 8px;border:0;border-radius:6px;background:none;font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);text-align:left;cursor:pointer}body>.shell-side>.shell-cat>.head:hover{background:rgba(255,255,255,.05);color:var(--text)}body>.shell-side>.shell-cat>.head>.arrow{flex:0 0 8px;font-size:9px;transition:transform .15s ease}body>.shell-side>.shell-cat>.items{display:flex;flex-direction:column;gap:1px;margin-left:13px;padding-left:0}body>.shell-side>.shell-cat>.items>a{position:relative;display:flex;align-items:center;gap:8px;margin-left:11px;padding:6px 10px;border-radius:6px;color:var(--text-dim);text-decoration:none}body>.shell-side>.shell-cat>.items>a::before{content:"";position:absolute;left:-11px;top:-1px;bottom:-1px;width:1px;background:var(--line)}body>.shell-side>.shell-cat>.items>a::after{content:"";position:absolute;left:-11px;top:50%;width:9px;height:1px;background:var(--line)}body>.shell-side>.shell-cat>.items>a:last-child::before{bottom:50%}body>.shell-side>.shell-cat>.items>a>.ico{flex:0 0 15px}body>.shell-side>.shell-cat>.items>a>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body>.shell-side>.shell-cat>.items>a:hover{background:rgba(255,255,255,.06);color:var(--text)}body>.shell-side>.shell-cat>.items>a.active{background:rgba(94,201,124,.14);color:var(--text)}body>.shell-side>.shell-cat.closed>.items{display:none}body>.shell-side>.shell-cat.closed>.head>.arrow{transform:rotate(-90deg)}body>main{grid-area:main;padding:20px;overflow-y:auto;opacity:0;transition:opacity .12s ease}body>main>.card{padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}body>main>.card>h1{margin:0 0 8px;font-size:16px;font-weight:600}body>main>.card>p{margin:0;color:var(--text-dim)}body.shell-ready>main{opacity:1}body>.ui-layer{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.55)}body>.ui-layer>.ui-dialog{width:100%;max-width:400px;padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 16px 48px rgba(0,0,0,.5)}body>.ui-layer>.ui-dialog>.title{font-size:15px;font-weight:600}body>.ui-layer>.ui-dialog>.text{margin:8px 0 0;color:var(--text-dim)}body>.ui-layer>.ui-dialog>label{display:block;margin:16px 0 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim)}body>.ui-layer>.ui-dialog>input{width:100%;padding:9px 11px;border-radius:6px;border:1px solid var(--line);background:rgba(0,0,0,.28);font-family:inherit;font-size:13px;color:var(--text);outline:none}body>.ui-layer>.ui-dialog>input:focus{border-color:rgba(255,255,255,.26)}body>.ui-layer>.ui-dialog>.foot{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}body>.ui-layer>.ui-dialog>.foot>button{padding:8px 16px;border-radius:6px;border:1px solid var(--line);background:none;font-family:inherit;font-size:13px;color:var(--text-dim);cursor:pointer}body>.ui-layer>.ui-dialog>.foot>button:hover{color:var(--text)}body>.ui-layer>.ui-dialog>.foot>button.ok{border-color:rgba(0,0,0,0);background:#5865f2;color:#fff;font-weight:600}body>.ui-layer>.ui-dialog>.foot>button.ok:hover{background:#4752c4}body>.ui-layer>.ui-dialog.danger>.foot>.ok{background:var(--danger)}body>.ui-layer>.ui-dialog.danger>.foot>.ok:hover{background:#c74444}body>.ui-notifies{position:fixed;left:50%;bottom:24px;z-index:1001;display:flex;flex-direction:column;align-items:center;gap:8px;transform:translateX(-50%);pointer-events:none}body>.ui-notifies>.ui-notify{padding:11px 18px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);box-shadow:0 8px 28px rgba(0,0,0,.45);white-space:nowrap;opacity:0;transform:translateY(16px);transition:opacity .22s ease,transform .22s ease}body>.ui-notifies>.ui-notify.in{opacity:1;transform:translateY(0)}body>.ui-notifies>.ui-notify.ok{border-color:rgba(94,201,124,.5);color:var(--accent)}body>.ui-notifies>.ui-notify.warn{border-color:rgba(224,162,82,.5);color:#e0a252}body>.ui-notifies>.ui-notify.error{border-color:rgba(224,82,82,.5);color:var(--danger)}body .ui-multi{position:relative;max-width:440px}body .ui-multi>.field{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:38px;padding:6px 34px 6px 8px;border-radius:6px;border:1px solid var(--line);background:rgba(0,0,0,.28);cursor:pointer}body .ui-multi>.field:hover{border-color:rgba(255,255,255,.22)}body .ui-multi>.field>.ph{color:var(--text-dim)}body .ui-multi>.field>.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 4px 3px 8px;border-radius:5px;border:1px solid var(--line);background:rgba(255,255,255,.06);font-size:12px}body .ui-multi>.field>.chip>.dot{width:8px;height:8px;border-radius:50%}body .ui-multi>.field>.chip>.x{width:16px;height:16px;padding:0;border:0;border-radius:4px;background:none;font-size:13px;line-height:1;color:var(--text-dim);cursor:pointer}body .ui-multi>.field>.chip>.x:hover{background:rgba(224,82,82,.22);color:var(--text)}body .ui-multi>.field>.arrow{position:absolute;top:11px;right:11px;font-size:9px;color:var(--text-dim);transition:transform .15s ease}body .ui-multi>.menu{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:300;max-height:260px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);box-shadow:0 10px 30px rgba(0,0,0,.5);overflow-y:auto}body .ui-multi>.menu>.none{padding:8px 10px;color:var(--text-dim)}body .ui-multi>.menu>.opt{display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border:0;border-radius:6px;background:none;font-family:inherit;font-size:13px;color:var(--text-dim);text-align:left;cursor:pointer}body .ui-multi>.menu>.opt:hover:not(:disabled){background:rgba(255,255,255,.07);color:var(--text)}body .ui-multi>.menu>.opt>.mark{flex:0 0 12px;font-size:11px;color:var(--accent)}body .ui-multi>.menu>.opt>.dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%}body .ui-multi>.menu>.opt>.label{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}body .ui-multi>.menu>.opt>.note{flex:0 0 auto;font-size:11px;color:var(--text-dim)}body .ui-multi>.menu>.opt.on{color:var(--text)}body .ui-multi>.menu>.opt.off{opacity:.45;cursor:default}body .ui-multi.open>.field{border-color:rgba(255,255,255,.26)}body .ui-multi.open>.field>.arrow{transform:rotate(180deg)}body .ui-multi.open>.menu{display:block}body>.shell-scrim{display:none;position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.5)}@media(max-width: 860px){body{grid-template-columns:1fr;grid-template-areas:"header" "main"}body>.shell-header>.burger{display:flex}body>.shell-header>.user>.me>.who{display:none}body>.shell-side{position:fixed;top:var(--header-h);bottom:0;left:0;z-index:100;width:var(--side-w);transform:translateX(-100%);transition:transform .2s ease}body>main{padding:14px}body.side-open>.shell-side{transform:translateX(0)}body.side-open>.shell-scrim{display:block}}
