/* TWK SINGLE CANONICAL UI CSS — 01 OCT 2026 */

/* ===== SOURCE: style.css ===== */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#153b25;background:#fbfdf9}a{text-decoration:none;color:inherit}
header{height:88px;display:flex;align-items:center;gap:28px;padding:8px 5%;position:sticky;top:0;z-index:10;background:rgba(251,253,249,.97);border-bottom:1px solid #e6d39a}.brand{width:76px;height:76px;object-fit:cover;border-radius:50%;border:2px solid #d3a22b;box-shadow:0 4px 14px rgba(20,70,35,.12)}nav{display:flex;gap:22px;margin-left:auto;font-size:15px}nav a:hover{color:#a9790b}.btn{display:inline-block;padding:14px 24px;border-radius:8px;background:#126b2f;color:#fff;font-weight:700;border:1px solid #126b2f}.btn.outline{background:#fff;color:#126b2f;border-color:#c99b23}.btn.gold{background:#d3a22b;color:#173d25;border-color:#d3a22b}.btn.small{padding:10px 18px}
.hero{min-height:610px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:55px 7%;background:radial-gradient(circle at 85% 35%,#eef7e8,transparent 40%),linear-gradient(120deg,#fff,#f5faef)}.eyebrow{letter-spacing:2px;color:#a9790b;font-weight:700;font-size:13px}.hero h1{font-family:Georgia,serif;font-size:70px;line-height:.95;margin:18px 0;color:#126b2f}.hero h1 span{color:#c79519}.lead{font-size:21px;line-height:1.5;max-width:560px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:25px}.hero-logo{text-align:center}.hero-logo img{width:min(520px,92%);aspect-ratio:1/1;object-fit:contain;border-radius:50%;mix-blend-mode:multiply;box-shadow:0 20px 50px rgba(20,75,35,.12)}
.highlights{display:grid;grid-template-columns:repeat(4,1fr);margin:-12px 6% 0;padding:23px;background:#fff;border:1px solid #e5e9df;border-radius:14px;box-shadow:0 10px 30px rgba(20,60,30,.07)}.highlights div{padding:8px 22px;border-right:1px solid #e5d59d}.highlights div:last-child{border:0}.highlights b,.highlights span{display:block}.highlights b{color:#126b2f}.highlights span{margin-top:6px;color:#53645b;font-size:14px}
.section{padding:82px 8%;max-width:1250px;margin:auto}.section h2,.cta h2{font-family:Georgia,serif;font-size:42px;color:#126b2f;margin:8px 0 20px}.section p{font-size:18px;line-height:1.65;color:#53645b}.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.card{padding:28px;border:1px solid #e5d59d;border-radius:14px;background:#fff;box-shadow:0 12px 35px rgba(25,70,35,.05)}.card h3{margin-top:0;color:#126b2f}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.cta{text-align:center;padding:72px 8%;background:#126b2f;color:#fff}.cta h2{color:#fff}.cta p{color:#edf6ee}.cta .outline{background:transparent;color:#fff;border-color:#e7d38f}
footer{text-align:center;padding:32px 20px;background:#f1f7ec;color:#53645b}footer img{width:150px;height:55px;object-fit:contain}footer p{margin:8px}footer small{font-size:11px}
@media(max-width:900px){header{height:auto;flex-wrap:wrap}.brand{width:165px}nav{order:3;width:100%;overflow:auto;margin:0;padding-bottom:6px}.hero,.split{grid-template-columns:1fr}.hero-logo{margin-top:30px}.highlights,.cards{grid-template-columns:1fr 1fr}.hero h1{font-size:56px}}
@media(max-width:560px){nav{gap:15px;font-size:13px}.small{display:none}.hero{padding:40px 6%}.hero h1{font-size:45px}.highlights,.cards{grid-template-columns:1fr}.highlights div{border-right:0;border-bottom:1px solid #e5d59d}.section{padding:60px 6%}.section h2,.cta h2{font-size:34px}}

/* TWK Join Popup */
.twk-modal{position:fixed;inset:0;background:rgba(12,45,25,.48);display:none;align-items:center;justify-content:center;padding:20px;z-index:9999;backdrop-filter:blur(4px)}
.twk-modal.show{display:flex}
.twk-modal-box{width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #d3a22b;border-radius:18px;box-shadow:0 25px 70px rgba(0,0,0,.22);position:relative;padding:34px}
.twk-modal-logo{display:block;width:70px;height:70px;border-radius:50%;object-fit:cover;border:2px solid #d3a22b;margin:0 auto 12px}
.twk-close{position:absolute;right:15px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f4f7f1;color:#126b2f;font-size:24px;cursor:pointer}
.twk-modal h2{text-align:center;font-family:Georgia,serif;color:#126b2f;font-size:32px;margin:5px 0 8px}
.twk-modal .sub{text-align:center;color:#65756b;margin:0 0 22px}
.twk-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.twk-form .full{grid-column:1/-1}
.twk-form label{display:block;font-weight:700;color:#244c32;font-size:13px;margin-bottom:6px}
.twk-form input,.twk-form textarea{width:100%;padding:12px 13px;border:1px solid #d4ddcf;border-radius:8px;font:inherit;outline:none;background:#fbfdf9}
.twk-form input:focus,.twk-form textarea:focus{border-color:#c99b23;box-shadow:0 0 0 3px rgba(201,155,35,.12)}
.twk-form textarea{min-height:100px;resize:vertical}
.twk-form button{grid-column:1/-1;padding:14px;border:0;border-radius:8px;background:#126b2f;color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.twk-form .note{grid-column:1/-1;text-align:center;color:#77857b;font-size:11px;margin:0}
.twk-success{display:none;text-align:center;padding:20px 5px}.twk-success.show{display:block}.twk-success h3{color:#126b2f;font-family:Georgia,serif;font-size:27px}
@media(max-width:560px){.twk-form{grid-template-columns:1fr}.twk-form .full,.twk-form button,.twk-form .note{grid-column:1}.twk-modal-box{padding:28px 20px}.twk-modal h2{font-size:27px}}

/* TWK connected navigation */
.twk-global-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.twk-global-nav a{white-space:nowrap}.twk-global-nav button{white-space:nowrap}@media(max-width:900px){.twk-global-nav{justify-content:flex-start;gap:7px}.twk-global-nav a,.twk-global-nav button{font-size:13px}}

/* =========================================================
   TWK ADMIN ORDERS — PREMIUM / RESPONSIVE LAYOUT
   Keeps existing functionality and shared TWK styling intact.
   ========================================================= */

body:has(#orders) {
  background:
    radial-gradient(circle at 85% 12%, rgba(238,247,232,.75), transparent 30%),
    #fbfdf9;
}

body:has(#orders) .section {
  width: min(1400px, 92%);
  max-width: 1400px !important;
  padding: 64px 0 90px;
}

body:has(#orders) .section h2 {
  font-size: clamp(40px, 4vw, 54px);
  margin: 8px 0 30px;
}

body:has(#orders) .section > .card {
  padding: 24px 26px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(25,70,35,.06);
}

body:has(#orders) #search,
body:has(#orders) #status {
  min-height: 48px;
  border: 1px solid #d4ddcf;
  border-radius: 9px;
  background: #fff;
  color: #153b25;
  font: inherit;
  outline: none;
}

body:has(#orders) #search {
  padding: 12px 14px !important;
}

body:has(#orders) #status {
  min-width: 170px;
  padding: 12px 14px !important;
}

body:has(#orders) #search:focus,
body:has(#orders) #status:focus {
  border-color: #c99b23;
  box-shadow: 0 0 0 3px rgba(201,155,35,.12);
}

body:has(#orders) #refresh {
  min-height: 48px;
  padding: 12px 24px;
}

body:has(#orders) #msg {
  color: #53645b;
  margin: 14px 0 0;
}

body:has(#orders) #orders.cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

body:has(#orders) #orders .card {
  min-width: 0;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(25,70,35,.055);
  display: flex;
  flex-direction: column;
}

body:has(#orders) #orders .card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8dfc2;
}

body:has(#orders) #orders .card p {
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body:has(#orders) #orders .card p strong {
  color: #244c32;
}

body:has(#orders) #orders .card > div {
  margin-top: auto !important;
  padding-top: 8px;
}

body:has(#orders) #orders .card .btn {
  min-height: 42px;
}

@media (max-width: 900px) {
  body:has(#orders) .section {
    width: min(94%, 760px);
    padding: 48px 0 70px;
  }

  body:has(#orders) #orders.cards {
    grid-template-columns: 1fr;
  }

  body:has(#orders) .section > .card > div:first-child {
    flex-direction: column;
  }

  body:has(#orders) #search,
  body:has(#orders) #status,
  body:has(#orders) #refresh {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  body:has(#orders) .section {
    width: 92%;
    padding: 36px 0 55px;
  }

  body:has(#orders) .section h2 {
    font-size: 36px;
    margin-bottom: 22px;
  }

  body:has(#orders) .section > .card,
  body:has(#orders) #orders .card {
    padding: 20px;
  }

  body:has(#orders) #orders .card h3 {
    font-size: 18px;
  }
}



/* =========================================================
   TWK UI V2 — GLOBAL INTERFACE POLISH
   UI ONLY: no business logic / Supabase logic changed.
   ========================================================= */

:root{
  --twk-green:#08783a;
  --twk-green-dark:#055d2b;
  --twk-gold:#d7aa32;
  --twk-gold-soft:#ead7a0;
  --twk-ink:#17372a;
  --twk-muted:#66766e;
  --twk-bg:#f7faf5;
  --twk-card:#ffffff;
  --twk-line:#e5d6a4;
  --twk-shadow:0 12px 32px rgba(23,55,42,.065);
}

html,body{min-height:100%}
body{
  background:
    radial-gradient(circle at 92% 8%,rgba(232,244,225,.7),transparent 28%),
    linear-gradient(180deg,#fbfdf9 0%,#f7faf5 100%);
  color:var(--twk-ink);
  line-height:1.55;
}

/* ---------- HEADER ---------- */
header{
  height:82px !important;
  min-height:82px;
  padding:8px clamp(24px,5vw,72px) !important;
  background:rgba(255,255,255,.96) !important;
  border-bottom:1px solid var(--twk-gold-soft) !important;
  box-shadow:0 4px 18px rgba(25,60,35,.045);
  backdrop-filter:blur(8px);
}
header .brand,
.brand{
  width:64px !important;
  height:64px !important;
  object-fit:cover !important;
  border-radius:50%;
  border:2px solid var(--twk-gold);
  box-shadow:0 5px 16px rgba(25,65,35,.14);
  flex:0 0 auto;
}
.twk-global-nav{
  gap:5px !important;
  align-items:center;
}
.twk-global-nav a{
  padding:9px 10px;
  border-radius:7px;
  font-size:14px;
  color:#234637;
  transition:.18s ease;
}
.twk-global-nav a:hover{
  color:var(--twk-green);
  background:#f2f7ef;
}
.twk-global-nav a[href$="dashboard.html"],
.twk-global-nav a[href$="admin-dashboard.html"]{
  font-weight:700;
}
.twk-global-nav .btn{
  margin-left:5px;
}

/* ---------- GENERAL PAGE SHELL ---------- */
.section{
  width:min(1180px,calc(100% - 48px)) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:56px 0 76px !important;
}
.section h1,
.section h2{
  color:var(--twk-green);
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.5px;
}
.section h2{
  font-size:clamp(38px,4.2vw,54px);
  line-height:1.08;
  margin:7px 0 30px;
}
.section h1{font-size:clamp(38px,4vw,52px)}
.eyebrow{
  color:#596c62 !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:2.4px !important;
  margin:0 0 8px !important;
}
.section p{color:#53645c}

/* ---------- CARDS ---------- */
.card,
.twk-card,
.admin-card,
.verify-card,
.license-card,
.order-card{
  background:rgba(255,255,255,.98) !important;
  border:1px solid var(--twk-line) !important;
  border-radius:16px !important;
  box-shadow:var(--twk-shadow) !important;
}
.card{
  padding:25px !important;
}
.card h3,
.twk-card h3,
.admin-card h3{
  color:var(--twk-green) !important;
  margin-top:0;
}
.cards{
  gap:20px !important;
}
.cards > .card{
  min-width:0;
}

/* stat / value emphasis */
.cards > .card p:last-child:not(:has(.btn)),
.twk-stat{
  color:#365448;
}
.twk-stat{
  font-weight:800;
  color:var(--twk-green);
}

/* ---------- FORMS ---------- */
input,select,textarea{
  border:1px solid #ccd7cf !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#17372a !important;
  min-height:46px;
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--twk-gold) !important;
  box-shadow:0 0 0 3px rgba(215,170,50,.14) !important;
}
label{
  color:#29483b;
  font-weight:700;
}
.btn{
  border-radius:9px !important;
  min-height:44px;
  padding:11px 20px !important;
  font-size:14px;
  letter-spacing:.2px;
  transition:.18s ease;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 5px 14px rgba(8,120,58,.13);
}
.btn.outline{
  background:#fff !important;
  border:1px solid var(--twk-gold) !important;
  color:var(--twk-green) !important;
}
.btn.gold{
  background:var(--twk-gold) !important;
}

/* ---------- MEMBER DASHBOARD ---------- */
.layout{
  display:grid !important;
  grid-template-columns:220px minmax(0,1fr) !important;
  gap:30px !important;
  width:min(1320px,calc(100% - 48px));
  margin:34px auto 0 !important;
  align-items:start;
}
.side{
  position:sticky;
  top:104px;
  width:220px !important;
  background:#fff;
  border:1px solid var(--twk-line);
  border-radius:16px;
  padding:10px !important;
  box-shadow:var(--twk-shadow);
}
.side a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 13px !important;
  border-radius:9px;
  color:#345144;
  margin:2px 0;
  font-weight:600;
}
.side a:hover{background:#f1f7ee;color:var(--twk-green)}
.side a.active{
  background:#eaf2e8 !important;
  color:var(--twk-green) !important;
  font-weight:800;
}
.main{min-width:0}
.main .section{width:100% !important;padding:0 !important}
.main .section > h1{
  margin:7px 0 28px;
  color:var(--twk-green);
  font-family:Georgia,"Times New Roman",serif;
}
.main + .card{
  width:min(1180px,calc(100% - 48px)) !important;
}

/* ---------- SUBSCRIPTION ---------- */
body:has(#packages) .section{
  width:min(1120px,calc(100% - 48px)) !important;
}
body:has(#packages) .cards:first-of-type{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
body:has(#packages) .cards:first-of-type > .card{
  min-height:145px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body:has(#packages) .card > strong{
  color:var(--twk-green);
  font-size:19px;
}
.package-row,
.package-options{
  width:100%;
}
.package-row{
  background:#fff;
  border:1px solid var(--twk-line);
  border-radius:14px;
  padding:20px !important;
  margin:14px 0;
  box-shadow:0 7px 20px rgba(23,55,42,.045);
}
.package-title{
  color:var(--twk-green);
  font-weight:800;
}

/* ---------- REFERRALS ---------- */
.twk-wrap{
  width:min(1180px,calc(100% - 48px)) !important;
  margin:0 auto !important;
  padding:56px 0 76px !important;
}
.twk-wrap > h1{
  color:var(--twk-green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(40px,4.2vw,54px);
  margin:7px 0 30px;
}
.twk-grid{
  gap:20px !important;
}
.twk-card{
  padding:24px !important;
}
.twk-table-wrap{
  overflow-x:auto;
  border-radius:10px;
}
.twk-table{
  width:100%;
  border-collapse:collapse;
  min-width:600px;
}
.twk-table th{
  background:#f3f7ef;
  color:#315043;
  font-weight:800;
}
.twk-table th,.twk-table td{
  padding:13px 14px !important;
  border-bottom:1px solid #e6eadf !important;
  text-align:left;
}
.twk-table tbody tr:hover{background:#fbfcf9}

/* ---------- TABLES ---------- */
table th{
  color:#315043;
  font-weight:800;
}
table th,table td{
  border-bottom-color:#e5e9e1 !important;
}
table tbody tr:hover{background:#fbfcf9}

/* ---------- ORDERS / INVOICES ---------- */
.order-card{
  padding:24px !important;
}
.order-top{
  border-bottom:1px solid #eadfbe;
  padding-bottom:14px;
}
.order-grid{
  gap:18px !important;
}
.badge{
  border:1px solid #e4d7ae;
  background:#f7f8f4 !important;
}
body:has(#rows) .cards{
  gap:20px;
}

/* ---------- ADMIN GLOBAL ---------- */
body:has(.twk-global-nav) .section{
  scroll-margin-top:100px;
}
body:has(#twkAdminQuickLinks) .section:first-of-type{
  padding-top:28px !important;
}
#twkAdminQuickLinks .card{
  background:linear-gradient(135deg,#ffffff,#f8fbf5) !important;
  border-left:4px solid var(--twk-green) !important;
}
#twkAdminQuickLinks .card h3{
  font-size:22px;
}
#twkAdminQuickLinks .btn{
  min-height:43px;
}

/* Admin tables */
.tbl{
  width:100%;
  border-collapse:collapse;
}
.tbl th{
  background:#f3f7ef;
  color:#315043;
  font-weight:800;
}
.tbl th,.tbl td{
  padding:13px 12px !important;
  border-bottom:1px solid #e6eadf !important;
}
.tbl tbody tr:hover{background:#fbfcf9}

/* Admin order cards */
body:has(#orders) #orders.cards{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
}
body:has(#orders) #orders .card{
  min-height:100%;
}
body:has(#orders) #orders .card h3{
  color:var(--twk-green);
}
body:has(#orders) #search,
body:has(#orders) #status{
  min-height:46px;
}

/* Admin activate page has its own CSS; normalize it */
body:has(.lookup-grid) header{
  height:82px !important;
  min-height:82px !important;
}
body:has(.lookup-grid) .section{
  max-width:1120px !important;
  width:min(1120px,calc(100% - 48px)) !important;
  padding:48px 0 72px !important;
}
body:has(.lookup-grid) h2{
  font-size:clamp(38px,4.2vw,54px) !important;
  margin-bottom:28px !important;
}
body:has(.lookup-grid) .card{
  padding:26px !important;
}
body:has(.lookup-grid) .license-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

/* Payment verification */
.verify-card{
  padding:24px !important;
}
.verify-head{
  border-bottom-color:#eadfbe !important;
}
.grid{
  gap:20px !important;
}
.value{
  color:#24483a;
}
.actions{
  border-top-color:#eadfbe !important;
}

/* Settings / pricing */
.section.admin-pricing{
  width:min(1200px,calc(100% - 48px)) !important;
  max-width:1200px !important;
  padding:48px 0 76px !important;
}
.admin-card{
  padding:26px !important;
}

/* ---------- LOGIN / ACCOUNT ---------- */
body:has(#loginForm) .section{
  width:min(560px,calc(100% - 40px)) !important;
  padding-top:70px !important;
}
body:has(#loginForm) .card{
  padding:30px !important;
}
body:has(#loginForm) .switch .btn{
  min-height:58px;
}
body:has(#loginForm) h2{
  font-size:46px;
}

/* ---------- EMPTY / LOADING STATES ---------- */
#msg,#note,.muted,.twk-status{
  color:var(--twk-muted);
}
.empty,
[id$="Loading"],
#box:empty{
  color:var(--twk-muted);
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1050px){
  header{
    height:auto !important;
    min-height:78px;
  }
  .twk-global-nav{
    max-width:100%;
    overflow-x:auto;
    flex-wrap:nowrap !important;
    padding:3px 0 4px;
  }
  .twk-global-nav a{font-size:13px}
  .layout{
    grid-template-columns:190px minmax(0,1fr) !important;
    width:min(96%,1180px);
  }
  .side{width:190px !important}
  body:has(#packages) .cards:first-of-type{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:800px){
  .section,.twk-wrap{
    width:calc(100% - 32px) !important;
    padding:42px 0 60px !important;
  }
  .layout{
    display:block !important;
    width:calc(100% - 32px) !important;
    margin-top:20px !important;
  }
  .side{
    position:static;
    width:100% !important;
    display:flex;
    overflow-x:auto;
    gap:4px;
    margin-bottom:24px;
  }
  .side a{white-space:nowrap}
  .main .section{width:100% !important}
  body:has(#orders) #orders.cards{
    grid-template-columns:1fr !important;
  }
  body:has(.lookup-grid) .license-grid{
    grid-template-columns:1fr !important;
  }
  .grid{grid-template-columns:repeat(2,1fr) !important}
}
@media(max-width:560px){
  header{
    padding:8px 16px !important;
  }
  header .brand,.brand{
    width:56px !important;
    height:56px !important;
  }
  .twk-global-nav{
    gap:2px !important;
  }
  .twk-global-nav a{
    padding:8px 7px;
    font-size:12px;
  }
  .twk-global-nav .btn{display:none}
  .section,.twk-wrap{
    width:calc(100% - 24px) !important;
    padding:34px 0 50px !important;
  }
  .section h2,.twk-wrap > h1{
    font-size:36px !important;
  }
  .card,.twk-card,.admin-card,.verify-card{
    padding:20px !important;
    border-radius:13px !important;
  }
  .cards,
  body:has(#packages) .cards:first-of-type{
    grid-template-columns:1fr !important;
  }
  .side{
    padding:7px !important;
  }
  .side a{
    padding:10px 11px !important;
    font-size:13px;
  }
  .grid{grid-template-columns:1fr !important}
  body:has(#loginForm) .section{padding-top:42px !important}
  body:has(#loginForm) .card{padding:20px !important}
}


/* =========================================================
   TWK UI V3 — SITE-WIDE RESPONSIVE LAYOUT CONTROLS
   Visual/UI layer only. Existing functionality is untouched.
   ========================================================= */
:root{
  --twk-content-width:1120px;
  --twk-page-pad:24px;
  --twk-radius:16px;
}
body{overflow-x:hidden}
.section,.twk-wrap{max-width:var(--twk-content-width) !important;width:min(var(--twk-content-width),calc(100% - var(--twk-page-pad)*2)) !important}
.layout{width:min(calc(var(--twk-content-width) + 250px),calc(100% - var(--twk-page-pad)*2)) !important}
body:has(#orders) .section{width:min(var(--twk-content-width),calc(100% - var(--twk-page-pad)*2)) !important;max-width:var(--twk-content-width) !important}
body:has(#packages) .section{width:min(var(--twk-content-width),calc(100% - var(--twk-page-pad)*2)) !important;max-width:var(--twk-content-width) !important}
.twk-global-nav{max-width:100%;overflow-x:auto;scrollbar-width:none}.twk-global-nav::-webkit-scrollbar{display:none}

.twk-layout-trigger{position:fixed;right:18px;bottom:18px;z-index:9000;width:46px;height:46px;border:1px solid var(--twk-gold);border-radius:50%;background:#fff;color:var(--twk-green);font-size:19px;font-weight:800;cursor:pointer;box-shadow:0 8px 24px rgba(20,60,35,.16)}
.twk-layout-trigger:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(20,60,35,.2)}
.twk-layout-panel{position:fixed;right:18px;bottom:74px;z-index:9001;width:min(350px,calc(100vw - 28px));padding:18px;background:rgba(255,255,255,.98);border:1px solid var(--twk-gold);border-radius:16px;box-shadow:0 18px 50px rgba(20,60,35,.2);display:none}
.twk-layout-panel.show{display:block}
.twk-layout-panel h4{margin:0 0 4px;color:var(--twk-green);font-size:16px}.twk-layout-panel p{margin:0 0 14px;color:var(--twk-muted);font-size:12px}
.twk-layout-row{display:flex;align-items:center;gap:10px}.twk-layout-row input[type=range]{flex:1;accent-color:var(--twk-green);min-height:auto}.twk-width-value{min-width:66px;text-align:center;font-weight:800;color:var(--twk-green);font-size:13px}
.twk-layout-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px}.twk-layout-presets button{padding:9px 5px;border:1px solid var(--twk-gold);border-radius:8px;background:#fff;color:var(--twk-green);font-weight:700;font-size:11px;cursor:pointer}.twk-layout-presets button.active{background:var(--twk-green);color:#fff;border-color:var(--twk-green)}
.twk-layout-panel .twk-layout-note{font-size:10px;margin-top:12px;color:#7b887f}

/* More compact information cards site-wide */
.card,.twk-card,.admin-card,.verify-card,.license-card,.order-card{padding:21px !important}
.cards{gap:16px !important}
.card h3{margin-bottom:12px}
.card p{margin-top:7px;margin-bottom:9px}
.package-row{padding:16px !important}
.package-options{gap:14px !important}

@media(max-width:900px){
  :root{--twk-page-pad:18px}
  .twk-layout-trigger{right:12px;bottom:12px}
  .twk-layout-panel{right:12px;bottom:68px}
}
@media(max-width:560px){
  :root{--twk-page-pad:12px}
  .twk-layout-presets{grid-template-columns:repeat(2,1fr)}
  .twk-layout-panel{padding:15px}
}

/* =========================================================
   TWK UI V4 — ALWAYS-VISIBLE SITE-WIDE LAYOUT CONTROL BAR
   ========================================================= */
:root{--twk-content-width:1120px;--twk-page-pad:24px}
.section,.twk-wrap{max-width:var(--twk-content-width)!important;width:min(var(--twk-content-width),calc(100% - var(--twk-page-pad)*2))!important}
body:has(#orders) .section,body:has(#packages) .section{max-width:var(--twk-content-width)!important;width:min(var(--twk-content-width),calc(100% - var(--twk-page-pad)*2))!important}

.twk-layout-bar{position:sticky;top:82px;z-index:8000;background:rgba(255,255,255,.97);border-bottom:1px solid #e5d6a4;box-shadow:0 3px 12px rgba(20,60,35,.06);backdrop-filter:blur(8px)}
.twk-layout-inner{width:min(1320px,calc(100% - 32px));margin:auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.twk-layout-label{display:flex;align-items:center;gap:9px;color:#17372a;white-space:nowrap}
.twk-layout-label>span{width:30px;height:30px;border:1px solid #d7aa32;border-radius:8px;display:grid;place-items:center;color:#08783a;font-weight:800}
.twk-layout-label strong{display:block;font-size:13px;color:#08783a}.twk-layout-label small{display:block;color:#66766e;font-size:10px;margin-top:1px}
.twk-layout-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.twk-layout-option{border:1px solid #d7aa32;background:#fff;color:#08783a;border-radius:7px;padding:8px 11px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.twk-layout-option:hover{background:#f6faef}.twk-layout-option.active{background:#08783a;color:#fff;border-color:#08783a}
.twk-layout-range{width:145px;accent-color:#08783a;cursor:pointer}.twk-layout-value{min-width:55px;text-align:right;color:#08783a;font-weight:800;font-size:11px}

@media(max-width:900px){
  .twk-layout-bar{top:0}
  .twk-layout-inner{width:calc(100% - 20px);padding:8px 0;display:block}
  .twk-layout-label{margin-bottom:7px}
  .twk-layout-controls{justify-content:flex-start;overflow-x:auto;padding-bottom:2px}
  .twk-layout-range{width:120px;flex:0 0 120px}
}
@media(max-width:560px){
  .twk-layout-inner{width:calc(100% - 14px)}
  .twk-layout-option{padding:7px 9px;font-size:10px}
  .twk-layout-range{width:95px;flex-basis:95px}
  .twk-layout-value{min-width:48px}
}

/* =========================================================
   TWK UI V5 — MODERN SITE-WIDE SHELL
   ========================================================= */
:root{--twk-content-width:1120px;--twk-sidebar:238px;--twk-green:#08783a;--twk-green2:#126b2f;--twk-gold:#d7aa32;--twk-ink:#18372a;--twk-muted:#66766e;--twk-bg:#f7faf6;--twk-card:#fff}
html,body{overflow-x:hidden}body{background:radial-gradient(circle at 85% 8%,#eef7e8 0,transparent 28%),#f8fbf7;color:var(--twk-ink)}
.twk-header{height:78px!important;padding:8px 24px!important;display:flex!important;align-items:center!important;gap:18px!important;position:sticky!important;top:0!important;z-index:10000!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e7d9ae!important;box-shadow:0 4px 18px rgba(20,60,35,.05)!important}
.twk-brand-wrap{display:flex;align-items:center;gap:10px;flex:0 0 auto}.twk-brand{display:flex;align-items:center;gap:10px}.twk-brand .brand{width:54px!important;height:54px!important;border-width:2px}.twk-brand span{display:flex;flex-direction:column;line-height:1.1}.twk-brand b{font-size:15px;color:#17633a;letter-spacing:.5px}.twk-brand small{font-size:10px;color:#6b786f;margin-top:3px}.twk-menu-btn{display:none;border:1px solid #dfd4b2;background:#fff;color:var(--twk-green);border-radius:8px;width:38px;height:38px;font-size:20px;cursor:pointer}
.twk-top-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;margin:0!important;min-width:0!important;flex:1!important;overflow-x:auto!important;scrollbar-width:none!important}.twk-top-nav::-webkit-scrollbar{display:none}.twk-top-nav a{display:flex;align-items:center;gap:6px;padding:11px 9px!important;border-radius:8px!important;font-size:13px!important;color:#264536!important;white-space:nowrap!important}.twk-top-nav a:hover{background:#f0f7ed;color:var(--twk-green)!important}.twk-top-nav a.active{background:#edf7ef;color:var(--twk-green)!important;font-weight:700!important;box-shadow:inset 0 -3px 0 var(--twk-green)}.twk-nav-icon{font-size:15px;color:var(--twk-green)}.twk-header-right{flex:0 0 auto;display:flex;align-items:center;gap:8px}.twk-role-badge,.twk-user-badge{font-size:10px;font-weight:800;letter-spacing:.6px;padding:8px 10px;border-radius:20px;background:#edf7ef;color:var(--twk-green)}.twk-user-badge{width:34px;height:34px;padding:0;display:grid;place-items:center;border-radius:50%;background:var(--twk-green);color:#fff}.twk-login-link{font-size:12px;font-weight:700;color:var(--twk-green);white-space:nowrap}
.twk-sidebar{position:fixed;left:0;top:78px;bottom:0;width:var(--twk-sidebar);z-index:9000;background:rgba(255,255,255,.97);border-right:1px solid #e6dfc9;box-shadow:4px 0 18px rgba(20,60,35,.035);padding:22px 14px;overflow:auto}.twk-side-heading{font-size:12px;font-weight:800;letter-spacing:1.2px;color:var(--twk-green);padding:0 11px 12px}.twk-side-links{display:flex;flex-direction:column;gap:4px}.twk-side-links a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:#304a3d;font-size:13px}.twk-side-links a:hover{background:#f2f7f0;color:var(--twk-green)}.twk-side-links a.active{background:#edf7ef;color:var(--twk-green);font-weight:800;box-shadow:inset 3px 0 0 var(--twk-green)}.twk-side-icon{width:22px;text-align:center;font-size:16px;color:var(--twk-green)}.twk-support{margin:28px 6px 8px;padding:17px 12px;border:1px solid #e4ecdF;border-radius:14px;background:linear-gradient(145deg,#f5fbf3,#fff);text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.twk-support-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e9f6ea;color:var(--twk-green);font-weight:800}.twk-support b{font-size:14px;color:#193d2b}.twk-support small{font-size:11px;color:#728078}.twk-support a{font-size:10px;font-weight:800;color:#fff;background:var(--twk-green);padding:8px 11px;border-radius:7px;margin-top:3px}
.twk-main{margin-left:var(--twk-sidebar);min-height:calc(100vh - 78px)}.twk-main-inner{width:min(var(--twk-content-width),calc(100% - 40px));margin:0 auto;padding:36px 0 70px}.twk-main-inner>.section{width:100%!important;max-width:none!important;padding:18px 0!important;margin:0!important}.twk-main-inner>.section h1,.twk-main-inner>.section h2{font-size:clamp(32px,4vw,48px);margin:8px 0 18px}.twk-main-inner>.section>.card{border-radius:15px;box-shadow:0 9px 28px rgba(25,70,35,.055)}
.twk-layout-bar{position:sticky;top:78px;z-index:8500;background:rgba(255,255,255,.96);border-bottom:1px solid #e7d9ae;box-shadow:0 3px 14px rgba(20,60,35,.05);backdrop-filter:blur(8px)}.twk-layout-inner{width:min(var(--twk-content-width),calc(100% - 40px));margin:auto;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px}.twk-layout-label{display:flex;align-items:center;gap:8px;white-space:nowrap}.twk-layout-label>span{width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--twk-gold);border-radius:7px;color:var(--twk-green);font-weight:800}.twk-layout-label strong{display:block;font-size:12px;color:var(--twk-green)}.twk-layout-label small{display:block;font-size:9px;color:#738078;margin-top:1px}.twk-layout-controls{display:flex;align-items:center;gap:6px;min-width:0}.twk-layout-option{border:1px solid var(--twk-gold);background:#fff;color:var(--twk-green);border-radius:7px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.twk-layout-option.active{background:var(--twk-green);border-color:var(--twk-green);color:#fff}.twk-layout-range{width:125px;accent-color:var(--twk-green);cursor:pointer}.twk-layout-value{min-width:50px;text-align:right;font-size:10px;font-weight:800;color:var(--twk-green)}
.cards{gap:14px!important}.card,.twk-card,.admin-card,.verify-card,.license-card,.order-card{padding:20px!important;border-radius:14px!important}.card h3{margin-bottom:10px}.card p{margin-top:6px;margin-bottom:8px}.package-options{gap:12px!important}.package-options .card{padding:17px!important}.package-title{font-size:17px!important}
.twk-top-btn{position:fixed;right:20px;bottom:20px;width:42px;height:42px;border:1px solid var(--twk-gold);border-radius:50%;background:var(--twk-green);color:#fff;font-size:18px;font-weight:800;z-index:8900;display:none;cursor:pointer;box-shadow:0 8px 22px rgba(20,60,35,.2)}.twk-top-btn.show{display:block}
body.twk-public .section{max-width:1180px}.twk-public .twk-header{padding-left:28px!important}.twk-public .section{padding-top:62px}.twk-public .section h2{letter-spacing:-.4px}
body.twk-auth .twk-header{justify-content:space-between}.twk-auth .section{padding-top:55px}
@media(max-width:1180px){.twk-brand span{display:none}.twk-top-nav a{padding:10px 7px!important;font-size:12px!important}.twk-layout-inner{width:min(var(--twk-content-width),calc(100% - 28px))}.twk-main-inner{width:min(var(--twk-content-width),calc(100% - 28px))}}
@media(max-width:980px){.twk-menu-btn{display:block}.twk-top-nav{display:none!important}.twk-header{height:70px!important}.twk-sidebar{top:70px;transform:translateX(-105%);transition:transform .2s ease}.twk-sidebar.open{transform:translateX(0)}.twk-sidebar-backdrop{display:none;position:fixed;inset:70px 0 0;background:rgba(10,35,20,.28);z-index:8999}.twk-sidebar-backdrop.show{display:block}.twk-main{margin-left:0;min-height:calc(100vh - 70px)}.twk-main-inner{padding-top:25px}.twk-layout-bar{top:70px}.twk-layout-inner{display:block;padding:8px 0}.twk-layout-label{margin-bottom:6px}.twk-layout-controls{overflow-x:auto;padding-bottom:2px}.twk-layout-range{flex:0 0 110px}.twk-brand .brand{width:48px!important;height:48px!important}.twk-header-right{margin-left:auto}.twk-top-btn{right:12px;bottom:12px}}
@media(max-width:600px){.twk-header{padding:7px 10px!important}.twk-layout-inner{width:calc(100% - 14px)}.twk-layout-option{padding:6px 8px;font-size:9px}.twk-layout-range{flex-basis:90px;width:90px}.twk-layout-value{min-width:45px}.twk-main-inner{width:calc(100% - 18px);padding-bottom:45px}.twk-main-inner>.section{padding-top:10px!important}.twk-main-inner>.section h1,.twk-main-inner>.section h2{font-size:32px}.cards{grid-template-columns:1fr!important}.package-options{grid-template-columns:1fr!important}}
.twk-head-logout{border:1px solid var(--twk-gold);background:#fff;color:var(--twk-green);border-radius:7px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.twk-head-logout:hover{background:#f5faf2}
@media(max-width:600px){.twk-head-logout{padding:6px 8px;font-size:9px}}

/* =========================================================
   TWK UI V6 — PREMIUM GREEN / GOLD IMPLEMENTATION
   UI ONLY: existing Supabase/business logic remains untouched.
   ========================================================= */
:root{
  --twk-green:#006b35;
  --twk-green-dark:#003d25;
  --twk-green-deep:#002b1c;
  --twk-green-soft:#eaf5ed;
  --twk-gold:#d6a52d;
  --twk-gold-light:#efc85d;
  --twk-ink:#172b22;
  --twk-muted:#65736c;
  --twk-page:#f6faf7;
  --twk-content-width:1380px;
  --twk-sidebar:250px;
}

/* Remove the old light shell that caused the large broken/gap areas. */
body.twk-member,body.twk-admin{
  background:linear-gradient(180deg,#f7fbf8 0%,#eef6f0 100%) !important;
  color:var(--twk-ink);
}
body.twk-member .twk-header,body.twk-admin .twk-header{
  height:94px !important;
  min-height:94px !important;
  padding:8px 18px !important;
  background:linear-gradient(105deg,#002f20 0%,#004d2d 55%,#003a25 100%) !important;
  border-bottom:1px solid #c99b27 !important;
  box-shadow:0 5px 22px rgba(0,35,22,.22) !important;
  color:#fff !important;
}
body.twk-member .twk-brand .brand,body.twk-admin .twk-brand .brand{
  width:64px !important;height:64px !important;
  border-color:var(--twk-gold) !important;
  box-shadow:0 5px 18px rgba(0,0,0,.25) !important;
}
body.twk-member .twk-brand b,body.twk-admin .twk-brand b{color:#f1c84d !important;font-size:17px !important}
body.twk-member .twk-brand small,body.twk-admin .twk-brand small{color:#dce9df !important}
body.twk-member .twk-top-nav a,body.twk-admin .twk-top-nav a{
  color:#fff !important;border:1px solid transparent !important;
  padding:12px 9px !important;font-size:13px !important;
}
body.twk-member .twk-top-nav a:hover,body.twk-admin .twk-top-nav a:hover{background:rgba(214,165,45,.12) !important;color:#f2c54e !important}
body.twk-member .twk-top-nav a.active,body.twk-admin .twk-top-nav a.active{
  background:linear-gradient(180deg,#006f3b,#00572f) !important;
  color:#fff !important;border-color:#16834e !important;
  box-shadow:inset 0 -3px 0 var(--twk-gold),0 4px 12px rgba(0,0,0,.14) !important;
}
body.twk-member .twk-nav-icon,body.twk-admin .twk-nav-icon{color:#f1c84d !important}
body.twk-member .twk-user-badge,body.twk-admin .twk-role-badge{background:#00703b !important;color:#f7d15b !important;border:1px solid #16854f}
body.twk-member .twk-head-logout,body.twk-admin .twk-head-logout{
  background:transparent !important;color:#f2c54e !important;border-color:#d6a52d !important;
  padding:9px 14px !important;border-radius:8px !important;
}
body.twk-member .twk-head-logout:hover,body.twk-admin .twk-head-logout:hover{background:#d6a52d !important;color:#173b29 !important}

body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{
  top:94px !important;width:var(--twk-sidebar) !important;
  background:linear-gradient(180deg,#004a2c 0%,#003b26 55%,#002c1d 100%) !important;
  border-right:1px solid #c79a2c !important;
  box-shadow:7px 0 24px rgba(0,35,22,.18) !important;
  padding:24px 15px 22px !important;
}
body.twk-member .twk-side-heading,body.twk-admin .twk-side-heading{
  color:#f1c84d !important;text-align:center;letter-spacing:1.6px !important;
  padding:0 8px 18px !important;border-bottom:1px solid rgba(214,165,45,.35);
  margin-bottom:10px;
}
body.twk-member .twk-side-links,body.twk-admin .twk-side-links{gap:1px !important}
body.twk-member .twk-side-links a,body.twk-admin .twk-side-links a{
  color:#f4f8f5 !important;padding:13px 12px !important;border-radius:10px !important;
  font-size:14px !important;border-bottom:1px solid rgba(214,165,45,.13);
}
body.twk-member .twk-side-links a:hover,body.twk-admin .twk-side-links a:hover{background:rgba(255,255,255,.07) !important;color:#f3c94d !important}
body.twk-member .twk-side-links a.active,body.twk-admin .twk-side-links a.active{
  background:linear-gradient(90deg,#006e3a,#004e2d) !important;color:#f3c94d !important;
  box-shadow:inset 3px 0 0 #d6a52d,0 5px 14px rgba(0,0,0,.12) !important;
}
body.twk-member .twk-side-icon,body.twk-admin .twk-side-icon{color:#f3c94d !important}
body.twk-member .twk-support,body.twk-admin .twk-support{
  background:linear-gradient(145deg,#00643a,#00492b) !important;
  border:1px solid rgba(214,165,45,.35) !important;color:#fff !important;
  margin-top:28px !important;padding:18px 12px !important;
}
body.twk-member .twk-support b,body.twk-admin .twk-support b{color:#f3c94d !important}
body.twk-member .twk-support small,body.twk-admin .twk-support small{color:#d7e6dc !important}
body.twk-member .twk-support-icon,body.twk-admin .twk-support-icon{background:#00351f !important;color:#f3c94d !important}
body.twk-member .twk-support a,body.twk-admin .twk-support a{background:#e2ae32 !important;color:#173b29 !important}

body.twk-member .twk-main,body.twk-admin .twk-main{
  margin-left:var(--twk-sidebar) !important;
  min-height:calc(100vh - 94px) !important;
}
body.twk-member .twk-main-inner,body.twk-admin .twk-main-inner{
  width:min(var(--twk-content-width),calc(100% - 36px)) !important;
  padding:18px 0 50px !important;
}
body.twk-member .twk-main-inner>.section,body.twk-admin .twk-main-inner>.section{
  padding:8px 0 28px !important;margin:0 !important;
}

/* Compact, straight layout-control strip — no extra vertical dead space. */
body.twk-member .twk-layout-bar,body.twk-admin .twk-layout-bar{
  position:sticky !important;top:94px !important;min-height:56px !important;
  background:rgba(255,255,255,.98) !important;border-bottom:1px solid #e4d4a5 !important;
  box-shadow:0 3px 12px rgba(0,35,22,.07) !important;
}
body.twk-member .twk-layout-inner,body.twk-admin .twk-layout-inner{
  width:min(var(--twk-content-width),calc(100% - 36px)) !important;
  min-height:56px !important;justify-content:flex-end !important;
}
body.twk-member .twk-layout-label,body.twk-admin .twk-layout-label{display:none !important}
body.twk-member .twk-layout-controls,body.twk-admin .twk-layout-controls{justify-content:flex-end !important}
body.twk-member .twk-layout-option,body.twk-admin .twk-layout-option{
  padding:8px 12px !important;font-size:11px !important;background:#fff !important;color:#006b35 !important;
  border-color:#d6a52d !important;border-radius:8px !important;
}
body.twk-member .twk-layout-option.active,body.twk-admin .twk-layout-option.active{background:#006b35 !important;color:#fff !important;border-color:#006b35 !important}
body.twk-member .twk-layout-range,body.twk-admin .twk-layout-range{accent-color:#008244 !important;width:145px !important}
body.twk-member .twk-layout-value,body.twk-admin .twk-layout-value{color:#006b35 !important;font-size:11px !important}

/* All content cards: cleaner and tighter, avoiding the old uneven gaps. */
body.twk-member .cards,body.twk-admin .cards{gap:18px !important}
body.twk-member .card,body.twk-admin .card,
body.twk-member .twk-card,body.twk-admin .twk-card,
body.twk-member .admin-card,body.twk-admin .admin-card,
body.twk-member .verify-card,body.twk-admin .verify-card,
body.twk-member .license-card,body.twk-admin .license-card,
body.twk-member .order-card,body.twk-admin .order-card{
  border:1px solid #e2c968 !important;border-radius:15px !important;background:#fff !important;
  box-shadow:0 10px 26px rgba(0,55,32,.065) !important;
}
body.twk-member .card h3,body.twk-admin .card h3{color:#006b35 !important}
body.twk-member .btn,body.twk-admin .btn{border-radius:8px !important}
body.twk-member .btn:not(.outline),body.twk-admin .btn:not(.outline){background:#00743c !important;border-color:#00743c !important}
body.twk-member .btn.outline,body.twk-admin .btn.outline{background:#fff !important;color:#00743c !important;border-color:#d6a52d !important}

/* Dashboard: match the approved reference composition. */
body.twk-member.twk-dashboard-page .twk-main-inner>.section{padding-top:8px !important}
.twk-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0 24px}
.twk-dashboard-hero .eyebrow{margin:0;color:#006b35 !important;font-size:12px !important;letter-spacing:2px}
.twk-dashboard-hero h1{font-family:Georgia,serif !important;color:#173b2b !important;font-size:clamp(42px,4vw,58px) !important;line-height:1.05 !important;margin:7px 0 0 !important}
.twk-dashboard-hero h1 span{color:#006b35}
.twk-dashboard-hero-mark{width:190px;height:105px;border-radius:24px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#eef7ef,#fff);border:1px solid #e2c968}
.twk-dashboard-hero-mark:before{content:'↗';font-size:72px;font-weight:800;color:#00743c;line-height:1;transform:translateY(-2px)}
.twk-dashboard-hero-mark:after{content:'TWK';position:absolute;right:13px;bottom:9px;font-size:11px;font-weight:900;letter-spacing:2px;color:#d6a52d}
.twk-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
.twk-stat-card{padding:20px 20px 18px !important;min-height:132px;position:relative;overflow:hidden}
.twk-stat-card:after{content:'';position:absolute;right:-20px;top:-20px;width:75px;height:75px;border-radius:50%;background:#eef7ef}
.twk-stat-card h3{font-size:16px !important;margin:0 0 26px !important;position:relative;z-index:1}
.twk-stat-value{font-size:23px;font-weight:800;color:#173b2b;position:relative;z-index:1}
.twk-stat-value small{display:block;font-size:11px;color:#2b8a59;margin-top:5px;font-weight:700}
body.twk-member.twk-dashboard-page .dashboard-main-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.twk-member.twk-dashboard-page .dashboard-main-cards>.card{padding:0 !important;overflow:hidden}
.twk-card-head{background:linear-gradient(90deg,#006b35,#008348);color:#fff;padding:13px 17px;font-size:16px;font-weight:800}
.twk-card-head span{color:#f3c94d;margin-right:7px}
.twk-card-body{padding:18px}
.twk-card-body p{font-size:14px !important;line-height:1.55 !important}
.twk-announcement{margin-top:18px;padding:16px 20px;border:1px solid #dfe8df;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;box-shadow:0 8px 22px rgba(0,55,32,.045)}
.twk-announcement b{color:#173b2b}.twk-announcement small{color:#65736c}
.twk-footer{margin-left:var(--twk-sidebar);background:#00291b;color:#e8f0eb;border-top:1px solid #b98b20;padding:18px 28px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:12px}
.twk-footer a{color:#f0c64e;margin-left:18px}.twk-footer a:hover{text-decoration:underline}

/* Admin pages get the same dark shell but remain functional and content-driven. */
body.twk-admin .twk-main-inner>.section h1,body.twk-admin .twk-main-inner>.section h2{color:#006b35 !important}
body.twk-admin .twk-main-inner>.section{padding-top:18px !important}

@media(max-width:1180px){
  :root{--twk-sidebar:230px}
  .twk-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.twk-member.twk-dashboard-page .dashboard-main-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:980px){
  body.twk-member .twk-header,body.twk-admin .twk-header{height:72px !important;min-height:72px !important}
  body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{top:72px !important}
  body.twk-member .twk-main,body.twk-admin .twk-main{margin-left:0 !important}
  body.twk-member .twk-layout-bar,body.twk-admin .twk-layout-bar{top:72px !important}
  body.twk-member .twk-layout-inner,body.twk-admin .twk-layout-inner{justify-content:flex-start !important}
  .twk-footer{margin-left:0}
  .twk-dashboard-hero-mark{display:none}
}
@media(max-width:700px){
  .twk-dashboard-stats{grid-template-columns:1fr 1fr}
  body.twk-member.twk-dashboard-page .dashboard-main-cards{grid-template-columns:1fr}
  .twk-announcement{align-items:flex-start;flex-direction:column}
  .twk-footer{flex-direction:column;align-items:flex-start;padding:18px}
  .twk-footer a{margin-left:0;margin-right:15px}
}
@media(max-width:560px){
  body.twk-member .twk-layout-inner,body.twk-admin .twk-layout-inner{width:calc(100% - 16px) !important}
  body.twk-member .twk-layout-controls,body.twk-admin .twk-layout-controls{overflow-x:auto;justify-content:flex-start !important}
  body.twk-member .twk-layout-option,body.twk-admin .twk-layout-option{padding:7px 9px !important}
  .twk-dashboard-stats{grid-template-columns:1fr}
  .twk-dashboard-hero h1{font-size:40px !important}
}

/* TWK Premium 3D interaction layer — visual only, no trading action */
.card,.summary,.action,.side-link,.hf,.btn{transform-style:preserve-3d;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.card:hover,.summary:hover,.action:hover{box-shadow:0 18px 42px rgba(12,65,38,.13);filter:saturate(1.03)}
.btn{cursor:pointer}.btn:active{transform:translateY(2px) scale(.98)!important}.side-link:hover{box-shadow:0 10px 24px rgba(12,65,38,.10)}
@media (prefers-reduced-motion:reduce){.card,.summary,.action,.side-link,.hf,.btn{transition:none!important}}


/* =========================================================
   TWK V14 — APPROVED PREMIUM LIGHT-GREEN / GOLD THEME
   Shared visual system across public, member and admin pages.
   Visual only; business logic untouched.
   ========================================================= */
:root{
  --twk-green:#0b6b3d;
  --twk-green-dark:#064d2c;
  --twk-green-soft:#eaf6ed;
  --twk-gold:#d8aa32;
  --twk-gold-soft:#ead9a5;
  --twk-cream:#f7f5e9;
  --twk-bg:#f3f8f1;
  --twk-card:#ffffff;
  --twk-ink:#17372a;
  --twk-muted:#66766e;
  --twk-line:#dfe9df;
  --twk-shadow:0 12px 32px rgba(18,72,43,.09);
}
html{background:var(--twk-bg)}
body,
body.twk-public,
body.twk-auth,
body.twk-member,
body.twk-admin{
  background:
    radial-gradient(circle at 8% 10%,rgba(216,170,50,.10),transparent 22%),
    radial-gradient(circle at 92% 12%,rgba(31,154,91,.12),transparent 26%),
    linear-gradient(135deg,#f7f9f2 0%,#eef7ed 48%,#f8f5e8 100%) !important;
  color:var(--twk-ink) !important;
}
header,
body.twk-member .twk-header,
body.twk-admin .twk-header{
  background:linear-gradient(105deg,#064d2c 0%,#0b6b3d 58%,#07532f 100%) !important;
  color:#fff !important;
  border-bottom:2px solid var(--twk-gold) !important;
  box-shadow:0 8px 24px rgba(5,64,37,.16) !important;
}
header .brand,.brand,
body.twk-member .twk-brand .brand,body.twk-admin .twk-brand .brand{
  border-color:#e5bb49 !important;
  box-shadow:0 7px 20px rgba(0,0,0,.22) !important;
}
header nav a,
.twk-global-nav a,
body.twk-member .twk-top-nav a,
body.twk-admin .twk-top-nav a{color:#fff !important}
header nav a:hover,.twk-global-nav a:hover,
body.twk-member .twk-top-nav a:hover,body.twk-admin .twk-top-nav a:hover{
  color:#f6d66e !important;background:rgba(255,255,255,.08) !important;
}
body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{
  background:rgba(255,255,255,.94) !important;
  border-right:1px solid var(--twk-gold-soft) !important;
  box-shadow:7px 0 28px rgba(20,70,40,.07) !important;
}
body.twk-member .twk-side-heading,body.twk-admin .twk-side-heading{color:var(--twk-green) !important}
body.twk-member .twk-side-links a,body.twk-admin .twk-side-links a{color:#29483b !important}
body.twk-member .twk-side-links a:hover,body.twk-admin .twk-side-links a:hover{background:#eef7ef !important;color:var(--twk-green) !important}
body.twk-member .twk-side-links a.active,body.twk-admin .twk-side-links a.active{
  background:linear-gradient(90deg,#e5f5e8,#f5faef) !important;
  color:var(--twk-green) !important;
  box-shadow:inset 4px 0 0 var(--twk-gold),0 8px 18px rgba(15,90,48,.08) !important;
}
body.twk-member .twk-side-icon,body.twk-admin .twk-side-icon{color:var(--twk-green) !important}
.section,.twk-main-inner{color:var(--twk-ink)}
.card,.twk-card,.admin-card,.verify-card,.license-card,.order-card,
.summary,.panel,.sidebar,.income-card,.post{
  background:rgba(255,255,255,.93) !important;
  border-color:var(--twk-line) !important;
  box-shadow:var(--twk-shadow) !important;
  backdrop-filter:blur(8px);
}
.card:hover,.twk-card:hover,.summary:hover,.panel:hover,.income-card:hover,.post:hover{
  border-color:#d9bf66 !important;
}
.btn,.approve{background:linear-gradient(135deg,#0a7541,#08703d) !important;border-color:#08703d !important;color:#fff !important}
.btn.gold{background:linear-gradient(135deg,#e5bb49,#d5a72d) !important;border-color:#d5a72d !important;color:#17372a !important}
.btn.outline{background:#fff !important;color:var(--twk-green) !important;border-color:var(--twk-gold) !important}
input,select,textarea{background:#fff !important;border-color:#ceddd2 !important}
input:focus,select:focus,textarea:focus{border-color:var(--twk-gold) !important}
footer,.twk-footer{background:linear-gradient(105deg,#064d2c,#0b6b3d) !important;color:#eaf5ee !important;border-top:1px solid var(--twk-gold) !important}
footer strong,.twk-footer a{color:#f4cf5e !important}

/* Consistent premium depth on every page */
.card,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.summary,.income-card,.post,
.btn,.twk-side-links a,.twk-top-nav a{transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.card:hover,.twk-card:hover,.summary:hover,.income-card:hover,.post:hover{transform:translateY(-3px) translateZ(5px)}
.btn:hover,.twk-side-links a:hover{transform:translateY(-2px)}

/* Public/auth pages: same palette without forcing member shell */
body.twk-public header,body.twk-auth header{min-height:82px}
body.twk-public .section,body.twk-auth .section{position:relative}
body.twk-public .hero{
  background:linear-gradient(135deg,#f8fbf5,#edf7ee 58%,#fff7df) !important;
}

/* Member/admin header brand text */
body.twk-member .twk-brand b,body.twk-admin .twk-brand b{color:#f6d266 !important}
body.twk-member .twk-brand small,body.twk-admin .twk-brand small{color:#dcece2 !important}
body.twk-member .twk-role-badge,body.twk-admin .twk-role-badge{background:#0a7741 !important;color:#f7d56b !important;border-color:#4b9c6e !important}

@media(max-width:980px){
  body.twk-member .twk-sidebar,body.twk-admin .twk-sidebar{box-shadow:10px 0 30px rgba(20,70,40,.14) !important}
}
@media(prefers-reduced-motion:reduce){
  .card,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.summary,.income-card,.post,.btn,.twk-side-links a,.twk-top-nav a{transition:none !important}
}


/* =========================================================
   TWK FINAL APPROVED LIGHT PREMIUM THEME
   Visual layer only — no business logic changes.
   ========================================================= */
:root{
  --twk-green:#087a46;
  --twk-green-dark:#075c35;
  --twk-gold:#d9aa32;
  --twk-gold-light:#f3df9f;
  --twk-bg:#f7faf4;
  --twk-ink:#102f22;
  --twk-line:#dfe9df;
  --twk-shadow:0 14px 34px rgba(11,76,45,.10),0 3px 10px rgba(11,76,45,.05);
}
html,body{background:linear-gradient(135deg,#fbfcf8 0%,#eef7ed 52%,#fff9e9 100%) !important;color:var(--twk-ink)}
body{font-family:"Segoe UI",Arial,Helvetica,sans-serif}
header:not(.twk-dark-header){background:rgba(255,255,255,.94) !important;color:var(--twk-ink) !important;border-bottom:2px solid var(--twk-gold-light) !important;box-shadow:0 8px 25px rgba(11,76,45,.08) !important;backdrop-filter:blur(12px)}
header:not(.twk-dark-header) nav a{color:var(--twk-ink) !important}
header:not(.twk-dark-header) nav a:hover{color:var(--twk-green) !important}
.section,.card,.summary,.panel,.sidebar,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.income-card,.post,.support,.twk-modal-box{border-radius:18px !important}
.card,.summary,.panel,.sidebar,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.income-card,.post{background:rgba(255,255,255,.92) !important;border:1px solid var(--twk-line) !important;box-shadow:var(--twk-shadow) !important;backdrop-filter:blur(9px)}
.card,.summary,.panel,.sidebar,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.income-card,.post,.btn,.side-link{transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.card:hover,.summary:hover,.panel:hover,.twk-card:hover,.admin-card:hover,.verify-card:hover,.license-card:hover,.order-card:hover,.income-card:hover,.post:hover{transform:translateY(-5px) translateZ(7px);box-shadow:0 22px 48px rgba(11,76,45,.14),0 4px 12px rgba(217,170,50,.08) !important;border-color:#e1c56e !important}
.side-link:hover{transform:translateX(3px) translateZ(5px);box-shadow:0 10px 24px rgba(11,76,45,.10)}
.btn:hover{transform:translateY(-2px) translateZ(4px);box-shadow:0 10px 24px rgba(11,76,45,.14)}
.btn,.approve{background:linear-gradient(135deg,#087a46,#0b9557) !important;border-color:#087a46 !important;color:#fff !important;box-shadow:0 8px 18px rgba(8,122,70,.16)}
.btn.gold{background:linear-gradient(135deg,#e8bf4e,#d6a62b) !important;border-color:#d6a62b !important;color:#173b29 !important}
.btn.outline{background:#fff !important;color:var(--twk-green) !important;border-color:var(--twk-gold) !important}
input,select,textarea{background:#fff !important;border-color:#ceddd2 !important}
input:focus,select:focus,textarea:focus{border-color:var(--twk-gold) !important;box-shadow:0 0 0 3px rgba(217,170,50,.12) !important}
footer,.twk-footer{background:linear-gradient(105deg,#fefdf8,#f2f8ef) !important;color:#52675b !important;border-top:1px solid var(--twk-gold-light) !important}
footer strong,.twk-footer a{color:var(--twk-green) !important}
@media(prefers-reduced-motion:reduce){.card,.summary,.panel,.sidebar,.twk-card,.admin-card,.verify-card,.license-card,.order-card,.income-card,.post,.btn,.side-link{transition:none !important}}

/* =========================================================
   TWK FINAL LIGHT PREMIUM THEME
   Safe visual layer: existing functionality/IDs preserved.
   ========================================================= */
:root{--twk-green:#087443;--twk-green-deep:#075b36;--twk-gold:#d6a62a;--twk-cream:#fbfaf4;--twk-ink:#102d21}
body{background:linear-gradient(135deg,#fffef9 0%,#f4f8ef 52%,#fffdf7 100%);color:var(--twk-ink)}
header{background:rgba(255,255,255,.92);backdrop-filter:blur(14px);box-shadow:0 10px 30px rgba(22,78,48,.08);border-bottom:1px solid rgba(214,166,42,.35)}
nav a,.side-link{transition:transform .22s ease,box-shadow .22s ease,background .22s ease,color .22s ease}
nav a:hover{transform:translateY(-2px)}
.layout{gap:22px}
.sidebar,.right,.twk-card,.panel,.summary,.feature,.card,.highlights{border:1px solid rgba(18,107,47,.10);box-shadow:0 14px 35px rgba(25,70,35,.09),0 2px 8px rgba(214,166,42,.06);transition:transform .25s ease,box-shadow .25s ease}
.sidebar,.right .panel,.twk-card,.panel{background:rgba(255,255,255,.90);backdrop-filter:blur(10px)}
.sidebar:hover,.right .panel:hover,.twk-card:hover,.panel:hover,.summary:hover,.feature:hover{transform:translateY(-4px);box-shadow:0 22px 45px rgba(25,70,35,.13),0 4px 12px rgba(214,166,42,.08)}
.side-link:hover{transform:translateX(5px);box-shadow:0 10px 24px rgba(18,107,47,.10)}
.side-link.active{box-shadow:0 12px 26px rgba(18,107,47,.16),inset 3px 0 0 var(--twk-gold)}
.btn,.action{box-shadow:0 9px 18px rgba(18,107,47,.16);transition:transform .2s ease,box-shadow .2s ease}
.btn:hover,.action:hover{transform:translateY(-3px);box-shadow:0 15px 26px rgba(18,107,47,.20)}

/* Large centered TWK KING hero; no small bull/bear buttons. */
.twk-hero-final{position:relative;display:block;min-height:0;height:auto;padding:0;margin:0 0 20px;background:transparent;overflow:visible}
.twk-hero-image-wrap{position:relative;width:100%;border-radius:24px;overflow:hidden;background:#fff;border:1px solid rgba(214,166,42,.48);box-shadow:0 20px 45px rgba(25,70,35,.14),0 4px 12px rgba(214,166,42,.10);transform-style:preserve-3d;transition:transform .28s ease,box-shadow .28s ease}
.twk-hero-image-wrap:hover{transform:translateY(-5px) rotateX(1deg);box-shadow:0 28px 55px rgba(25,70,35,.18),0 7px 18px rgba(214,166,42,.13)}
.twk-hero-image{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;object-position:center;border-radius:24px}
.twk-hero-overlay{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0) 55%,rgba(7,91,54,.03))}

/* Floating 3D feel for cards/tabs */
.summary,.feature,.action,.info-badge,.twk-badge{transform-style:preserve-3d}
.summary,.feature{border-radius:18px}
.action{border:1px solid rgba(18,107,47,.10);border-radius:16px;background:linear-gradient(145deg,#fff,#f6faf4);box-shadow:0 12px 25px rgba(25,70,35,.09),inset 0 1px rgba(255,255,255,.9)}
.info-badge,.twk-badge{box-shadow:0 8px 18px rgba(214,166,42,.18)}

/* Hide the previous small bull/bear controls entirely. */
.twk-hero-final .market-orbs,.twk-hero-final .chart-art{display:none!important}
@media(max-width:900px){.twk-hero-image{max-height:none}.twk-hero-image-wrap{border-radius:18px}.twk-hero-image{border-radius:18px}}

/* TWK P3 — PUBLIC HOME MOBILE HEADER ONLY — 27 SEP 2026
   Fix public homepage mobile header wrapping and restore Login.
   Member/Admin header is intentionally untouched. */
@media (max-width:560px){
  body.twk-public header{
    height:72px !important;
    min-height:72px !important;
    padding:7px 10px !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    overflow:hidden !important;
  }
  body.twk-public header .brand,
  body.twk-public header .brand{
    width:50px !important;
    height:50px !important;
    flex:0 0 50px !important;
  }
  body.twk-public header nav{
    order:initial !important;
    width:auto !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:10px !important;
    margin:0 !important;
    padding:0 2px !important;
    white-space:nowrap !important;
    scrollbar-width:none !important;
  }
  body.twk-public header nav::-webkit-scrollbar{display:none !important}
  body.twk-public header nav a{
    flex:0 0 auto !important;
    white-space:nowrap !important;
    padding:8px 4px !important;
    font-size:12px !important;
  }
  body.twk-public header a.btn.small[href="./account.html"]{
    display:inline-flex !important;
    flex:0 0 auto !important;
    white-space:nowrap !important;
    padding:8px 10px !important;
    font-size:11px !important;
  }
  body.twk-public header a.btn.small[onclick*="openTWKJoin"]{
    display:none !important;
  }
}

/* ===== SOURCE: twk-premium-theme.css ===== */
/* 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;}

/* 26 SEP 2026 surgical admin spacing: preserve the old admin structure while using the available desktop width. */
@media(min-width:1101px){
  body.twk-admin .twk-main-inner>.section.wrap{max-width:none!important;width:100%!important;}
  body.twk-admin .twk-main-inner{max-width:1500px!important;}
}

/* =========================================================
   TWK P3 SIDEBAR STABILITY FIX — 27 SEP 2026
   Keeps the new member/admin sidebar mounted and mobile-safe.
   ========================================================= */
body.twk-member .twk-sidebar,
body.twk-admin .twk-sidebar{
  position:fixed !important;
  left:0 !important;
  top:94px !important;
  bottom:0 !important;
  width:250px !important;
  z-index:11000 !important;
  display:flex !important;
  flex-direction:column !important;
  visibility:visible !important;
  opacity:1 !important;
  transform:none !important;
}
body.twk-member .twk-main,
body.twk-admin .twk-main{
  margin-left:250px !important;
}
.twk-menu-btn{
  display:none;
  width:42px;height:42px;flex:0 0 42px;
  border:1px solid rgba(214,165,45,.65);
  border-radius:10px;background:rgba(255,255,255,.10);
  align-items:center;justify-content:center;flex-direction:column;gap:5px;
  cursor:pointer;
}
.twk-menu-btn span{display:block;width:19px;height:2px;background:#fff;border-radius:2px}
.twk-sidebar-backdrop{display:none}
@media(max-width:980px){
  body.twk-member .twk-sidebar,
  body.twk-admin .twk-sidebar{
    top:72px !important;
    width:285px !important;
    transform:translateX(-105%) !important;
    transition:transform .22s ease !important;
    box-shadow:8px 0 28px rgba(0,0,0,.16) !important;
  }
  body.twk-member .twk-sidebar.open,
  body.twk-admin .twk-sidebar.open{transform:translateX(0) !important}
  body.twk-member .twk-main,
  body.twk-admin .twk-main{margin-left:0 !important}
  .twk-menu-btn{display:flex !important}
  .twk-sidebar-backdrop{
    position:fixed;inset:0;z-index:10001;
    background:rgba(0,0,0,.28);backdrop-filter:blur(2px);
  }
  .twk-sidebar-backdrop.show{display:block}
  body.twk-menu-open{overflow:hidden !important}
}

/* TWK P3 — ONLY MOBILE HEADER TWO-FIX (27-SEP-2026)
   Fix 1: hamburger icon was white on white, making the button look blank.
   Fix 2: member name showed twice on narrow/mobile/desktop-site viewports.
   No desktop page content/layout changes. */
.twk-header .twk-menu-btn span{background:#087a46!important;width:19px!important;height:2px!important;display:block!important;border-radius:2px!important;margin:2px 0!important}
@media(max-width:1000px){
  body.twk-member .twk-header .twk-top-nav,
  body.twk-admin .twk-header .twk-top-nav{display:none!important}
  body.twk-member .twk-header .twk-header-user-text,
  body.twk-admin .twk-header .twk-header-user-text{display:none!important}
  body.twk-member .twk-header .twk-menu-btn,
  body.twk-admin .twk-header .twk-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important}
}

/* TWK P3 — MOBILE DASHBOARD CARDS ONLY — 27 SEP 2026
   Compact cards to fit the phone viewport without changing desktop/tablet UI. */
@media (max-width:600px){
  body.twk-member .twk-main-inner .cards{
    width:100%!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    margin-top:14px!important;
  }
  body.twk-member .twk-main-inner .cards .summary{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:16px!important;
    border-radius:16px!important;
    box-sizing:border-box!important;
  }
  body.twk-member .twk-main-inner .cards .summary .sicon{
    width:38px!important;height:38px!important;font-size:18px!important;
  }
  body.twk-member .twk-main-inner .cards .summary h3{
    margin:9px 0 5px!important;font-size:15px!important;line-height:1.25!important;
  }
  body.twk-member .twk-main-inner .cards .summary .value{
    min-height:0!important;font-size:20px!important;line-height:1.25!important;
  }
  body.twk-member .twk-main-inner .cards .summary .sub{
    min-height:0!important;margin-top:4px!important;font-size:11px!important;
  }
  body.twk-member .twk-main-inner .cards .summary .btn{
    margin-top:11px!important;min-height:36px!important;padding:8px 11px!important;
  }
}

/* ===== SOURCE: twk-option1-fresh.css ===== */
/* TWK OPTION 1 — FRESH UI AUTHORITY — 30 SEP 2026 */
:root{--green:#087a46;--deep:#045a35;--green2:#0da45e;--gold:#d7ae3b;--gold2:#f3cf68;--bg:#f4f8f4;--ink:#17362a;--muted:#697b71;--line:#dce8df;--white:#fff;--shadow:0 10px 28px rgba(12,72,45,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(135deg,#f7faf7,#eef6ef 58%,#fbf7e9);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:var(--green)}button,input,select,textarea{font:inherit}img{max-width:100%}
/* public/auth header */
body.twk-public>header,body.twk-auth>header{height:84px;background:#fff;border-bottom:2px solid var(--gold);display:flex;align-items:center;padding:0 5%;gap:28px;box-shadow:0 5px 20px rgba(0,70,40,.06)}body.twk-public header .brand,body.twk-auth header .brand{width:62px;height:62px;object-fit:contain;border-radius:50%}body.twk-public header nav,body.twk-auth header nav{display:flex;gap:26px;margin-left:auto;align-items:center}body.twk-public header nav a,body.twk-auth header nav a{color:#244638;text-decoration:none;font-weight:700;font-size:13px}body.twk-public header nav a:hover{color:var(--green)}
/* member/admin shell generated by twk-ui-p3-final.js */
body.twk-member>header.twk-header,body.twk-admin>header.twk-header{position:sticky;top:0;z-index:1000;height:72px;background:#fff!important;color:var(--ink)!important;border-bottom:2px solid var(--gold);display:flex;align-items:center;gap:14px;padding:7px 18px;box-shadow:0 5px 20px rgba(0,70,40,.07)}.twk-menu-btn{width:42px;height:42px;border:1px solid var(--gold);border-radius:11px;background:#fff;display:grid;place-content:center;gap:4px;cursor:pointer}.twk-menu-btn span{display:block;width:19px;height:2px;background:var(--green);border-radius:2px}.twk-brand{display:flex;align-items:center}.twk-brand img{width:56px;height:56px;object-fit:contain;border-radius:50%;display:block}.twk-top-nav{display:flex;justify-content:center;align-items:center;gap:4px;flex:1;min-width:0}.twk-top-nav a{padding:9px 10px;border-radius:9px;color:#244638!important;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}.twk-top-nav a:hover,.twk-top-nav a.active{background:#eef8f0;color:var(--green)!important}.twk-header-right{display:flex;align-items:center;gap:8px}.twk-header-profile{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:8px}.twk-user-badge{width:42px;height:42px;border-radius:50%;border:1px solid var(--gold);background:#fff;display:grid;place-items:center;color:var(--green);font-weight:900;font-size:11px}.twk-header-user-text b{display:block;font-size:12px}.twk-header-user-text small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.twk-header-logout{border:1px solid var(--gold);background:#fff;border-radius:9px;color:var(--green);font-weight:800;padding:9px 13px;cursor:pointer}
.twk-sidebar{position:sticky!important;top:88px!important;align-self:flex-start;width:250px!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff;border:1px solid var(--line);border-radius:0 16px 16px 0;box-shadow:var(--shadow);padding:16px 14px;z-index:50}.twk-side-heading{margin:8px 12px 12px;padding:0 0 13px;border-bottom:1px solid #eadba5;color:var(--green);font-size:12px;font-weight:900;letter-spacing:2px}.twk-side-links{display:grid;gap:2px}.twk-sidebar a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;color:#29483b!important;text-decoration:none;font-size:13px;font-weight:700}.twk-sidebar a:hover{background:#eef8f0}.twk-sidebar a.active{background:linear-gradient(135deg,#087a46,#0ca45e);color:#fff!important;border-left:3px solid var(--gold);padding-left:9px}.twk-side-icon{width:20px;text-align:center}.twk-support{margin-top:16px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#f8fbf8}.twk-support b,.twk-support small{display:block}.twk-support small{margin-top:4px;color:var(--muted);font-size:10px}.twk-support a{display:block;margin-top:8px;padding:0;color:var(--green)!important;font-size:10px;background:none}.twk-sidebar-backdrop{display:none}
.twk-main{margin-left:250px!important;width:calc(100% - 250px)!important;padding:22px 34px 50px;min-width:0}.twk-main-inner{max-width:1280px;margin:0 auto;display:grid;gap:16px}.twk-footer{margin-left:250px;background:#045a35;color:#fff;padding:18px 34px;display:flex;justify-content:space-between;gap:20px;font-size:10px}.twk-footer a{color:#fff;margin-left:14px}
.card,.panel,.summary,.section,.o1-panel,.o1-hero,.o1-live,.o1-activity,.o1-quick,.o1-features{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}
/* option 1 dashboard */
.twk-dashboard-page .twk-main-inner{gap:16px}.twk-notify{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}.kicker{display:block;font-size:9px;font-weight:900;letter-spacing:3px;color:var(--gold);margin-bottom:4px}.twk-notify h2{font-size:18px;margin:0;color:var(--ink)}.twk-notify p{font-size:12px;color:var(--muted);margin:5px 0 0}.notify-badge{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#c49319;color:#fff;font-size:11px;font-weight:900}
.o1-top-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.9fr);gap:16px}.o1-hero{height:290px;overflow:hidden;position:relative}.o1-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.o1-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,64,38,.08),rgba(255,255,255,.04) 58%,rgba(255,255,255,.08))}.o1-hero-copy{position:absolute;left:30px;top:27px;z-index:2;max-width:56%;color:var(--green)}.o1-hero-copy h1{font:700 42px/1.02 Georgia,serif;margin:7px 0;color:#087a46}.o1-hero-copy h1 span{color:#d5a92f}.o1-hero-copy p{font-size:13px;font-weight:700;line-height:1.35;margin:10px 0;color:#274c3b}.chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.chips span{padding:6px 9px;border:1px solid #d5b34b;border-radius:99px;background:rgba(255,255,255,.86);font-size:9px;font-weight:900;letter-spacing:1px}.o1-live{padding:20px}.card-title{display:flex;align-items:center;gap:10px}.card-title .icon{width:30px;height:30px;border-radius:10px;background:#e8f7ed;color:var(--green);display:grid;place-items:center;font-weight:900}.card-title .goldbg{background:#fff1c9;color:#a87800}.card-title h2{font-size:17px;margin:1px 0 0;text-transform:uppercase}.status-line{display:flex;align-items:center;gap:8px;margin:14px 0}.dot{width:8px;height:8px;border-radius:50%;background:#d9a91f;display:inline-block}.dot.off{background:#7a827d}.kv{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e8eee9;font-size:11px}.kv span{color:var(--muted)}.kv strong{font-size:11px}.mini-chart{height:64px;background:#f0f7f2;border-radius:12px;margin-top:12px;padding:10px;position:relative;overflow:hidden}.mini-chart span{font-size:9px;color:var(--muted)}.mini-chart b{display:block;font-size:22px;color:var(--green)}.mini-chart i{position:absolute;right:12px;bottom:12px;width:100px;height:36px;background:repeating-linear-gradient(90deg,transparent 0 9px,#14a45d 10px 14px);clip-path:polygon(0 100%,10% 75%,20% 80%,30% 50%,40% 60%,50% 35%,60% 45%,70% 20%,80% 28%,90% 0,100% 12%,100% 100%)}
.o1-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.summary{padding:17px;min-height:158px;position:relative}.summary .sicon{width:34px;height:34px;border-radius:11px;background:#e8f7ed;color:var(--green);display:grid;place-items:center}.summary .sicon.gold{background:#fff1c9;color:#9b7200}.summary h3{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#62756a;margin:11px 0 4px}.summary .value{font-size:20px;font-weight:900;color:var(--green);word-break:break-word}.summary .sub{font-size:10px;color:var(--muted);margin-top:4px}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--green);border-radius:9px;background:#fff;color:var(--green)!important;text-decoration:none;font-size:9px;font-weight:900;padding:8px 10px;margin-top:12px;cursor:pointer}.btn.gold{border-color:#d9ad38;color:#986d00!important}.btn.outline{background:#fff}.twk-referral-link{font-size:8px;color:var(--muted);background:#f5f8f5;border:1px solid var(--line);padding:6px;border-radius:7px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.o1-triple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.o1-panel{padding:18px;min-height:245px}.live-pill,.period{margin-left:auto;font-size:9px;color:var(--muted);white-space:nowrap}.data-grid{display:grid;grid-template-columns:1fr 1fr;margin:15px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.data-grid>div{padding:12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.data-grid>div:nth-child(2n){border-right:0}.data-grid>div:nth-last-child(-n+2){border-bottom:0}.data-grid span{display:block;color:var(--muted);font-size:9px}.data-grid b{display:block;color:var(--green);font-size:16px;margin-top:5px}.wide{width:100%;margin-top:2px}.account-list>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:10px}.account-list span{color:var(--muted)}.account-list strong{font-size:10px}.account-list a,.copy-mini{border:1px solid var(--gold);border-radius:7px;background:#fff;color:#8b6700;text-decoration:none;padding:6px 7px;font-size:8px;font-weight:900}.account-list em{font-style:normal;color:var(--green);font-size:8px;background:#e7f7ec;padding:5px 7px;border-radius:99px}.copy-mini{cursor:pointer}.o1-bottom{display:grid;grid-template-columns:1.35fr .95fr;gap:14px}.o1-activity,.o1-quick,.o1-features{padding:18px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head>a{font-size:9px;font-weight:900}.activity-table{border:1px solid var(--line);border-radius:11px;overflow:hidden}.activity-table>div{display:grid;grid-template-columns:.9fr .6fr 1.6fr .7fr .55fr;gap:8px;padding:10px;border-bottom:1px solid var(--line);font-size:9px;align-items:center}.activity-table>div:last-child{border-bottom:0}.activity-table .th{font-weight:900;color:#68796f;background:#f6faf6}.activity-table b{color:var(--green);background:#e8f7ed;border-radius:99px;padding:5px 7px;text-align:center;font-size:8px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quick-grid a{display:grid;grid-template-columns:30px 1fr 12px;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;text-decoration:none;color:var(--ink);background:#fff}.quick-grid a>b{width:30px;height:30px;border-radius:9px;background:#e8f7ed;display:grid;place-items:center;color:var(--green);font-size:14px}.quick-grid a span{font-size:10px;font-weight:900}.quick-grid a small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.quick-grid a:last-child{color:var(--green)}.o1-features .feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.feature{display:flex;flex-direction:column;gap:6px;padding:13px;border:1px solid var(--line);border-radius:11px;text-decoration:none;color:var(--ink);background:#fbfdfb}.feature>b{font-size:18px;color:var(--green)}.feature strong{font-size:10px}.feature small{font-size:8px;color:var(--muted)}
/* inside pages: compact card system */
body.twk-member .twk-main-inner>section:not(.twk-notify),body.twk-admin .twk-main-inner>section:not(.twk-notify){max-width:1180px;margin:0 auto;width:100%}.twk-main-inner .section,.twk-main-inner .card,.twk-main-inner .panel,.twk-main-inner article.card{border-radius:15px!important;box-shadow:var(--shadow)!important;border:1px solid var(--line)!important;background:#fff!important;padding:20px!important}.twk-main-inner h1,.twk-main-inner h2{color:var(--green);font-family:Georgia,serif}.twk-main-inner h1{font-size:38px!important}.twk-main-inner h2{font-size:25px!important}.twk-main-inner h3{font-size:16px!important}.twk-main-inner p,.twk-main-inner label,.twk-main-inner td,.twk-main-inner th{font-size:12px}.twk-main-inner input,.twk-main-inner select,.twk-main-inner textarea{border:1px solid #cfe0d4!important;border-radius:9px!important;padding:10px!important;background:#fff}.twk-main-inner .grid,.twk-main-inner .cards,.twk-main-inner .feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.twk-main-inner table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.twk-main-inner th,.twk-main-inner td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.twk-main-inner .card{margin:0 0 14px!important}.twk-main-inner .twk-static-sidebar{display:none!important}
/* auth */
body.twk-auth{min-height:100vh}body.twk-auth .section{max-width:520px!important;margin:35px auto!important;padding:28px!important}body.twk-auth .card{padding:24px!important}body.twk-auth h2{font:700 40px Georgia,serif;color:var(--green);margin:5px 0 22px}body.twk-auth input{width:100%;padding:12px;border:1px solid #cfe0d4;border-radius:9px;margin:6px 0 14px}body.twk-auth .btn{min-height:40px}
/* public hero */
body.twk-public .section{max-width:1180px;margin:0 auto;padding:55px 30px}body.twk-public .hero{min-height:480px;border-radius:0;position:relative;overflow:hidden;background:#f5faf5!important}body.twk-public .hero img{object-fit:contain;max-height:520px}body.twk-public .card{border-radius:16px;padding:22px!important;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}
@media(max-width:1100px){.o1-top-grid{grid-template-columns:1fr}.o1-triple{grid-template-columns:1fr 1fr}.o1-bottom{grid-template-columns:1fr}.o1-features .feature-grid{grid-template-columns:repeat(2,1fr)}.o1-metrics{grid-template-columns:repeat(2,1fr)}.twk-top-nav{display:none}}
@media(max-width:820px){body.twk-member>header.twk-header,body.twk-admin>header.twk-header{height:70px}.twk-brand img{width:50px;height:50px}.twk-header-right{margin-left:auto}.twk-header-user-text{display:none}.twk-sidebar{position:fixed!important;top:70px!important;bottom:0!important;left:0;width:min(285px,84vw)!important;transform:translateX(-110%);transition:transform .22s ease;overflow:auto!important;border-radius:0 16px 16px 0}.twk-sidebar.open{transform:translateX(0)}.twk-sidebar-backdrop.show{display:block;position:fixed;inset:70px 0 0;background:rgba(0,40,20,.18);z-index:40}.twk-main{margin-left:0!important;width:100%!important;padding:15px}.twk-footer{margin-left:0;display:block}.o1-hero{height:270px}.o1-hero-copy{max-width:72%;left:20px;top:22px}.o1-hero-copy h1{font-size:34px}.o1-triple{grid-template-columns:1fr}.o1-metrics{grid-template-columns:1fr 1fr}.activity-table>div{grid-template-columns:1fr 1fr}.activity-table .th span:nth-child(2),.activity-table .th span:nth-child(4),.activity-table>div span:nth-child(2),.activity-table>div span:nth-child(4){display:none}.o1-features .feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.o1-metrics{grid-template-columns:1fr}.o1-hero-copy{max-width:78%}.o1-hero-copy h1{font-size:29px}.o1-hero-copy p{font-size:11px}.quick-grid{grid-template-columns:1fr}.o1-features .feature-grid{grid-template-columns:1fr}.twk-main-inner h1{font-size:30px!important}.twk-main-inner h2{font-size:22px!important}}
\n/* TWK OPTION 1 TRUE FINAL — structural shell fix */
body{overflow-x:hidden}
body.twk-member .twk-page-shell,body.twk-admin .twk-page-shell{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;width:100%;min-height:calc(100vh - 72px)}
body.twk-member .twk-page-shell>.twk-sidebar,body.twk-admin .twk-page-shell>.twk-sidebar{grid-column:1;grid-row:1;position:sticky!important;top:72px!important;margin:0!important;width:250px!important;max-height:none!important;height:auto!important;align-self:start;overflow:visible!important;border-radius:0 16px 16px 0}
body.twk-member .twk-page-shell>.twk-main,body.twk-admin .twk-page-shell>.twk-main{grid-column:2;grid-row:1;margin:0!important;width:auto!important;min-width:0;padding:22px 34px 50px!important}
body.twk-member .twk-footer,body.twk-admin .twk-footer{margin:0!important}
body.twk-member .twk-main-inner,body.twk-admin .twk-main-inner{max-width:none!important;margin:0!important}
body.twk-member .twk-static-sidebar,body.twk-admin .twk-static-sidebar{display:none!important}
body.twk-member .twk-static-header,body.twk-admin .twk-static-header{display:none!important}
/* public/auth pages */
body.twk-auth,body.twk-public{min-height:100vh}
body.twk-auth>header,body.twk-public>header{height:84px!important;background:#fff!important;border-bottom:2px solid var(--gold)!important;display:flex!important;align-items:center!important;padding:0 5%!important;gap:28px!important;box-shadow:0 5px 20px rgba(0,70,40,.06)!important}
body.twk-auth>header .brand,body.twk-public>header .brand{width:62px!important;height:62px!important;object-fit:contain!important;border-radius:50%!important;display:block!important}
body.twk-auth>header nav,body.twk-public>header nav{display:flex!important;gap:24px!important;margin-left:auto!important;align-items:center!important;flex-wrap:wrap}
body.twk-auth>header nav a,body.twk-public>header nav a{color:#244638!important;text-decoration:none!important;font-weight:700!important;font-size:13px!important}
body.twk-auth .section{max-width:620px!important;margin:44px auto!important;padding:0 22px!important}
body.twk-auth .section>.card{padding:28px!important}
body.twk-auth h2{font:700 42px Georgia,serif!important;color:var(--green)!important;margin:6px 0 22px!important}
body.twk-auth form input{width:100%!important;padding:12px!important;border:1px solid #cfe0d4!important;border-radius:9px!important;margin:6px 0 14px!important}
body.twk-public .section{max-width:1180px!important;margin:0 auto!important;padding:55px 30px!important}
body.twk-public .hero{min-height:480px!important;border-radius:0!important;position:relative!important;overflow:hidden!important;background:#f5faf5!important}
body.twk-public .hero-logo img{max-width:100%!important;object-fit:contain!important}
@media(max-width:820px){body.twk-member .twk-page-shell,body.twk-admin .twk-page-shell{display:block!important;min-height:0}.twk-page-shell>.twk-sidebar{position:fixed!important;top:70px!important;bottom:0!important;left:0!important;width:min(285px,84vw)!important;transform:translateX(-110%);overflow:auto!important;z-index:1001}.twk-page-shell>.twk-sidebar.open{transform:translateX(0)}body.twk-member .twk-page-shell>.twk-main,body.twk-admin .twk-page-shell>.twk-main{padding:15px!important;width:100%!important}.twk-footer{margin:0!important}.twk-page-shell>.twk-sidebar{transition:transform .22s ease}}


/* =========================================================
   TWK OPTION 1 — SHARP INTERNAL PAGES / CARD SYSTEM
   30 SEP 2026 — presentation layer only; data/logic untouched
   ========================================================= */

/* Member shell: sidebar travels naturally with the page on desktop. */
body.twk-member .twk-page-shell,body.twk-admin .twk-page-shell{
  grid-template-columns:248px minmax(0,1fr)!important;
  min-height:0!important;
  align-items:start!important;
}
body.twk-member .twk-page-shell>.twk-sidebar,body.twk-admin .twk-page-shell>.twk-sidebar{
  position:relative!important;
  top:auto!important;
  height:max-content!important;
  max-height:none!important;
  overflow:visible!important;
  align-self:start!important;
}
body.twk-member .twk-page-shell>.twk-main,body.twk-admin .twk-page-shell>.twk-main{
  padding:18px 28px 48px!important;
  min-width:0!important;
}

/* Internal pages use the available width instead of a narrow centered column. */
body.twk-member .twk-main-inner>section.section,body.twk-admin .twk-main-inner>section.section{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body.twk-member .twk-main-inner>section.section h1,
body.twk-member .twk-main-inner>section.section h2,
body.twk-admin .twk-main-inner>section.section h1,
body.twk-admin .twk-main-inner>section.section h2{
  margin:0 0 8px!important;
  line-height:1.08!important;
}
body.twk-member .twk-main-inner>section.section>.eyebrow:first-child,
body.twk-admin .twk-main-inner>section.section>.eyebrow:first-child{
  margin:2px 0 5px!important;
}

/* Common card rhythm */
body.twk-member .twk-main-inner .card,
body.twk-admin .twk-main-inner .card,
body.twk-member .twk-main-inner .income-card,
body.twk-admin .twk-main-inner .income-card{
  background:rgba(255,255,255,.97)!important;
  border:1px solid #dce8df!important;
  border-radius:15px!important;
  box-shadow:0 8px 22px rgba(12,72,45,.065)!important;
}
body.twk-member .twk-main-inner .cards,
body.twk-member .twk-main-inner .grid,
body.twk-member .twk-main-inner .income-grid,
body.twk-admin .twk-main-inner .cards,
body.twk-admin .twk-main-inner .grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
}
body.twk-member .twk-main-inner .cards>.card,
body.twk-member .twk-main-inner .grid>.card,
body.twk-admin .twk-main-inner .cards>.card,
body.twk-admin .twk-main-inner .grid>.card{
  margin:0!important;
  min-width:0!important;
}

/* Page title area */
body.twk-member .twk-main-inner .section>.eyebrow:first-child+h1,
body.twk-member .twk-main-inner .section>.eyebrow:first-child+h2,
body.twk-admin .twk-main-inner .section>.eyebrow:first-child+h1,
body.twk-admin .twk-main-inner .section>.eyebrow:first-child+h2{
  font-size:34px!important;
  color:var(--green)!important;
}

/* Income page — proper six-card layout + PSR card. */
.income-page-head{
  display:flex!important;justify-content:space-between;align-items:center;gap:18px;
  background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:15px;
  padding:18px 20px!important;margin-bottom:14px;box-shadow:var(--shadow);
}
.income-page-head h1{font-size:34px!important}.income-head-badge{background:#075f39;color:#fff;border:1px solid var(--gold);border-radius:14px;padding:10px 18px;text-align:center;font-weight:900;font-size:9px;letter-spacing:1px}.income-head-badge span{font-size:18px;letter-spacing:0}
.income-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.income-card{padding:17px!important;min-height:112px}
.income-label{font-size:10px;font-weight:900;letter-spacing:1.2px;color:#63766c}.income-value{font-size:22px;font-weight:900;color:var(--green);margin-top:10px}.income-note{font-size:10px;color:var(--muted);margin-top:4px}.income-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.income-section-head h3{margin:0;color:var(--green);font-size:17px}.income-section-head span{font-size:9px;color:var(--muted);font-weight:800}.level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.level-grid>*{border:1px solid var(--line);border-radius:11px;background:#f8fbf8;padding:12px}

/* Subscription / wallet / profile / transactions / MT5 cards */
.twk-membership-status{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#f4fff7!important;border:1px solid #16a05e!important;border-radius:15px!important;padding:18px 20px!important;margin:0 0 14px!important;box-shadow:var(--shadow)!important}.twk-membership-label{font-size:10px;font-weight:900;letter-spacing:2px;color:#62756a}.twk-membership-value{font-size:23px;font-weight:900;color:var(--green);margin-top:6px}.twk-membership-action{font-size:11px;font-weight:700;color:#385448;margin-top:3px}
.section.wrap>.hero{background:linear-gradient(135deg,#075d38,#0b8750)!important;border-radius:15px!important;padding:20px 22px!important;margin-bottom:14px!important;box-shadow:var(--shadow)!important}.section.wrap>.hero h1{color:#fff!important;font-size:30px!important}.section.wrap>.hero p{color:#e8f5ec!important}
.form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}.form .full{grid-column:1/-1}.form label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#385448}.form input,.form select,.form textarea{width:100%!important}
.table-wrap,.scroll{overflow:auto;border:1px solid var(--line);border-radius:11px;background:#fff}.table-wrap table,.scroll table{margin:0!important;border:0!important}
.telemetry-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px!important}.telemetry-card{background:#f8fbf8;border:1px solid var(--line);border-radius:11px;padding:12px!important}.telemetry-card small{display:block;color:var(--muted);font-size:9px}.telemetry-card strong{display:block;color:var(--green);font-size:18px;margin-top:5px}

/* Dashboard sharpness: compact option-1 proportions and remove duplicate text over hero artwork. */
.twk-dashboard-page .o1-top-grid{grid-template-columns:minmax(0,1.72fr) minmax(300px,.82fr)!important;gap:16px!important}.twk-dashboard-page .o1-hero{height:300px!important}.twk-dashboard-page .o1-hero-copy{left:25px!important;top:22px!important;max-width:42%!important}.twk-dashboard-page .o1-hero-copy h1{font-size:34px!important;line-height:1.03!important}.twk-dashboard-page .o1-hero-copy p{font-size:11px!important;max-width:300px}.twk-dashboard-page .o1-live{padding:18px!important}.twk-dashboard-page .o1-live .card-title h2{font-size:16px!important}.twk-dashboard-page .summary{min-height:140px!important;padding:15px!important}.twk-dashboard-page .summary .value{font-size:18px!important}

/* Prevent giant typography from older page CSS from breaking the new cards. */
body.twk-member .twk-main-inner h1,body.twk-member .twk-main-inner h2,body.twk-member .twk-main-inner h3,body.twk-admin .twk-main-inner h1,body.twk-admin .twk-main-inner h2,body.twk-admin .twk-main-inner h3{overflow-wrap:anywhere}

@media(max-width:1100px){.income-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.twk-dashboard-page .o1-top-grid{grid-template-columns:1fr!important}.twk-dashboard-page .o1-hero-copy{max-width:52%!important}.form{grid-template-columns:1fr!important}.form .full{grid-column:auto!important}}
@media(max-width:820px){body.twk-member .twk-page-shell,body.twk-admin .twk-page-shell{display:block!important}.twk-page-shell>.twk-main{padding:14px!important}.twk-page-shell>.twk-sidebar{position:fixed!important;top:70px!important;bottom:0!important;left:0!important;z-index:1001!important}.income-grid{grid-template-columns:1fr!important}.income-page-head{align-items:flex-start;flex-direction:column}.income-head-badge{align-self:flex-start}.twk-dashboard-page .o1-hero{height:260px!important}.twk-dashboard-page .o1-hero-copy{max-width:58%!important;left:18px!important}.twk-dashboard-page .o1-hero-copy h1{font-size:28px!important}}


/* =========================================================
   TWK OPTION 1 — FINAL SHARP HERO + PSR PRESENTATION
   30 SEP 2026 — presentation only
   ========================================================= */
.twk-dashboard-page .o1-top-grid{grid-template-columns:minmax(0,1.68fr) minmax(315px,.86fr)!important;gap:16px!important;align-items:stretch!important}
.twk-dashboard-page .o1-hero{height:270px!important;border-radius:17px!important;background:#f8fbf7!important}
.twk-dashboard-page .o1-hero>img{object-fit:cover!important;object-position:center!important;filter:none!important}
.twk-dashboard-page .o1-hero-overlay{background:linear-gradient(90deg,rgba(255,255,255,.02) 0%,rgba(255,255,255,.00) 58%,rgba(255,255,255,.04) 100%)!important}
.twk-dashboard-page .o1-hero-copy{left:22px!important;top:18px!important;max-width:36%!important;color:#075d38!important;pointer-events:none!important}
.twk-dashboard-page .o1-hero-copy .kicker{font-size:8px!important;letter-spacing:2.2px!important;text-shadow:0 1px 2px rgba(255,255,255,.9)}
.twk-dashboard-page .o1-hero-copy .hero-member-name{display:inline-block!important;margin-top:3px!important;padding:7px 14px!important;border:1px solid rgba(215,174,59,.85)!important;border-radius:999px!important;background:rgba(255,255,255,.91)!important;color:#087a46!important;font:700 22px/1.05 Georgia,serif!important;box-shadow:0 5px 16px rgba(12,72,45,.08)!important;max-width:100%!important;overflow-wrap:anywhere!important}
.twk-dashboard-page .o1-hero-copy p{font-size:10.5px!important;line-height:1.3!important;margin:7px 0 0!important;max-width:250px!important;color:#315443!important;text-shadow:0 1px 2px rgba(255,255,255,.9)}
.twk-dashboard-page .o1-hero-copy .chips{margin-top:8px!important}
.twk-dashboard-page .o1-hero-copy .chips span{padding:5px 8px!important;font-size:8px!important;background:rgba(255,255,255,.9)!important}
.twk-dashboard-page .o1-live{min-height:270px!important;padding:18px 19px!important}
.twk-dashboard-page .o1-live .card-title h2{font-size:17px!important;line-height:1.08!important}
.twk-dashboard-page .o1-metrics{gap:14px!important;margin-top:2px!important}
.twk-dashboard-page .summary{min-height:132px!important;padding:15px!important}
.twk-dashboard-page .summary .value{font-size:18px!important;line-height:1.15!important}
.twk-dashboard-page .o1-triple{gap:14px!important}
.twk-dashboard-page .o1-bottom{gap:14px!important}
.psr-income-card{border-top:3px solid #d7ae3b!important}
.psr-income-card .income-value{color:#087a46!important}

@media(max-width:1100px){.twk-dashboard-page .o1-top-grid{grid-template-columns:1fr!important}.twk-dashboard-page .o1-hero{height:280px!important}.twk-dashboard-page .o1-hero-copy{max-width:42%!important}}
@media(max-width:820px){.twk-dashboard-page .o1-hero{height:255px!important}.twk-dashboard-page .o1-hero-copy{left:16px!important;top:16px!important;max-width:52%!important}.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:18px!important}.twk-dashboard-page .o1-hero-copy p{font-size:9px!important;max-width:210px!important}}
@media(max-width:520px){.twk-dashboard-page .o1-hero{height:235px!important}.twk-dashboard-page .o1-hero-copy{max-width:56%!important}.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:16px!important;padding:6px 10px!important}.twk-dashboard-page .o1-hero-copy p{display:none!important}.twk-dashboard-page .o1-hero-copy .chips{margin-top:8px!important}}


/* FINAL OVERRIDE: Option 1 hero artwork stays unobstructed; welcome name sits in the clear center area. */
body.twk-dashboard-page .o1-top-grid{grid-template-columns:minmax(0,1.72fr) minmax(315px,.82fr)!important;align-items:stretch!important}
body.twk-dashboard-page .o1-hero{height:270px!important;overflow:hidden!important}
body.twk-dashboard-page .o1-hero>img{object-fit:cover!important;object-position:center center!important}
body.twk-dashboard-page .o1-hero-copy{left:50%!important;top:58%!important;transform:translate(-50%,-50%)!important;max-width:46%!important;width:max-content!important;text-align:center!important}
body.twk-dashboard-page .o1-hero-copy .kicker{display:none!important}
body.twk-dashboard-page .o1-hero-copy .hero-member-name{display:inline-block!important;font-size:21px!important;line-height:1.05!important;padding:7px 18px!important;background:rgba(255,255,255,.94)!important;border:1px solid rgba(215,174,59,.9)!important;color:#087a46!important;border-radius:999px!important;box-shadow:0 5px 18px rgba(12,72,45,.10)!important;white-space:nowrap!important}
body.twk-dashboard-page .o1-hero-copy p{display:none!important}
body.twk-dashboard-page .o1-hero-copy .chips{display:none!important}
body.twk-dashboard-page .o1-live{height:270px!important}
body.twk-dashboard-page .o1-metrics{margin-top:0!important}
@media(max-width:1100px){body.twk-dashboard-page .o1-top-grid{grid-template-columns:1fr!important}body.twk-dashboard-page .o1-hero{height:280px!important}}
@media(max-width:820px){body.twk-dashboard-page .o1-hero{height:255px!important}body.twk-dashboard-page .o1-hero-copy{top:61%!important;max-width:70%!important}body.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:18px!important}}
@media(max-width:520px){body.twk-dashboard-page .o1-hero{height:230px!important}body.twk-dashboard-page .o1-hero-copy{top:61%!important;max-width:80%!important}body.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:16px!important;padding:6px 12px!important}}

/* =========================================================
   30 SEP 2026 — FOCUSED INTERNAL-PAGE POLISH
   Presentation only. Existing data/query logic remains intact.
   ========================================================= */
body.twk-member .twk-main-inner>section.section{max-width:1180px!important}

/* Settings: use the available horizontal space; no large blank right area. */
.settings-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important;margin-top:18px!important}
.setting-card{min-height:205px!important;padding:20px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:15px!important;box-shadow:var(--shadow)!important}
.setting-card h3{font-size:18px!important;color:var(--green)!important;margin:0 0 8px!important}.setting-card p{font-size:11px!important;line-height:1.5!important}.setting-card .btn{align-self:flex-start!important}

/* Referral page: summary is already data-driven; turn each block into a clean card. */
.twk-wrap{max-width:1180px!important;margin:0 auto!important;padding:0 0 40px!important}.twk-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}.twk-card{background:#fff!important;border:1px solid var(--line)!important;border-radius:15px!important;box-shadow:var(--shadow)!important;padding:18px!important}.twk-card h3{color:var(--green)!important;margin:0 0 10px!important;font-size:16px!important}.twk-stat{font-size:25px!important;font-weight:900!important;color:var(--green)!important}.twk-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;background:#fff}.twk-table{width:100%;border-collapse:collapse}.twk-table th,.twk-table td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;font-size:11px}.twk-table th{background:#f5faf6;color:#496457;font-weight:900}.twk-wrap>.twk-card{margin-top:14px!important}

/* Invoice page: invoice + next bill sit side-by-side. */
#rows{grid-template-columns:repeat(2,minmax(0,1fr))!important}.invoice-card{height:100%;display:flex;flex-direction:column}.invoice-card .btn{margin-top:auto;align-self:flex-start}.next-bill-card{border-top:3px solid var(--gold)!important;background:linear-gradient(180deg,#fffdf5,#fff)!important}

/* MT5: clearer hierarchy and compact telemetry cards. */
#telemetryCard{margin-top:16px!important}.telemetry-meta{font-size:11px!important;color:var(--muted)!important;margin-top:5px}.telemetry-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}.telemetry-card{min-height:88px!important;display:flex;flex-direction:column;justify-content:center}.telemetry-card strong{font-size:20px!important}.telemetry-table{width:100%;border-collapse:collapse;background:#fff}.telemetry-table th{background:#f4faf5;color:#496457;font-size:10px}.telemetry-table td,.telemetry-table th{padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}

/* Profit Share: title and reserve floor live in the same premium header. */
.psr-hero-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important}.psr-title-block{min-width:0}.psr-floor-card{min-width:230px;padding:14px 16px!important;border:1px solid rgba(240,203,89,.55)!important;border-radius:13px!important;background:rgba(255,255,255,.12)!important;text-align:right}.psr-floor-card small{display:block;color:#f0cb59;font-size:9px;font-weight:900;letter-spacing:1.5px}.psr-floor-card strong{display:block;color:#fff;font-size:25px;margin-top:4px}

/* Notification: consistent focused cards instead of loose text. */
#list{display:grid;gap:14px}.notification-item,.item{background:#fff!important;border:1px solid var(--line)!important;border-radius:15px!important;box-shadow:var(--shadow)!important;padding:18px!important}.item h3{color:var(--green)!important;margin:0 0 6px!important}.item.unread{border-left:4px solid var(--gold)!important}.poster{display:block;max-width:min(100%,560px)!important;margin:12px 0;border-radius:12px!important;border:1px solid var(--line)!important}

/* Education: content stays aligned and topic cards feel interactive. */
body.twk-member .hero{max-width:1180px!important;margin:0 auto 18px!important;border-radius:17px!important}.highlights{max-width:1180px!important;margin:0 auto 18px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.highlights>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px!important;box-shadow:var(--shadow)!important}.twk-clickable-info{cursor:pointer}.twk-clickable-info:focus{outline:2px solid var(--gold);outline-offset:2px}

/* Focused information modal — same visual language as the Education package popup. */
.twk-focus-modal{position:fixed;inset:0;background:rgba(15,67,46,.58);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center;padding:22px;z-index:9999}.twk-focus-modal.show{display:flex}.twk-focus-box{width:min(640px,94vw);max-height:min(82vh,700px);overflow:auto;background:#fff;border:1px solid var(--gold);border-radius:20px;box-shadow:0 25px 70px rgba(0,0,0,.2);padding:28px;position:relative}.twk-focus-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:28px;color:#587267;cursor:pointer}.twk-focus-eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:900;color:var(--gold);margin-bottom:7px}.twk-focus-box h2{font:700 30px Georgia,serif;color:var(--green);margin:0 35px 14px 0}.twk-focus-box p{font-size:13px;line-height:1.65;color:#41584d}.twk-focus-note{padding:12px 14px;background:#f4faf5;border:1px solid var(--line);border-radius:11px;color:#597066;font-size:11px;margin-top:14px}.twk-focus-box .btn{margin-top:16px}.twk-modal-open{overflow:hidden}

/* Responsive */
@media(max-width:1100px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.twk-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.telemetry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.highlights{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){.settings-grid,.twk-grid,#rows{grid-template-columns:1fr!important}.telemetry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.highlights{grid-template-columns:1fr 1fr!important}.psr-hero-row{align-items:flex-start!important;flex-direction:column!important}.psr-floor-card{width:100%;text-align:left}.twk-focus-box{padding:22px}.twk-focus-box h2{font-size:25px}}
@media(max-width:520px){.highlights{grid-template-columns:1fr!important}.telemetry-grid{grid-template-columns:1fr 1fr!important}.twk-wrap{padding:0 0 28px!important}}

/* Invoice focused layout */
.invoice-page{max-width:1180px!important}.invoice-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:14px;align-items:start}.invoice-section-label{font-size:10px;font-weight:900;letter-spacing:2px;color:var(--gold);margin:4px 0 9px}.next-bill-date{font:700 30px Georgia,serif;color:var(--green);margin:10px 0}.invoice-layout #rows{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:900px){.invoice-layout{grid-template-columns:1fr}.invoice-layout #rows{grid-template-columns:1fr!important}}

/* Order cards */
.orders-wrap{max-width:1180px!important}.orders-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-card{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);padding:18px}.order-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px}.order-no{font-weight:900;color:var(--green);font-size:13px;margin-top:5px;overflow-wrap:anywhere}.label{display:block;font-size:9px;font-weight:900;letter-spacing:1.5px;color:#6a7c73}.badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eaf7ee;color:var(--green);font-size:9px;font-weight:900}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.order-grid>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:#f9fcf9}.order-grid .value{font-size:12px;font-weight:800;color:#244638;margin-top:5px;overflow-wrap:anywhere}.order-card .action{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.twk-focus-rows{display:grid;gap:8px}.twk-focus-row{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:12px;padding:10px 12px;background:#f6faf7;border:1px solid var(--line);border-radius:10px}.twk-focus-row span{color:#64776d;font-size:10px;font-weight:800}.twk-focus-row b{color:var(--ink);font-size:11px;overflow-wrap:anywhere}
@media(max-width:900px){.orders-list{grid-template-columns:1fr}}
@media(max-width:520px){.order-grid{grid-template-columns:1fr}.twk-focus-row{grid-template-columns:1fr}}


/* =========================================================
   TWK FINAL FOCUSED PASS — 30 SEP 2026
   Header / dashboard / internal cards / focus navigation
   ========================================================= */
/* Compact member header: logo + name together, all on one clean line. */
body.twk-member>header.twk-header,body.twk-admin>header.twk-header{
  height:64px!important;padding:6px 18px!important;gap:10px!important;
}
body.twk-member .twk-menu-btn,body.twk-admin .twk-menu-btn{width:40px!important;height:40px!important}
body.twk-member .twk-brand,body.twk-admin .twk-brand{display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important}
body.twk-member .twk-brand img,body.twk-admin .twk-brand img{width:48px!important;height:48px!important}
.twk-brand-copy{display:flex;flex-direction:column;line-height:1.02;white-space:nowrap}
.twk-brand-copy b{font-size:11px;letter-spacing:1.25px;color:#075d38}
.twk-brand-copy small{font-size:7px;letter-spacing:1.8px;color:#b18413;margin-top:3px;font-weight:900}
body.twk-member .twk-top-nav,body.twk-admin .twk-top-nav{gap:2px!important}
body.twk-member .twk-top-nav a,body.twk-admin .twk-top-nav a{padding:7px 8px!important;font-size:11px!important}
body.twk-member .twk-header-right,body.twk-admin .twk-header-right{gap:7px!important}
body.twk-member .twk-user-badge,body.twk-admin .twk-user-badge{width:38px!important;height:38px!important}
body.twk-member .twk-header-logout,body.twk-admin .twk-header-logout{padding:8px 11px!important;font-size:10px!important}

/* One-line dashboard update strip. */
body.twk-dashboard-page .twk-notify{
  min-height:58px!important;height:58px!important;padding:9px 14px!important;
  display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:14px!important;
}
body.twk-dashboard-page .twk-notify>div{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
body.twk-dashboard-page .twk-notify .kicker{margin:0!important;white-space:nowrap!important}
body.twk-dashboard-page .twk-notify h2{font-size:15px!important;white-space:nowrap!important;margin:0!important}
body.twk-dashboard-page .twk-notify p{margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:10px!important}
body.twk-dashboard-page .notify-badge{width:25px!important;height:25px!important}

/* Welcome card: preserve the original bull/bear artwork, but make the member content readable and separate. */
body.twk-dashboard-page .o1-hero{height:286px!important;position:relative!important;overflow:hidden!important}
body.twk-dashboard-page .o1-hero>img{object-fit:cover!important;object-position:center center!important;filter:saturate(1.02)!important}
body.twk-dashboard-page .o1-hero-overlay{background:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.00) 55%,rgba(255,255,255,.10) 100%)!important}
body.twk-dashboard-page .o1-hero-copy{
  left:22px!important;top:auto!important;bottom:20px!important;transform:none!important;width:min(365px,47%)!important;max-width:47%!important;
  padding:13px 15px!important;text-align:left!important;border:1px solid rgba(215,174,59,.65)!important;border-radius:15px!important;
  background:rgba(255,255,255,.90)!important;box-shadow:0 10px 25px rgba(12,72,45,.12)!important;backdrop-filter:blur(4px)!important;
}
body.twk-dashboard-page .o1-hero-copy .kicker{display:block!important;font-size:7px!important;letter-spacing:2px!important;text-shadow:none!important;margin-bottom:3px!important}
body.twk-dashboard-page .o1-hero-copy .hero-member-name{
  display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  color:#087a46!important;font:700 24px/1.08 Georgia,serif!important;white-space:normal!important;max-width:100%!important;
}
body.twk-dashboard-page .o1-hero-copy p{display:block!important;font-size:10px!important;line-height:1.35!important;margin:6px 0 0!important;color:#315443!important;text-shadow:none!important;max-width:310px!important}
body.twk-dashboard-page .o1-hero-copy .chips{display:flex!important;margin-top:8px!important}
body.twk-dashboard-page .o1-hero-copy .chips span{padding:4px 7px!important;font-size:7px!important;background:#fff!important}

/* Team cards */
.team-summary-card{background:linear-gradient(135deg,#075d38,#0b8750)!important;color:#fff!important;border-color:#0a7c48!important}
.team-summary-card strong{font-size:26px!important;color:#fff!important}
.team-member-card{position:relative!important;overflow:hidden!important;min-height:170px!important;padding:18px!important}
.team-member-card:before{content:'TWK MEMBER';position:absolute;right:14px;top:14px;font-size:7px;letter-spacing:1.5px;color:#c69a20;font-weight:900}
.team-member-card h3{color:var(--green)!important;margin:0 0 13px!important;font-size:18px!important}
.team-member-card p{margin:7px 0!important}
.team-member-card .team-status{display:inline-flex!important;padding:5px 9px!important;border-radius:99px!important;background:#e8f7ed!important;color:var(--green)!important;font-size:9px!important;font-weight:900!important}

/* Profile cards */
.profile-layout-card{padding:20px!important}
.profile-photo-card{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;align-items:center!important;gap:24px!important}
.profile-photo-card .profile-photo-side{text-align:center!important}
.profile-photo-card .profile-photo-side .profile-photo-title{font-weight:900!important;font-size:15px!important;color:var(--ink)!important;margin:7px 0!important}
.profile-info-card{padding:18px!important}
.profile-info-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.profile-info-item{background:#f7fbf8!important;border:1px solid var(--line)!important;border-radius:11px!important;padding:11px 13px!important}
.profile-info-item small{display:block;color:var(--muted)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.6px!important}
.profile-info-item strong{display:block;color:var(--ink)!important;font-size:12px!important;margin-top:5px!important;overflow-wrap:anywhere!important}
.profile-history-card{padding:18px!important}

/* MT5 binding: clear two-stage layout + telemetry emphasis. */
.mt5-binding-card{padding:20px!important}
.mt5-binding-card .notice{background:#f4faf6!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:13px!important;line-height:1.5!important}
.mt5-current-card{padding:18px!important}
.mt5-binding-item{background:#f8fbf8!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:13px!important;margin:8px 0!important}
.mt5-binding-item .pill{display:inline-flex!important;margin-top:5px!important}
#telemetryCard{border-top:3px solid var(--gold)!important}
#telemetryCard h2{margin-bottom:4px!important}
#tPositions,#tDeals{margin-top:10px!important}

/* Focused navigation modal — opened when a member sidebar item is clicked. */
.twk-focus-modal{z-index:10050!important;background:rgba(15,67,46,.62)!important;backdrop-filter:blur(7px)!important;padding:18px!important}
.twk-focus-box{width:min(1040px,96vw)!important;max-height:88vh!important;padding:24px!important;border-radius:20px!important}
.twk-focus-box .twk-focus-content{max-height:72vh;overflow:auto;padding-right:3px}
.twk-focus-box .twk-focus-content>.twk-main-inner,.twk-focus-box .twk-focus-content>.section{max-width:none!important}
.twk-focus-box .twk-focus-content .twk-sidebar,.twk-focus-box .twk-focus-content .twk-footer{display:none!important}
.twk-focus-box .twk-focus-content .twk-page-shell{display:block!important;min-height:0!important}
.twk-focus-box .twk-focus-content .twk-main{margin:0!important;width:100%!important;padding:0!important}
.twk-focus-box .twk-focus-content .twk-main-inner{max-width:none!important;margin:0!important}
.twk-focus-box .twk-focus-content .twk-main-inner>section.section{max-width:none!important}
.twk-focus-nav-note{margin-top:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f6faf7;color:var(--muted);font-size:10px}

/* Make tables and rows feel like focused information cards. */
table tbody tr.twk-clickable-info{cursor:pointer;transition:background .15s ease,transform .15s ease}
table tbody tr.twk-clickable-info:hover{background:#f3faf5!important}

@media(max-width:1100px){
  .twk-brand-copy{display:none}
  body.twk-dashboard-page .o1-hero-copy{width:52%!important;max-width:52%!important}
  .profile-photo-card{grid-template-columns:1fr!important;text-align:center!important}
}
@media(max-width:820px){
  body.twk-member>header.twk-header{height:60px!important;padding:5px 10px!important}
  body.twk-member .twk-brand img{width:44px!important;height:44px!important}
  body.twk-member .twk-top-nav{display:none!important}
  body.twk-member .twk-header-profile .twk-header-user-text{display:none!important}
  body.twk-member .twk-header-logout{display:none!important}
  body.twk-dashboard-page .twk-notify{height:54px!important;min-height:54px!important;grid-template-columns:1fr auto!important}
  body.twk-dashboard-page .twk-notify>div{gap:7px!important}
  body.twk-dashboard-page .twk-notify .kicker{display:none!important}
  body.twk-dashboard-page .twk-notify p{display:none!important}
  body.twk-dashboard-page .twk-notify h2{font-size:14px!important}
  body.twk-dashboard-page .o1-hero{height:260px!important}
  body.twk-dashboard-page .o1-hero-copy{left:14px!important;bottom:14px!important;width:60%!important;max-width:60%!important;padding:11px!important}
  body.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:19px!important}
  .profile-info-grid{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  body.twk-dashboard-page .o1-hero{height:235px!important}
  body.twk-dashboard-page .o1-hero-copy{width:72%!important;max-width:72%!important}
  body.twk-dashboard-page .o1-hero-copy p{display:none!important}
  .twk-focus-box{padding:18px!important}
}
.profile-photo-content{min-width:0}.profile-photo-content h3{margin:0 0 8px!important;color:var(--green)!important;font-size:19px!important}.profile-photo-content p{line-height:1.5!important}.profile-photo-content input{max-width:100%!important}.profile-photo-content .btn{margin-top:8px!important}


/* =========================================================
   TWK FINAL HEADER + FOCUSED SIDEBAR RECOVERY — 30 SEP 2026
   Surgical UI fix: no data/business logic changes.
   ========================================================= */
body.twk-member .twk-static-header,body.twk-admin .twk-static-header{
  min-height:64px!important;height:64px!important;padding:7px 18px!important;
  display:flex!important;align-items:center!important;gap:18px!important;
}
body.twk-member .twk-static-brand,body.twk-admin .twk-static-brand{
  display:flex!important;align-items:center!important;gap:9px!important;
  flex:0 0 auto!important;text-decoration:none!important;
}
body.twk-member .twk-static-brand img,body.twk-admin .twk-static-brand img{width:46px!important;height:46px!important;object-fit:contain!important}
.twk-static-brand-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.05!important;white-space:nowrap!important}
.twk-static-brand::after{content:"TRADE WITH KAUSSIK\A XAUUSD TRADING";white-space:pre;display:block!important;line-height:1.05!important;font-size:10px!important;letter-spacing:1.15px!important;color:#075d38!important;font-weight:900!important}
.twk-static-brand::after{padding-top:1px!important}

.twk-static-brand-copy b{font-size:10px!important;letter-spacing:1.15px!important;color:#075d38!important;font-weight:900!important}
.twk-static-brand-copy small{font-size:7px!important;letter-spacing:1.65px!important;color:#b18413!important;font-weight:900!important;margin-top:3px!important}
body.twk-member .twk-static-nav,body.twk-admin .twk-static-nav{flex:1 1 auto!important;justify-content:center!important;min-width:0!important}
body.twk-member .twk-static-user,body.twk-admin .twk-static-user{margin-left:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:132px!important;justify-content:flex-end!important}
body.twk-member .twk-static-user>b,body.twk-member .twk-static-user span b,body.twk-admin .twk-static-user span b{font-size:11px!important;color:#164e38!important}
body.twk-member .twk-static-user small,body.twk-admin .twk-static-user small{font-size:7px!important;color:#6b7d73!important;display:block!important;margin-top:2px!important}
/* Clean hero: artwork stays visible; personal name is now in the header. */
body.twk-dashboard-page .o1-hero-copy{left:22px!important;bottom:18px!important;width:min(305px,42%)!important;max-width:42%!important;padding:11px 14px!important}
body.twk-dashboard-page .o1-hero-copy .hero-member-name{font-size:25px!important;letter-spacing:.2px!important}
body.twk-dashboard-page .o1-hero-copy p{font-size:9px!important}
/* Restore true focused navigation: the static member sidebar is the active sidebar. */
@media(min-width:821px){
  .twk-static-sidebar a{position:relative!important}
  .twk-static-sidebar a:hover{background:#f1faf4!important}
}
@media(max-width:820px){
  body.twk-member .twk-static-header{height:60px!important;min-height:60px!important;padding:5px 10px!important;gap:8px!important}
  body.twk-member .twk-static-brand img{width:42px!important;height:42px!important}
  .twk-static-brand-copy{display:none!important}
  .twk-static-brand::after{display:none!important}
  body.twk-member .twk-static-user{min-width:0!important}
  body.twk-member .twk-static-user span b{font-size:10px!important}
  body.twk-member .twk-static-user span small{display:none!important}
  body.twk-dashboard-page .o1-hero-copy{left:12px!important;bottom:12px!important;width:64%!important;max-width:64%!important}
}

/* ===== SOURCE: twk-option1-wallet-dashboard-fix.css ===== */
/* TWK Option 1 — Wallet + Dashboard surgical correction — 30 Sep 2026 */
/* Presentation only; no existing theme colors changed. */

/* Dashboard: compact scrolling notification ticker at the top. */
body.twk-dashboard-page .twk-notify{min-height:48px!important;height:48px!important;padding:0 16px!important;display:flex!important;align-items:center!important;overflow:hidden!important;gap:14px!important}
body.twk-dashboard-page .twk-notify .ticker-label{flex:0 0 auto;display:flex;align-items:center;gap:8px;white-space:nowrap}
body.twk-dashboard-page .twk-notify .ticker-label .kicker{margin:0!important}
body.twk-dashboard-page .twk-notify .ticker-window{position:relative;flex:1 1 auto;overflow:hidden;height:30px;display:flex;align-items:center}
body.twk-dashboard-page .twk-notify .ticker-track{display:inline-flex;align-items:center;gap:55px;white-space:nowrap;will-change:transform;animation:twkTickerMove 24s linear infinite}
body.twk-dashboard-page .twk-notify .ticker-item{font-size:12px;font-weight:700;color:#315443;white-space:nowrap}
body.twk-dashboard-page .twk-notify .ticker-item strong{color:#087a46;margin-right:7px}
body.twk-dashboard-page .twk-notify .notify-badge{flex:0 0 auto}
@keyframes twkTickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Dashboard hero: member name sits below the TWK crown/logo, not over the bull. */
body.twk-dashboard-page .o1-hero-copy{left:50%!important;top:63%!important;transform:translate(-50%,-50%)!important;width:max-content!important;max-width:80%!important;text-align:center!important}
body.twk-dashboard-page .o1-hero-copy .hero-member-name{display:inline-block!important;margin:0!important;font-size:20px!important;line-height:1.05!important;padding:6px 18px!important;white-space:nowrap!important;background:rgba(255,255,255,.94)!important;border:1px solid rgba(215,174,59,.9)!important;border-radius:999px!important;color:#087a46!important;box-shadow:0 5px 18px rgba(12,72,45,.10)!important}

/* Wallet withdrawal action card. */
.twk-withdrawal-card{margin-top:20px!important;border-top:3px solid #d7ae3b!important}
.twk-withdrawal-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.twk-withdrawal-head h3{margin:0!important;color:#087a46!important}
.twk-withdrawal-note{font-size:11px!important;color:#496457!important;margin:6px 0 14px!important}
.twk-withdrawal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.twk-withdrawal-summary>div{border:1px solid #dce8df;border-radius:11px;padding:12px;background:#f7fbf8}
.twk-withdrawal-summary small{display:block;color:#64776c;font-size:9px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.twk-withdrawal-summary strong{display:block;color:#087a46;font-size:17px;margin-top:4px}
.twk-withdrawal-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.twk-withdrawal-form label{font-size:11px;font-weight:800;color:#315443}
.twk-withdrawal-form input{width:100%;box-sizing:border-box;margin-top:6px}
.twk-withdrawal-form .full{grid-column:1/-1}
.twk-withdrawal-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.twk-withdrawal-msg{font-size:11px;color:#496457}
.twk-withdrawal-modal-backdrop{position:fixed;inset:0;background:rgba(0,50,30,.42);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:18px;z-index:5000}
.twk-withdrawal-modal-backdrop.show{display:flex}
.twk-withdrawal-modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #d7ae3b;border-radius:18px;box-shadow:0 24px 70px rgba(0,50,30,.24);padding:24px}
.twk-withdrawal-modal h2{margin:0 0 6px;color:#087a46;font-family:Georgia,serif}
.twk-withdrawal-close{float:right;border:0;background:transparent;font-size:25px;color:#496457;cursor:pointer}
.twk-withdrawal-rule{padding:11px 13px;border-radius:10px;background:#f7fbf8;border:1px solid #dce8df;font-size:11px;color:#315443;margin:12px 0}
@media(max-width:700px){.twk-withdrawal-summary{grid-template-columns:1fr}.twk-withdrawal-form{grid-template-columns:1fr}.twk-withdrawal-form .full{grid-column:auto}body.twk-dashboard-page .twk-notify{height:52px!important}.twk-withdrawal-head{align-items:flex-start;flex-direction:column}}

/* ===== SOURCE: twk-admin-focused.css ===== */
:root{--twk-green:#087247;--twk-deep:#064c34;--twk-gold:#c99a22;--twk-soft:#f5faf7;--twk-line:#dfeae4;--twk-text:#17352a;--twk-muted:#6b7c73}
body{background:linear-gradient(180deg,#f7fbf8 0,#eef6f1 100%)!important;color:var(--twk-text)!important}
body>header,.twk-static-header{background:#fff!important;border-bottom:2px solid #d5aa31!important;box-shadow:0 5px 18px rgba(0,60,40,.08)!important;min-height:72px!important}
header nav,.twk-static-nav{gap:7px!important;align-items:center!important;flex-wrap:wrap!important}
header nav a,.twk-static-nav a{border-radius:12px!important;padding:9px 11px!important;font-weight:800!important;color:#164a36!important}
header nav a:hover,.twk-static-nav a:hover,header nav a.active,.twk-static-nav a.active{background:#e9f7ef!important;color:#087247!important}
.section,.wrap{max-width:1320px!important;margin:0 auto!important;padding:22px!important}
.section>h2,.wrap>h2{font-family:Georgia,serif!important;color:#087247!important;font-size:38px!important;margin:4px 0 18px!important}
.card,.panel,.stat,.mini,.twk-card{background:#fff!important;border:1px solid var(--twk-line)!important;border-radius:18px!important;box-shadow:0 8px 25px rgba(16,73,48,.07)!important}
.card{padding:20px!important}
.card h3,.card h2{color:#164a36!important}
.cards,.grid,.tools{gap:14px!important}
.cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
.grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
.card table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border:1px solid #e4eee8!important;border-radius:14px!important}
.card th{background:#edf8f1!important;color:#145a3d!important;font-weight:900!important}
.card td,.card th{padding:11px 12px!important;border-bottom:1px solid #e8efeB!important}
.card tr:last-child td{border-bottom:0!important}
input,select,textarea{border:1px solid #cfe0d7!important;border-radius:11px!important;background:#fff!important;padding:11px 12px!important;box-sizing:border-box!important}
.btn,.btnx{border-radius:11px!important;font-weight:900!important;border:1px solid #0b8050!important;background:#087247!important;color:#fff!important;padding:10px 14px!important}
.btn.outline{background:#fff!important;color:#087247!important}
.btn.gold{background:#c99a22!important;border-color:#c99a22!important;color:#fff!important}
.eyebrow,.kicker{color:#b37f08!important;letter-spacing:.2em!important;font-weight:900!important}
.twk-admin-hero{background-image:url("assets/twk-bull-bear-background.png"),linear-gradient(115deg,#064a32,#087247 55%,#063b2a)!important;background-size:cover,cover!important;background-position:center!important;border-radius:20px!important;padding:22px 26px!important;color:#fff!important;margin-bottom:16px!important;box-shadow:0 10px 30px rgba(0,70,45,.18)!important;position:relative;overflow:hidden}
.twk-admin-hero h1{font:800 38px Georgia,serif!important;margin:5px 0!important;color:#fff!important}
.twk-admin-hero p{margin:4px 0;color:#eaf8f0!important}
.twk-admin-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(150px,1fr))!important;gap:12px!important;margin:0 0 16px!important}
.twk-admin-kpi{background:#fff!important;border:1px solid var(--twk-line)!important;border-radius:16px!important;padding:16px!important;box-shadow:0 7px 20px rgba(16,73,48,.06)!important}
.twk-admin-kpi small{color:var(--twk-muted)!important;font-weight:800}.twk-admin-kpi strong{display:block;font-size:25px!important;color:#123f2d!important;margin-top:4px}.twk-admin-kpi span{font-size:12px!important;color:#087247!important;font-weight:800}
.twk-wallet-strip{display:grid!important;grid-template-columns:repeat(5,minmax(170px,1fr))!important;gap:12px!important}
.twk-wallet-card{border:1px solid #dcebe3!important;border-radius:15px!important;padding:15px!important;background:linear-gradient(145deg,#fff,#f5faf7)!important}
.twk-wallet-card strong{display:block;font-size:20px!important;margin-top:6px;color:#17352a!important}.twk-wallet-card small{color:#718078!important}
.twk-action-grid{display:grid!important;grid-template-columns:repeat(4,minmax(190px,1fr))!important;gap:12px!important}
.twk-action-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:15px 17px!important;border:1px solid #dcebe3!important;border-radius:14px!important;background:#fff!important;color:#17352a!important;text-decoration:none!important}
.twk-action-card b{color:#087247!important}.twk-action-card:hover{border-color:#c99a22!important;transform:translateY(-1px)}
.twk-withdraw-admin{border-left:5px solid #087247!important}
@media(max-width:1050px){.twk-admin-kpis{grid-template-columns:repeat(3,1fr)!important}.twk-wallet-strip{grid-template-columns:repeat(3,1fr)!important}.twk-action-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:700px){.section,.wrap{padding:12px!important}.section>h2,.wrap>h2{font-size:30px!important}.twk-admin-kpis,.twk-wallet-strip,.twk-action-grid{grid-template-columns:1fr!important}.twk-admin-hero h1{font-size:29px!important}header nav a{width:100%!important}.card{padding:15px!important}}

/* ===== CANONICAL MEMBER UI — REMOVE LEGACY FULL-PAGE BACKDROP ===== */
body.twk-canonical-ui::before{display:none!important;background:none!important;content:none!important;}
body.twk-canonical-ui{background:#f7fbf8!important;background-image:none!important;}
