/* KARKOUR NET — true Luxury Gold structural redesign */
:root{--gold:#d8b45b;--gold2:#f4d98e;--gold3:#8c6a28;--black:#070806;--panel:#10120f;--panel2:#151711;--line:#3c3421;--text:#f4efe3;--muted:#a69e8a;--green:#49c58b;--red:#df6d74}
html,body{background:#070806!important;color:var(--text)!important}
body{padding-right:286px!important}
.lux-sidebar{position:fixed;z-index:120;right:0;top:0;bottom:0;width:286px;padding:22px 16px;background:linear-gradient(180deg,#10120e 0%,#070806 100%);border-left:1px solid #4d4024;box-shadow:-24px 0 70px #000b;display:flex;flex-direction:column;overflow:auto}
.lux-brand{display:flex;align-items:center;gap:12px;padding:5px 8px 20px;border-bottom:1px solid #332c1d}.lux-logo{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font:900 25px Georgia;color:#161107;background:linear-gradient(135deg,#a57b2d,#f1d487);box-shadow:0 0 25px #d8b45b22}.lux-brand b{display:block;letter-spacing:1.2px;color:#f5df9f;font-size:17px}.lux-brand small{display:block;color:#8f8775;font-size:8px;letter-spacing:2px;margin-top:4px}
.lux-profile{margin:17px 0;padding:13px;border:1px solid #3c3421;border-radius:15px;background:linear-gradient(145deg,#191b15,#0e100d);display:flex;gap:11px;align-items:center}.lux-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:#151108;background:#d8b45b;font-weight:900}.lux-profile b{display:block;font-size:13px}.lux-profile span{display:block;color:#938b79;font-size:10px;margin-top:4px}
.lux-nav{display:grid;gap:5px}.lux-nav a{display:flex;align-items:center;gap:12px;text-decoration:none;color:#aaa28f;padding:11px 12px;border-radius:11px;border:1px solid transparent;font-weight:700;font-size:13px;transition:.18s}.lux-nav a i{font-style:normal;width:22px;text-align:center;color:#b9a66e;font-size:16px}.lux-nav a:hover{color:#f4d98e;background:#d8b45b0e;border-color:#6b5629}.lux-nav a.active{color:#f5dd99;background:linear-gradient(90deg,#d8b45b22,#d8b45b06);border-color:#80652e;box-shadow:inset 3px 0 #d8b45b}.lux-side-footer{margin-top:auto;padding-top:18px;border-top:1px solid #2d281c;color:#62c997;font-size:10px}.lux-side-footer small{display:block;color:#625d50;margin-top:6px}
.lux-mobile-menu{display:none;position:fixed;z-index:140;top:14px;right:14px;width:43px;height:43px;border:1px solid #6b5629;border-radius:12px;background:#12140f;color:#f0d58a;font-size:20px}
.lux-shade{display:none}
.main{width:100%!important;margin:0!important;min-height:100vh}.standalone-main{padding:0 34px 40px!important}.topbar{height:82px!important;position:sticky!important;top:0!important;z-index:50!important;background:rgba(7,8,6,.88)!important;border-bottom:1px solid #332c1d!important;backdrop-filter:blur(16px)!important}.topbar h1{display:flex!important;flex-direction:column;gap:3px;font-size:20px!important}.lux-eyebrow{font-size:9px;letter-spacing:2px;color:#8d7a4b;font-weight:800}.topbar h1 strong{color:#f4efe3;font-size:21px}.lux-clock{margin-left:auto;margin-right:14px;text-align:left;direction:rtl}.lux-clock span{display:block;color:#f0d58a;font-weight:900;font-size:14px}.lux-clock small{display:block;color:#777060;font-size:9px;margin-top:2px}.top-actions{gap:7px!important}.account-pill,.iconbtn{background:#11130f!important;border-color:#4c4026!important;color:#d7cba9!important}
.dashboard{max-width:1500px;margin:auto;padding-top:28px!important}.cards{grid-template-columns:repeat(4,1fr)!important;gap:13px!important}.card{min-height:130px!important;border-radius:16px!important;background:linear-gradient(145deg,#171914,#0c0e0b)!important;border-color:#4b3e25!important}.card .value{font-size:31px!important;color:#f1d37c!important}.card:before,.card.green:before,.card.yellow:before,.card.red:before,.card.cyan:before,.card.purple:before{background:linear-gradient(90deg,#8d6927,#f3d58a,#8d6927)!important}
.lux-analytics{display:grid;grid-template-columns:1.05fr 1fr;gap:15px;margin-top:16px}.lux-chart-card{background:linear-gradient(145deg,#141611,#0b0d0a);border:1px solid #493c24;border-radius:16px;padding:18px;min-height:245px;box-shadow:0 16px 40px #0006}.lux-card-head{display:flex;justify-content:space-between;align-items:flex-start}.lux-card-head span{display:block;color:#8f8776;font-size:10px}.lux-card-head b{display:block;margin-top:4px;font-size:17px}.lux-card-head em,.lux-period{font-style:normal;font-size:10px;color:#6cd39e;background:#11281d;border:1px solid #2d6847;border-radius:20px;padding:5px 9px}.lux-chart-wrap{display:flex;align-items:center;gap:28px;justify-content:center;height:175px}.lux-donut{width:145px;height:145px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#d8b45b var(--pct,0%),#293021 var(--pct,0%));position:relative}.lux-donut:after{content:'';position:absolute;inset:12px;border-radius:50%;background:#10120f}.lux-donut>div{position:relative;z-index:2;text-align:center}.lux-donut strong{display:block;font-size:30px;color:#f3d58a}.lux-donut small{display:block;color:#9d957f;font-size:9px;margin-top:3px}.lux-legend{display:grid;gap:12px;min-width:135px}.lux-legend div{display:grid;grid-template-columns:10px 1fr auto;gap:7px;align-items:center;font-size:11px}.lux-legend i{width:8px;height:8px;border-radius:50%;background:#d8b45b}.lux-legend i.green{background:#49c58b}.lux-legend i.red{background:#df6d74}.lux-legend span{color:#9d957f}.lux-legend b{color:#eee4cf}.lux-bars{height:145px;display:flex;align-items:end;gap:12px;padding:18px 12px 0}.lux-bars i{flex:1;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#f0d58a,#806024);box-shadow:0 0 20px #d8b45b16;min-width:10px}.lux-bar-labels{display:flex;gap:12px;padding:7px 12px 0;color:#736d60;font-size:9px}.lux-bar-labels span{flex:1;text-align:center}
.home-hero{margin-top:16px!important;background:linear-gradient(115deg,#171914,#0b0d0a)!important;border:1px solid #4b3e25!important;border-radius:17px!important;box-shadow:0 18px 45px #0006!important}.home-action.primary{background:linear-gradient(135deg,#9c762c,#e3c36e)!important;color:#161107!important}.home-action.green{background:#173324!important;border-color:#2f694b!important}.home-panel,.home-section-title{border-color:#3f3522!important}.home-panel{background:#10120f!important}
@media(max-width:1100px){body{padding-right:0!important}.lux-sidebar{transform:translateX(105%);transition:.22s}.lux-sidebar.open{transform:translateX(0)}.lux-mobile-menu{display:grid;place-items:center}.lux-shade.show{display:block;position:fixed;inset:0;background:#0009;z-index:110}.standalone-main{padding:0 18px 30px!important}.cards{grid-template-columns:repeat(2,1fr)!important}.lux-analytics{grid-template-columns:1fr}.topbar{padding-right:58px!important}}
@media(max-width:560px){.cards{grid-template-columns:1fr 1fr!important}.card{min-height:105px!important;padding:14px!important}.card .value{font-size:25px!important}.lux-chart-wrap{gap:12px}.lux-donut{width:118px;height:118px}.lux-legend{min-width:110px}.standalone-main{padding:0 10px 24px!important}.topbar{height:72px!important}.topbar h1 strong{font-size:17px}.lux-clock{display:none}}

/* Account controls moved from header into the luxury sidebar. */
.lux-account-title{margin:18px 4px 8px;padding-top:14px;border-top:1px solid #3d3320;color:#d9b65a;font-size:12px;font-weight:900}
.lux-account-actions{display:grid;gap:7px}
.lux-account-btn{width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #332b1b;border-radius:11px;background:linear-gradient(145deg,#171813,#0d0f0c);color:#d8d0bd;text-align:right;font-family:inherit;cursor:pointer}
.lux-account-btn span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#241f14;color:#d9b65a}
.lux-account-btn b{font-size:12px;font-weight:800}
.lux-account-btn:hover{border-color:#8f6f2d;background:linear-gradient(145deg,#211d13,#11120e);color:#f0d88d}
.lux-account-btn.lux-logout{color:#e6a2a2;border-color:#4b2929}
.lux-account-btn.lux-logout span{color:#ffb1a8}
.topbar .top-actions,.standalone-topbar .top-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:7px!important}
.topbar .top-actions #accountPill,.standalone-topbar .top-actions #accountPill,.topbar .top-actions #phoneLinkBtn,.standalone-topbar .top-actions #phoneLinkBtn,.topbar .top-actions .iconbtn,.standalone-topbar .top-actions .iconbtn{display:inline-flex!important}
@media(max-width:560px){.topbar .top-actions,.standalone-topbar .top-actions{gap:5px!important;max-width:70%;flex-wrap:nowrap}.topbar .top-actions .account-pill,.standalone-topbar .top-actions .account-pill,.topbar .top-actions .iconbtn,.standalone-topbar .top-actions .iconbtn{min-height:34px!important;padding:7px 8px!important;font-size:10px!important;border-radius:9px!important}.topbar .top-actions #accountPill,.standalone-topbar .top-actions #accountPill{max-width:92px;overflow:hidden;text-overflow:ellipsis}.topbar .top-actions #phoneLinkBtn,.standalone-topbar .top-actions #phoneLinkBtn{max-width:92px;overflow:hidden;text-overflow:ellipsis}.topbar .top-actions .iconbtn,.standalone-topbar .top-actions .iconbtn{max-width:70px}}
@media(max-width:1100px){.lux-account-actions{padding-bottom:4px}.lux-account-btn{min-height:42px}}

/* V6: the old standalone options link is replaced by the single luxury sidebar. */
.standalone-menu-lower{display:none!important}
.lux-sidebar .lux-nav{margin-bottom:4px}
@media(max-width:1100px){.lux-sidebar .lux-nav{gap:4px}.lux-sidebar .lux-nav a{padding:10px 11px}}

/* V8: account controls stay in the top bar; email is not duplicated in sidebar */
.lux-account-title,.lux-account-actions{display:none!important}
.topbar .top-actions #emailLinkBtn,.standalone-topbar .top-actions #emailLinkBtn{display:inline-flex!important}
@media(max-width:560px){.topbar .top-actions #emailLinkBtn,.standalone-topbar .top-actions #emailLinkBtn{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
