/* TWK PREMIUM LIGHT MARKET BACKDROP - visual only */
:root{--twk-p-green:#075d35;--twk-p-green2:#0b8a50;--twk-p-gold:#d9ad38;--twk-p-cream:#f7f8ef}
html,body{min-height:100%;}
body{position:relative;background:linear-gradient(135deg,#fbfcf8 0%,#f0f7ee 52%,#fffaf0 100%) !important;}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:url('assets/twk-bull-bear-premium.png');background-repeat:no-repeat;background-position:center top;background-size:cover;opacity:.085;filter:saturate(.9) contrast(.95);}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.54));}
header,footer,.sidebar,.panel,.card,.summary,.feature,.twk-card,.twk-notify,.right,.main{position:relative;z-index:1;}
.sidebar,.panel,.summary,.card,.feature,.twk-card,.twk-notify{box-shadow:0 14px 34px rgba(11,76,45,.10),0 3px 10px rgba(11,76,45,.045)!important;backdrop-filter:blur(7px);}
.sidebar:hover,.panel:hover,.summary:hover,.card:hover,.feature:hover{transform:translateY(-4px) translateZ(7px);box-shadow:0 22px 48px rgba(11,76,45,.14)!important;}
.side-link{transition:transform .22s ease,box-shadow .22s ease,background .22s ease;}
.side-link:hover{transform:translateX(3px) translateZ(5px);box-shadow:0 10px 24px rgba(11,76,45,.10);}
/* Dashboard hero: preserve the banner ratio; never stretch/fill the unused area. */
.twk-hero-final{min-height:0!important;height:auto!important;padding:0!important;background:transparent!important;overflow:visible!important;}
.twk-hero-image-wrap{width:100%!important;height:auto!important;min-height:0!important;background:#fff!important;overflow:hidden!important;border-radius:22px!important;}
.twk-hero-image{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border-radius:22px!important;}
.twk-hero-overlay{display:none!important;}
@media(max-width:820px){.twk-hero-image{width:100%!important;height:auto!important;object-fit:contain!important}.twk-hero-image-wrap{border-radius:18px!important}}
/* TWK FINAL LIGHT BULL/BEAR BACKDROP — visible on every page */
html{background:#f7faf5!important;}
body{background:linear-gradient(135deg,#fbfcf8 0%,#f1f8ef 52%,#fffaf0 100%)!important;position:relative;isolation:isolate;}
body::before{content:""!important;position:fixed!important;inset:0!important;z-index:0!important;pointer-events:none!important;background:url('assets/twk-bull-bear-background.png') center center/cover no-repeat!important;opacity:.48!important;filter:saturate(.92)!important;}
body::after{content:""!important;position:fixed!important;inset:0!important;z-index:0!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.30))!important;}
body>*{position:relative;z-index:1;}
.twk-hero-final{margin-bottom:16px!important;}
.twk-hero-image-wrap{background:#fff!important;}

/* TWK final UI polish: soft background + perfectly aligned summary buttons */
body{background:linear-gradient(135deg,#f7faf7 0%,#eef6f0 52%,#fffaf0 100%)!important;}
body::after{background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.34))!important;}
.cards{align-items:stretch!important;}
.cards .summary{display:flex!important;flex-direction:column!important;min-height:178px!important;box-sizing:border-box!important;}
.cards .summary .btn{margin-top:auto!important;min-height:36px!important;box-sizing:border-box!important;white-space:nowrap!important;}
.cards .summary .sub{min-height:16px!important;}
@media(max-width:1200px){.cards .summary{min-height:178px!important;}}
@media(max-width:520px){.cards .summary{min-height:178px!important;}}

/* TWK member status + mobile Home routing */
.twk-membership-status{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:18px 20px;border:1px solid #d9ad38;border-radius:16px;background:rgba(255,253,245,.96);box-shadow:0 10px 26px rgba(11,76,45,.10)}
.twk-membership-status.pending{border-color:#d9ad38}.twk-membership-status.active{border-color:#15915a;background:#f3fff8}.twk-membership-status.expired{border-color:#c62828;background:#fff5f5}
.twk-membership-label{font-size:12px;font-weight:800;letter-spacing:2px;color:#52675c}.twk-membership-value{font-size:22px;font-weight:900;color:#b3261e;margin-top:3px}.twk-membership-status.active .twk-membership-value{color:#087a35}.twk-membership-status.expired .twk-membership-value{color:#b3261e}.twk-membership-action{font-size:13px;font-weight:700;color:#30473b;margin-top:5px}
.twk-member-status-popup{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));z-index:99999;padding:24px;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28);border:2px solid #d9ad38;text-align:center}.twk-member-status-popup.expired{border-color:#c62828}.twk-status-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:28px;line-height:1;color:#52675c;cursor:pointer}.twk-status-kicker{font-size:12px;font-weight:900;letter-spacing:2px;color:#52675c}.twk-status-title{font-size:26px;font-weight:900;color:#b3261e;margin:8px 0}.twk-member-status-popup.pending .twk-status-title{color:#b3261e}.twk-member-status-popup.expired .twk-status-title{color:#b3261e}.twk-status-action{font-size:14px;font-weight:700;color:#30473b;margin-bottom:18px}
@media(max-width:600px){.twk-membership-status{align-items:flex-start;flex-direction:column}.twk-membership-status .btn{width:100%;text-align:center;box-sizing:border-box}.twk-membership-value{font-size:20px}.twk-member-status-popup{padding:22px 18px}}


/* TWK FINAL MOBILE MENU + MEMBER HEADER FIX */
@media(max-width:980px){
  body.twk-member .twk-header,body.twk-admin .twk-header{position:sticky!important;top:0!important;height:72px!important;min-height:72px!important;padding:7px 10px!important;z-index:10000!important;}
  .twk-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;flex:0 0 46px!important;position:relative!important;z-index:10003!important;pointer-events:auto!important;font-size:26px!important;line-height:1!important;}
  .twk-brand-wrap{gap:10px!important;min-width:0!important;}
  .twk-brand{min-width:0!important;}
  .twk-brand .brand{width:50px!important;height:50px!important;}
  .twk-brand span{display:none!important;}
  .twk-top-nav{display:none!important;}
  .twk-header-right{margin-left:auto!important;min-width:0!important;}
  .twk-user-badge{display:grid!important;width:38px!important;height:38px!important;}
  .twk-head-logout{display:none!important;}
  body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{top:72px!important;bottom:0!important;width:min(285px,82vw)!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;z-index:10002!important;}
  body.twk-member .twk-sidebar.open,body.twk-admin .twk-sidebar.open{transform:translateX(0)!important;}
  .twk-sidebar-backdrop{position:fixed!important;inset:72px 0 0!important;display:none!important;z-index:10001!important;background:rgba(0,25,15,.34)!important;backdrop-filter:blur(2px)!important;}
  .twk-sidebar-backdrop.show{display:block!important;}
  body.twk-menu-open{overflow:hidden!important;}
  body.twk-member .twk-main,body.twk-admin .twk-main{margin-left:0!important;}
}
@media(max-width:560px){
  body.twk-member .twk-header,body.twk-admin .twk-header{padding:7px 9px!important;}
  .twk-menu-btn{width:44px!important;height:44px!important;flex-basis:44px!important;}
  .twk-brand .brand{width:48px!important;height:48px!important;}
}


.twk-stat-value.twk-status-pending{color:#b3261e!important}.twk-stat-value.twk-status-pending small{color:#b3261e!important;display:block;font-size:11px;font-weight:800;margin-top:5px}

/* =========================================================
   TWK MASTER HEADER / MOBILE SHELL — FINAL CONSOLIDATED FIX
   One common shell for all member/admin pages.
   ========================================================= */
.twk-header .twk-brand .brand{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;border-radius:50%!important;display:block!important;flex:0 0 54px!important}
.twk-header .twk-menu-btn{flex:0 0 38px!important;box-sizing:border-box!important;pointer-events:auto!important}
.twk-sidebar{box-sizing:border-box!important;overflow-x:hidden!important}
.twk-sidebar-backdrop{pointer-events:auto!important}
@media(max-width:980px){
  .twk-header{height:70px!important;min-height:70px!important;width:100%!important;box-sizing:border-box!important;padding:7px 10px!important;overflow:hidden!important}
  .twk-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;flex:0 0 46px!important;font-size:25px!important;line-height:1!important;cursor:pointer!important;pointer-events:auto!important;position:relative!important;z-index:10003!important}
  .twk-header .twk-brand .brand{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;flex-basis:48px!important}
  .twk-brand-wrap{min-width:0!important;gap:8px!important}
  .twk-header-right{margin-left:auto!important;min-width:0!important}
  .twk-top-nav{display:none!important}
  .twk-head-logout{display:none!important}
  .twk-sidebar{top:70px!important;bottom:0!important;width:min(285px,84vw)!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;z-index:10002!important;background:#fff!important;overflow-y:auto!important;overflow-x:hidden!important}
  .twk-sidebar.open{transform:translateX(0)!important}
  .twk-sidebar-backdrop{position:fixed!important;inset:70px 0 0!important;display:none!important;z-index:10001!important;background:rgba(0,25,15,.34)!important;backdrop-filter:blur(2px)!important}
  .twk-sidebar-backdrop.show{display:block!important}
  .twk-main{margin-left:0!important;min-height:calc(100vh - 70px)!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .twk-main-inner{width:calc(100% - 18px)!important;max-width:100%!important;box-sizing:border-box!important;margin:0 auto!important}
  .twk-layout-bar{top:70px!important;max-width:100%!important;overflow:hidden!important}
}
@media(max-width:600px){
  .twk-header{padding:7px 8px!important}
  .twk-menu-btn{width:44px!important;height:44px!important;flex-basis:44px!important;font-size:24px!important}
  .twk-header .twk-brand .brand{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;flex-basis:44px!important}
  .twk-user-badge{width:36px!important;height:36px!important;flex:0 0 36px!important}
  .twk-layout-inner{width:calc(100% - 12px)!important;max-width:100%!important}
  .twk-layout-controls{max-width:100%!important;overflow-x:auto!important}
  .twk-main-inner>.section{max-width:100%!important;overflow-x:hidden!important}
  .twk-main-inner>.section img{max-width:100%;height:auto}
}

/* =========================================================
   TWK MASTER MEMBER SHELL — DESKTOP + MOBILE FINAL
   One consistent shell. Removes raw/blue legacy navigation.
   ========================================================= */
body.twk-member .twk-header,body.twk-admin .twk-header{
  position:sticky!important;top:0!important;z-index:10000!important;
  width:100%!important;min-height:72px!important;height:72px!important;
  display:flex!important;align-items:center!important;gap:18px!important;
  padding:7px 22px!important;box-sizing:border-box!important;
  background:rgba(255,255,255,.96)!important;color:#123528!important;
  border-bottom:2px solid #dfc56a!important;
  box-shadow:0 8px 24px rgba(11,76,45,.10)!important;
  backdrop-filter:blur(12px)!important;
}
.twk-brand-wrap{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important;min-width:245px!important}
.twk-brand{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important;color:#075d35!important}
.twk-brand .brand{width:54px!important;height:54px!important;object-fit:contain!important;border-radius:50%!important;background:#fff!important}
.twk-brand b{display:block!important;font-size:15px!important;letter-spacing:.4px!important}
.twk-brand small{display:block!important;font-size:10px!important;color:#6a786f!important;margin-top:2px!important}
.twk-menu-btn{width:40px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #d9bd62!important;background:#fff!important;color:#075d35!important;border-radius:10px!important;cursor:pointer!important;font-size:22px!important;line-height:1!important;box-shadow:0 5px 14px rgba(11,76,45,.08)!important}
.twk-top-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:20px!important;flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
.twk-top-nav a{color:#25473a!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important;padding:8px 2px!important}
.twk-top-nav a:hover,.twk-top-nav a.active{color:#087a46!important}
.twk-nav-icon{display:none!important}
.twk-header-right{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important}
.twk-user-badge{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:50%!important;background:linear-gradient(135deg,#087a46,#0ca45e)!important;color:#fff!important;border:2px solid #d9ad38!important;font-weight:900!important;font-size:12px!important}
.twk-head-logout{border:1px solid #d9ad38!important;background:#fff!important;color:#087a46!important;border-radius:9px!important;padding:8px 12px!important;font-weight:800!important;cursor:pointer!important}
.twk-head-logout:hover{background:#087a46!important;color:#fff!important}
body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{
  position:fixed!important;left:0!important;top:72px!important;bottom:0!important;
  width:250px!important;padding:18px 14px!important;box-sizing:border-box!important;
  overflow-y:auto!important;overflow-x:hidden!important;z-index:9999!important;
  background:rgba(255,255,255,.97)!important;border-right:1px solid #dfebdf!important;
  box-shadow:8px 0 26px rgba(11,76,45,.07)!important;
  transform:none!important;border-radius:0 18px 0 0!important;
}
.twk-side-heading{padding:8px 12px 16px!important;margin-bottom:5px!important;border-bottom:1px solid #eadca9!important;color:#087a46!important;font-size:12px!important;font-weight:900!important;letter-spacing:2px!important}
.twk-side-links{display:flex!important;flex-direction:column!important;gap:3px!important}
.twk-sidebar .twk-side-links a{display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;box-sizing:border-box!important;padding:11px 12px!important;margin:0!important;border-radius:10px!important;color:#29483b!important;text-decoration:none!important;font-size:13px!important;font-weight:650!important;background:transparent!important}
.twk-sidebar .twk-side-links a:hover{background:#eef8f0!important;color:#087a46!important}
.twk-sidebar .twk-side-links a.active{background:linear-gradient(135deg,#087a46,#0ca45e)!important;color:#fff!important;box-shadow:0 8px 20px rgba(8,122,70,.16)!important}
.twk-side-icon{width:20px!important;flex:0 0 20px!important;text-align:center!important;font-size:15px!important}
.twk-support{margin:18px 3px 8px!important;padding:14px!important;border:1px solid #e2e9e3!important;border-radius:13px!important;background:#f8fbf7!important;display:flex!important;flex-direction:column!important;gap:5px!important;color:#29483b!important}
.twk-support b{font-size:13px!important}.twk-support small{font-size:11px!important;color:#708078!important}.twk-support a{font-size:11px!important;font-weight:800!important;color:#087a46!important;text-decoration:none!important;margin-top:4px!important}
body.twk-member .twk-main,body.twk-admin .twk-main{margin-left:250px!important;width:calc(100% - 250px)!important;min-height:calc(100vh - 72px)!important;box-sizing:border-box!important}
.twk-main-inner{width:min(1320px,calc(100% - 34px))!important;margin:0 auto!important;padding:20px 0 30px!important;box-sizing:border-box!important}
.twk-sidebar-backdrop{display:none!important}
body.twk-member .shell,body.twk-admin .shell{display:none!important}
body.twk-member .twk-layout-bar,body.twk-admin .twk-layout-bar{display:none!important}
body.twk-member .main,body.twk-admin .main{display:block!important}
.twk-main a:not(.btn):not(.twk-side-links a){color:#087a46}

@media(max-width:1100px){
 .twk-brand-wrap{min-width:205px!important}.twk-top-nav{gap:12px!important}.twk-top-nav a{font-size:12px!important}
 body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{width:230px!important}
 body.twk-member .twk-main,body.twk-admin .twk-main{margin-left:230px!important;width:calc(100% - 230px)!important}
}
@media(max-width:820px){
 body.twk-member .twk-header,body.twk-admin .twk-header{height:70px!important;min-height:70px!important;padding:7px 10px!important;gap:9px!important}
 .twk-brand-wrap{min-width:0!important;flex:1 1 auto!important}.twk-brand span{display:none!important}.twk-brand .brand{width:48px!important;height:48px!important}.twk-menu-btn{width:44px!important;height:44px!important;flex-basis:44px!important}
 .twk-top-nav{display:none!important}.twk-header-right{margin-left:auto!important}.twk-head-logout{display:none!important}
 body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{top:70px!important;width:min(285px,84vw)!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;border-radius:0 18px 0 0!important;box-shadow:12px 0 35px rgba(10,60,35,.18)!important}
 body.twk-member .twk-sidebar.open,body.twk-admin .twk-sidebar.open{transform:translateX(0)!important}
 .twk-sidebar-backdrop{display:none!important;position:fixed!important;inset:70px 0 0!important;background:rgba(0,25,15,.34)!important;z-index:9998!important}
 .twk-sidebar-backdrop.show{display:block!important}
 body.twk-member .twk-main,body.twk-admin .twk-main{margin-left:0!important;width:100%!important;min-height:calc(100vh - 70px)!important}
 .twk-main-inner{width:calc(100% - 20px)!important;padding-top:14px!important}
}

/* Final cascade guard: member top navigation is public quick navigation; member controls stay in left panel. */
body.twk-member .twk-header .twk-top-nav a{color:#25473a!important;background:transparent!important;text-shadow:none!important;border:0!important}
body.twk-member .twk-header .twk-top-nav a:hover,body.twk-member .twk-header .twk-top-nav a.active{color:#087a46!important;background:#eef8f0!important}
body.twk-member .twk-header .twk-top-nav .twk-nav-icon{display:none!important}
body.twk-member .twk-header{background:rgba(255,255,255,.97)!important;color:#123528!important}
body.twk-member .twk-brand b{color:#17633a!important}
body.twk-member .twk-brand small{color:#6b786f!important}
.twk-legacy-right{width:100%!important;max-width:100%!important;margin-top:8px!important}
@media(min-width:1101px){.twk-main-inner>.twk-legacy-right{max-width:100%!important}}

/* FINAL QA VISUAL POLISH — member pages */
body.twk-member .twk-header{border-bottom:1px solid #d9b447!important;box-shadow:0 6px 24px rgba(0,55,32,.10)!important}
body.twk-member .twk-top-nav{display:flex!important;align-items:center!important;gap:4px!important}
body.twk-member .twk-top-nav a{font-weight:700!important;font-size:12px!important;padding:9px 10px!important;border-radius:9px!important;white-space:nowrap!important}
body.twk-member .twk-top-nav a:hover{transform:translateY(-1px)!important;box-shadow:0 5px 12px rgba(8,122,70,.08)!important}
body.twk-member .twk-main-inner{padding-top:26px!important}
body.twk-member .twk-main-inner>.section{background:transparent}
body.twk-member .twk-main-inner .card,body.twk-member .twk-main-inner .income-card,body.twk-member .twk-main-inner .setting-card,body.twk-member .twk-main-inner .panel,body.twk-member .twk-main-inner .summary{border-color:#e1e9e2!important;box-shadow:0 14px 36px rgba(18,72,43,.075),0 2px 8px rgba(18,72,43,.035)!important}
body.twk-member .twk-main-inner .card:hover,body.twk-member .twk-main-inner .income-card:hover,body.twk-member .twk-main-inner .setting-card:hover{border-color:#e0c261!important;box-shadow:0 18px 42px rgba(18,72,43,.105)!important}
body.twk-member .twk-main-inner h1{letter-spacing:-.8px}
body.twk-member .twk-main-inner h2,body.twk-member .twk-main-inner h3{letter-spacing:-.25px}
body.twk-member .twk-sidebar{box-shadow:7px 0 24px rgba(10,60,35,.055)!important}
body.twk-member .twk-sidebar .twk-side-heading{padding-bottom:14px!important;border-bottom:1px solid #eadcae!important;margin-bottom:7px!important}
body.twk-member .twk-sidebar .twk-side-links a.active{background:linear-gradient(135deg,#087a46,#0ca45e)!important;border-left:3px solid #e1b53d!important;padding-left:9px!important}
@media(max-width:1180px){body.twk-member .twk-top-nav{display:none!important}}


/* TWK final QA visual polish — member inner pages */
body.twk-member .twk-main-inner>.section > .hero{box-shadow:0 18px 42px rgba(8,75,43,.14)!important}
body.twk-member .twk-main-inner>.section > .card,
body.twk-member .twk-main-inner>.section .income-card,
body.twk-member .twk-main-inner>.section .setting-card,
body.twk-member .twk-main-inner>.section .panel{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #e4eadf!important;
  box-shadow:0 12px 32px rgba(18,72,43,.065)!important;
}
body.twk-member .twk-main-inner>.section > .card:hover,
body.twk-member .twk-main-inner>.section .income-card:hover,
body.twk-member .twk-main-inner>.section .setting-card:hover,
body.twk-member .twk-main-inner>.section .panel:hover{border-color:#dfc15b!important;transform:translateY(-2px);}
body.twk-member .twk-main-inner>.section .btn:not(.outline){box-shadow:0 8px 18px rgba(8,122,70,.12)!important}
body.twk-member .twk-main-inner>.section table th{background:#f4f8f3!important;color:#28533f!important}
body.twk-member .twk-main-inner>.section table td{background:rgba(255,255,255,.8)!important}
body.twk-member .twk-main-inner>.section .notice{border-left:4px solid #d8ad35!important}

/* FINAL CORE POLISH — 23 SEP 2026 */
.twk-member .actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.twk-member .action{min-height:86px;padding:16px 15px;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfefc);box-shadow:0 8px 22px rgba(8,72,43,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.twk-member .action:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(8,72,43,.10);border-color:#b7d7c2}
.twk-member .action .ai{width:44px;height:44px;min-width:44px;border-radius:12px}
.twk-member .feature-grid{gap:14px}
.twk-member .feature{padding:17px;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdfb);box-shadow:0 8px 22px rgba(8,72,43,.05)}
.twk-member .feature .btn{min-width:112px;min-height:38px;padding:9px 14px}
.twk-member .feature h3{line-height:1.25}
.twk-member .twk-next-page{display:none!important}

/* PSR hero — always readable without text selection */
.twk-member .hero{background:linear-gradient(135deg,#063d2a 0%,#087248 58%,#0b8a50 100%)!important;position:relative;overflow:hidden}
.twk-member .hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 25%,rgba(240,203,89,.16),transparent 30%),linear-gradient(90deg,rgba(0,0,0,.08),transparent 55%);pointer-events:none}
.twk-member .hero>*{position:relative;z-index:2}
.twk-member .hero .eyebrow{color:#f4ce63!important;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.twk-member .hero h1{color:#fff!important;text-shadow:0 2px 10px rgba(0,0,0,.22)}
.twk-member .hero p{color:#eef8f2!important;text-shadow:0 1px 4px rgba(0,0,0,.18)}

/* My Income premium presentation */
.twk-member .income-grid{gap:16px}
.twk-member .income-card{border:1px solid #dce9df;border-radius:18px;background:linear-gradient(145deg,#ffffff 0%,#fbfefc 100%);box-shadow:0 12px 30px rgba(8,72,43,.075);position:relative;overflow:hidden}
.twk-member .income-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#0b8a50,#e2b22f);opacity:.9}
.twk-member .income-card h3{margin:0 0 12px;color:#153a29;font-size:18px}
.twk-member .income-label{color:#5d7066;letter-spacing:1px}
.twk-member .income-value{font-size:28px;letter-spacing:.2px}
.twk-member .level-box{background:linear-gradient(145deg,#fbfefc,#f4faf6);border:1px solid #dce9df;border-radius:13px;box-shadow:0 6px 16px rgba(8,72,43,.045)}
.twk-member .scroll table{background:#fff;border-radius:12px;overflow:hidden}
.twk-member .scroll th{background:#f1f8f3;color:#315844}
.twk-member .scroll td{font-size:12px}

@media(max-width:900px){.twk-member .actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.twk-member .actions{grid-template-columns:1fr}.twk-member .action{min-height:76px}}

.twk-member .income-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px;padding:4px 2px}.twk-member .income-page-head h1{margin:4px 0 6px;font-family:Georgia,serif;font-size:52px;line-height:1;color:#087a45}.twk-member .income-head-badge{min-width:125px;padding:12px 16px;border-radius:14px;background:linear-gradient(145deg,#063d2a,#087248);color:#f4ce63;text-align:center;font-weight:800;font-size:10px;letter-spacing:1.4px;box-shadow:0 10px 24px rgba(8,72,43,.13)}.twk-member .income-head-badge span{color:#fff;font-size:16px;letter-spacing:.5px}.twk-member .income-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.twk-member .income-section-head span{font-size:10px;font-weight:800;color:#7a887f;background:#edf7f0;border-radius:999px;padding:6px 10px}@media(max-width:600px){.twk-member .income-page-head{align-items:flex-start}.twk-member .income-page-head h1{font-size:38px}.twk-member .income-head-badge{display:none}}


/* TWK CORE FINAL — stable member dashboard grid, referral display, PSR contrast, footer flow */
body.twk-member .twk-main-inner{overflow:visible!important}
body.twk-member .cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important}
body.twk-member .cards .summary{min-width:0!important;width:auto!important;min-height:205px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;overflow:hidden!important}
body.twk-member .cards .summary h3{min-height:18px!important}
body.twk-member .cards .summary .value{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.twk-member .cards .summary .sub{min-height:17px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.twk-member .cards .summary .btn{margin-top:auto!important;align-self:flex-start!important}
body.twk-member .twk-referral-link{display:block!important;max-width:100%!important;min-height:30px!important;margin-top:8px!important;padding:7px 9px!important;border:1px solid #e3eae4!important;border-radius:8px!important;background:#f7faf7!important;color:#597166!important;font-size:9px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;box-sizing:border-box!important}
body.twk-member .twk-quick-actions .action{min-height:92px!important;padding:16px!important}
body.twk-member .twk-quick-actions .action>span:nth-child(2){min-width:0!important}
body.twk-member .twk-quick-actions .action strong{font-size:12px!important;line-height:1.3!important}
body.twk-member .twk-quick-actions .action small{font-size:10px!important}
body.twk-member .feature-grid .feature{min-height:175px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important}
body.twk-member .feature-grid .feature .btn{margin-top:auto!important;align-self:flex-start!important}
body.twk-member .twk-footer{position:relative!important;z-index:2!important;margin-left:250px!important;width:calc(100% - 250px)!important;box-sizing:border-box!important;clear:both!important}
body.twk-member .twk-main{padding-bottom:34px!important}
body.twk-member .twk-main-inner .section-head a{white-space:nowrap!important}
body.twk-member .twk-main-inner .panel{overflow:visible!important}
/* PSR headings/subtitles must remain readable without text selection */
body.twk-member .twk-main-inner .hero h1,
body.twk-member .twk-main-inner .hero .eyebrow,
body.twk-member .twk-main-inner .hero p{opacity:1!important;text-shadow:none!important}
/* prevent legacy blue selection-like link appearance */
body.twk-member .twk-main-inner a{color:#087a46}
@media(max-width:1200px){body.twk-member .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){body.twk-member .cards{grid-template-columns:1fr!important}.twk-member .twk-footer{margin-left:0!important;width:100%!important}}
/* Product access purchase modal */
.twk-purchase-gate{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.twk-purchase-backdrop{position:absolute;inset:0;background:rgba(2,28,17,.68);backdrop-filter:blur(5px)}
.twk-purchase-modal{position:relative;width:min(560px,100%);max-height:86vh;overflow:auto;background:linear-gradient(180deg,#fff,#f8fcf8);border:1px solid #dfc56a;border-radius:22px;padding:28px;box-shadow:0 28px 80px rgba(0,0,0,.28);color:#16382b}
.twk-purchase-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid #dfc56a;background:#fff;color:#075d35;font-size:23px;cursor:pointer}
.twk-purchase-kicker{color:#b27b00;font-size:11px;font-weight:900;letter-spacing:3px}.twk-purchase-modal h2{font-family:Georgia,serif;font-size:32px;color:#075d35;margin:8px 40px 8px 0}.twk-purchase-modal p{color:#60736a;line-height:1.6}.twk-purchase-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.twk-purchase-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border:1px solid #dce8de;border-radius:13px;background:#fff;color:#075d35;text-decoration:none}.twk-purchase-option:hover{border-color:#d7b94e;box-shadow:0 8px 20px rgba(11,76,45,.08)}.twk-purchase-option span{font-weight:800;color:#9a6c00}.twk-purchase-note{margin-top:18px;padding:11px 13px;border-radius:10px;background:#fff8e6;border:1px solid #ecd68b;font-size:12px;color:#5f5637}
@media(max-width:600px){.twk-purchase-options{grid-template-columns:1fr}.twk-purchase-modal{padding:24px 18px}.twk-purchase-modal h2{font-size:26px}}
/* My Income + PSR final visual pass */
.income-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.income-page-head h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,58px);color:#087a46;margin:4px 0 8px}.income-head-badge{padding:10px 14px;border:1px solid #dfc56a;border-radius:12px;background:#fffdf5;color:#8c6500;font-size:10px;font-weight:900;letter-spacing:1.5px;text-align:center}.income-head-badge span{font-size:18px;color:#087a46}.income-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.income-section-head h3{font-size:19px;margin:0;color:#173c2d}.income-section-head span{font-size:11px;color:#75847b}.income-card{transition:transform .18s ease,box-shadow .18s ease}.income-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(11,76,45,.11)}
.profit-share-page .hero,.wrap .hero{overflow:hidden}
body.twk-member .twk-main-inner .hero{background:linear-gradient(135deg,#063d2a,#0a8050)!important;color:#fff!important}
body.twk-member .twk-main-inner .hero h1{color:#fff!important}.twk-main-inner .hero .eyebrow{color:#f0cb59!important}.twk-main-inner .hero p{color:#e6f5ec!important}
@media(max-width:700px){.income-page-head{align-items:flex-start;flex-direction:column}.income-head-badge{align-self:flex-start}}


/* PATCH 24-SEP-2026: public homepage menu is collapsible; do not leave TWK MENU permanently open. */
body.twk-public .twk-sidebar{position:fixed!important;left:0!important;top:70px!important;bottom:0!important;width:min(250px,84vw)!important;transform:translateX(-110%)!important;transition:transform .22s ease!important;z-index:10002!important;background:#fff!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:12px 0 35px rgba(10,60,35,.18)!important;border-right:1px solid #dfebdf!important;}
body.twk-public .twk-sidebar.open{transform:translateX(0)!important;}
body.twk-public .twk-sidebar-backdrop{position:fixed!important;inset:70px 0 0!important;display:none!important;z-index:10001!important;background:rgba(0,25,15,.34)!important;backdrop-filter:blur(2px)!important;}
body.twk-public .twk-sidebar-backdrop.show{display:block!important;}
body.twk-public .twk-menu-btn{cursor:pointer!important;}
body.twk-dashboard-page .twk-notify{margin:0 0 10px!important;padding:12px 16px!important;}
body.twk-dashboard-page .twk-notify .eyebrow{margin:0 0 2px!important;font-size:10px!important;}
body.twk-dashboard-page .twk-notify h2{font-size:20px!important;line-height:1.15!important;}
body.twk-dashboard-page .twk-update{padding:9px 12px!important;margin-top:7px!important;}
