/* 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}
}
