.cc-shell,.cc-login{--cc-bg:#09080f;--cc-panel:#15121f;--cc-edge:#ffffff12;--cc-text:#f1edf8;--cc-muted:#aaa1bb;color:var(--cc-text);font:14px/1.5 system-ui,sans-serif;box-sizing:border-box}.cc-shell *,.cc-login *{box-sizing:border-box}.cc-shell{display:grid;grid-template-columns:215px minmax(0,1fr);min-height:90vh;background:radial-gradient(ellipse at 70% 0,#6020ad14,transparent 60%),var(--cc-bg);border-radius:20px;overflow:hidden}.cc-shell aside{background:#0e0b16;border-right:1px solid var(--cc-edge);padding:24px 16px;display:flex;flex-direction:column;gap:10px}.cc-brand{font-size:22px;font-weight:800;letter-spacing:-.7px}.cc-brand span{color:#b37aff}.cc-shell nav{display:grid;gap:5px;margin:18px 0 30px}.cc-shell button,.cc-login button{font:inherit;border:1px solid #ffffff17;color:var(--cc-text);background:#1a1527;border-radius:9px;padding:9px 12px;cursor:pointer;transition:background .2s,transform .2s}.cc-shell nav button{text-align:left;background:transparent;border-color:transparent}.cc-shell nav button[aria-current=page]{background:#7e42bf30;color:#dbc2ff;border-color:#a063ef33}.cc-shell button:hover,.cc-login button:hover{background:#7540aa40}.cc-shell button:focus-visible,.cc-login button:focus-visible{outline:2px solid #bc86ff;outline-offset:3px}.cc-shell button.danger{border-color:#e1567540;color:#ffb5c5}.cc-shell main{padding:26px;min-width:0}.cc-shell header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.cc-shell h1{font-size:25px;line-height:1.2;letter-spacing:-.7px;margin:5px 0}.cc-shell h2{font-size:18px;margin:0 0 12px}.cc-shell h3{font-size:15px}.cc-shell small,.cc-shell p,.cc-login p{color:var(--cc-muted)}.cc-shell input,.cc-shell select,.cc-shell textarea,.cc-login input{background:#0d0a16;border:1px solid #ffffff20;border-radius:9px;color:var(--cc-text);padding:10px;font:inherit;max-width:100%;margin:5px 0}.cc-shell textarea{display:block;min-height:85px;width:100%;resize:vertical}.cc-shell input[type=checkbox]{width:auto}.cc-shell label{display:block}.cc-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cc-panel,.cc-health{border:1px solid var(--cc-edge);background:#171221a8;border-radius:14px;padding:18px;margin:15px 0}.cc-health{display:flex;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#7b39b329,#181121)}.cc-health strong{display:block;font-size:35px;letter-spacing:-1px}.cc-health p{font-size:12px;max-width:580px;margin-bottom:0}.cc-status,.cc-badge{font-size:12px;background:#a678e518;padding:6px 9px;border-radius:8px;align-self:start}.cc-badge.good{color:#87d5ad;background:#4bc48b14}.cc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cc-stat{border:1px solid var(--cc-edge);background:#15121f;border-radius:12px;padding:16px}.cc-stat strong{display:block;font-size:25px;margin-top:8px;overflow-wrap:anywhere}.cc-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cc-line{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--cc-edge)}.cc-money{font-size:28px}.cc-chart{display:flex;align-items:end;gap:6px;height:155px;overflow-x:auto;padding:10px 0}.cc-chart>div{flex:1;min-width:35px;display:grid;align-items:end;justify-items:center;gap:6px}.cc-chart span{display:block;width:70%;background:linear-gradient(#b77af0,#7841b7);border-radius:5px 5px 0 0}.cc-chart small{font-size:9px}.cc-table{overflow:auto;border:1px solid var(--cc-edge);border-radius:12px;margin:14px 0}.cc-table table{border-collapse:collapse;width:100%;font-size:12px}.cc-table th,.cc-table td{text-align:left;padding:12px;border-bottom:1px solid var(--cc-edge);vertical-align:top;overflow-wrap:anywhere}.cc-table th{color:#aaa1bb;font-weight:500;background:#ffffff03}.cc-table td button{font-size:12px;margin:2px}.cc-shell pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,monospace;color:#c7badd;background:#0c0912;padding:12px;border-radius:8px;max-height:360px;overflow:auto}.cc-note,.cc-empty{font-size:12px;max-width:850px}.cc-loading{padding:14px;border-radius:10px;background:#7841b716;animation:cc-fade 1s alternate infinite}.cc-error{padding:12px;border:1px solid #e1637e40;background:#ce365a10;border-radius:10px;margin-bottom:15px;color:#ffbac8}.cc-login{max-width:460px;margin:8vh auto;padding:30px;background:#151020;border:1px solid #9865bb30;border-radius:20px;display:grid;gap:10px;text-align:center}.cc-login a{color:#bd8cff}.cc-code{font-size:34px;letter-spacing:6px}.cc-confirm{border:1px solid #bc84f940;padding:15px;border-radius:10px;margin-top:15px}.cc-thread article{padding:14px;border:1px solid var(--cc-edge);border-radius:10px;margin:10px 0;background:#14111e}.cc-thread .internal{border-color:#b086d43b;background:#5d377821}.cc-thread p{white-space:pre-wrap;overflow-wrap:anywhere}@keyframes cc-fade{to{opacity:.5}}@media(max-width:800px){.cc-shell{grid-template-columns:minmax(0,1fr)}.cc-shell aside{padding:15px;border-right:0;border-bottom:1px solid var(--cc-edge)}.cc-shell nav{display:flex;overflow-x:auto;margin:5px 0;gap:5px}.cc-shell nav button{white-space:nowrap}.cc-shell aside>small:last-of-type{display:none}.cc-shell main{padding:16px}.cc-stats{grid-template-columns:1fr 1fr}.cc-columns{grid-template-columns:1fr}.cc-shell header{align-items:start;flex-direction:column}.cc-health{flex-direction:column}.cc-stat strong{font-size:22px}}@media(prefers-reduced-motion:reduce){.cc-shell *{animation:none!important;transition:none!important}}

body:has(.cc-login){margin:0;background:#090b13;color:#eef0ff;font-family:system-ui,sans-serif;}
.cc-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.cc-node-card{border:1px solid #ffffff14;background:linear-gradient(145deg,#1c1729,#100e19);border-radius:20px;padding:24px;min-width:0}.cc-node-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:26px}.cc-node-heading h2{margin:0 0 4px;font-size:20px}.cc-node-heading small{font-size:11px}.cc-node-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#a366f025;color:#cfa6ff;font-size:28px}.cc-node-state{margin-left:auto;display:flex;align-items:center;gap:7px;border:1px solid #ffffff16;border-radius:30px;padding:6px 11px;font-size:12px;color:#bdb5cc;background:#ffffff06}.cc-node-state i{width:7px;height:7px;background:currentColor;border-radius:50%}.cc-node-state.healthy{color:#81e2b1;background:#2aa67514;border-color:#2aa67530}.cc-node-state.unavailable{color:#ff9eac;background:#e04b6714;border-color:#e04b6730}.cc-node-load{display:grid;gap:17px}.cc-meter>div:first-child{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#bdb4cc}.cc-meter strong{color:#f1edf8;font-size:13px}.cc-meter meter,.cc-meter-track{display:block;width:100%;height:9px;background:#ffffff09;border:0;border-radius:8px;overflow:hidden}.cc-meter meter::-webkit-meter-bar{background:#ffffff09;border:0;border-radius:8px}.cc-meter meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#8755db,#cc9eff);border-radius:8px}.cc-meter meter::-moz-meter-bar{background:#ae7deb;border-radius:8px}.cc-meter-track.empty{background:repeating-linear-gradient(135deg,#ffffff08 0px,#ffffff08 5px,transparent 5px,transparent 10px)}.cc-node-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 14px;margin:25px 0;border-top:1px solid #ffffff0c;padding-top:20px}.cc-node-facts strong,.cc-node-network strong{display:block;font-size:14px;font-weight:600;margin-top:5px}.cc-node-network{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;background:#ffffff04;border:1px solid #ffffff08;border-radius:12px}.cc-node-network strong{font-size:21px}.cc-node-card footer{display:flex;flex-wrap:wrap;gap:7px 16px;color:#9c91b0;font-size:11px;padding:18px 0 14px}.cc-node-card footer b{font-weight:500;color:#d4c8e4}.cc-node-technical{border-top:1px solid #ffffff0d;padding-top:12px;color:#aba0bd;font-size:12px}.cc-node-technical summary,.cc-panel>summary{cursor:pointer}.cc-node-technical pre{margin-bottom:0}.cc-node-summary .cc-stat strong{font-size:28px}@media(max-width:1150px){.cc-node-grid{grid-template-columns:1fr}}@media(max-width:480px){.cc-node-card{padding:18px}.cc-node-state{margin-left:56px}.cc-node-network strong{font-size:18px}.cc-node-heading h2{font-size:18px}}
/* One admin shell: desktop sidebar, mobile bottom navigation and an explicit menu. */
.cc-mobile-nav,.cc-menu-button{display:none}
.cc-shell main{min-width:0}
.cc-shell header{gap:12px;align-items:flex-start}
.cc-header-actions{justify-content:flex-end}
.cc-shell .primary{background:linear-gradient(135deg,#995be8,#7434c9);border-color:#be8eed50;font-weight:650}
.cc-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.cc-quick-actions button{display:block;text-align:left;padding:18px;background:linear-gradient(135deg,#302041,#171321);border-radius:17px}
.cc-quick-actions strong,.cc-quick-actions small{display:block}
.cc-quick-actions strong{font-size:16px;margin-bottom:6px}
.cc-quick-actions small{font-size:12px}
.cc-client-list{display:grid;gap:12px}
.cc-client-card{display:flex;align-items:center;gap:13px;width:100%;padding:18px!important;text-align:left;border-radius:18px!important;background:linear-gradient(130deg,#201a2c,#15121e)!important}
.cc-client-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#a26bee20;color:#d3b1fb;font-size:19px;font-weight:700}
.cc-client-info{flex:1;min-width:0}
.cc-client-info strong,.cc-client-info small,.cc-client-info>span{display:block;overflow-wrap:anywhere}
.cc-client-info strong{font-size:15px;margin-bottom:5px}
.cc-client-info small,.cc-client-info>span{font-size:11px;color:#b6abc7;line-height:1.6}
.cc-client-money{text-align:right;flex-shrink:0;font-size:14px;color:#dec7fa}
.cc-client-money small{display:block;font-size:10px;margin-top:8px}
.cc-wallet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.cc-wallet-head strong{display:block;font-size:30px;letter-spacing:-.8px;margin-top:6px}
.cc-wallet-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cc-wallet-form label:nth-child(3),.cc-wallet-form>button{grid-column:1/-1}
.cc-wallet-panel{border-color:#ab73e83a;background:linear-gradient(130deg,#30203d70,#17121e)}
.cc-client-meta{margin:0 0 18px!important;overflow-wrap:anywhere}
.cc-client-search .cc-toolbar>label:first-child{flex:1;min-width:160px}
.cc-client-search input{width:100%}
.cc-shell details.cc-panel>summary{cursor:pointer;font-weight:600;min-height:34px;line-height:1.5}
.cc-shell details.cc-panel[open]>summary{margin-bottom:18px}
.cc-pager{justify-content:center;margin:18px 0}
.cc-menu{margin:0 0 20px;border:1px solid #bf8aef30;border-radius:18px;padding:18px;background:#1b1429}
.cc-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.cc-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.cc-menu-grid button{text-align:left;min-height:46px}
.cc-menu-grid button[aria-current=page]{background:#9a5fdf30;border-color:#b680ed60}
.cc-module .ga-embedded{padding:0;background:transparent}
.cc-module .ga-embedded>h1{display:none}
.cc-module .ga-readonly .ga-form,.cc-module .ga-readonly button{display:none}
@media(max-width:900px){
 .cc-shell{display:block;min-height:100%;border-radius:0;overflow:visible}
 .cc-shell>aside{display:none}
 .cc-shell>main{padding:18px 14px calc(100px + env(safe-area-inset-bottom,0px))}
 .cc-shell header{display:block;margin-bottom:18px}
 .cc-shell header h1{font-size:26px;margin:6px 0 14px}
 .cc-header-actions{justify-content:flex-start;display:grid;grid-template-columns:auto 1fr auto;gap:8px}
 .cc-header-actions [data-cc=quick-clients]{grid-column:1/-1;width:100%}
 .cc-menu-button{display:block}
 .cc-mobile-nav{display:flex;position:fixed;left:12px;right:12px;bottom:calc(10px + var(--tg-safe-area-inset-bottom,env(safe-area-inset-bottom,0px)));max-width:550px;margin:0 auto;padding:7px;border:1px solid #b988e63b;border-radius:22px;background:#201629f5;z-index:12;box-shadow:0 8px 30px #0006}
 .cc-mobile-nav button{flex:1;min-width:0;padding:7px 3px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px}
 .cc-mobile-nav button>span{font-size:19px;line-height:22px}
 .cc-mobile-nav button[aria-current=page]{background:#9d67da24;border-radius:14px;color:#e6ccff}
 .cc-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cc-stat{padding:13px}
 .cc-stat strong{font-size:23px}
 .cc-columns,.cc-quick-actions{grid-template-columns:1fr}
 .cc-panel,.cc-health{padding:17px;margin:12px 0;border-radius:18px}
 .cc-wallet-form{grid-template-columns:1fr}
 .cc-wallet-form label:nth-child(3),.cc-wallet-form>button{grid-column:auto}
 .cc-toolbar input,.cc-toolbar select{min-width:0;width:100%}
 .cc-toolbar>label{flex:1 1 150px;min-width:0}
 .cc-client-card{flex-wrap:wrap;padding:15px!important}
 .cc-client-money{margin-left:55px;flex:1;text-align:left}
 .cc-client-money small{display:inline;margin-left:12px}
 .cc-table table{min-width:420px}
 .cc-shell textarea{min-width:0;width:100%;box-sizing:border-box}
}
/* Isolate the admin from customer navigation and customer button overrides. */
#gabur-prototype.g-admin-mode{max-width:1200px}
#gabur-prototype.g-admin-mode .g-nav{display:none}
#gabur-prototype.g-admin-mode .g-main{margin-bottom:0;padding:0;scroll-padding-bottom:100px;-webkit-mask-image:none;mask-image:none}
#gabur-prototype.g-admin-mode .g-app{padding:0;border:0;background:#0c0913;border-radius:0;display:block}
#gabur-prototype.g-admin-mode .g-page{animation:none}
#gabur-prototype.g-admin-mode .cc-shell button{border:1px solid #ffffff17;color:#f1edf8;background:#1a1527;border-radius:12px;padding:10px 13px;min-height:44px;font:inherit;cursor:pointer}
#gabur-prototype.g-admin-mode .cc-shell button.primary{background:linear-gradient(135deg,#995be8,#7434c9)}
#gabur-prototype.g-admin-mode .cc-shell .cc-mobile-nav button{border:0;background:none;padding:6px 3px;min-height:50px;font-size:10px}
#gabur-prototype.g-admin-mode .cc-shell .cc-mobile-nav button[aria-current=page]{background:#a16fe52a}
#gabur-prototype.g-admin-mode .g-main{height:100%;overflow-y:auto;overflow-x:hidden}
#gabur-prototype.g-admin-mode .cc-shell input,#gabur-prototype.g-admin-mode .cc-shell select,#gabur-prototype.g-admin-mode .cc-shell textarea{font-size:16px}
#gabur-prototype.g-admin-mode .cc-shell .cc-quick-actions button,#gabur-prototype.g-admin-mode .cc-shell .cc-menu-grid button{font-size:14px}
.cc-shell .cc-quick-actions button:active,.cc-client-card:active{background:#8a50cb22!important}
@media(max-width:900px){.cc-header-actions.cc-no-period{grid-template-columns:1fr 1fr}.cc-client-money{flex:1 1 calc(100% - 55px);min-width:0;margin-left:55px}.cc-client-search .cc-toolbar>label{flex-basis:100%}.cc-client-search .cc-toolbar>button{width:100%}}
.cc-shell nav.cc-mobile-nav{display:none}@media(max-width:900px){.cc-shell nav.cc-mobile-nav{display:flex;margin:0 auto}}
