:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17213c;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:278px 1fr;min-height:100vh}.shell aside{background:#10182d;color:#fff;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;overflow:hidden}.brand{display:flex;gap:12px;align-items:center;padding:24px 22px;border-bottom:1px solid #25304a}.brand>svg{width:42px;height:42px;padding:10px;background:#6656ed;border-radius:12px;flex:0 0 42px}.brand span{display:flex;flex-direction:column;min-width:0}.brand b{font-size:17px}.brand small{color:#96a2bd;margin-top:3px}.shell aside nav{padding:18px 12px;overflow:auto;flex:1}.nav-group{margin-bottom:20px}.nav-group label{display:block;color:#7f8aa5;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.08em;padding:0 12px 8px}.nav-group button{width:100%;border:0;background:transparent;color:#cbd3e3;display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:9px;text-align:left;margin:2px 0}.nav-group button svg{width:18px;height:18px;flex:0 0 18px}.nav-group button span{font-size:13px;font-weight:650;line-height:1.25}.nav-group button:hover,.nav-group button.active{background:#242f4a;color:#fff}.nav-group button.active{box-shadow:inset 3px 0 #6656ed}.shell aside footer{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-top:1px solid #25304a;background:#111a31}.shell aside footer div{display:flex;flex-direction:column;min-width:0}.shell aside footer b,.shell aside footer small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell aside footer small{color:#91a0bd;font-size:11px;margin-top:3px}.shell aside footer button{border:0;background:#232e48;color:#fff;width:36px;height:36px;border-radius:8px}.shell main{min-width:0}.topbar{height:70px;background:#fff;border-bottom:1px solid #dce2ec;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.topbar>div:first-of-type{display:flex;flex-direction:column}.topbar small{color:#7b869c}.topbar b{font-size:15px}.top-right{display:flex;align-items:center;gap:10px}.top-right .role{padding:7px 11px;border-radius:99px;background:#f0edff;color:#5847d8;font-size:12px;font-weight:800}.top-right button{border:1px solid #d8deea;background:#fff;border-radius:9px;padding:8px 11px;display:flex;align-items:center;gap:7px;color:#17213c}.top-right svg{width:17px}.menu{display:none;border:0;background:transparent}.content{padding:28px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-head h1{font-size:28px;margin:4px 0 6px;letter-spacing:-.03em}.page-head p{margin:0;color:#69758c;max-width:720px}.eyebrow{font-size:11px;font-weight:900;color:#6656ed;text-transform:uppercase;letter-spacing:.09em}.btn{border:0;border-radius:9px;padding:10px 15px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#6656ed;color:#fff}.btn svg{width:17px;height:17px}.btn.secondary{background:#fff;color:#26324a;border:1px solid #d5dce8}.btn.danger{background:#e14b5a}.btn:disabled{opacity:.55;cursor:not-allowed}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric{background:#fff;border:1px solid #dfe5ef;border-radius:14px;padding:18px;display:flex;flex-direction:column;min-height:120px}.metric span{color:#68748a;font-size:12px;font-weight:750}.metric strong{font-size:27px;margin:10px 0 3px}.metric small{color:#8b95a8}.metric.primary{background:linear-gradient(135deg,#6656ed,#806ef5);color:#fff;border:0}.metric.primary span,.metric.primary small{color:#ece9ff}.metric.success strong{color:#168b68}.metric.danger strong{color:#d84656}.dashboard-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-bottom:16px}.panel{background:#fff;border:1px solid #dde4ee;border-radius:14px;overflow:hidden;margin-bottom:16px}.panel>header{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border-bottom:1px solid #e6eaf1}.panel h2{font-size:16px;margin:0}.panel header p{font-size:12px;color:#7b869a;margin:4px 0 0}.panel-body{padding:18px}.link,.table-link{border:0;background:transparent;color:#5d4ddd;font-weight:800;display:inline-flex;align-items:center;gap:4px;padding:0}.link svg{width:15px}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:700px}.table-wrap th{text-align:left;color:#78849a;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:10px 12px;border-bottom:1px solid #e2e7ef}.table-wrap td{padding:12px;border-bottom:1px solid #edf0f5;font-size:13px;vertical-align:middle}.table-wrap tr:last-child td{border-bottom:0}.table-wrap td>span{display:flex;flex-direction:column}.table-wrap td small{color:#8a94a7;margin-top:2px}.badge{display:inline-flex;align-items:center;width:max-content;border-radius:99px;padding:5px 9px;background:#edf1f7;color:#59657b;font-size:11px;font-weight:900;white-space:nowrap}.badge.active,.badge.paid,.badge.succeeded,.badge.resolved{background:#e4f8ef;color:#167b5d}.badge.trial,.badge.issued,.badge.sent,.badge.waiting_customer{background:#eef0ff;color:#5b4bd3}.badge.past_due,.badge.overdue,.badge.suspended,.badge.cancelled{background:#fdebed;color:#c43b4a}.badge.partially_paid,.badge.pending_payment,.badge.waiting_support,.badge.in_progress{background:#fff3dc;color:#a86600}.ticket-list{display:flex;flex-direction:column;gap:7px}.ticket-list>button{border:1px solid #e2e7ef;background:#fff;border-radius:10px;padding:11px;display:flex;align-items:center;text-align:left;gap:10px}.ticket-list>button div{display:flex;flex-direction:column;flex:1}.ticket-list small{color:#7d889b;margin-top:3px}.priority{width:8px;height:8px;border-radius:50%;background:#8893a8;flex:0 0 8px}.priority.high,.priority.critical{background:#dc4353}.priority.normal{background:#e0a53b}.company-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.company-cards button{border:1px solid #dfe5ee;background:#fff;border-radius:11px;padding:13px;display:flex;align-items:center;gap:11px;text-align:left}.company-cards button>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#efedff;color:#6656ed}.company-cards button div{display:flex;flex-direction:column;flex:1;min-width:0}.company-cards b,.company-cards small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-cards small{color:#8490a4;margin-top:3px}.filters{display:flex;gap:10px;margin-bottom:14px}.filters label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d8dfea;border-radius:9px;padding:0 12px;min-width:320px}.filters label svg{width:17px;color:#8290a5}.filters input,.filters select{border:0;outline:0;background:transparent;width:100%;padding:10px}.filters>select{border:1px solid #d8dfea;border-radius:9px;background:#fff;padding:0 12px}.health{font-weight:900}.health.h0,.health.h1{color:#d23c4c}.health.h2,.health.h3{color:#bb7c12}.health.h4,.health.h5{color:#15875f}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c12229e;display:grid;place-items:center;padding:24px;z-index:100}.modal{width:min(680px,96vw);max-height:92vh;background:#fff;border-radius:16px;box-shadow:0 30px 100px #00000047;overflow:hidden}.modal.wide{width:min(1120px,96vw)}.modal>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e1e6ee}.modal>header h2{margin:0;font-size:19px}.modal>header button{border:0;background:#f1f4f8;border-radius:8px;width:34px;height:34px;display:grid;place-items:center}.modal-body{padding:20px;overflow:auto;max-height:calc(92vh - 72px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}.field.wide{grid-column:1/-1}.field>span{font-size:12px;font-weight:800;color:#59667c}.field small{font-size:11px;color:#8a95a7}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd4e1;border-radius:8px;padding:10px 11px;outline:none;background:#fff;color:#17213c}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6656ed;box-shadow:0 0 0 3px #6656ed1a}.field textarea{min-height:88px;resize:vertical}.actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.form-error,.error{background:#fff0f1;border:1px solid #f3c8cd;color:#b92f3f;border-radius:9px;padding:11px 13px;margin:10px 0}.error{display:flex;align-items:center;gap:10px}.empty{min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#9aa4b5;gap:8px}.loader{min-height:220px;display:flex;align-items:center;justify-content:center;gap:9px;color:#6e7890}.loader svg{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e7ef;margin:-20px -20px 18px;padding:0 20px;overflow:auto}.modal-tabs button{border:0;background:transparent;padding:13px 11px;font-weight:800;color:#7a8599;border-bottom:2px solid transparent;white-space:nowrap}.modal-tabs button.active{color:#5d4ddd;border-color:#6656ed}.detail-summary{display:flex;align-items:center;gap:13px;padding:14px;background:#f6f7fb;border-radius:12px;margin-bottom:17px}.company-logo{width:48px;height:48px;border-radius:12px;background:#eae7ff;color:#6656ed;display:grid;place-items:center}.detail-summary>div:nth-child(2){flex:1}.detail-summary h3{margin:0}.detail-summary p{margin:3px 0;color:#768196}.subscription-hero{background:linear-gradient(135deg,#17213c,#2d3854);color:#fff;border-radius:14px;padding:20px;display:flex;justify-content:space-between;align-items:flex-start}.subscription-hero span,.subscription-hero p{color:#b8c2d8}.subscription-hero h3{font-size:24px;margin:5px 0}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.usage-grid div{padding:13px;background:#f5f7fb;border-radius:10px;display:flex;flex-direction:column}.usage-grid span{font-size:11px;color:#7f8a9e}.usage-grid b{margin-top:5px}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;font-size:13px!important;font-weight:600!important;color:#3a465d!important}.check input{width:auto!important}.success-result{text-align:center;padding:15px}.success-result>svg{width:48px;height:48px;color:#168b68}.success-result code{display:block;text-align:left;background:#10182d;color:#d8e1f3;padding:14px;border-radius:10px;margin:15px 0;line-height:1.7}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.plans article{background:#fff;border:1px solid #dde3ed;border-radius:15px;padding:19px;display:flex;flex-direction:column}.plans article.disabled{opacity:.6}.plans article header{display:flex;justify-content:space-between}.plans article header span{font-size:10px;color:#6656ed;text-transform:uppercase;font-weight:900}.plans article h2{margin:4px 0}.plans article>p{color:#6d7890;min-height:42px}.plans article>strong{font-size:28px;margin:10px 0}.plans article>strong small{font-size:12px;color:#78849a}.plans ul{list-style:none;padding:0;margin:8px 0}.plans li{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:13px}.plans li svg{width:17px;color:#6656ed}.feature-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:16px}.feature-tags i{font-style:normal;font-size:10px;background:#f0efff;color:#5949d2;border-radius:99px;padding:5px 8px}.row-actions{display:flex;gap:5px}.row-actions button{border:0;background:#f0f3f8;color:#4d5a71;border-radius:7px;padding:6px 7px;display:flex;align-items:center;gap:4px;font-size:11px}.row-actions svg{width:13px;height:13px}.support-layout{display:grid;grid-template-columns:350px 1fr;background:#fff;border:1px solid #dce3ed;border-radius:14px;min-height:650px;overflow:hidden}.ticket-sidebar{border-right:1px solid #dfe5ee;overflow:auto;max-height:720px}.ticket-filter{padding:12px;border-bottom:1px solid #e3e8ef}.ticket-filter select{width:100%;border:1px solid #d2d9e5;border-radius:8px;padding:9px}.ticket-sidebar>button{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:13px;display:flex;text-align:left;gap:9px;align-items:flex-start}.ticket-sidebar>button.active{background:#f1efff}.ticket-sidebar>button div{display:flex;flex-direction:column;flex:1;min-width:0}.ticket-sidebar b,.ticket-sidebar small,.ticket-sidebar em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-sidebar small{color:#69758c;margin-top:3px}.ticket-sidebar em{font-style:normal;color:#9aa4b4;font-size:10px;margin-top:4px}.ticket-sidebar>button>i{background:#6656ed;color:#fff;border-radius:99px;font-style:normal;font-size:10px;padding:3px 6px}.chat{display:flex;flex-direction:column;min-width:0}.chat>header{padding:16px 18px;border-bottom:1px solid #e2e7ee;display:flex;justify-content:space-between;align-items:center}.chat>header h2{margin:3px 0;font-size:18px}.chat>header p,.chat>header span{margin:0;color:#7e899b;font-size:11px}.chat>header select{border:1px solid #d3dae5;border-radius:8px;padding:8px}.messages{padding:18px;flex:1;overflow:auto;background:#f8f9fc;display:flex;flex-direction:column;gap:10px}.message{max-width:72%;background:#fff;border:1px solid #dfe5ed;border-radius:12px;padding:10px 12px;align-self:flex-start}.message.support{align-self:flex-end;background:#6656ed;color:#fff;border-color:#6656ed}.message.internal{align-self:stretch;max-width:100%;background:#fff7df;border-color:#efd89b;color:#665022}.message small{font-size:10px;opacity:.7}.message p{margin:5px 0 0;white-space:pre-wrap}.reply{padding:12px;border-top:1px solid #e0e6ee;display:grid;grid-template-columns:1fr auto;gap:8px}.reply textarea{grid-column:1/-1;border:1px solid #d3dae6;border-radius:9px;padding:10px;min-height:78px}.announcement-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.announcement-list article{background:#fff;border:1px solid #dfe5ed;border-radius:13px;padding:17px}.announcement-list article>div{display:flex;justify-content:space-between}.announcement-list h2{font-size:17px}.announcement-list p{color:#657187;line-height:1.5}.announcement-list footer{font-size:11px;color:#8e98a9;border-top:1px solid #edf0f4;padding-top:10px}.toast{position:fixed;right:24px;bottom:24px;background:#17213c;color:#fff;padding:12px 16px;border-radius:9px;box-shadow:0 10px 40px #00000040;z-index:200;font-weight:800;font-size:13px}.toast.bad{background:#c93f4f}.login{min-height:100vh;display:grid;grid-template-columns:1.2fr .8fr;background:#10182d}.login>section{color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 20%,rgba(102,86,237,.42),transparent 38%)}.login .logo{font-size:20px;font-weight:900;display:flex;align-items:center;gap:10px}.login .logo i{font-style:normal;color:#a99fff}.login h1{font-size:48px;line-height:1.05;max-width:700px;margin:40px 0 18px}.login>section>p{font-size:18px;color:#b5bfd2;max-width:650px;line-height:1.6}.login-points{display:flex;flex-direction:column;gap:12px;margin-top:26px}.login-points span{display:flex;align-items:center;gap:9px}.login-points svg{color:#9d91ff}.login>form{align-self:center;background:#fff;border-radius:18px;padding:36px;width:min(430px,88%);margin:auto;box-shadow:0 30px 90px #0000004d}.login form h2{font-size:30px;margin:7px 0}.login form p{color:#748096;margin-bottom:22px}.login form .btn{width:100%;margin-top:5px}.splash{min-height:100vh;background:#10182d;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.splash svg{width:42px;height:42px;color:#8f82ff}.overlay{display:none}@media (max-width:1100px){.shell{grid-template-columns:1fr}.shell aside{position:fixed;left:-290px;z-index:90;width:278px;transition:.2s}.shell aside.open{left:0}.menu{display:block}.overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:80}.metrics{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.plans,.company-cards{grid-template-columns:1fr 1fr}.support-layout{grid-template-columns:310px 1fr}.login{grid-template-columns:1fr}.login>section{display:none}.login>form{margin-top:10vh}}@media (max-width:720px){.content{padding:18px}.topbar{padding:0 16px}.top-right .role,.top-right i{display:none}.page-head{flex-direction:column}.metrics,.form-grid,.plans,.company-cards,.announcement-list,.usage-grid{grid-template-columns:1fr}.support-layout{display:block}.ticket-sidebar{max-height:320px;border-right:0;border-bottom:1px solid #ddd}.chat{min-height:600px}.filters{flex-direction:column}.filters label{min-width:0}.modal-bg{padding:0}.modal,.modal.wide{width:100vw;max-height:100vh;height:100vh;border-radius:0}.modal-body{max-height:calc(100vh - 72px)}}.head-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}@media (max-width:700px){.head-actions{width:100%}.head-actions .btn{flex:1}}
