.cgsgx{
  --green:#00a884;--green-dark:#008069;--green-deep:#005c4b;
  --bg:#f0f2f5;--panel:#fff;--chat:#efeae2;--bubble:#d9fdd3;--hover:#f5f6f6;
  --ink:#111b21;--sub:#667781;--line:#e9edef;--bad:#b3261e;--good:#0b6b43;--gold:#c9a227;
}
.cgsgx,.cgsgx *{box-sizing:border-box}
.cgsgx{background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Malayalam","Noto Sans",sans-serif;min-height:100vh}
.cgsgx a{color:var(--green-dark)}
.cgsgx h1{font-size:26px;font-weight:300;margin:0 0 10px;color:var(--ink)}
.cgsgx h2{font-size:17px;margin:0 0 8px;color:var(--ink)}
.cgsgx h3{margin:16px 0 4px}
.cgsgx .muted{color:var(--sub)}
.cgsgx .small{font-size:12.5px}
.cgsgx .card{background:var(--panel);border-radius:12px;padding:22px;margin-bottom:18px;box-shadow:0 1px 3px rgba(11,20,26,.12)}
.cgsgx .card.narrow{max-width:460px;margin:26px auto}
.cgsgx label{display:block;margin:12px 0;font-weight:600;font-size:14px}
.cgsgx label.check{display:flex;gap:8px;font-weight:400;align-items:flex-start}
.cgsgx input[type=email],.cgsgx input[type=text],.cgsgx input[type=search],.cgsgx input[type=number],.cgsgx input.otp{width:100%;padding:11px 14px;border:1px solid #d1d7db;border-radius:8px;font:inherit;background:#fff;outline:none}
.cgsgx input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(0,168,132,.15)}
.cgsgx input.otp{font-size:28px;letter-spacing:10px;text-align:center}
.cgsgx .row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cgsgx .row input[type=search]{max-width:340px}
.cgsgx .nowrap{flex-wrap:nowrap}
.cgsgx .btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;background:var(--green);color:#fff;border:0;border-radius:999px;padding:10px 22px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;transition:filter .15s}
.cgsgx .btn:hover{filter:brightness(1.07)}
.cgsgx .btn[disabled]{opacity:.45;cursor:not-allowed;filter:none}
.cgsgx .btn.gold{background:var(--green-deep)}
.cgsgx .btn.ghost{background:#fff;color:var(--green-dark);border:1px solid var(--green-dark)}
.cgsgx .btn.danger{background:var(--bad)}
.cgsgx .btn.sm{padding:5px 12px;font-size:13px}
.cgsgx .btn.block{width:100%}
.cgsgx .chip{background:#e7f6f2;color:var(--green-deep);border-radius:999px;padding:4px 12px;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.cgsgx .alert{border-radius:8px;padding:10px 14px;margin:10px 0}
.cgsgx .alert.err{background:#fdecea;color:var(--bad)}
.cgsgx .alert.ok{background:#e3f6ea;color:var(--good)}
.cgsgx .tablewrap{overflow:auto}
.cgsgx table{border-collapse:collapse;width:100%;font-size:14px}
.cgsgx th,.cgsgx td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.cgsgx th{background:#f7f8f8;white-space:nowrap;font-weight:600;color:var(--sub);font-size:13px}
.cgsgx th a{text-decoration:none;color:inherit}
.cgsgx .tabs{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}
.cgsgx .tabs a{padding:8px 18px;border-radius:999px;background:#fff;border:1px solid var(--line);text-decoration:none;font-weight:600;color:var(--sub)}
.cgsgx .tabs a.on{background:var(--green-dark);color:#fff;border-color:var(--green-dark)}
.cgsgx .pager{margin-top:12px;display:flex;gap:12px;align-items:center}
.cgsgx .amt{width:90px!important}
.cgsgx .inline{display:inline;margin-left:6px}
.cgsgx .login-logo{width:64px;height:64px;margin-bottom:8px}
.cgsgx .connect{display:grid;grid-template-columns:1fr 330px;gap:30px;align-items:center;padding:34px 38px}
.cgsgx .connect h1{font-size:28px}
.cgsgx .steps{margin:14px 0 18px;padding:0;list-style:none;counter-reset:s}
.cgsgx .steps li{counter-increment:s;display:flex;gap:12px;margin:10px 0;color:#41525d}
.cgsgx .steps li:before{content:counter(s);flex:none;width:26px;height:26px;border-radius:50%;background:#e7f6f2;color:var(--green-deep);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center}
.cgsgx .qrcol{text-align:center}
.cgsgx .qrframe{position:relative;width:300px;height:300px;margin:0 auto;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cgsgx .qrframe img{width:100%;height:100%;display:block}
.cgsgx .qrframe .ph{color:var(--sub);padding:20px;font-size:14px}
.cgsgx .qrframe .ph svg{width:54px;height:54px;color:#c4ccd1;margin-bottom:8px}
.cgsgx .qrframe.blur img{filter:blur(6px);opacity:.5}
.cgsgx .spin{width:20px;height:20px;border:3px solid #cfe9e2;border-top-color:var(--green);border-radius:50%;animation:sp 0.9s linear infinite;display:inline-block;vertical-align:-4px}
.cgsgx @keyframes sp{to{transform:rotate(360deg)}}
.cgsgx .status{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:6px 14px;background:#f0f2f5;border-radius:999px;font-size:13.5px;color:var(--ink)}
.cgsgx .status.ok{background:#e3f6ea;color:var(--good)}
.cgsgx .status.bad{background:#fdecea;color:var(--bad)}
.cgsgx .lock{display:flex;gap:8px;align-items:center;justify-content:center;color:var(--sub);font-size:12.5px;margin-top:14px}
.cgsgx .shell{display:grid;grid-template-columns:400px 1fr;height:78vh;min-height:540px;background:var(--panel);border-radius:12px;overflow:hidden;box-shadow:0 1px 3px rgba(11,20,26,.18);margin-bottom:18px}
.cgsgx .pane-l{display:flex;flex-direction:column;border-right:1px solid var(--line);min-height:0}
.cgsgx .pane-h{background:#f0f2f5;padding:12px 16px;display:flex;align-items:center;gap:10px;min-height:59px}
.cgsgx .pane-h b{font-size:16px;flex:1}
.cgsgx .avatar{width:42px;height:42px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:15px}
.cgsgx .searchbox{padding:8px 12px;border-bottom:1px solid var(--line)}
.cgsgx .searchbox input{background:#f0f2f5;border:0;border-radius:8px;padding:9px 14px}
.cgsgx .tools{display:flex;gap:14px;padding:6px 16px;font-size:13px;border-bottom:1px solid var(--line)}
.cgsgx .tools a{cursor:pointer;color:var(--green-dark);text-decoration:none;font-weight:600}
.cgsgx .glist{flex:1;overflow:auto;min-height:0}
.cgsgx .grow{display:flex;gap:13px;align-items:center;margin:0;padding:10px 16px;border-bottom:1px solid #f0f2f5;font-weight:400;cursor:pointer;user-select:none}
.cgsgx .grow:hover{background:var(--hover)}
.cgsgx .grow.sel{background:#e7f6f2}
.cgsgx .grow .t{flex:1;min-width:0}
.cgsgx .grow .t b{display:block;font-weight:500;font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cgsgx .grow .t small{color:var(--sub);font-size:13px}
.cgsgx .grow input{display:none}
.cgsgx .tick{width:22px;height:22px;border-radius:50%;border:2px solid #c4ccd1;flex:none;display:flex;align-items:center;justify-content:center;color:transparent;font-size:13px;font-weight:700}
.cgsgx .grow.sel .tick{background:var(--green);border-color:var(--green);color:#fff}
.cgsgx .pane-r{background:var(--chat);background-image:radial-gradient(rgba(0,0,0,.035) 1px,transparent 1px);background-size:18px 18px;display:flex;flex-direction:column;min-height:0}
.cgsgx .pane-r .pane-h{background:#f0f2f5}
.cgsgx .chat{flex:1;overflow:auto;padding:22px;display:flex;flex-direction:column;gap:12px}
.cgsgx .bub{max-width:560px;background:#fff;border-radius:10px;border-top-left-radius:2px;padding:10px 14px;box-shadow:0 1px 1px rgba(11,20,26,.13);position:relative}
.cgsgx .bub.me{align-self:flex-end;background:var(--bubble);border-top-left-radius:10px;border-top-right-radius:2px}
.cgsgx .bub .tm{display:block;text-align:right;color:var(--sub);font-size:11px;margin-top:2px}
.cgsgx .bub h3{margin:0 0 4px;font-size:15px}
.cgsgx .bub p{margin:4px 0}
.cgsgx .sellist{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.cgsgx .sellist span{background:#e7f6f2;color:var(--green-deep);border-radius:999px;padding:3px 11px;font-size:13px}
.cgsgx .statgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.cgsgx .statgrid div{background:rgba(255,255,255,.65);border-radius:8px;padding:8px;text-align:center}
.cgsgx .statgrid b{display:block;font-size:20px;color:var(--green-deep)}
.cgsgx .statgrid small{color:var(--sub);font-size:11.5px}
.cgsgx .composer{background:#f0f2f5;padding:12px 16px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.cgsgx .composer .grow-1{flex:1;color:var(--sub);font-size:14px}
.cgsgx .hint{color:var(--sub);text-align:center;margin:auto;max-width:360px}
.cgsgx .hint svg{width:90px;height:90px;color:#b8c2c8}
@media(max-width:860px){.cgsgx .connect{grid-template-columns:1fr;padding:22px}.cgsgx .qrframe{width:260px;height:260px}.cgsgx .shell{grid-template-columns:1fr;height:auto}.cgsgx .pane-l{max-height:55vh}.cgsgx .pane-r{min-height:360px}.cgsgx .statgrid{grid-template-columns:repeat(2,1fr)}}
.cgsgx{max-width:1180px;margin:0 auto;padding:0}
.cgsgx .bar{background:var(--green-dark);color:#fff;border-radius:12px;padding:10px 18px;margin-bottom:16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.cgsgx .bar a{color:#fff;margin-left:14px;font-size:14px;text-decoration:none}.cgsgx .bar a:hover{text-decoration:underline}
.cgsgx .bar .brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:16px}.cgsgx .bar .brand svg{width:28px;height:28px}
.cgsgx .bar .barr{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.cgsgx .bar .muted{color:#d5efe8;margin-left:8px;font-size:13px}
.cgsgx .bar .chip{background:rgba(255,255,255,.18);color:#fff}
.cgsgx .login-logo svg{width:64px;height:64px}
.cgsgx details.terms{margin-top:14px;border-top:1px solid var(--line);padding-top:10px;font-size:13.5px}.cgsgx details.terms summary{cursor:pointer;font-weight:600;color:var(--green-dark)}
.cgsgx .alert[hidden],.cgsgx [hidden]{display:none!important}
.cgsgx input[type=email],.cgsgx input[type=search],.cgsgx input.otp{max-width:100%}
.cgsgx table{margin:0}.cgsgx ol,.cgsgx ul{padding-left:0}.cgsgx ul{padding-left:20px}
.cgsgx .qrframe img{max-width:100%}
