@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#080c14;--side:#0b111b;--panel:#101824;--panel2:#131e2c;--line:#223044;--text:#edf4fc;--muted:#8493a8;--blue:#009bff;--green:#43d6a0;--yellow:#ffcb73;--red:#ff7885}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:linear-gradient(180deg,#0c121e,#090d15);border-right:1px solid var(--line);padding:23px 14px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;padding:0 7px 28px}.brand img{width:48px;height:48px;border-radius:11px;object-fit:cover;background:#050912}.brand b{display:block;font:800 11px Manrope;letter-spacing:1.2px}.brand small{display:block;margin-top:5px;font-size:9px;color:#8392a7;letter-spacing:1.5px}.brand em{font-style:normal;color:var(--blue)}.section-label{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#56667d;padding:0 12px 10px}.nav{display:grid;gap:4px}.nav-item{border:1px solid transparent;background:none;color:#91a0b5;text-align:left;border-radius:9px;padding:11px 12px;font-size:12px}.nav-item:hover{background:#121d2b;color:#fff}.nav-item.active{background:linear-gradient(90deg,#092a49,#111f30);border-color:#12446e;color:#fff;box-shadow:inset 3px 0 var(--blue)}.count{float:right;background:#1c3045;border-radius:5px;padding:2px 6px;color:#9fd8ff}.section-label:not(:first-of-type){margin-top:24px}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding:17px 5px 0;color:#75849a;font-size:10px}.sidebar-footer i{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:7px}.sidebar-footer span{float:right;color:#4d5e74}.main{margin-left:255px;padding:0 32px;max-width:1800px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.crumb{font-size:10px;letter-spacing:1.4px;color:#718198}.crumb b{padding:0 10px;color:#36455a}.crumb strong{color:#d7e1ed}.top-right{display:flex;align-items:center;gap:15px}.local-dot{font-size:10px;color:#7e8da2}.local-dot:first-letter{color:var(--green)}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#0b2947;border:1px solid #15538a;color:#c8eaff;font-weight:800}.menu-btn{display:none}.page{display:none;padding:32px 0 25px}.page.active{display:block}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#72839a}.page-title h1{font:800 clamp(28px,3vw,38px)/1.2 Manrope;margin:11px 0 8px;letter-spacing:-1.2px}.page-title h1 span{color:var(--blue)}.page-title p{margin:0;color:var(--muted);font-size:12px}.btn{border:1px solid transparent;border-radius:8px;padding:11px 14px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.btn.primary{background:linear-gradient(135deg,#009bff,#0873c9);color:#fff;box-shadow:0 5px 20px #009bff1c}.btn.primary:hover{filter:brightness(1.12)}.btn.secondary{background:#142031;border-color:#293c53;color:#d6e4f4}.btn.danger{background:#301821;border-color:#5c2936;color:#ffabb4}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat,.panel,.table-wrap,.role-card,.team-card,.customer-card{background:linear-gradient(145deg,#111b29,#0e1520);border:1px solid var(--line);border-radius:14px}.stat{padding:18px}.stat small,.stat span{display:block;color:#8392a7;font-size:10px}.stat b{display:block;font:800 31px Manrope;margin:12px 0 4px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{padding:20px;margin-bottom:16px;min-width:0}.panel h2{font:700 14px Manrope;margin:0 0 8px}.panel p{font-size:12px;line-height:1.7;color:#8998ad}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.panel-head p{margin:0;color:#718198;font-size:10px}.link-btn{border:0;background:transparent;color:#4ebaff;font-size:10px}.list-empty,.empty{padding:29px 12px;text-align:center;color:#73839a;font-size:11px}.ticket-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #202b39;padding:13px 0;font-size:11px}.ticket-row:last-child{border-bottom:0}.ticket-row b{display:block;color:#e9f1fa;margin-bottom:4px}.ticket-row small{color:#77879d}.config-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #202b39;font-size:11px;color:#9aa9bd}.config-row:last-of-type{border:0}.config-row b{font-size:10px;color:#d9e7f6}.hint{background:#0c1d2d;border:1px solid #193b59;padding:11px;border-radius:8px;color:#82a4c2!important;font-size:10px!important}.toolbar{display:flex;gap:10px;margin:18px 0 14px}.toolbar input,.toolbar select,.form input,.form textarea,.form select{background:#0b1420;color:#e6f0fb;border:1px solid #29394d;border-radius:8px;padding:11px 12px;outline:none;width:100%;font-size:11px}.toolbar input{max-width:360px}.toolbar select{width:auto;min-width:150px}.form input:focus,.form textarea:focus,.form select:focus,.toolbar input:focus{border-color:#087fc7}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%;text-align:left}.table-wrap th{padding:13px 15px;background:#0c141f;color:#6c7d94;font-size:9px;letter-spacing:1px}.table-wrap td{padding:14px 15px;border-top:1px solid #202b39;color:#b9c8d9;font-size:11px}.table-wrap td b{color:#edf4fc}.table-wrap small{color:#718198}.pill{padding:6px 9px;border-radius:6px;font-size:10px}.pill.local{background:#2c2414;color:#f5ce82}.pill.warning{background:#351e21;color:#ff9ba4}.subpanel{margin-top:16px}.subpanel p{margin:0 0 13px}.form{display:grid;gap:14px}.form label{display:grid;gap:7px;color:#a6b4c7;font-size:11px}.form textarea{resize:vertical;min-height:75px;line-height:1.6}.form button{justify-self:start}.preview-label{font-size:9px;letter-spacing:1.5px;color:#687991;margin-bottom:14px}.discord-embed{position:relative;background:#1b1d23;border-radius:8px;padding:19px 18px 15px 23px;min-height:250px;overflow:hidden}.embed-line{position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--blue)}.embed-brand{font-size:9px;letter-spacing:1px;color:#8da0b8;font-weight:700}.discord-embed h3{font:700 16px Manrope;margin:18px 0 10px}.discord-embed p,.discord-embed li{font-size:11px;color:#c4ccda;line-height:1.7}.discord-embed ol{padding-left:20px}.discord-embed small{display:block;margin-top:22px;color:#718097;font-size:9px}.preview-channel{display:inline-block;margin-top:10px;padding:7px 9px;border-radius:5px;background:#292d36;color:#b8c8db;font-size:10px}.muted{color:#77879d!important}.notice{border:1px solid #17436a;background:#0c1d2c;color:#9cc6e6;border-radius:10px;padding:13px 15px;font-size:11px;line-height:1.7;margin-bottom:17px}.role-list,.team-grid,.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.role-card,.team-card,.customer-card{padding:17px}.role-top,.team-top{display:flex;align-items:center;gap:10px}.role-color{width:12px;height:12px;border-radius:4px;background:var(--blue);box-shadow:0 0 12px #009bff44}.role-card h3,.team-card h3,.customer-card h3{font-size:12px;margin:0}.role-card p,.team-card p,.customer-card p{color:#8292a8;font-size:10px;line-height:1.6}.role-card .card-actions{display:flex;gap:7px;margin-top:12px}.team-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#0b2c49;color:#79ccff;font-weight:800}.steps{color:#a7b6c9;font-size:12px;line-height:2}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0 23px;color:#56667d;font-size:10px}.footer b{color:var(--blue)}.backdrop{position:fixed;inset:0;background:#02050bdc;backdrop-filter:blur(6px);z-index:30;display:none;align-items:center;justify-content:center;padding:18px}.backdrop.open{display:flex}.modal{width:min(540px,100%);max-height:90vh;overflow:auto;background:#101824;border:1px solid #2b3d53;border-radius:16px;padding:22px;box-shadow:0 20px 80px #0008}.modal header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal h2{font:700 19px Manrope;margin:8px 0 0}.close{width:31px;height:31px;border-radius:8px;background:#162334;color:white;border:1px solid #2c3e54;font-size:20px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toasts{position:fixed;right:18px;bottom:18px;z-index:50;display:grid;gap:8px}.toast{background:#13263a;border:1px solid #17558a;padding:12px 16px;border-radius:9px;font-size:11px;color:#eaf6ff;box-shadow:0 10px 35px #0006}
@media(max-width:1050px){.sidebar{width:225px}.main{margin-left:225px;padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:265px;box-shadow:20px 0 60px #0008}.sidebar.open{transform:translateX(0)}.main{margin:0;padding:0 15px}.menu-btn{display:block;background:#111c2a;color:#dce8f5;border:1px solid var(--line);border-radius:7px;padding:7px 10px}.topbar{height:62px;gap:12px}.crumb{font-size:8px;letter-spacing:.7px}.crumb b{padding:0 5px}.local-dot{display:none}.page-title{align-items:flex-start;flex-direction:column}.page-title>.btn{width:100%}.stats{gap:9px}.stat{padding:13px}.stat b{font-size:25px}.role-list,.team-grid,.customer-grid{grid-template-columns:1fr}.toolbar{flex-direction:column}.toolbar input,.toolbar select{width:100%;max-width:none}.table-wrap table{min-width:670px}.footer{font-size:9px}}
