/* ============================================================
   LS Client Dashboard - design system (scope: .lsdash)
   Redesign based on Template.html - WHMCS twenty-one theme
   ============================================================ */
body.ls-dash-page{
  background-color:#f3f7f6;
  background-image:
    radial-gradient(900px 420px at 88% -60px,#cfeee4 0%,rgba(207,238,228,0) 70%),
    radial-gradient(760px 420px at 4% 6%,#dfeaff 0%,rgba(223,234,255,0) 70%);
  background-repeat:no-repeat;
  background-attachment:fixed;
}
body.ls-dash-page .lsdash{font-family:'Vazirmatn FD','Vazirmatn',Tahoma,sans-serif;color:#0e2b27;-webkit-font-smoothing:antialiased}
body.ls-dash-page .lsdash *{box-sizing:border-box}
body.ls-dash-page .lsdash a{color:inherit;text-decoration:none}
body.ls-dash-page .lsdash button{font-family:inherit;cursor:pointer}
body.ls-dash-page .lsdash{
--ink:#0b3d37; --ink2:#0e2b27;
  --text:#3d5a55; --muted:#567069; --faint:#8aa49e;
  --brand:#146157; --brand-d:#0f4d45; --brand-l:#1b7a6c;
  --mint:#2fb59b; --mint2:#1fc08b;
  --line:#e2ebe8; --line2:#d3eae2;
  --soft:#f5faf8; --soft2:#eef7f4; --chip:#dcf0ea;
  --blue:#4b8fe0; --blue-d:#1d5fa8; --blue-soft:#e0efff;
  --amber:#8a5200; --amber-soft:#fff0d2;
  --red:#c94a3d; --red-soft:#ffeae7;
  --violet:#6f5bd6; --violet-soft:#eee9ff;
  --sh:0 1px 2px rgba(14,43,39,.04),0 14px 34px -14px rgba(14,43,39,.12);
  --sh-lg:0 1px 2px rgba(14,43,39,.04),0 18px 44px -18px rgba(20,97,87,.25);
}
body.ls-dash-page .lsdash .lsui{
  direction:rtl;
  min-height:0;
  padding-bottom:0;
  background:transparent;
}
body.ls-dash-page .lsdash .wrap{
max-width:1280px;margin:0 auto;padding:16px 24px 56px
}
body.ls-dash-page .lsdash .ic{
width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
body.ls-dash-page .lsdash .annbar{
background:#e6f4ef;border-bottom:1px solid #d3e9e1
}
body.ls-dash-page .lsdash .annbar-in{
max-width:1280px;margin:0 auto;padding:0 24px;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:var(--brand-d)
}
body.ls-dash-page .lsdash .annbar .who{
display:flex;align-items:center;gap:8px;font-weight:600
}
body.ls-dash-page .lsdash .annbar .as{
display:flex;align-items:center;gap:8px
}
body.ls-dash-page .lsdash .annbar .as b{
font-weight:700;border-bottom:1px dashed var(--brand-l)
}
body.ls-dash-page .lsdash .nav{
display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border:1px solid var(--line);border-radius:22px;padding:10px 12px;
  box-shadow:0 1px 2px rgba(14,43,39,.04),0 14px 34px -16px rgba(14,43,39,.14)
}
body.ls-dash-page .lsdash .brand{
display:flex;align-items:center;gap:10px;padding-inline:6px 16px;flex:none
}
body.ls-dash-page .lsdash .brand-mark{
width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--mint),var(--brand-d));
  color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;letter-spacing:.5px;
  box-shadow:0 8px 18px -8px rgba(20,97,87,.7);direction:ltr
}
body.ls-dash-page .lsdash .brand-name{
font-size:19px;font-weight:800;color:var(--ink);white-space:nowrap
}
body.ls-dash-page .lsdash .navlinks{
display:flex;align-items:center;gap:2px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none
}
body.ls-dash-page .lsdash .navlinks::-webkit-scrollbar{
display:none
}
body.ls-dash-page .lsdash .navlink{
display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:12px;font-size:14px;font-weight:600;color:var(--text);white-space:nowrap;transition:background .15s,color .15s
}
body.ls-dash-page .lsdash .navlink:hover{
background:var(--soft2);color:var(--brand)
}
body.ls-dash-page .lsdash .navlink.is-active{
font-weight:700;color:var(--brand-d);background:var(--chip)
}
body.ls-dash-page .lsdash .navtools{
display:flex;align-items:center;gap:10px;margin-inline-start:auto;flex:none
}
body.ls-dash-page .lsdash .iconbtn{
position:relative;width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;
  display:flex;align-items:center;justify-content:center;color:var(--brand);transition:background .15s,border-color .15s
}
body.ls-dash-page .lsdash .iconbtn:hover{
background:var(--soft2);border-color:#a9d6c9
}
body.ls-dash-page .lsdash .cart-badge{
position:absolute;top:-6px;left:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;
  background:var(--brand);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff
}
body.ls-dash-page .lsdash .userbtn{
display:flex;align-items:center;gap:10px;height:44px;padding:0 6px 0 12px;border:1px solid var(--line);
  background:#fff;border-radius:14px;font-size:14px;font-weight:600;color:var(--ink2);white-space:nowrap;transition:background .15s,border-color .15s
}
body.ls-dash-page .lsdash .userbtn:hover{
background:var(--soft2);border-color:#a9d6c9
}
body.ls-dash-page .lsdash .userbtn .av{
width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,var(--mint),var(--brand));
  color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800
}
body.ls-dash-page .lsdash .userbtn .chev{
color:var(--muted)
}
body.ls-dash-page .lsdash .crumb{
display:flex;align-items:center;gap:8px;font-size:13px;margin:8px 0 16px
}
body.ls-dash-page .lsdash .crumb a{
font-weight:700;color:var(--brand)
}
body.ls-dash-page .lsdash .crumb span{
color:var(--muted)
}
body.ls-dash-page .lsdash .crumb .sep{
color:var(--faint);display:flex
}
body.ls-dash-page .lsdash .layout{
display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start
}
body.ls-dash-page .lsdash .side{
display:flex;flex-direction:column;gap:20px;min-width:0;order:0
}
body.ls-dash-page .lsdash .main{
display:flex;flex-direction:column;gap:20px;min-width:0
}
body.ls-dash-page .lsdash .card{
background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--sh)
}
body.ls-dash-page .lsdash .card-h{
display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line)
}
body.ls-dash-page .lsdash .card-t{
display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800;color:var(--ink)
}
body.ls-dash-page .lsdash .chipico{
width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none
}
body.ls-dash-page .lsdash .chipico .ic{
width:19px;height:19px
}
body.ls-dash-page .lsdash .c-violet{
background:var(--violet-soft);color:var(--violet)
}
body.ls-dash-page .lsdash .c-amber{
background:var(--amber-soft);color:var(--amber)
}
body.ls-dash-page .lsdash .c-blue{
background:var(--blue-soft);color:var(--blue-d)
}
body.ls-dash-page .lsdash .c-mint{
background:var(--chip);color:var(--brand)
}
body.ls-dash-page .lsdash .c-soft{
background:var(--soft2);color:var(--brand)
}
body.ls-dash-page .lsdash .hero{
position:relative;overflow:hidden;border-radius:28px;border:1px solid var(--line2);
  background:linear-gradient(135deg,#fff 0%,#eaf7f2 48%,#d9efe8 100%);
  padding:40px;display:flex;align-items:center;justify-content:space-between;gap:32px;box-shadow:var(--sh-lg)
}
body.ls-dash-page .lsdash .hero-body{
flex:1;min-width:0;text-align:right;display:flex;flex-direction:column;align-items:flex-start;gap:0
}
body.ls-dash-page .lsdash .hero-chip{
display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.9);
  border:1px solid #cfe6df;font-size:12px;font-weight:700;color:var(--brand);box-shadow:0 6px 16px -10px rgba(20,97,87,.4)
}
body.ls-dash-page .lsdash .hero-chip .dot{
width:8px;height:8px;border-radius:50%;background:var(--mint2);box-shadow:0 0 0 3px rgba(31,192,139,.18)
}
body.ls-dash-page .lsdash .hero h1{
margin:16px 0 0;font-size:44px;line-height:1.25;font-weight:800;color:var(--ink);letter-spacing:-.5px
}
body.ls-dash-page .lsdash .hero .sub{
margin:10px 0 0;font-size:15px;color:var(--text);font-weight:500
}
body.ls-dash-page .lsdash .hero .sub b{
color:var(--brand);font-weight:800
}
body.ls-dash-page .lsdash .hero-links{
display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin-top:22px
}
body.ls-dash-page .lsdash .pill{
display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border-radius:14px;background:#fff;
  border:1px solid var(--line);font-size:13px;font-weight:700;color:var(--brand-d);box-shadow:0 6px 16px -12px rgba(14,43,39,.5);transition:transform .2s,border-color .2s,box-shadow .2s
}
body.ls-dash-page .lsdash .pill:hover{
transform:translateY(-2px);border-color:#b9ddd2
}
body.ls-dash-page .lsdash .hero-cta{
margin-top:14px;display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:14px;
  background:var(--brand-d);color:#fff;font-size:14px;font-weight:700;border:0;box-shadow:0 14px 26px -14px rgba(15,77,69,.85);transition:background .15s,transform .15s
}
body.ls-dash-page .lsdash .hero-cta:hover{
background:#0b3d37
}
body.ls-dash-page .lsdash .hero-cta:active{
transform:scale(.985)
}
body.ls-dash-page .lsdash .hero-art{
flex:none;width:360px;max-width:38%;display:flex;align-items:center;justify-content:center
}
body.ls-dash-page .lsdash .hero-art svg{
width:100%;height:auto;display:block
}
body.ls-dash-page .lsdash .stats{
display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px
}
body.ls-dash-page .lsdash .stat{
position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:22px;
  padding:18px 18px 20px;display:flex;flex-direction:column;gap:0;box-shadow:var(--sh);transition:transform .2s,box-shadow .2s,border-color .2s
}
body.ls-dash-page .lsdash .stat:hover{
transform:translateY(-3px);border-color:#b9ddd2;box-shadow:0 2px 4px rgba(14,43,39,.04),0 22px 40px -16px rgba(20,97,87,.28)
}
body.ls-dash-page .lsdash .stat-top{
display:flex;align-items:center;justify-content:space-between
}
body.ls-dash-page .lsdash .stat-ico{
width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center
}
body.ls-dash-page .lsdash .stat-ico .ic{
width:22px;height:22px
}
body.ls-dash-page .lsdash .stat-go{
width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--muted);
  display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s,border-color .15s
}
body.ls-dash-page .lsdash .stat:hover .stat-go{
background:var(--brand);border-color:var(--brand);color:#fff
}
body.ls-dash-page .lsdash .stat-go .ic{
width:16px;height:16px
}
body.ls-dash-page .lsdash .stat-num{
margin-top:18px;font-size:32px;font-weight:800;color:var(--ink);line-height:1
}
body.ls-dash-page .lsdash .stat-lbl{
margin-top:6px;font-size:13px;font-weight:600;color:var(--muted)
}
body.ls-dash-page .lsdash .stat-bar{
position:absolute;inset-inline:0;bottom:0;height:3px;border-radius:3px 3px 0 0
}
body.ls-dash-page .lsdash .bar-violet{
background:linear-gradient(90deg,var(--violet),#a99bf0)
}
body.ls-dash-page .lsdash .bar-amber{
background:linear-gradient(90deg,#e0a53c,#f3cd8a)
}
body.ls-dash-page .lsdash .bar-blue{
background:linear-gradient(90deg,var(--blue-d),var(--blue))
}
body.ls-dash-page .lsdash .bar-mint{
background:linear-gradient(90deg,var(--brand),var(--mint2))
}
body.ls-dash-page .lsdash .prod{
display:flex;align-items:flex-start;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line);transition:background .15s
}
body.ls-dash-page .lsdash .prod:last-child{
border-bottom:0
}
body.ls-dash-page .lsdash .prod:hover{
background:#f1f8f5
}
body.ls-dash-page .lsdash .prod-ico{
width:46px;height:46px;border-radius:14px;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;flex:none;box-shadow:0 10px 20px -12px rgba(20,97,87,.9)
}
body.ls-dash-page .lsdash .prod-ico .ic{
width:22px;height:22px
}
body.ls-dash-page .lsdash .prod-main{
flex:1;min-width:0
}
body.ls-dash-page .lsdash .prod-row1{
display:flex;align-items:center;gap:8px;flex-wrap:wrap
}
body.ls-dash-page .lsdash .prod-name{
font-size:14px;font-weight:700;color:var(--ink)
}
body.ls-dash-page .lsdash .badge{
display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700
}
body.ls-dash-page .lsdash .badge .dot{
width:6px;height:6px;border-radius:50%;background:currentColor
}
body.ls-dash-page .lsdash .badge-ok{
background:#e4f7ef;color:#12795f
}
body.ls-dash-page .lsdash .prod-meta{
display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px;color:var(--muted);font-weight:500
}
body.ls-dash-page .lsdash .prod-meta .ic{
width:14px;height:14px;color:var(--faint)
}
body.ls-dash-page .lsdash .prod-actions{
display:flex;align-items:center;gap:8px;flex:none
}
body.ls-dash-page .lsdash .btn{
display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:12px;
  font-size:13px;font-weight:700;border:1px solid transparent;transition:background .15s,border-color .15s,color .15s
}
body.ls-dash-page .lsdash .btn-primary{
background:var(--brand);color:#fff;box-shadow:0 10px 22px -14px rgba(20,97,87,.9)
}
body.ls-dash-page .lsdash .btn-primary:hover{
background:var(--brand-d)
}
body.ls-dash-page .lsdash .btn-ghost{
background:#fff;border-color:var(--line);color:var(--brand-d)
}
body.ls-dash-page .lsdash .btn-ghost:hover{
background:var(--soft2);border-color:#a9d6c9
}
body.ls-dash-page .lsdash .btn-sm{
height:34px;padding:0 12px;font-size:12px;border-radius:10px
}
body.ls-dash-page .lsdash .btn .ic{
width:15px;height:15px
}
body.ls-dash-page .lsdash .dom{position:relative;overflow:hidden;padding:20px 22px 182px;display:flex;flex-direction:column}
body.ls-dash-page .lsdash .dom-tabs{
display:flex;gap:4px;padding:4px;background:var(--soft);border:1px solid var(--line);border-radius:14px
}
body.ls-dash-page .lsdash .dom-tab{
flex:1;display:flex;align-items:center;justify-content:center;height:38px;border-radius:11px;border:0;background:transparent;font-size:13px;font-weight:700;color:var(--text)
}
body.ls-dash-page .lsdash .dom-tab.is-active{
background:var(--brand);color:#fff;box-shadow:0 8px 18px -12px rgba(20,97,87,.9)
}
body.ls-dash-page .lsdash .dom-search{
display:flex;gap:8px;margin-top:14px
}
body.ls-dash-page .lsdash .field{
flex:1;min-width:0;height:46px;padding:0 16px;border:1px solid var(--line);border-radius:13px;background:#fff;
  font-size:13px;font-weight:500;color:var(--ink2);font-family:inherit;direction:ltr;text-align:right
}
body.ls-dash-page .lsdash .field::placeholder{
color:#667f79
}
body.ls-dash-page .lsdash .field:focus{
outline:0;border-color:var(--brand-l);box-shadow:0 0 0 4px rgba(27,122,108,.14)
}
body.ls-dash-page .lsdash .dom-btn{
height:46px;padding:0 20px;border-radius:13px;border:0;background:var(--brand);color:#fff;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:8px;box-shadow:0 12px 24px -14px rgba(20,97,87,.9)
}
body.ls-dash-page .lsdash .dom-btn:hover{
background:var(--brand-d)
}
body.ls-dash-page .lsdash .dom-btn .ic{
width:16px;height:16px
}
body.ls-dash-page .lsdash .dom-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;display:block}
body.ls-dash-page .lsdash .empty{
padding:34px 24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px
}
body.ls-dash-page .lsdash .empty-ico{
width:64px;height:64px;border-radius:50%;background:var(--soft2);color:#9ec9bd;display:flex;align-items:center;justify-content:center
}
body.ls-dash-page .lsdash .empty-ico .ic{
width:28px;height:28px
}
body.ls-dash-page .lsdash .empty p{
margin:0;max-width:280px;font-size:13px;line-height:1.9;color:var(--muted);font-weight:500
}
body.ls-dash-page .lsdash .profile{
overflow:hidden
}
body.ls-dash-page .lsdash .profile-cover{
height:92px;background:linear-gradient(120deg,#d8f1ea 0%,#e4eeff 100%);padding:16px 24px
}
body.ls-dash-page .lsdash .profile-cover h2{
margin:0;font-size:13px;font-weight:700;color:var(--brand-d)
}
body.ls-dash-page .lsdash .profile-body{
padding:0 24px 24px;margin-top:-34px
}
body.ls-dash-page .lsdash .avatar{
width:68px;height:68px;border-radius:22px;background:linear-gradient(135deg,var(--mint),var(--brand));color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;border:4px solid #fff;box-shadow:0 10px 24px -10px rgba(20,97,87,.6)
}
body.ls-dash-page .lsdash .profile-name{
margin:14px 0 0;font-size:20px;font-weight:800;color:var(--ink)
}
body.ls-dash-page .lsdash .profile-sub{
margin-top:2px;color:var(--text);font-size:14px;font-weight:500
}
body.ls-dash-page .lsdash .profile-box{
margin-top:16px;padding:14px 16px;background:var(--soft);border:1px solid var(--line);border-radius:16px;display:flex;gap:12px;font-size:13px;line-height:1.9;color:var(--text)
}
body.ls-dash-page .lsdash .profile-box .ic{
width:17px;height:17px;color:var(--brand);margin-top:2px
}
body.ls-dash-page .lsdash .notice{
margin-top:10px;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:var(--amber-soft);
  border:1px solid #ffe0a8;font-size:12px;font-weight:700;color:var(--amber);transition:background .15s
}
body.ls-dash-page .lsdash .notice:hover{
background:#ffe9c2
}
body.ls-dash-page .lsdash .notice .ic{
width:16px;height:16px
}
body.ls-dash-page .lsdash .notice .chev{
margin-inline-start:auto;opacity:.7
}
body.ls-dash-page .lsdash .profile-cta{
margin-top:12px;width:100%;height:46px;border-radius:13px;border:0;background:var(--brand);color:#fff;font-size:14px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 14px 26px -16px rgba(20,97,87,.9)
}
body.ls-dash-page .lsdash .profile-cta:hover{
background:var(--brand-d)
}
body.ls-dash-page .lsdash .profile-cta .ic{
width:17px;height:17px
}
body.ls-dash-page .lsdash .sub-empty{
padding:20px 22px 0
}
body.ls-dash-page .lsdash .sub-empty .box{
padding:18px;border:1px dashed var(--line2);border-radius:16px;background:var(--soft);text-align:center;font-size:13px;color:var(--muted);font-weight:500
}
body.ls-dash-page .lsdash .sub-cta{
margin:12px 22px 20px;display:flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:13px;
  border:1px dashed #b9ddd2;background:#fff;color:var(--brand-d);font-size:13px;font-weight:700;transition:background .15s,border-color .15s
}
body.ls-dash-page .lsdash .sub-cta:hover{
background:var(--soft2);border-color:var(--brand-l)
}
body.ls-dash-page .lsdash .shortcut{
display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;color:var(--ink);transition:background .15s
}
body.ls-dash-page .lsdash .shortcut:last-child{
border-bottom:0
}
body.ls-dash-page .lsdash .shortcut:hover{
background:#f1f8f5
}
body.ls-dash-page .lsdash .shortcut-ico{
width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex:none
}
body.ls-dash-page .lsdash .shortcut-ico .ic{
width:17px;height:17px
}
body.ls-dash-page .lsdash .shortcut .chev{
margin-inline-start:auto;color:var(--faint)
}
body.ls-dash-page .lsdash .shortcut.is-danger{
color:var(--red)
}
body.ls-dash-page .lsdash .shortcut.is-danger .shortcut-ico{
background:var(--red-soft);color:var(--red)
}
body.ls-dash-page .lsdash .help{
display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 28px;border-radius:26px;
  background:linear-gradient(120deg,var(--brand) 0%,var(--brand-l) 100%);color:#fff;box-shadow:0 22px 44px -22px rgba(15,77,69,.65);margin-top:24px
}
body.ls-dash-page .lsdash .help-main{
display:flex;align-items:center;gap:16px
}
body.ls-dash-page .lsdash .help-ico{
width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;flex:none
}
body.ls-dash-page .lsdash .help-ico .ic{
width:24px;height:24px
}
body.ls-dash-page .lsdash .help h3{
margin:0;font-size:19px;font-weight:800
}
body.ls-dash-page .lsdash .help p{
margin:4px 0 0;font-size:13px;color:rgba(255,255,255,.78);font-weight:500
}
body.ls-dash-page .lsdash .help-actions{
display:flex;align-items:center;gap:10px
}
body.ls-dash-page .lsdash .help .btn-white{
background:#fff;color:var(--brand-d);border-color:#fff
}
body.ls-dash-page .lsdash .help .btn-white:hover{
background:#eef7f4
}
body.ls-dash-page .lsdash .help .btn-line{
background:transparent;border-color:rgba(255,255,255,.4);color:#fff
}
body.ls-dash-page .lsdash .help .btn-line:hover{
background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6)
}
body.ls-dash-page .lsdash .foot{
margin-top:48px;padding:40px 8px 0;border-top:1px solid #e6efec
}
body.ls-dash-page .lsdash .foot-grid{
display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px
}
body.ls-dash-page .lsdash .foot-brand{
display:flex;flex-direction:column;gap:14px
}
body.ls-dash-page .lsdash .foot-brand .brand{
padding:0
}
body.ls-dash-page .lsdash .foot-brand p{
margin:0;font-size:13px;color:var(--muted);font-weight:500
}
body.ls-dash-page .lsdash .foot-contact{
display:flex;flex-direction:column;gap:8px
}
body.ls-dash-page .lsdash .foot-contact div{
display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text);font-weight:500
}
body.ls-dash-page .lsdash .foot-contact .ic{
width:16px;height:16px;color:var(--brand)
}
body.ls-dash-page .lsdash .foot h4{
margin:0 0 14px;font-size:14px;font-weight:800;color:var(--ink)
}
body.ls-dash-page .lsdash .flink{
display:inline-flex;align-items:center;gap:10px;padding:7px 0;color:var(--text);font-size:14px;font-weight:600;transition:color .15s,transform .15s
}
body.ls-dash-page .lsdash .flink i{
width:5px;height:5px;border-radius:50%;background:#a9d6c9;transition:background .15s,transform .15s
}
body.ls-dash-page .lsdash .flink:hover{
color:var(--brand);transform:translateX(-4px)
}
body.ls-dash-page .lsdash .flink:hover i{
background:var(--brand);transform:scale(1.4)
}
body.ls-dash-page .lsdash .foot-bottom{
margin-top:32px;padding:18px 0;border-top:1px solid #e6efec;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)
}
body.ls-dash-page .lsdash .foot-bottom a{
font-weight:700;color:var(--brand)
}
body.ls-dash-page .lsdash .dual{
display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start
}
body.ls-dash-page .lsdash .dual-col{
display:flex;flex-direction:column;gap:20px;min-width:0
}
@media (max-width:1040px){
body.ls-dash-page .lsdash .layout{
grid-template-columns:minmax(0,1fr)
}
body.ls-dash-page .lsdash .side{
order:2
}

}
@media (max-width:900px){
body.ls-dash-page .lsdash .nav{
flex-wrap:wrap
}
body.ls-dash-page .lsdash .navlinks{
order:3;flex:1 1 100%
}
body.ls-dash-page .lsdash .foot-grid{
grid-template-columns:repeat(2,minmax(0,1fr))
}
body.ls-dash-page .lsdash .foot-brand{
grid-column:1/-1
}

}
@media (max-width:760px){
body.ls-dash-page .lsdash .stats{
grid-template-columns:repeat(2,minmax(0,1fr))
}
body.ls-dash-page .lsdash .dual{
grid-template-columns:minmax(0,1fr)
}
body.ls-dash-page .lsdash .hero-art{
display:none
}
body.ls-dash-page .lsdash .hero{
padding:28px 22px
}
body.ls-dash-page .lsdash .hero h1{
font-size:34px
}

}
@media (max-width:520px){
body.ls-dash-page .lsdash .foot-grid{
grid-template-columns:minmax(0,1fr)
}

}

/* ============ WHMCS panel bodies (services / tickets / news) ============ */
body.ls-dash-page .lsdash .panel-body{padding:8px 22px 18px}
body.ls-dash-page .lsdash .panel-body .list-group{margin:0 -22px}
body.ls-dash-page .lsdash .panel-body .list-group-item{border:0;border-bottom:1px solid var(--line);background:transparent;
  padding:16px 22px;font-size:13px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.ls-dash-page .lsdash .panel-body .list-group-item:last-child{border-bottom:0}
body.ls-dash-page .lsdash .panel-body .list-group-item:hover{background:#f1f8f5}
body.ls-dash-page .lsdash .panel-body .list-group-item .btn{margin-inline-start:auto}
body.ls-dash-page .lsdash .panel-body .table{margin-bottom:0;font-size:13px;color:var(--text)}
body.ls-dash-page .lsdash .panel-body .table th{border-top:0;font-weight:700;color:var(--ink);font-size:12px}
body.ls-dash-page .lsdash .panel-body .table td{vertical-align:middle}
body.ls-dash-page .lsdash .panel-body h3,body.ls-dash-page .lsdash .panel-body h4{font-size:14px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .panel-body .btn,body.ls-dash-page .lsdash .panel-list .btn{border-radius:11px;font-weight:700;font-size:12px}
body.ls-dash-page .lsdash .panel-body .btn-primary,body.ls-dash-page .lsdash .panel-body .btn-success{background:var(--brand);border-color:var(--brand)}
body.ls-dash-page .lsdash .panel-list{display:flex;flex-direction:column}
body.ls-dash-page .lsdash .panel-row{display:flex;align-items:center;gap:10px;padding:15px 22px;border-bottom:1px solid var(--line);
  font-size:13px;font-weight:600;color:var(--ink);transition:background .15s}
body.ls-dash-page .lsdash .panel-row:last-child{border-bottom:0}
body.ls-dash-page .lsdash .panel-row:hover{background:#f1f8f5}
body.ls-dash-page .lsdash .panel-row-name{flex:1;min-width:0}
body.ls-dash-page .lsdash .panel-card .chipico i{font-size:17px}

/* ============ page shell tuning (dashboard only) ============ */
body.ls-dash-page{
  background-color:#f3f7f6;
  background-image:
    radial-gradient(900px 420px at 88% -60px,#cfeee4 0%,rgba(207,238,228,0) 70%),
    radial-gradient(760px 420px at 4% 6%,#dfeaff 0%,rgba(223,234,255,0) 70%);
  background-repeat:no-repeat;
  background-attachment:fixed;
}
body.ls-dash-page .master-breadcrumb{display:none}
body.ls-dash-page #main-body{padding-top:0}
body.ls-dash-page #main-body > .container{padding-inline:0;max-width:100%}
body.ls-dash-page #main-body > .container > .row{margin-inline:0}
body.ls-dash-page #main-body > .container > .row > [class*="col-"]{padding-inline:0}
body.ls-dash-page .primary-content{min-height:0}
body.ls-dash-page .lsdash .lsui{
  direction:rtl;
  min-height:0;
  padding-bottom:0;
  background:transparent;
}

/* ============ panel empty states + domain form ============ */
body.ls-dash-page .lsdash .panel-body > p:only-child{margin:0;padding:26px 6px;text-align:center;font-size:13px;line-height:1.9;color:var(--muted);font-weight:500}
body.ls-dash-page .lsdash .panel-body > p{margin:0 0 8px;font-size:13px;line-height:1.9;color:var(--text)}
body.ls-dash-page .lsdash .dom-form{margin:0;display:block}
body.ls-dash-page .lsdash .dom-tabs .dom-tab{border:0;font-family:inherit;line-height:1}
body.ls-dash-page .lsdash .dom .card-t{font-size:15px;font-weight:800}
body.ls-dash-page #nav > li > a{color:#3d5a55;font-weight:600;font-size:14px;border-radius:12px;padding:9px 13px;transition:background .15s,color .15s}
body.ls-dash-page #nav > li > a:hover{background:#eef7f4;color:#146157}

body.ls-dash-page .footer.ls-footer{background:transparent;color:#3d5a55;border-top:1px solid #e6efec;margin-top:8px}
body.ls-dash-page .footer.ls-footer .ls-footer-main{background:transparent;padding:40px 0 8px}
body.ls-dash-page .footer.ls-footer .ls-footer-title{color:#0b3d37;font-weight:800;font-size:14px}
body.ls-dash-page .footer.ls-footer .ls-footer-links a{color:#3d5a55;font-weight:600;font-size:13px}
body.ls-dash-page .footer.ls-footer .ls-footer-links a:hover{color:#146157}
body.ls-dash-page .footer.ls-footer .ls-footer-contact li{color:#3d5a55;font-size:13px}
body.ls-dash-page .footer.ls-footer .ls-footer-tagline{color:#567069;font-size:13px}
body.ls-dash-page .footer.ls-footer .ls-footer-logo{background:#fff;border:1px solid #e2ebe8;border-radius:14px;padding:6px 12px}
body.ls-dash-page .footer.ls-footer .ls-footer-bar{background:transparent;border-top:1px solid #e6efec;color:#567069;font-size:12px}


/* domain art a bit larger, like the design */
body.ls-dash-page .lsdash .dom{position:relative;overflow:hidden;padding:20px 22px 182px;display:flex;flex-direction:column}

@media (max-width:760px){
  body.ls-dash-page .lsdash .hero-body{text-align:right}
  body.ls-dash-page .lsdash .hero h1{font-size:28px}
  body.ls-dash-page .lsdash .wrap{padding:12px 14px 32px}
  body.ls-dash-page .lsdash .stat-num{font-size:26px}
}

/* the theme duplicates the secondary sidebar inside footer for small screens */
body.ls-dash-page .sidebar-secondary.d-lg-none,
body.ls-dash-page .d-lg-none.sidebar.sidebar-secondary{display:none!important}

body.ls-dash-page .lsdash .dom{position:relative;overflow:hidden;padding:20px 22px 182px;display:flex;flex-direction:column}
body.ls-dash-page .lsdash .dom-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;display:block}

/* ============ empty state illustrations in panels ============ */
body.ls-dash-page .lsdash .panel-body > p:only-child{max-width:430px;margin:0 auto}
body.ls-dash-page .lsdash .panel-card[data-panel="Recent Support Tickets"] .panel-body > p:only-child::before,
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-body > p:only-child::before{
  content:'';display:block;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#eef7f4 center/28px no-repeat;
}
body.ls-dash-page .lsdash .panel-card[data-panel="Recent Support Tickets"] .panel-body > p:only-child::before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec9bd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='3'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")}
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-body > p:only-child::before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ec9bd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.6 20 8v8l-8 4.4L4 16V8z'/%3E%3Cpath d='M12 12.4 20 8'/%3E%3Cpath d='M12 12.4 4 8'/%3E%3Cpath d='M12 12.4V20.4'/%3E%3C/svg%3E")}

/* stat numerals a touch larger, cleaner */
body.ls-dash-page .lsdash .stat-num{font-size:34px;font-variant-numeric:tabular-nums;letter-spacing:0}

/* ============================================================
   Active products/services rows — rebuilt to match the design
   (WHMCS markup: .div-service-item > status + name + buttons)
   ============================================================ */
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-list {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-row {
  padding: 14px 16px;
  border: 1px solid #e8f1ed;
  border-radius: 18px;
  background: #f7fbfa;
}
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-row:hover { background: #f2f9f6; }
body.ls-dash-page .lsdash .panel-row-name { display: block; width: 100%; }

body.ls-dash-page .lsdash .div-service-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ico status buttons" "ico name buttons";
  align-items: center;
  column-gap: 14px;
  row-gap: 6px;
  width: 100%;
}
body.ls-dash-page .lsdash .div-service-item::before {
  grid-area: ico;
  content: '';
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #146157 url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.5' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13.5' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7h.01M7 17h.01'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 10px 20px -12px rgba(20, 97, 87, .9);
}

body.ls-dash-page .lsdash .div-service-status {
  grid-area: status;
  width: auto !important;
  align-self: end;
  display: flex;
  align-items: center;
}
body.ls-dash-page .lsdash .div-service-status .label {
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.5;
  text-shadow: none;
}
body.ls-dash-page .lsdash .div-service-status .label-placeholder { display: none !important; }
body.ls-dash-page .lsdash .div-service-status .label-success { background: #e4f7ef; color: #12795f; }
body.ls-dash-page .lsdash .div-service-status .label-success::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12795f;
}
body.ls-dash-page .lsdash .div-service-status .label-danger { background: #ffeae7; color: #c94a3d; }
body.ls-dash-page .lsdash .div-service-status .label-warning { background: #fff0d2; color: #8a5200; }

body.ls-dash-page .lsdash .div-service-name {
  grid-area: name;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
body.ls-dash-page .lsdash .div-service-name .font-weight-bold {
  font-size: 14px;
  font-weight: 700;
  color: #0b3d37;
  white-space: normal;
  line-height: 1.6;
}
body.ls-dash-page .lsdash .div-service-name .text-domain {
  font-size: 12px;
  font-weight: 500;
  color: #567069;
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

body.ls-dash-page .lsdash .div-service-buttons {
  grid-area: buttons;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.ls-dash-page .lsdash .div-service-buttons > .btn-group-primary { display: none !important; }

body.ls-dash-page .lsdash .btn-group-secondary {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #146157;
  box-shadow: 0 12px 24px -16px rgba(20, 97, 87, .95);
}
body.ls-dash-page .lsdash .btn-group-secondary > .btn {
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 14px;
  box-shadow: none;
}
body.ls-dash-page .lsdash .btn-group-secondary > .btn:hover { background: rgba(255, 255, 255, .14); }
body.ls-dash-page .lsdash .btn-group-secondary > .btn-group {
  display: inline-flex;
  border-inline-start: 1px solid rgba(255, 255, 255, .22);
}
body.ls-dash-page .lsdash .btn-group-secondary > .btn-group > .btn {
  height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}
body.ls-dash-page .lsdash .btn-group-secondary .caret { border-top-color: #fff; }

body.ls-dash-page .lsdash .btn-view-details {
  height: 38px;
  padding: 0 16px;
  border: 1px solid #e2ebe8;
  border-radius: 12px;
  background: #fff;
  color: #0f4d45;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: none;
}
body.ls-dash-page .lsdash .btn-view-details:hover { background: #eef7f4; border-color: #a9d6c9; }
body.ls-dash-page .lsdash .btn-view-details i { display: none; }
/* globe illustration from the design (260x260, clipped 86px at the bottom) */
body.ls-dash-page .lsdash .dom-art svg{
  position:absolute;
  left:50%;
  bottom:-86px;
  margin-left:-130px;
  width:260px;
  height:260px;
  display:block;
}
/* ============================================================
   Services page (clientarea.php?action=services)
   values taken from services.html
   ============================================================ */
body.ls-dash-page .lsdash .lsvp-hero{padding:34px 38px}
body.ls-dash-page .lsdash .lsvp-hero h1{font-size:42px;line-height:1.3;letter-spacing:-.5px}
body.ls-dash-page .lsdash .lsvp-hero .sub{max-width:520px}
body.ls-dash-page .lsdash .lsvp-hero-art{width:200px;max-width:26%}
body.ls-dash-page .lsdash .lsvp-hero .hero-links{align-items:center}
body.ls-dash-page .lsdash .lsvp-hero .hero-cta{margin-top:0}
body.ls-dash-page .lsdash .lsvp-hero .hero-cta,
body.ls-dash-page .lsdash .lsvp-hero .pill{
  height:44px;min-height:44px;padding:0 18px;border-radius:14px;font-size:14px;
  display:inline-flex;align-items:center;justify-content:center;line-height:1}

/* list card */
body.ls-dash-page .lsdash .lsvp-list{overflow:hidden}
body.ls-dash-page .lsdash .lsvp-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 22px}
body.ls-dash-page .lsdash .lsvp-head-t{display:flex;align-items:center;gap:12px;min-width:0}
body.ls-dash-page .lsdash .lsvp-head-t h2{margin:0;font-size:16px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lsvp-count{margin-top:2px;font-size:13px;color:var(--muted);font-weight:500}
body.ls-dash-page .lsdash .lsvp-search{position:relative;flex:1 1 260px;max-width:340px}
body.ls-dash-page .lsdash .lsvp-search .ic{position:absolute;top:50%;inset-inline-end:16px;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}
body.ls-dash-page .lsdash .lsvp-search .field{width:100%;height:48px;padding:0 42px 0 16px;border-radius:14px;border:1px solid #cfe0db}

/* table */
body.ls-dash-page .lsdash .lsvp-tablewrap{overflow-x:auto}
body.ls-dash-page .lsdash .lsvp-table{width:100%;min-width:820px;border-collapse:collapse}
body.ls-dash-page .lsdash .lsvp-table th{
  padding:0;background:#f5faf8;border-block:1px solid var(--line);text-align:start;
  font-size:13px;font-weight:700;color:var(--text)}
body.ls-dash-page .lsdash .lsvp-table th button{
  display:flex;align-items:center;gap:6px;width:100%;padding:13px 16px;border:0;background:none;
  color:inherit;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
body.ls-dash-page .lsdash .lsvp-table th button:hover{color:var(--brand)}
body.ls-dash-page .lsdash .lsvp-table th .ic{width:15px;height:15px;opacity:.55}
body.ls-dash-page .lsdash .lsvp-th-act{width:150px}
body.ls-dash-page .lsdash .lsvp-table td{padding:18px 16px;border-bottom:1px solid #edf3f1;vertical-align:middle}
body.ls-dash-page .lsdash .lsvp-tr{transition:background .15s ease}
body.ls-dash-page .lsdash .lsvp-tr:hover{background:#f6fbf9}

body.ls-dash-page .lsdash .lsvp-prod{display:flex;align-items:center;gap:14px;min-width:0}
body.ls-dash-page .lsdash .lsvp-prod-ico{
  width:52px;height:52px;border-radius:16px;flex:none;color:#fff;
  background:linear-gradient(135deg,#2fb59b,#146157);display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 24px -12px rgba(20,97,87,.7)}
body.ls-dash-page .lsdash .lsvp-prod-ico .ic{width:22px;height:22px}
body.ls-dash-page .lsdash .lsvp-prod-meta{display:flex;flex-direction:column;gap:6px;min-width:0}
body.ls-dash-page .lsdash .lsvp-prod-name{font-size:15px;font-weight:700;line-height:1.7;color:var(--ink2);text-decoration:none}
body.ls-dash-page .lsdash .lsvp-prod-name:hover{color:var(--brand)}
body.ls-dash-page .lsdash .lsvp-prod-dom{display:flex;align-items:center;gap:8px;color:var(--text);font-size:13px;font-weight:600}
body.ls-dash-page .lsdash .lsvp-prod-dom .ic{width:15px;height:15px;color:var(--brand-l)}
body.ls-dash-page .lsdash .lsvp-prod-dom a{color:var(--text);text-decoration:none}
body.ls-dash-page .lsdash .lsvp-prod-dom a:hover{color:var(--brand);text-decoration:underline}
body.ls-dash-page .lsdash .lsvp-ssl{display:inline-flex}
body.ls-dash-page .lsdash .lsvp-ssl .ic{width:15px;height:15px}
body.ls-dash-page .lsdash .lsvp-ssl.is-off{color:#b4233f}
body.ls-dash-page .lsdash .lsvp-ssl.is-on{color:#12795f}
body.ls-dash-page .lsdash .lsvp-muted{color:var(--faint)}

body.ls-dash-page .lsdash .lsvp-price{font-size:16px;font-weight:800;color:var(--ink);white-space:nowrap}
body.ls-dash-page .lsdash .lsvp-cycle{margin-top:4px;font-size:13px;color:var(--muted);font-weight:500}

body.ls-dash-page .lsdash .lsvp-date{background:#eef7f4;border:1px solid var(--line2);color:var(--brand-d);white-space:nowrap;padding:6px 12px}
body.ls-dash-page .lsdash .lsvp-date .ic{width:15px;height:15px}

body.ls-dash-page .lsdash .lsvp-st{padding:6px 12px;font-size:13px;font-weight:700;border:0}
body.ls-dash-page .lsdash .lsvp-st .dot{width:7px;height:7px;border-radius:50%;background:currentColor}
body.ls-dash-page .lsdash .lsvp-st.st-active{background:#e3f6ec;color:#11693a}
body.ls-dash-page .lsdash .lsvp-st.st-pending{background:#fff0d2;color:#8a5200}
body.ls-dash-page .lsdash .lsvp-st.st-suspended{background:#ffeae7;color:#b4233f}
body.ls-dash-page .lsdash .lsvp-st.st-finished{background:#eef1f0;color:#567069}
body.ls-dash-page .lsdash .lsvp-st.st-cancelled{background:#f3edea;color:#7a5a4c}

body.ls-dash-page .lsdash .lsvp-td-act{text-align:end}
body.ls-dash-page .lsdash .lsvp-manage{
  display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:12px;
  background:var(--brand);color:#fff;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;
  box-shadow:0 10px 22px -14px rgba(20,97,87,.9);transition:background .15s ease}
body.ls-dash-page .lsdash .lsvp-manage:hover{background:var(--brand-d);color:#fff}

/* footer of the list */
body.ls-dash-page .lsdash .lsvp-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 22px}
body.ls-dash-page .lsdash .lsvp-per{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--text)}
body.ls-dash-page .lsdash .lsvp-per .field{height:42px;padding:0 12px;border-radius:12px;border:1px solid #cfe0db;font-size:13px;font-weight:600}
body.ls-dash-page .lsdash .lsvp-pg{display:flex;gap:6px;flex-wrap:wrap}
body.ls-dash-page .lsdash .lsvp-pgbtn{
  min-width:42px;height:42px;padding:0 14px;border-radius:12px;border:1px solid #cfe0db;background:#fff;
  color:var(--brand-d);font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}
body.ls-dash-page .lsdash .lsvp-pgbtn:hover{background:#eef7f4;border-color:#a9d6c9}
body.ls-dash-page .lsdash .lsvp-pgbtn.is-active{background:var(--brand);border-color:var(--brand);color:#fff}
body.ls-dash-page .lsdash .lsvp-pgbtn[disabled]{opacity:.55;cursor:not-allowed}

/* sidebar: status filter + actions */
body.ls-dash-page .lsdash .lsvp-flts{padding:0 12px 14px}
body.ls-dash-page .lsdash .flt{
  display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:14px;background:none;
  font-size:14px;font-weight:600;color:var(--text);text-align:start;cursor:pointer;font-family:inherit;transition:background .15s ease}
body.ls-dash-page .lsdash .flt:hover{background:#f1f8f5}
body.ls-dash-page .lsdash .flt.on{background:var(--chip);color:var(--brand-d);font-weight:800}
body.ls-dash-page .lsdash .flt .rd{width:18px;height:18px;border-radius:50%;border:2px solid #9fbab3;flex:none}
body.ls-dash-page .lsdash .flt.on .rd{border:5px solid var(--brand);background:#fff}
body.ls-dash-page .lsdash .flt .cnt{
  margin-inline-start:auto;min-width:28px;height:24px;padding:0 8px;border-radius:12px;background:var(--soft2);
  color:var(--text);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
body.ls-dash-page .lsdash .flt.on .cnt{background:var(--brand);color:#fff}

body.ls-dash-page .lsdash .lsvp-row{
  display:flex;align-items:center;gap:12px;margin:0 12px 8px;padding:10px;border-radius:14px;
  font-size:14px;font-weight:600;color:var(--ink2);text-decoration:none;transition:background .15s ease}
body.ls-dash-page .lsdash .lsvp-row:hover{background:#f1f8f5}
body.ls-dash-page .lsdash .lsvp-row .chipico{width:36px;height:36px;border-radius:11px}
body.ls-dash-page .lsdash .lsvp-row-t{flex:1;min-width:0}
body.ls-dash-page .lsdash .lsvp-row .chev{color:var(--faint);flex:none}

body.ls-dash-page .lsdash .lsvp-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 20px}
body.ls-dash-page .lsdash .lsvp-empty .lsvp-empty-ico{width:64px;height:64px;border-radius:50%;background:var(--soft2);color:#9ec9bd;display:flex;align-items:center;justify-content:center}
body.ls-dash-page .lsdash .lsvp-empty .lsvp-empty-ico .ic{width:28px;height:28px}
body.ls-dash-page .lsdash .lsvp-empty p{margin:0;font-size:13px;color:var(--muted);font-weight:500}

@media (max-width:900px){
  body.ls-dash-page .lsdash .lsvp-table th:nth-child(2),
  body.ls-dash-page .lsdash .lsvp-table td:nth-child(2){display:none}
  body.ls-dash-page .lsdash .lsvp-hero{padding:26px 22px}
  body.ls-dash-page .lsdash .lsvp-hero h1{font-size:30px}
}
@media (max-width:640px){
  body.ls-dash-page .lsdash .lsvp-head{padding:16px}
  body.ls-dash-page .lsdash .lsvp-search{max-width:none}
  body.ls-dash-page .lsdash .lsvp-table th:nth-child(3),
  body.ls-dash-page .lsdash .lsvp-table td:nth-child(3){display:none}
}
/* ============================================================
   Support tickets page (supporttickets.php)
   ============================================================ */
body.ls-dash-page .lsdash .lstk-hero{padding:34px 38px}
body.ls-dash-page .lsdash .lstk-hero h1{font-size:42px;line-height:1.3;letter-spacing:-.5px}
body.ls-dash-page .lsdash .lstk-hero .sub{max-width:540px}
body.ls-dash-page .lsdash .lstk-hero-art{width:200px;max-width:26%}
body.ls-dash-page .lsdash .lstk-hero .hero-links{align-items:center}
body.ls-dash-page .lsdash .lstk-hero .hero-cta{margin-top:0}
body.ls-dash-page .lsdash .lstk-hero .hero-cta,
body.ls-dash-page .lsdash .lstk-hero .pill{
  height:44px;min-height:44px;padding:0 18px;border-radius:14px;font-size:14px;
  display:inline-flex;align-items:center;justify-content:center;line-height:1}

/* list card */
body.ls-dash-page .lsdash .lstk-list{overflow:hidden}
body.ls-dash-page .lsdash .lstk-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 22px 14px}
body.ls-dash-page .lsdash .lstk-head-t{display:flex;align-items:center;gap:12px;min-width:0}
body.ls-dash-page .lsdash .lstk-head-t h2{margin:0;font-size:16px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lstk-count{margin-top:2px;font-size:13px;color:var(--muted);font-weight:500}
body.ls-dash-page .lsdash .lstk-search{position:relative;flex:1 1 260px;max-width:340px}
body.ls-dash-page .lsdash .lstk-search .ic{position:absolute;top:50%;inset-inline-end:16px;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}
body.ls-dash-page .lsdash .lstk-search .field{width:100%;height:48px;padding:0 42px 0 16px;border-radius:14px;border:1px solid #cfe0db}

/* tabs */
body.ls-dash-page .lsdash .lstk-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0 22px 16px;border-bottom:1px solid var(--line)}
body.ls-dash-page .lsdash .lstk-tab{
  height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;
  color:var(--text);font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;
  display:inline-flex;align-items:center;transition:background .15s,border-color .15s,color .15s}
body.ls-dash-page .lsdash .lstk-tab:hover{background:var(--soft2);border-color:#a9d6c9}
body.ls-dash-page .lsdash .lstk-tab.on{background:var(--chip);border-color:#b9ddd2;color:var(--brand-d)}

/* rows */
body.ls-dash-page .lsdash .lstk-rows{display:flex;flex-direction:column}
body.ls-dash-page .lsdash .lstk-row{
  display:flex;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid #edf3f1;
  text-decoration:none;color:inherit;transition:background .15s ease}
body.ls-dash-page .lsdash .lstk-row:hover{background:#f6fbf9}
body.ls-dash-page .lsdash .lstk-row:last-child{border-bottom:0}
body.ls-dash-page .lsdash .lstk-unread{width:8px;height:8px;border-radius:50%;background:var(--mint2);flex:none;visibility:hidden}
body.ls-dash-page .lsdash .lstk-unread.is-on{visibility:visible;box-shadow:0 0 0 3px rgba(31,192,139,.18)}
body.ls-dash-page .lsdash .lstk-main{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
body.ls-dash-page .lsdash .lstk-top{display:flex;align-items:center;gap:10px;min-width:0}
body.ls-dash-page .lsdash .lstk-id{font-size:12px;font-weight:700;color:var(--faint);flex:none;direction:ltr}
body.ls-dash-page .lsdash .lstk-subject{
  font-size:15px;font-weight:700;color:var(--ink2);min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ls-dash-page .lsdash .lstk-new{
  flex:none;font-size:11px;font-weight:800;color:#0f4d45;background:var(--chip);
  border-radius:999px;padding:3px 9px}
body.ls-dash-page .lsdash .lstk-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12.5px;font-weight:600;color:var(--muted)}
body.ls-dash-page .lsdash .lstk-meta > span{display:inline-flex;align-items:center;gap:6px}
body.ls-dash-page .lsdash .lstk-meta .ic{width:15px;height:15px;color:var(--faint)}

body.ls-dash-page .lsdash .lstk-st{padding:6px 12px;font-size:12.5px;font-weight:700;flex:none}
body.ls-dash-page .lsdash .lstk-st .dot{width:7px;height:7px;border-radius:50%;background:currentColor}
body.ls-dash-page .lsdash .lstk-st.st-open{background:#e4f7ef;color:#11693a}
body.ls-dash-page .lsdash .lstk-st.st-answered{background:#e0efff;color:#1d5fa8}
body.ls-dash-page .lsdash .lstk-st.st-customer-reply{background:#fff0d2;color:#8a5200}
body.ls-dash-page .lsdash .lstk-st.st-closed{background:#eef1f0;color:#567069}
body.ls-dash-page .lsdash .lstk-st.st-other{background:#f3edea;color:#7a5a4c}

body.ls-dash-page .lsdash .lstk-go{color:var(--faint);flex:none;transition:transform .15s ease,color .15s ease}
body.ls-dash-page .lsdash .lstk-row:hover .lstk-go{color:var(--brand);transform:translateX(-3px)}

/* empty states */
body.ls-dash-page .lsdash .lstk-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:44px 22px;text-align:center}
body.ls-dash-page .lsdash .lstk-empty-ico{width:68px;height:68px;border-radius:50%;background:var(--soft2);color:#9ec9bd;display:flex;align-items:center;justify-content:center;margin-bottom:4px}
body.ls-dash-page .lsdash .lstk-empty-ico .ic{width:30px;height:30px}
body.ls-dash-page .lsdash .lstk-empty-t{margin:0;font-size:15px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lstk-empty-s{margin:0 0 8px;max-width:360px;font-size:13px;line-height:1.9;color:var(--muted);font-weight:500}

/* sidebar filters reuse the .flt component */
body.ls-dash-page .lsdash .lstk-flts{padding:0 12px 14px}

/* footer */
body.ls-dash-page .lsdash .lstk-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 22px}

@media (max-width:900px){
  body.ls-dash-page .lsdash .lstk-hero{padding:26px 22px}
  body.ls-dash-page .lsdash .lstk-hero h1{font-size:30px}
  body.ls-dash-page .lsdash .lstk-tabs{padding:0 16px 14px}
  body.ls-dash-page .lsdash .lstk-row{flex-wrap:wrap}
  body.ls-dash-page .lsdash .lstk-go{display:none}
}
@media (max-width:640px){
  body.ls-dash-page .lsdash .lstk-head{padding:16px}
  body.ls-dash-page .lsdash .lstk-search{max-width:none}
  body.ls-dash-page .lsdash .lstk-meta{display:none}
}
/* ============================================================
   Submit ticket (step 1: departments, step 2: form)
   ============================================================ */
body.ls-dash-page .lsdash .lstf-hero{padding:34px 38px}
body.ls-dash-page .lsdash .lstf-hero h1{font-size:40px;line-height:1.3;letter-spacing:-.5px}
body.ls-dash-page .lsdash .lstf-hero .sub{max-width:540px}
body.ls-dash-page .lsdash .lstf-hero-sm{padding:26px 32px}
body.ls-dash-page .lsdash .lstf-hero-sm h1{font-size:32px}
body.ls-dash-page .lsdash .lstf-hero-art{width:200px;max-width:24%}
body.ls-dash-page .lsdash .lstf-hero .hero-links{align-items:center}
body.ls-dash-page .lsdash .lstf-hero .pill{height:44px;min-height:44px;padding:0 18px;border-radius:14px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}

/* departments */
body.ls-dash-page .lsdash .lstf-depts{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:16px;margin-top:20px}
body.ls-dash-page .lsdash .lstf-dept{
  display:flex;align-items:center;gap:16px;padding:18px 20px;background:#fff;border:1px solid var(--line);
  border-radius:20px;box-shadow:var(--sh);text-decoration:none;color:inherit;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
body.ls-dash-page .lsdash .lstf-dept:hover{transform:translateY(-2px);border-color:#b9ddd2;box-shadow:0 2px 4px rgba(14,43,39,.04),0 22px 40px -16px rgba(20,97,87,.28)}
body.ls-dash-page .lsdash .lstf-dept-ico{
  width:50px;height:50px;border-radius:15px;flex:none;color:#fff;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2fb59b,#146157);box-shadow:0 12px 24px -14px rgba(20,97,87,.85)}
body.ls-dash-page .lsdash .lstf-dept-ico .ic{width:24px;height:24px}
body.ls-dash-page .lsdash .lstf-dept-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
body.ls-dash-page .lsdash .lstf-dept-name{font-size:16px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lstf-dept-desc{
  font-size:13px;color:var(--muted);font-weight:500;line-height:1.8;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.ls-dash-page .lsdash .lstf-dept-go{color:var(--faint);flex:none;transition:transform .15s ease,color .15s ease}
body.ls-dash-page .lsdash .lstf-dept:hover .lstf-dept-go{color:var(--brand);transform:translateX(-3px)}

/* notices */
body.ls-dash-page .lsdash .lstf-alert{
  display:flex;align-items:flex-start;gap:10px;margin:18px 0 0;padding:14px 16px;border-radius:16px;
  background:#ffeae7;border:1px solid #ffc9c2;color:#a8312a;font-size:13px;font-weight:600;line-height:1.9}
body.ls-dash-page .lsdash .lstf-alert .ic{width:18px;height:18px;flex:none;margin-top:2px}
body.ls-dash-page .lsdash .lstf-alert .alert,body.ls-dash-page .lsdash .lstf-alert .alert-danger{background:none;border:0;padding:0;margin:0;color:inherit}

/* form cards */
body.ls-dash-page .lsdash .lstf-form{display:flex;flex-direction:column;gap:20px}
body.ls-dash-page .lsdash .lstf-card{overflow:hidden}
body.ls-dash-page .lsdash .lstf-body{padding:20px 22px 22px}
body.ls-dash-page .lsdash .lstf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
body.ls-dash-page .lsdash .lstf-field{display:flex;flex-direction:column;gap:8px;min-width:0}
body.ls-dash-page .lsdash .lstf-field.is-full{grid-column:1 / -1}
body.ls-dash-page .lsdash .lstf-label{font-size:13px;font-weight:700;color:var(--ink)}
body.ls-dash-page .lsdash .lstf-input{
  width:100%;height:48px;padding:0 14px;border:1px solid #cfe0db;border-radius:14px;background:#fff;
  font-family:inherit;font-size:14px;font-weight:500;color:var(--ink2);transition:border-color .15s,box-shadow .15s}
body.ls-dash-page .lsdash .lstf-input:focus{outline:0;border-color:var(--brand-l);box-shadow:0 0 0 4px rgba(27,122,108,.14)}
body.ls-dash-page .lsdash .lstf-input.disabled,body.ls-dash-page .lsdash .lstf-input:disabled{background:#f5faf8;color:var(--muted);cursor:not-allowed}
body.ls-dash-page .lsdash .lstf-select{
  appearance:none;-webkit-appearance:none;padding-inline-end:40px;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23567069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 14px center;background-size:16px}
body.ls-dash-page .lsdash .lstf-textarea{
  height:auto;min-height:220px;padding:14px 16px;line-height:1.9;resize:vertical}
body.ls-dash-page .lsdash .lstf-textarea::placeholder{color:#667f79}

/* attachments */
body.ls-dash-page .lsdash .lstf-dropzone{
  border:1px dashed #b9ddd2;border-radius:16px;background:#f7fbfa;padding:16px}
body.ls-dash-page .lsdash .lstf-dropzone .input-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.ls-dash-page .lsdash .lstf-dropzone .custom-file{position:relative;display:inline-block;width:auto;height:auto;flex:0 0 auto;margin:0}
body.ls-dash-page .lsdash .lstf-dropzone .custom-file-label{position:static;inset:auto;display:inline-flex;align-items:center;gap:8px;width:auto;max-width:none;height:44px;padding:0 16px;margin:0;border-radius:12px;border:1px solid #cfe0db;background:#fff;color:var(--brand-d);font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;overflow:visible;text-overflow:clip}
body.ls-dash-page .lsdash .lstf-dropzone .custom-file-label::after{display:none}
body.ls-dash-page .lsdash .lstf-dropzone .custom-file-label .ic{width:16px;height:16px}
body.ls-dash-page .lsdash .lstf-dropzone .custom-file-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.ls-dash-page .lsdash .lstf-addbtn{
  display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 14px;border-radius:12px;
  border:1px dashed #b9ddd2;background:#fff;color:var(--brand-d);font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}
body.ls-dash-page .lsdash .lstf-addbtn:hover{background:var(--soft2)}
body.ls-dash-page .lsdash .lstf-addbtn .ic{width:15px;height:15px}
body.ls-dash-page .lsdash .lstf-hint{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:12px;color:var(--muted);font-weight:500;line-height:1.8}
body.ls-dash-page .lsdash .lstf-hint .ic{width:15px;height:15px;flex:none;margin-top:2px;color:var(--faint)}
body.ls-dash-page .lsdash .lstf-dropzone .file-upload{margin-top:10px}

/* captcha + actions */
body.ls-dash-page .lsdash .lstf-captcha{display:flex;justify-content:center;margin-bottom:16px}
body.ls-dash-page .lsdash .lstf-captcha .form-control{height:48px;border-radius:14px;border:1px solid #cfe0db;font-family:inherit;font-size:14px;padding:0 14px}
body.ls-dash-page .lsdash .lstf-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
body.ls-dash-page .lsdash .lstf-submit-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:14px;
  border:1px solid var(--brand);background:var(--brand);color:#fff;font-family:inherit;font-size:14px;font-weight:800;
  cursor:pointer;box-shadow:0 12px 26px -14px rgba(20,97,87,.9);transition:background .15s}
body.ls-dash-page .lsdash .lstf-submit-btn:hover{background:var(--brand-d)}
body.ls-dash-page .lsdash .lstf-submit-btn .ic{width:16px;height:16px}
body.ls-dash-page .lsdash .lstf-cancel-btn{
  display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 20px;border-radius:14px;
  border:1px solid #cfe0db;background:#fff;color:var(--brand-d);font-size:14px;font-weight:700;text-decoration:none}
body.ls-dash-page .lsdash .lstf-cancel-btn:hover{background:var(--soft2);border-color:#a9d6c9}

/* sidebar tips */
body.ls-dash-page .lsdash .lstf-tips{list-style:none;margin:0;padding:4px 22px 20px;display:flex;flex-direction:column;gap:10px}
body.ls-dash-page .lsdash .lstf-tips li{display:flex;align-items:flex-start;gap:8px;font-size:13px;font-weight:600;color:var(--text);line-height:1.9}
body.ls-dash-page .lsdash .lstf-tips .ic{width:15px;height:15px;flex:none;margin-top:3px;color:var(--mint2)}

/* empty */
body.ls-dash-page .lsdash .lstf-empty{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 20px;background:#fff;border:1px solid var(--line);border-radius:20px}
body.ls-dash-page .lsdash .lstf-empty-ico{width:60px;height:60px;border-radius:50%;background:var(--soft2);color:#9ec9bd;display:flex;align-items:center;justify-content:center}
body.ls-dash-page .lsdash .lstf-empty p{margin:0;font-size:13px;color:var(--muted);font-weight:500}

@media (max-width:900px){
  body.ls-dash-page .lsdash .lstf-depts{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:16px;margin-top:20px}
  body.ls-dash-page .lsdash .lstf-grid{grid-template-columns:minmax(0,1fr)}
  body.ls-dash-page .lsdash .lstf-hero{padding:26px 22px}
  body.ls-dash-page .lsdash .lstf-hero h1{font-size:30px}
  body.ls-dash-page .lsdash .lstf-hero-sm h1{font-size:26px}
}
/* form cards must fill the main column */
body.ls-dash-page .lsdash .lstf-form{width:100%;min-width:0}
body.ls-dash-page .lsdash .lstf-card{width:100%}
/* ============================================================
   Invoices (clientarea.php?action=invoices)
   ============================================================ */
body.ls-dash-page .lsdash .lsinv-sum{padding:8px 20px 18px;display:flex;flex-direction:column;gap:4px}
body.ls-dash-page .lsdash .lsinv-sum-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #e6efec}
body.ls-dash-page .lsdash .lsinv-sum-item:last-child{border-bottom:0}
body.ls-dash-page .lsdash .lsinv-sum-k{font-size:13px;font-weight:600;color:var(--muted)}
body.ls-dash-page .lsdash .lsinv-sum-v{font-size:15px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lsinv-sum-v.is-brand{color:var(--brand);font-size:14px}

body.ls-dash-page .lsdash .lsinv-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
body.ls-dash-page .lsdash .lsinv-stat{
  display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid var(--line);
  border-radius:16px;box-shadow:var(--sh)}
body.ls-dash-page .lsdash .lsinv-stat-ico{
  width:38px;height:38px;border-radius:12px;flex:none;display:flex;align-items:center;justify-content:center}
body.ls-dash-page .lsdash .lsinv-stat-ico .ic{width:19px;height:19px}
body.ls-dash-page .lsdash .lsinv-stat-ico.is-soft{background:#eef6f4;color:#2f7c6d}
body.ls-dash-page .lsdash .lsinv-stat-ico.is-amber{background:#fff3d9;color:#b06a00}
body.ls-dash-page .lsdash .lsinv-stat-ico.is-red{background:#ffeae7;color:#b3362c}
body.ls-dash-page .lsdash .lsinv-stat-ico.is-mint{background:#dcf0ea;color:#12795f}
body.ls-dash-page .lsdash .lsinv-stat > div{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ls-dash-page .lsdash .lsinv-stat-k{font-size:12px;font-weight:600;color:var(--muted)}
body.ls-dash-page .lsdash .lsinv-stat-v{font-size:18px;font-weight:800;color:var(--ink);line-height:1.2}

body.ls-dash-page .lsdash .lsinv-card{overflow:hidden}
body.ls-dash-page .lsdash .lsinv-rows{display:flex;flex-direction:column}
body.ls-dash-page .lsdash .lsinv-row{
  display:grid;grid-template-columns:84px minmax(0,1fr) auto auto 16px;align-items:center;gap:14px;
  padding:14px 20px;border-bottom:1px solid #eef4f2;text-decoration:none;color:inherit;
  transition:background .15s ease}
body.ls-dash-page .lsdash .lsinv-row:hover{background:#f7fbfa}
body.ls-dash-page .lsdash .lsinv-row.is-last{border-bottom:0}
body.ls-dash-page .lsdash .lsinv-row[hidden]{display:none}
body.ls-dash-page .lsdash .lsinv-row.is-overdue{border-inline-start:3px solid #e8a33d;padding-inline-start:17px}
body.ls-dash-page .lsdash .lsinv-num{font-size:13px;font-weight:800;color:var(--brand);white-space:nowrap}
body.ls-dash-page .lsdash .lsinv-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;min-width:0}
body.ls-dash-page .lsdash .lsinv-meta-item{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
body.ls-dash-page .lsdash .lsinv-meta-item .ic{width:14px;height:14px;color:var(--faint)}
body.ls-dash-page .lsdash .lsinv-row.is-overdue .lsinv-meta-item:last-child{color:#b06a00}
body.ls-dash-page .lsdash .lsinv-amount{font-size:14px;font-weight:800;color:var(--ink);white-space:nowrap}
body.ls-dash-page .lsdash .lsinv-pill{
  display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 11px;border-radius:999px;
  font-size:11.5px;font-weight:800;white-space:nowrap}
body.ls-dash-page .lsdash .lsinv-pill.st-paid{background:#dcf5ea;color:#0f7a52}
body.ls-dash-page .lsdash .lsinv-pill.st-unpaid,
body.ls-dash-page .lsdash .lsinv-pill.st-paymentpending{background:#fff1d6;color:#96610a}
body.ls-dash-page .lsdash .lsinv-pill.st-overdue,
body.ls-dash-page .lsdash .lsinv-pill.st-collections{background:#ffe6e2;color:#b3362c}
body.ls-dash-page .lsdash .lsinv-pill.st-cancelled,
body.ls-dash-page .lsdash .lsinv-pill.st-draft,
body.ls-dash-page .lsdash .lsinv-pill.st-other{background:#eef2f1;color:#5b6f6a}
body.ls-dash-page .lsdash .lsinv-pill.st-refunded{background:#e6efff;color:#2f5aa8}
body.ls-dash-page .lsdash .lsinv-chev{color:var(--faint);transition:transform .15s ease,color .15s ease}
body.ls-dash-page .lsdash .lsinv-row:hover .lsinv-chev{color:var(--brand);transform:translateX(-3px)}
body.ls-dash-page .lsdash .lstk-nores[hidden]{display:none}

@media (max-width:1100px){
  body.ls-dash-page .lsdash .lsinv-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  body.ls-dash-page .lsdash .lsinv-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"num amount" "meta meta" "pill chev";gap:8px 10px}
  body.ls-dash-page .lsdash .lsinv-num{grid-area:num}
  body.ls-dash-page .lsdash .lsinv-amount{grid-area:amount}
  body.ls-dash-page .lsdash .lsinv-meta{grid-area:meta}
  body.ls-dash-page .lsdash .lsinv-pill{grid-area:pill;justify-self:start}
  body.ls-dash-page .lsdash .lsinv-chev{grid-area:chev;justify-self:end}
}
/* ============================================================
   Add funds (clientarea.php?action=addfunds)
   ============================================================ */
body.ls-dash-page .lsdash .lsaf-card{overflow:hidden}
body.ls-dash-page .lsdash .lsaf-body{padding:22px;display:flex;flex-direction:column;gap:18px}
body.ls-dash-page .lsdash .lsaf-field{display:flex;flex-direction:column;gap:8px;min-width:0}
body.ls-dash-page .lsdash .lsaf-label{font-size:13px;font-weight:700;color:var(--ink)}
body.ls-dash-page .lsdash .lsaf-input-wrap{position:relative;display:flex;align-items:center}
body.ls-dash-page .lsdash .lsaf-input{
  width:100%;height:58px;padding:0 70px 0 18px;border:1px solid #cfe0db;border-radius:16px;background:#fff;
  font-family:inherit;font-size:22px;font-weight:800;color:var(--ink);letter-spacing:.4px;
  transition:border-color .15s,box-shadow .15s}
body.ls-dash-page .lsdash .lsaf-input:focus{outline:0;border-color:var(--brand-l);box-shadow:0 0 0 4px rgba(27,122,108,.14)}
body.ls-dash-page .lsdash .lsaf-unit{
  position:absolute;inset-inline-start:16px;font-size:12.5px;font-weight:700;color:var(--muted);pointer-events:none}
body.ls-dash-page .lsdash .lsaf-words{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:48px;padding:11px 14px;
  border-radius:14px;background:#f5fbf9;border:1px dashed #cfe6df;color:#0f4d45;
  font-size:14px;font-weight:800;line-height:1.8}
body.ls-dash-page .lsdash .lsaf-words .ic{width:18px;height:18px;flex:none;color:var(--brand);opacity:.75}
body.ls-dash-page .lsdash .lsaf-words.is-zero{border-color:#e2ebe8;background:#fafcfb;color:#8aa49e;font-weight:600}
body.ls-dash-page .lsdash .lsaf-words-num{font-size:12.5px;font-weight:700;color:var(--muted)}
body.ls-dash-page .lsdash .lsaf-hint{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);font-weight:600;line-height:1.8}
body.ls-dash-page .lsdash .lsaf-hint .ic{width:15px;height:15px;flex:none;color:var(--faint)}
body.ls-dash-page .lsdash .lsaf-hint b{color:var(--ink2);font-weight:800}
body.ls-dash-page .lsdash .lsaf-select{
  width:100%;height:48px;padding:0 40px 0 14px;border:1px solid #cfe0db;border-radius:14px;background:#fff;
  font-family:inherit;font-size:14px;font-weight:600;color:var(--ink2);cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23567069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 14px center;background-size:16px}
body.ls-dash-page .lsdash .lsaf-select:focus{outline:0;border-color:var(--brand-l);box-shadow:0 0 0 4px rgba(27,122,108,.14)}
body.ls-dash-page .lsdash .lsaf-submit{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 24px;
  border:0;border-radius:14px;background:var(--brand);color:#fff;font-family:inherit;font-size:14px;font-weight:800;
  cursor:pointer;box-shadow:0 14px 28px -16px rgba(20,97,87,.95);transition:background .15s}
body.ls-dash-page .lsdash .lsaf-submit:hover{background:var(--brand-d)}
body.ls-dash-page .lsdash .lsaf-submit .ic{width:16px;height:16px}
body.ls-dash-page .lsdash .lsaf-note{margin:0;padding:12px 20px 4px;font-size:12.5px;line-height:1.95;color:var(--muted);font-weight:500}
/* current balance block (add funds sidebar) */
body.ls-dash-page .lsdash .lsaf-balance{
  display:flex;align-items:center;gap:12px;margin:14px 16px 4px;padding:14px 16px;border-radius:16px;
  background:linear-gradient(135deg,#e9f7f2 0%,#dcf0ea 100%);border:1px solid #d3eae2}
body.ls-dash-page .lsdash .lsaf-balance-ico{
  width:38px;height:38px;border-radius:12px;flex:none;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.85);color:var(--brand);box-shadow:0 4px 12px -6px rgba(20,97,87,.45)}
body.ls-dash-page .lsdash .lsaf-balance-ico .ic{width:20px;height:20px}
body.ls-dash-page .lsdash .lsaf-balance-body{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ls-dash-page .lsdash .lsaf-balance-k{font-size:11.5px;font-weight:700;color:#4b7a72}
body.ls-dash-page .lsdash .lsaf-balance-v{font-size:16px;font-weight:800;color:var(--ink);line-height:1.3}
/* ============================================================
   Account details (clientarea.php?action=details)
   ============================================================ */
body.ls-dash-page .lsdash .lstf-alert.is-ok{background:#e8f8f1;border-color:#c6ecdc;color:#0f7a52}

body.ls-dash-page .lsdash .lsacc-sum{overflow:hidden}
body.ls-dash-page .lsdash .lsacc-sum-top{
  display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid #eef4f2;
  background:linear-gradient(135deg,#f4fbf9 0%,#eaf7f2 100%)}
body.ls-dash-page .lsdash .lsacc-av{
  width:44px;height:44px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2fb59b,#146157);color:#fff;font-size:17px;font-weight:800;
  box-shadow:0 10px 20px -12px rgba(20,97,87,.85)}
body.ls-dash-page .lsdash .lsacc-sum-id{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ls-dash-page .lsdash .lsacc-sum-id b{font-size:14px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ls-dash-page .lsdash .lsacc-sum-id span{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ls-dash-page .lsdash .lsacc-sum-rows{padding:6px 18px 14px}
body.ls-dash-page .lsdash .lsacc-sum-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #e6efec}
body.ls-dash-page .lsdash .lsacc-sum-row:last-child{border-bottom:0}
body.ls-dash-page .lsdash .lsacc-sum-row .k{font-size:12.5px;font-weight:600;color:var(--muted)}
body.ls-dash-page .lsdash .lsacc-sum-row .v{font-size:12.5px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lsacc-badge{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:#dcf5ea;color:#0f7a52;font-size:11px;font-weight:800}

/* country select generated by WHMCS */
body.ls-dash-page .lsdash .lsacc-country select{
  width:100%!important;height:48px;padding:0 14px;border:1px solid #cfe0db;border-radius:14px;background:#fff;
  font-family:inherit;font-size:14px;font-weight:500;color:var(--ink2);appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23567069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 14px center;background-size:16px}
body.ls-dash-page .lsdash .lsacc-country select:focus{outline:0;border-color:var(--brand-l);box-shadow:0 0 0 4px rgba(27,122,108,.14)}
body.ls-dash-page .lsdash .lsacc-cf-desc{display:block;margin-top:4px;font-size:11.5px;color:var(--muted);font-weight:500}
body.ls-dash-page .lsdash .lsacc-cf input,body.ls-dash-page .lsdash .lsacc-cf select,body.ls-dash-page .lsdash .lsacc-cf textarea{
  width:100%;height:48px;padding:0 14px;border:1px solid #cfe0db;border-radius:14px;background:#fff;font-family:inherit;font-size:14px;color:var(--ink2)}

/* email preference checks */
body.ls-dash-page .lsdash .lsacc-checks{display:flex;flex-direction:column;gap:4px}
body.ls-dash-page .lsdash .lsacc-check{
  display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;cursor:pointer;
  border:1px solid #eef4f2;background:#fbfdfc;transition:border-color .15s,background .15s}
body.ls-dash-page .lsdash .lsacc-check:hover{border-color:#cfe6df;background:#fff}
body.ls-dash-page .lsdash .lsacc-check input{position:absolute;opacity:0;width:0;height:0}
body.ls-dash-page .lsdash .lsacc-check-box{
  width:22px;height:22px;flex:none;border-radius:7px;border:1.5px solid #cfe0db;background:#fff;
  display:flex;align-items:center;justify-content:center;color:transparent;transition:all .15s}
body.ls-dash-page .lsdash .lsacc-check-box .ic{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsacc-check input:checked + .lsacc-check-box{background:var(--brand);border-color:var(--brand);color:#fff}
body.ls-dash-page .lsdash .lsacc-check-t{font-size:13px;font-weight:600;color:var(--text)}
body.ls-dash-page .lsdash .lsacc-check input:checked ~ .lsacc-check-t{color:var(--ink);font-weight:700}

/* marketing switch */
body.ls-dash-page .lsdash .lsacc-note{margin:0 0 12px;font-size:13px;line-height:1.95;color:var(--muted);font-weight:500}
body.ls-dash-page .lsdash .lsacc-switch{display:inline-flex;align-items:center;gap:12px;cursor:pointer;padding:10px 14px;border-radius:14px;border:1px solid #eef4f2;background:#fbfdfc}
body.ls-dash-page .lsdash .lsacc-switch input{position:absolute;opacity:0;width:0;height:0}
body.ls-dash-page .lsdash .lsacc-switch-track{
  width:44px;height:24px;border-radius:999px;background:#dfe9e6;position:relative;flex:none;transition:background .18s}
body.ls-dash-page .lsdash .lsacc-switch-dot{
  position:absolute;top:3px;inset-inline-start:3px;width:18px;height:18px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgba(14,43,39,.25);transition:transform .18s}
body.ls-dash-page .lsdash .lsacc-switch input:checked + .lsacc-switch-track{background:var(--brand)}
body.ls-dash-page .lsdash .lsacc-switch input:checked + .lsacc-switch-track .lsacc-switch-dot{transform:translateX(-20px)}
body.ls-dash-page .lsdash .lsacc-switch-t{font-size:13px;font-weight:700;color:var(--ink2)}

/* actions */
body.ls-dash-page .lsdash .lsacc-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:4px 0 8px}
body.ls-dash-page .lsdash .lsacc-actions .lstf-submit-btn{border:0;font-family:inherit}
body.ls-dash-page .lsdash .lsacc-actions .lstf-cancel-btn{font-family:inherit;cursor:pointer}

@media (max-width:760px){
  body.ls-dash-page .lsdash .lsacc-sum-top{padding:14px}
  body.ls-dash-page .lsdash .lsacc-actions .lstf-submit-btn,
  body.ls-dash-page .lsdash .lsacc-actions .lstf-cancel-btn{width:100%}
}
/* ============================================================
   User management (index.php?rp=/account/users)
   ============================================================ */
body.ls-dash-page .lsdash .lsus-count{margin-inline-start:auto;font-size:11.5px;font-weight:700;color:var(--muted)}

body.ls-dash-page .lsdash .lsus-card{overflow:hidden}
body.ls-dash-page .lsdash .lsus-rows{display:flex;flex-direction:column}
body.ls-dash-page .lsdash .lsus-row{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:14px;
  padding:14px 18px;border-bottom:1px solid #eef4f2}
body.ls-dash-page .lsdash .lsus-row:last-child{border-bottom:0}
body.ls-dash-page .lsdash .lsus-row:hover{background:#f9fcfb}
body.ls-dash-page .lsdash .lsus-av{
  width:44px;height:44px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2fb59b,#146157);color:#fff;font-size:16px;font-weight:800;text-transform:uppercase}
body.ls-dash-page .lsdash .lsus-av.is-muted{background:#eef7f4;color:#4b7a72}
body.ls-dash-page .lsdash .lsus-av .ic{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsus-id{display:flex;flex-direction:column;gap:3px;min-width:0}
body.ls-dash-page .lsdash .lsus-mail{font-size:13.5px;font-weight:800;color:var(--ink);direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ls-dash-page .lsdash .lsus-meta{font-size:11.5px;font-weight:600;color:var(--muted)}
body.ls-dash-page .lsdash .lsus-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
body.ls-dash-page .lsdash .lsus-badge{
  display:inline-flex;align-items:center;gap:5px;height:25px;padding:0 10px;border-radius:999px;
  font-size:11px;font-weight:800;white-space:nowrap}
body.ls-dash-page .lsdash .lsus-badge .ic{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsus-badge.is-owner{background:#eef2f1;color:#4b6b66}
body.ls-dash-page .lsdash .lsus-badge.is-ok{background:#dcf5ea;color:#0f7a52}
body.ls-dash-page .lsdash .lsus-badge.is-off{background:#f2f6f5;color:#8aa49e}
body.ls-dash-page .lsdash .lsus-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
body.ls-dash-page .lsdash .lsus-btn{
  display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 13px;border-radius:11px;
  border:1px solid #cfe0db;background:#fff;color:#0f4d45;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer;
  font-family:inherit;transition:background .15s,border-color .15s}
body.ls-dash-page .lsdash .lsus-btn:hover{background:#eef7f4;border-color:#b9ddd2}
body.ls-dash-page .lsdash .lsus-btn.is-danger{background:#fff;border-color:#f7cfc8;color:#b3362c}
body.ls-dash-page .lsdash .lsus-btn.is-danger:hover{background:#fdeeec}
body.ls-dash-page .lsdash .lsus-btn.disabled{opacity:.45;pointer-events:none}
body.ls-dash-page .lsdash .lsus-inline-form{display:flex;gap:8px;margin:0}

body.ls-dash-page .lsdash .lsus-invites{border-top:1px solid #eef4f2;background:#fbfdfc}
body.ls-dash-page .lsdash .lsus-invites-h{padding:12px 18px 4px;font-size:12px;font-weight:800;color:var(--brand)}
body.ls-dash-page .lsdash .lsus-row.is-invite{border-bottom:0}

body.ls-dash-page .lsdash .lsus-invite-form{padding:18px;display:flex;flex-direction:column;gap:16px}
body.ls-dash-page .lsdash .lsus-desc{margin:0;font-size:13px;line-height:1.95;color:var(--muted);font-weight:500}

/* segmented radios */
body.ls-dash-page .lsdash .lsus-seg{display:flex;gap:10px;flex-wrap:wrap}
body.ls-dash-page .lsdash .lsus-seg-item{position:relative;cursor:pointer;margin:0}
body.ls-dash-page .lsdash .lsus-seg-item input{position:absolute;opacity:0;width:0;height:0}
body.ls-dash-page .lsdash .lsus-seg-item span{
  display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:12px;
  border:1px solid #cfe0db;background:#fff;font-size:12.5px;font-weight:700;color:var(--text)}
body.ls-dash-page .lsdash .lsus-seg-item input:checked + span{
  background:#dcf0ea;border-color:#b9ddd2;color:#0f4d45;font-weight:800}

/* permissions grid */
body.ls-dash-page .lsdash .lsus-perms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ls-dash-page .lsdash .lsus-perm{
  display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #eef4f2;border-radius:14px;
  background:#fbfdfc;cursor:pointer;margin:0}
body.ls-dash-page .lsdash .lsus-perm:hover{border-color:#cfe6df;background:#fff}
body.ls-dash-page .lsdash .lsus-perm input{position:absolute;opacity:0;width:0;height:0}
body.ls-dash-page .lsdash .lsus-perm-box{
  width:22px;height:22px;flex:none;border-radius:7px;border:1.5px solid #cfe0db;background:#fff;
  display:flex;align-items:center;justify-content:center;color:transparent;margin-top:1px}
body.ls-dash-page .lsdash .lsus-perm-box .ic{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsus-perm input:checked + .lsus-perm-box{background:var(--brand);border-color:var(--brand);color:#fff}
body.ls-dash-page .lsdash .lsus-perm-body{display:flex;flex-direction:column;gap:2px;min-width:0}
body.ls-dash-page .lsdash .lsus-perm-body b{font-size:12.5px;font-weight:800;color:var(--ink)}
body.ls-dash-page .lsdash .lsus-perm-body span{font-size:11.5px;font-weight:500;color:var(--muted);line-height:1.8}

body.ls-dash-page .lsdash .lsus-note{padding:16px 18px}
body.ls-dash-page .lsdash .lsus-note .ic{width:17px;height:17px;color:var(--brand);fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsus-note p{margin:8px 0 0;font-size:12px;line-height:1.95;color:var(--muted);font-weight:500}

@media (max-width:900px){
  body.ls-dash-page .lsdash .lsus-row{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"av id" "badges badges" "actions actions";row-gap:10px}
  body.ls-dash-page .lsdash .lsus-av{grid-area:av}
  body.ls-dash-page .lsdash .lsus-id{grid-area:id}
  body.ls-dash-page .lsdash .lsus-badges{grid-area:badges}
  body.ls-dash-page .lsdash .lsus-actions{grid-area:actions;justify-content:flex-start}
  body.ls-dash-page .lsdash .lsus-perms{grid-template-columns:minmax(0,1fr)}
}
/* contacts: sidebar pick form */
body.ls-dash-page .lsdash .lsct-pick{padding:16px 18px 18px;display:flex;flex-direction:column;gap:12px}
body.ls-dash-page .lsdash .lsct-pick .lstf-submit-btn{height:44px;font-size:13px;border:0;font-family:inherit;cursor:pointer}
body.ls-dash-page .lsdash .lsct-pick select.lstf-select{height:46px}
/* email preference rows: keep the tick box next to its label */
body.ls-dash-page .lsdash .lsacc-check{justify-content:flex-start}
body.ls-dash-page .lsdash .lsacc-check-t{flex:0 1 auto;text-align:right}
body.ls-dash-page .lsdash .lsacc-check .form-check-input{display:none}
/* ============================================================
   Email history (clientarea.php?action=emails)
   ============================================================ */
body.ls-dash-page .lsdash .lsem-card{overflow:hidden}
body.ls-dash-page .lsdash .lsem-rows{display:flex;flex-direction:column}
body.ls-dash-page .lsdash .lsem-row{
  display:grid;grid-template-columns:132px minmax(0,1fr) auto auto;align-items:center;gap:14px;
  padding:14px 20px;border-bottom:1px solid #eef4f2;transition:background .15s}
body.ls-dash-page .lsdash .lsem-row:hover{background:#f9fcfb}
body.ls-dash-page .lsdash .lsem-row.is-last{border-bottom:0}
body.ls-dash-page .lsdash .lsem-row[hidden]{display:none}
body.ls-dash-page .lsdash .lsem-date{
  display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}
body.ls-dash-page .lsdash .lsem-date .ic{width:14px;height:14px;color:var(--faint)}
body.ls-dash-page .lsdash .lsem-subject{font-size:13.5px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ls-dash-page .lsdash .lsem-att{
  display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:999px;
  background:#eef7f4;color:#146157;font-size:11px;font-weight:800}
body.ls-dash-page .lsdash .lsem-att .ic{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.ls-dash-page .lsdash .lsem-btn{
  height:36px;padding:0 14px;border-radius:11px;border:1px solid #cfe0db;background:#fff;color:#0f4d45;
  font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
body.ls-dash-page .lsdash .lsem-btn:hover{background:#eef7f4;border-color:#b9ddd2}

@media (max-width:760px){
  body.ls-dash-page .lsdash .lsem-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date btn" "subject subject" "att att";gap:8px 10px}
  body.ls-dash-page .lsdash .lsem-date{grid-area:date}
  body.ls-dash-page .lsdash .lsem-subject{grid-area:subject;white-space:normal}
  body.ls-dash-page .lsdash .lsem-att{grid-area:att;justify-self:start}
  body.ls-dash-page .lsdash .lsem-btn{grid-area:btn}
}
/* mobile: services rows become a horizontally swipeable strip of compact
   cards; long names ellipsize instead of stretching the card */
@media (max-width: 767px) {
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding: 12px 14px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-list::-webkit-scrollbar { display: none; }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .panel-row {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    scroll-snap-align: center;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-item {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "ico status" "ico name" "buttons buttons";
    row-gap: 8px;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-item .div-service-buttons {
    grid-area: buttons;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  body.ls-dash-page .lsdash .panel-row-name,
  body.ls-dash-page .lsdash .div-service-item .div-service-name {
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* every service action becomes a visible inline button on phones:
     the dropdown caret is dropped and its menu items render flat */
  /* flatten the nested button groups: every action becomes a direct flex
     child of the buttons row — no nested squeeze, all buttons visible */
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-group,
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-menu {
    display: none !important;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-toggle {
    display: none !important;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn:not(.btn-custom-action),
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item a {
    flex: 0 0 auto !important;
    width: auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px !important;
    border: 1px solid #d5dee3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #19615c !important;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-menu {
    display: contents;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item {
    flex: 0 0 auto;
    display: flex;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item a {
    white-space: nowrap;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-toggle {
    display: none !important;
  }
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item a,
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-view-details,
  body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-custom-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 12px !important;
    border: 1px solid #d5dee3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #19615c !important;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none;
  }
}
/* stock WHMCS hides the details-button label on phones (icon-only); our flattened card needs the text — always show it here */
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-view-details span:not(.sr-only) { display: initial !important; }

body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-view-details span { display: initial !important; }

/* mobile: only the details button stays — cPanel/webmail/custom actions hidden */
@media (max-width: 767px) {
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .btn-custom-action,
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-menu,
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-toggle,
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item,
body.ls-dash-page .lsdash .panel-card[data-panel="Active Products/Services"] .div-service-buttons .dropdown-item a {
display: none !important;
}
}
