/* Equity Edge dark red glass theme, shared by the admin, portal, login and public pages. */
:root{--bg:#07030a;--panel:rgba(30,8,13,.82);--panel-2:rgba(48,13,20,.85);--panel-3:rgba(70,20,28,.9);--line:rgba(255,76,76,.26);--ink:#f7ecec;--ink-2:#e0c3c3;--ink-3:#b08e8e;--blue:#ff5a4d;--green:#3ddc84;color-scheme:dark}
html,body{background:radial-gradient(900px 520px at 78% -8%,rgba(255,40,40,.22),transparent 60%),radial-gradient(700px 500px at 8% 105%,rgba(160,20,30,.28),transparent 60%),#07030a!important;background-attachment:fixed!important;color:#f7ecec}
.sbar{background:linear-gradient(180deg,rgba(24,6,10,.94),rgba(12,3,6,.96))!important;border-right:1px solid rgba(255,76,76,.3)!important}
.sbar nav a.on,.sbar a.on{background:linear-gradient(90deg,rgba(255,60,60,.28),rgba(255,60,60,.06))!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.45)}
.sbar nav a:hover{background:rgba(255,60,60,.12)!important;color:#fff!important}
.brand svg path{fill:#ff5a4d!important}
header{background:rgba(12,3,6,.8)!important}
.card,.wsstat2,.panel,.tile,.box{background:linear-gradient(145deg,rgba(44,10,16,.82),rgba(20,5,9,.86))!important;border:1px solid rgba(255,76,76,.3)!important;box-shadow:0 0 22px rgba(255,40,40,.1),inset 0 1px 0 rgba(255,150,150,.07)!important;border-radius:18px;color:#f7ecec}
h1,h2,h3,h4,b,strong{color:#fff}
input,select,textarea{background:rgba(255,255,255,.06)!important;color:#f7ecec!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.35)!important;color-scheme:dark}
input::placeholder,textarea::placeholder{color:#9c7a7a!important}
option{background:#1c0a10;color:#f7ecec}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(255,90,80,.7)!important}
.btnp,button.btnp,button.primary,.btn-primary{background:linear-gradient(135deg,#ff4a3d,#c4161c)!important;color:#fff!important;box-shadow:0 0 16px rgba(255,59,59,.35)!important;border:0!important}
button.ghost,.ghost{background:rgba(255,255,255,.05)!important;color:#f3dcdc!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.35)!important;border:0!important}
button:disabled{opacity:.5}
.tbl th{background:rgba(255,60,60,.1)!important;color:#d8b0b0!important}.tbl td,.tbl tr{border-color:rgba(255,76,76,.16)!important}
.sub,.muted,.empty{color:#b08e8e!important}
a{color:#ff8a7d}
[style*="background:#fff"],[style*="background: #fff"],[style*="background:#ffffff"],[style*="background:white"]{background:rgba(255,255,255,.05)!important}
[style*="background:#f4f5f7"],[style*="background:#f0f1f4"],[style*="background:#f9fafb"],[style*="background:#fafafa"]{background:rgba(255,255,255,.04)!important}
[style*="color:#16181d"],[style*="color:#101828"],[style*="color:#111"],[style*="color:#000"]{color:#f7ecec!important}
[style*="color:#4b5158"],[style*="color:#475467"],[style*="color:#667085"]{color:#c9a3a3!important}
svg text{fill:#c9a3a3}svg line[stroke="#eef0f3"]{stroke:rgba(255,90,80,.16)}
iframe{background:#fff}
/* public pages (landing, pricing, FAQ, legal, login) */
body.ee-pub{color:#e8d3d3}
body.ee-pub .logo,body.ee-pub h1,body.ee-pub h2,body.ee-pub h3,body.ee-pub .c h3{color:#fff!important}
body.ee-pub .lead,body.ee-pub p,body.ee-pub li,body.ee-pub .c p,body.ee-pub .sub,body.ee-pub .sm,body.ee-pub nav a.s,body.ee-pub label{color:#d3b4b4!important}
body.ee-pub .c,body.ee-pub .rules,body.ee-pub .form,body.ee-pub .note,body.ee-pub details,body.ee-pub form#f{background:linear-gradient(145deg,rgba(44,10,16,.82),rgba(20,5,9,.86))!important;border:1px solid rgba(255,76,76,.34)!important;box-shadow:0 0 28px rgba(255,40,40,.12)!important;color:#f3e1e1}
body.ee-pub .form{border-color:rgba(255,120,100,.6)!important;box-shadow:0 0 40px rgba(255,59,59,.22)!important}
body.ee-pub .pill{background:rgba(255,60,60,.16)!important;color:#ffb3a8!important;border:1px solid rgba(255,90,80,.4)}
body.ee-pub .ic{background:rgba(255,60,60,.18)!important;color:#ff8a7d!important}
body.ee-pub .btn{background:linear-gradient(135deg,#ff4a3d,#c4161c)!important;color:#fff!important;box-shadow:0 10px 30px rgba(255,59,59,.38)!important}
body.ee-pub .rules li b,body.ee-pub .pr small{color:#ff8a7d!important}body.ee-pub .rules li span b{color:#fff!important}
body.ee-pub .plan{border-color:rgba(255,90,80,.35)!important}body.ee-pub .plan:has(input:checked){background:rgba(255,60,60,.16)!important;border-color:#ff5a4d!important}body.ee-pub .plan small{color:#b08e8e!important}
body.ee-pub .closed{background:rgba(255,190,80,.12)!important;color:#ffd9a0!important;border-color:rgba(255,190,80,.4)!important}
body.ee-pub #err{color:#ff8a7d!important}
body.ee-pub .d{background:rgba(255,190,80,.12);color:#ffd9a0;border-color:rgba(255,190,80,.4)}
body.ee-pub summary{color:#fff}body.ee-pub footer,body.ee-pub footer a{color:#a88585!important}
body.ee-pub button[type=submit],body.ee-pub form button{background:linear-gradient(135deg,#ff4a3d,#c4161c)!important}
body.ee-pub .pr{color:#ffd9a0}
/* solid sticky header */
header{background:#0c0408!important;backdrop-filter:none!important;border-bottom:1px solid rgba(255,76,76,.35)!important}
/* mobile overflow fixes */
@media(max-width:700px){
 #wsCommission .kv{flex-wrap:wrap!important;gap:6px 10px!important}
 #wsCommission .kv b:first-child{min-width:0!important;flex:1 1 100%;overflow-wrap:anywhere;word-break:break-word}
 #wsCommission .kv>span:not([style*="flex:1"]){flex:1 1 100%}
 #wsCommission .kv>span[style*="flex:1"]{display:none}
 #wsCommission .kv input{width:80px!important;color:#fff!important}
 .card,.wsstat2{min-width:0;overflow-wrap:anywhere}
 table{display:block;overflow-x:auto;max-width:100%}
 img,video,canvas{max-width:100%;height:auto}
 main,.main,#dash{min-width:0;max-width:100vw}
 body{overflow-x:hidden}
}
/* solid mobile sticky bar */
.sbar{background:#0c0408!important;opacity:1!important;backdrop-filter:none!important}
@media(max-width:860px){.sbar{z-index:50!important;background:#0c0408!important;box-shadow:0 6px 18px rgba(0,0,0,.6)}}
/* light-on-light fixes: messages, kanban, AI chat, toggles */
.mcv{color:#f7ecec}.mcv:hover,.mcv.on{background:rgba(255,60,60,.16)!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.45)!important;color:#fff}
.mb.c{background:rgba(255,255,255,.09)!important;color:#f7ecec!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.3)!important}
.mb.t{background:linear-gradient(135deg,#ff4a3d,#c4161c)!important;color:#fff!important}
.kc,.kst div{background:rgba(255,255,255,.07)!important;color:#f7ecec!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.28)!important}
.aimsg.b{background:rgba(255,255,255,.08)!important;color:#f7ecec!important}.aimsg.u{background:linear-gradient(135deg,#ff4a3d,#c4161c)!important}
.aisug button{background:rgba(255,255,255,.07)!important;color:#f7ecec!important}
.aibox{background:#1c0a10!important;color:#f7ecec!important}
.wstog{background:rgba(255,255,255,.07)!important}.wstog button{color:#d8b0b0}
#mList,#mThread{color:#f7ecec}
.kcol{background:rgba(255,255,255,.04)!important;box-shadow:inset 0 0 0 1px rgba(255,90,80,.22)}.kh{color:#fff}.kc input,.kc select{background:rgba(255,255,255,.06)!important;color:#f7ecec!important}
[style*="background:#eef4ff"],[style*="background:#eef2f7"],[style*="background:#e8ecf3"],[style*="background:#e8eaef"],[style*="background:#eceef2"],[style*="background:#eef1f6"],[style*="background:#dbeafe"],[style*="background:#f0fdf4"]{background:rgba(255,255,255,.08)!important;color:#f7ecec!important}
[style*="background:#fffbea"],[style*="background:#fff8ec"],[style*="background:#fef3c7"],[style*="background:#fde0d0"]{background:rgba(255,190,80,.14)!important;color:#ffe2b0!important}
[style*="color:#b45309"],[style*="color:#c77700"]{color:#ffc46b!important}[style*="color:#b91c1c"],[style*="color:#c0392b"]{color:#ff8a7d!important}

/* Clients table: one-line pills, no boxy badges, scroll instead of clipping, compact on phones */
.tbl .pill{white-space:nowrap!important;display:inline-block!important;border-radius:999px!important;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.tbl td,.tbl th{vertical-align:middle}.tbl td{overflow-wrap:anywhere}.tbl td:first-child{min-width:190px}
.tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:14px;background:linear-gradient(90deg,transparent 94%,rgba(255,90,80,.12))}
.tblwrap .tbl{min-width:640px;width:100%}
.avt{width:34px!important;height:34px!important;border-radius:50%!important;background:linear-gradient(135deg,#ff4a3d,#8f1218)!important;font-size:12px!important;letter-spacing:.3px}
@media(max-width:700px){#clist .tbl{min-width:0}#clist .tbl th:nth-child(3),#clist .tbl td:nth-child(3),#clist .tbl th:nth-child(4),#clist .tbl td:nth-child(4),#clist .tbl th:nth-child(6),#clist .tbl td:nth-child(6),#clist .tbl th:nth-child(7),#clist .tbl td:nth-child(7){display:none}#clist .tbl td:first-child{min-width:0}}
.tbl td:nth-child(5){white-space:nowrap}@media(max-width:700px){#clist .tbl th:nth-child(5),#clist .tbl td:nth-child(5){font-size:12px;padding-left:4px;padding-right:4px}#clist .tbl td:last-child{white-space:nowrap}#clist .tbl td:first-child{min-width:0;width:100%}}
