/* KARKOUR NET V9 — final luxury gold UI layer
   Visual-only override. Existing data, API and application logic are untouched. */
:root{--v9-bg:#060706;--v9-panel:#0d0f0c;--v9-panel2:#12140f;--v9-gold:#d8b45b;--v9-gold2:#f2d78b;--v9-gold3:#8c6a28;--v9-line:#3c321e;--v9-text:#f4efe3;--v9-muted:#918a78;--v9-green:#49c58b;--v9-red:#df6d74}
html,body{background:var(--v9-bg)!important;color:var(--v9-text)!important}
body{font-family:Tahoma,Arial,sans-serif!important;overflow-x:hidden!important}
body.karkour-bg-active #karkourBackgroundLayer{opacity:.12!important;filter:brightness(.28) saturate(.55)!important}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 80% 0%,rgba(216,180,91,.07),transparent 32%),linear-gradient(180deg,#070806 0%,#060706 100%)}
/* desktop shell */
body{padding-right:300px!important}
.lux-sidebar{width:300px!important;padding:20px 15px!important;background:linear-gradient(180deg,#11130f 0%,#070806 100%)!important;border-left:1px solid #5b4925!important;box-shadow:-24px 0 70px rgba(0,0,0,.65)!important}
.lux-brand{padding:5px 9px 18px!important;border-bottom:1px solid #352c1c!important}
.lux-logo{width:48px!important;height:48px!important;border-radius:14px!important;background:linear-gradient(135deg,#9a7227,#f3d98b)!important;color:#161107!important;box-shadow:0 0 28px rgba(216,180,91,.16)!important}
.lux-brand b{color:#f2d78b!important;font-size:18px!important}.lux-brand small{color:#817967!important}
.lux-profile{background:linear-gradient(145deg,#191b15,#0b0d0a)!important;border-color:#443720!important}
.lux-avatar{background:linear-gradient(135deg,#b88932,#f0d27f)!important}
.lux-nav{gap:4px!important}.lux-nav a{color:#a8a08d!important;border-color:transparent!important;padding:11px 12px!important}
.lux-nav a i{color:#c8a956!important}.lux-nav a:hover{color:#f4d98e!important;background:rgba(216,180,91,.08)!important;border-color:#675127!important;transform:none!important}
.lux-nav a.active{color:#f5dc98!important;background:linear-gradient(90deg,rgba(216,180,91,.18),rgba(216,180,91,.035))!important;border-color:#765d29!important;box-shadow:inset 3px 0 #d8b45b!important}
.lux-side-footer{border-top-color:#31291b!important;color:#62c997!important}
/* main */
.main,.standalone-main{width:100%!important;margin:0!important;padding:0 34px 45px!important}
.topbar,.standalone-topbar{height:82px!important;position:sticky!important;top:0!important;z-index:90!important;background:rgba(6,7,6,.92)!important;border-bottom:1px solid #332b1c!important;backdrop-filter:blur(16px)!important}
.topbar h1,.standalone-topbar h1{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;font-size:20px!important;color:#f4efe3!important}
.topbar h1 strong,.standalone-topbar h1 strong{font-size:21px!important;color:#f4efe3!important}
.lux-eyebrow{font-size:9px!important;letter-spacing:2.2px!important;color:#927845!important}
.top-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important}
.top-actions>*{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 12px!important;border-radius:10px!important;border:1px solid #4c3d22!important;background:linear-gradient(145deg,#171812,#0d0f0c)!important;color:#e0d4b4!important;font-weight:800!important;white-space:nowrap!important}
.top-actions #accountPill{color:#f0d88d!important;border-color:#80652d!important;background:linear-gradient(145deg,#201b10,#12130f)!important}
.top-actions #phoneLinkBtn{color:#d9cda9!important}.top-actions #emailLinkBtn{color:#d9cda9!important}
.top-actions .iconbtn{color:#efaaa9!important;border-color:#5a2e2d!important;background:linear-gradient(145deg,#211211,#120c0c)!important}
.top-actions>*:hover{border-color:#a17b32!important;box-shadow:0 0 18px rgba(216,180,91,.08)!important}
/* prevent old header option button */
.standalone-menu-lower{display:none!important}
/* dashboard */
.dashboard{max-width:1500px!important;margin:0 auto!important;padding-top:25px!important}
.cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.card{background:linear-gradient(145deg,#151812,#0d0f0c)!important;border:1px solid #403620!important;border-radius:16px!important;box-shadow:0 16px 42px rgba(0,0,0,.3)!important;min-height:128px!important}
.card:before{height:3px!important;background:linear-gradient(90deg,#8c6a28,#f1d487)!important}
.card.green:before{background:linear-gradient(90deg,#2d8f66,#66d6a5)!important}.card.red:before{background:linear-gradient(90deg,#8e3e45,#e78289)!important}.card.yellow:before,.card.cyan:before,.card.purple:before{background:linear-gradient(90deg,#8c6a28,#f1d487)!important}
.card .label{color:#aaa08b!important}.card .value{color:#f1d487!important}.green .value{color:#62d49e!important}.red .value{color:#e78389!important}.purple .value,.yellow .value,.cyan .value{color:#f1d487!important}.card .sub{color:#716a5b!important}
.section,.home-panel,.notification-panel,.panel-card,.home-hero{background:linear-gradient(145deg,#11130f,#0b0d0a)!important;border-color:#3d321f!important;box-shadow:0 16px 42px rgba(0,0,0,.24)!important}
.home-hero{border-color:#554322!important}.home-action.primary{background:linear-gradient(135deg,#9c762c,#e3c36e)!important;color:#171207!important}.home-action.green{background:#163326!important;border-color:#316c4e!important}
.home-section-title h3,.section-head h2,.home-panel-head b,.panel-card h3{color:#eee4cf!important}.home-section-title span,.home-panel-head span,.muted{color:#8d8574!important}
.quick-item{background:#11130f!important;border-color:#39301f!important}.quick-item:hover{border-color:#86672c!important;background:#171710!important}.quick-icon{background:#241e12!important;color:#e0bf62!important}
.lux-analytics{gap:15px!important}.lux-chart-card{background:linear-gradient(145deg,#12140f,#0a0c09)!important;border-color:#4a3b22!important;box-shadow:0 16px 42px rgba(0,0,0,.26)!important}.lux-card-head b{color:#f1dfb0!important}.lux-card-head span,.lux-period{color:#8e846e!important}.lux-donut{background:conic-gradient(#d8b45b var(--pct,0%),#25271f var(--pct,0%))!important}.lux-donut:after{background:#10120f!important}.lux-donut strong{color:#f2d78b!important}.lux-bars i{background:linear-gradient(180deg,#f0d58a,#806024)!important}
/* tables/forms */
th{color:#817966!important}th,td{border-bottom-color:#2b2519!important}input,select,.search,.message-box{background:#0a0c09!important;border-color:#403620!important;color:#f4efe3!important}input:focus,select:focus,.search:focus{border-color:#9a762f!important;box-shadow:0 0 0 2px rgba(216,180,91,.08)!important}
.btn-green{background:#164a36!important}.btn-yellow{background:#5d4810!important;color:#f1d487!important}.btn-blue{background:#352d1b!important;color:#efd78e!important}.btn-red{background:#4d2227!important}.btn-cyan{background:#153d38!important}
/* sidebar drawer */
.lux-shade{background:rgba(0,0,0,.72)!important;backdrop-filter:blur(3px)!important}
.lux-mobile-menu{display:none!important;background:#11130f!important;border-color:#8c6a28!important;color:#f1d487!important}
body.lux-drawer-open{overflow:hidden!important}
/* no account/email duplicates in sidebar */
.lux-account-title,.lux-account-actions{display:none!important}
/* mobile */
@media(max-width:1100px){
 body{padding-right:0!important}
 .lux-sidebar{transform:translate3d(105%,0,0)!important;transition:transform .24s ease!important;width:min(310px,88vw)!important;height:100dvh!important;top:0!important;bottom:0!important;right:0!important;left:auto!important;z-index:10020!important}
 .lux-sidebar.open{transform:translate3d(0,0,0)!important}
 .lux-mobile-menu{display:grid!important;place-items:center!important;position:fixed!important;top:12px!important;right:12px!important;width:44px!important;height:44px!important;z-index:10030!important}
 .lux-shade{display:none!important;position:fixed!important;inset:0!important;z-index:10010!important}.lux-shade.show{display:block!important}
 .main,.standalone-main{padding:0 16px 30px!important}
 .topbar,.standalone-topbar{height:auto!important;min-height:76px!important;padding:10px 62px 10px 10px!important;gap:10px!important;align-items:center!important}
 .topbar>div:first-child,.standalone-topbar>div:first-child{min-width:0!important;display:flex!important;align-items:center!important}
 .top-actions{flex:0 1 auto!important;max-width:72%!important;overflow:hidden!important}
 .top-actions>*{min-height:36px!important;padding:7px 9px!important;font-size:11px!important}
 .dashboard{padding-top:16px!important}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .lux-analytics{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 .main,.standalone-main{padding:0 9px 24px!important}
 .topbar,.standalone-topbar{min-height:82px!important;padding:10px 60px 9px 8px!important;align-items:flex-start!important}
 .topbar>div:first-child,.standalone-topbar>div:first-child{width:100%!important;justify-content:space-between!important}
 .top-actions{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
 .top-actions>*{width:100%!important;max-width:none!important;min-height:32px!important;font-size:9.5px!important;padding:6px 5px!important}
 .topbar h1 strong,.standalone-topbar h1 strong{font-size:15px!important}.lux-eyebrow{font-size:7px!important}
 .cards{grid-template-columns:1fr 1fr!important;gap:8px!important}.card{min-height:102px!important;padding:12px!important}.card .value{font-size:23px!important}
 .home-hero,.home-panel,.section,.notification-panel,.panel-card{border-radius:14px!important}
}
