:root{
  --t2e-navy:#08162f;
  --t2e-navy-2:#0e2347;
  --t2e-blue:#1557d6;
  --t2e-blue-2:#2f80ed;
  --t2e-cyan:#19b7d8;
  --t2e-teal:#18a892;
  --t2e-gold:#d7a948;
  --t2e-gold-soft:#f4e5bd;
  --t2e-bg:#f4f7fb;
  --t2e-surface:#ffffff;
  --t2e-border:#e3e9f2;
  --t2e-ink:#12213a;
  --t2e-muted:#708096;
  --t2e-success:#159a6a;
  --t2e-danger:#d84b5b;
  --t2e-shadow:0 14px 38px rgba(9,31,67,.08);
  --t2e-shadow-soft:0 8px 24px rgba(9,31,67,.06);
  --t2e-radius:20px;
}

html,body{background:var(--t2e-bg)!important;color:var(--t2e-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body{min-height:100vh}
a{transition:.18s ease}

/* Shell */
.main-header{position:fixed!important;top:0!important;left:0;right:0;z-index:1040;height:64px!important;box-shadow:0 6px 24px rgba(6,22,48,.08)}
.main-header .logo{height:64px!important;line-height:64px!important;background:linear-gradient(135deg,var(--t2e-navy),var(--t2e-navy-2))!important;color:#fff!important;border-right:0!important;font-weight:800!important;letter-spacing:.02em}
.main-header .logo img{height:40px!important;width:40px!important;border-radius:12px!important;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.main-header .logo .logo-lg b{color:#fff}.main-header .logo .logo-lg{font-size:17px!important}
.main-header .navbar{margin-left:230px!important;min-height:64px!important;background:#fff!important;border:0!important}
.main-header .navbar .sidebar-toggle{padding:22px 20px!important;color:var(--t2e-navy)!important}
.main-header .navbar .nav>li>a{padding-top:20px!important;padding-bottom:20px!important;color:var(--t2e-navy)!important}
.main-header .navbar .user-image{width:30px!important;height:30px!important;margin-top:-4px!important;border:2px solid #e7edf6;object-fit:cover}
.main-sidebar{position:fixed!important;top:64px!important;background:linear-gradient(180deg,var(--t2e-navy),#071226)!important;box-shadow:8px 0 30px rgba(6,22,48,.10);padding-top:0!important}
.sidebar{padding-top:16px!important}
.user-panel{margin:0 14px 12px;padding:14px!important;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.035)}
.user-panel>.image>img{width:42px!important;height:42px!important;object-fit:cover;border:2px solid rgba(255,255,255,.15)}
.user-panel>.info{padding-left:14px!important}.user-panel>.info>p{color:#fff!important;margin-top:3px!important}.user-panel>.info>a{color:#79d7be!important}
.skin-blue .sidebar-menu>li.header{background:transparent!important;color:#7190bc!important;font-size:10px!important;letter-spacing:.16em!important;padding:16px 20px 8px!important;font-weight:800!important}
.skin-blue .sidebar-menu>li>a{color:#c9d7eb!important;border-left:0!important;margin:3px 10px!important;border-radius:12px!important;padding:12px 14px!important}
.skin-blue .sidebar-menu>li>a i{width:20px;color:#7fa0cd!important}
.skin-blue .sidebar-menu>li:hover>a,.skin-blue .sidebar-menu>li.active>a{background:linear-gradient(135deg,rgba(42,104,212,.30),rgba(23,183,216,.10))!important;color:#fff!important;border-left:0!important}
.skin-blue .sidebar-menu>li:hover>a i,.skin-blue .sidebar-menu>li.active>a i{color:var(--t2e-gold)!important}
.content-wrapper{padding-top:64px!important;background:var(--t2e-bg)!important;min-height:100vh!important}
.main-footer{background:#fff!important;border-top:1px solid var(--t2e-border)!important;color:var(--t2e-muted)!important;padding:18px 24px!important}

/* Headers */
.content-header{padding:28px 28px 8px!important}
.content-header>h1{font-size:25px!important;font-weight:800!important;color:var(--t2e-navy)!important;letter-spacing:-.02em}
.content-header>h1>small{display:block!important;margin-top:6px!important;font-size:12px!important;color:var(--t2e-muted)!important;font-weight:500!important}
.content{padding:18px 28px 34px!important}

/* Core surfaces */
.box{border:1px solid var(--t2e-border)!important;border-top:0!important;border-radius:var(--t2e-radius)!important;background:#fff!important;box-shadow:var(--t2e-shadow)!important;overflow:hidden!important}
.box-header{padding:18px 20px!important;border-bottom:1px solid #edf1f6!important;background:#fff!important}
.box-title{font-weight:800!important;color:var(--t2e-navy)!important;font-size:16px!important}
.box-body{padding:20px!important}

.btn{border-radius:12px!important;font-weight:700!important;border-width:1px!important;padding:9px 16px!important;transition:.18s ease!important;box-shadow:none!important}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--t2e-blue),var(--t2e-blue-2))!important;border-color:transparent!important;color:#fff!important;box-shadow:0 8px 18px rgba(21,87,214,.20)!important}
.btn-success{background:linear-gradient(135deg,#10865d,#20ad7e)!important;border-color:transparent!important;color:#fff!important}
.btn-warning{background:linear-gradient(135deg,#c6912d,var(--t2e-gold))!important;border-color:transparent!important;color:#111c30!important}
.btn-default{background:#fff!important;border-color:#dce4ef!important;color:var(--t2e-navy)!important}

.form-control{border:1px solid #dce4ef!important;border-radius:12px!important;min-height:44px;box-shadow:none!important;background:#fff!important;color:var(--t2e-ink)!important}
.form-control:focus{border-color:#6ea5f7!important;box-shadow:0 0 0 3px rgba(21,87,214,.08)!important}
label{color:#5e6f86;font-weight:700!important}

/* Premium hero */
.t2e-hero,.tn-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#07152d 0%,#0d2f63 54%,#0e5f86 100%)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:24px!important;color:#fff!important;padding:24px!important;box-shadow:0 18px 46px rgba(7,32,75,.18)!important}
.t2e-hero:after,.tn-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;top:-100px;background:radial-gradient(circle,rgba(215,169,72,.28),rgba(25,183,216,.08) 42%,transparent 72%);pointer-events:none}
.tn-hero h2{font-size:24px!important;font-weight:850!important;letter-spacing:-.02em}.tn-hero p{color:#d2deef!important}
.tn-hero img{height:74px!important;width:74px!important;border-radius:18px!important;background:#07152d!important;border:1px solid rgba(255,255,255,.12)!important;padding:0!important;object-fit:cover!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}
.tn-hero .actions{position:relative;z-index:2}.tn-hero .actions .btn{margin:3px!important}

/* KPI cards */
.tn-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:18px!important}
.tn-card{position:relative!important;background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:20px!important;padding:19px!important;box-shadow:var(--t2e-shadow-soft)!important;min-height:126px!important;overflow:hidden!important}
.tn-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(var(--t2e-blue),var(--t2e-cyan))}
.tn-card.gold{background:linear-gradient(145deg,#fffdf8,#fff7e5)!important;border-color:#eeddb3!important}
.tn-card.gold:before{background:linear-gradient(var(--t2e-gold),#f1c765)}
.tn-card .ico{float:right!important;width:42px!important;height:42px!important;border-radius:13px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#eaf2ff,#eefaff)!important;color:var(--t2e-blue)!important;font-size:18px!important}
.tn-card.gold .ico{background:#f8eaca!important;color:#a97512!important}
.tn-card .k{color:var(--t2e-muted)!important;font-size:11px!important;text-transform:uppercase!important;font-weight:800!important;letter-spacing:.07em!important}
.tn-card .v{font-size:25px!important;font-weight:850!important;margin:10px 0 3px!important;color:var(--t2e-navy)!important;letter-spacing:-.02em!important}
.tn-card .s{font-size:11px!important;color:#8a98aa!important}

/* quick actions */
.tn-section-title{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;margin:24px 0 11px!important}.tn-section-title h3{margin:0!important;font-size:18px!important;font-weight:850!important;color:var(--t2e-navy)!important}.tn-section-title small{color:var(--t2e-muted)!important}
.tn-quick{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.tn-quick a{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:16px!important;padding:15px!important;color:var(--t2e-navy)!important;display:flex!important;align-items:center!important;gap:11px!important;font-weight:750!important;box-shadow:var(--t2e-shadow-soft)!important}
.tn-quick a:hover{text-decoration:none!important;border-color:#aac6f1!important;color:var(--t2e-blue)!important;transform:translateY(-2px)}
.tn-quick i{width:38px!important;height:38px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#eaf2ff,#eefaff)!important;color:var(--t2e-blue)!important}

/* Tables */
.table-responsive,.box-body{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.table{background:#fff!important;margin-bottom:0!important;min-width:720px}
.table>thead>tr>th{background:#f5f8fc!important;color:#52647c!important;border-bottom:1px solid #dfe6ef!important;border-top:0!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;font-weight:800!important;padding:12px!important;white-space:nowrap!important}
.table>tbody>tr>td{vertical-align:middle!important;border-top:1px solid #edf1f6!important;padding:12px!important;color:#24354d!important}
.table>tbody>tr:hover{background:#f9fbfe!important}
.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_length select{border:1px solid #dbe4ef!important;border-radius:10px!important;padding:7px!important;background:#fff!important}
.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover{background:var(--t2e-blue)!important;border-color:var(--t2e-blue)!important}

/* Breadcrumbs */
.breadcrumb{background:transparent!important;padding:0 0 12px!important;margin:0!important}.breadcrumb>li+li:before{color:#9ba9ba!important}.breadcrumb a{color:var(--t2e-blue)!important}

/* User menu */
.navbar-nav>.user-menu>.dropdown-menu{border-radius:18px!important;overflow:hidden!important;border:1px solid var(--t2e-border)!important;box-shadow:0 16px 40px rgba(6,22,48,.16)!important}
.navbar-nav>.user-menu>.dropdown-menu>.user-header{background:linear-gradient(135deg,var(--t2e-navy),var(--t2e-navy-2))!important;height:auto!important;padding:20px!important}.navbar-nav>.user-menu>.dropdown-menu>.user-header>img{width:68px!important;height:68px!important;border:2px solid rgba(255,255,255,.22)!important;object-fit:cover}.navbar-nav>.user-menu>.dropdown-menu>.user-header>p{margin-top:8px!important}.navbar-nav>.user-menu>.dropdown-menu>.user-header>p>small{color:#cad8ea!important}

/* Premium login */
.t2e-login-page{min-height:calc(100vh - 120px);display:flex;align-items:center;justify-content:center;padding:28px 16px 42px;background:radial-gradient(circle at 10% 10%,rgba(47,128,237,.10),transparent 30%),radial-gradient(circle at 90% 20%,rgba(25,183,216,.09),transparent 30%),linear-gradient(180deg,#f7fafe,#eef4fb)}
.t2e-login-shell{width:min(1050px,100%);display:grid;grid-template-columns:1.08fr .92fr;border-radius:28px;overflow:hidden;background:#fff;border:1px solid rgba(213,224,238,.85);box-shadow:0 30px 70px rgba(7,32,75,.15)}
.t2e-login-brand{position:relative;min-height:620px;padding:44px;color:#fff;background:linear-gradient(145deg,#06142c 0%,#0b2d60 57%,#116d92 100%);overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.t2e-login-brand:before{content:"";position:absolute;width:390px;height:390px;border-radius:50%;right:-140px;top:70px;background:radial-gradient(circle,rgba(25,183,216,.40),rgba(21,87,214,.10) 48%,transparent 72%)}
.t2e-login-brand:after{content:"";position:absolute;width:300px;height:300px;right:-80px;bottom:-130px;border:1px solid rgba(255,255,255,.10);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018)}
.t2e-login-logo{position:relative;z-index:2;width:255px;max-width:80%;border-radius:18px;display:block;background:#fff;padding:8px 10px;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.t2e-login-brand-copy{position:relative;z-index:2;max-width:460px}.t2e-login-kicker{display:inline-flex;align-items:center;gap:8px;color:#f0cb79;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.t2e-login-kicker:before{content:"";width:28px;height:2px;background:var(--t2e-gold);border-radius:2px}.t2e-login-brand h1{font-size:42px;line-height:1.08;margin:16px 0 13px;font-weight:850;letter-spacing:-.035em}.t2e-login-brand h1 span{color:#74d7ee}.t2e-login-brand p{font-size:15px;line-height:1.7;color:#d5e2f2;margin:0}.t2e-login-points{position:relative;z-index:2;display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.t2e-login-points span{display:inline-flex;gap:7px;align-items:center;padding:9px 11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);border-radius:12px;color:#e8f1fb;font-size:11px}.t2e-login-points i{color:#f0cb79}
.t2e-login-form-wrap{padding:56px 48px;display:flex;align-items:center;background:#fff}.t2e-login-form{width:100%;max-width:390px;margin:auto}.t2e-login-form .brand-mobile{display:none}.t2e-login-form h2{font-size:30px;font-weight:850;color:var(--t2e-navy);margin:0 0 6px;letter-spacing:-.03em}.t2e-login-form .sub{color:var(--t2e-muted);line-height:1.55;margin-bottom:26px}.t2e-field{position:relative;margin-bottom:16px}.t2e-field label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px}.t2e-field .form-control{height:54px!important;padding-left:46px!important;border-radius:14px!important;background:#fbfdff!important}.t2e-field>i{position:absolute;left:16px;bottom:18px;color:#7390b8;font-size:16px}.t2e-login-btn{height:54px!important;border-radius:14px!important;font-size:15px!important;margin-top:7px!important}.t2e-secure{margin-top:16px;padding:12px 14px;border-radius:12px;background:#f4fbf9;color:#477264;font-size:11px;border:1px solid #d9eee7}.t2e-secure i{color:var(--t2e-success);margin-right:5px}.t2e-login-help{display:flex;justify-content:space-between;gap:10px;margin-top:16px;font-size:12px}.t2e-login-help a{color:var(--t2e-blue);font-weight:700}.t2e-login-brand-foot{position:relative;z-index:2;color:#98acc7;font-size:11px}

/* mobile bottom dock */
.t2e-mobile-dock{display:none}

/* Hide staging-only visual noise while retaining read-only logic */
.tn-preview-banner,.tn-readonly-note{display:none!important}
body.tn-preview{padding-top:0!important}

@media(max-width:1100px){
 .tn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .tn-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:767px){
 body{padding-bottom:72px!important}
 .main-header{height:58px!important}
 .main-header .logo{width:58px!important;height:58px!important;line-height:58px!important;padding:9px!important;background:linear-gradient(145deg,var(--t2e-navy),#0b2c5e)!important}
 .main-header .logo img{height:40px!important;width:40px!important;margin:0!important}.main-header .logo .logo-lg,.main-header .logo .logo-mini{display:none!important}
 .main-header .navbar{margin-left:58px!important;min-height:58px!important}.main-header .navbar .sidebar-toggle{padding:19px 16px!important}.main-header .navbar .nav>li>a{padding-top:17px!important;padding-bottom:17px!important}.main-header .navbar .nav>li>a .hidden-xs{display:none!important}
 .main-sidebar{top:58px!important;padding-top:0!important}
 .content-wrapper{padding-top:58px!important;margin-left:0!important}
 .content-header{padding:18px 14px 5px!important}.content-header>h1{font-size:21px!important}.content{padding:12px 12px 22px!important}
 .tn-hero{padding:17px!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important}.tn-hero h2{font-size:20px!important}.tn-hero img{height:60px!important;width:60px!important}.tn-hero .actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.tn-hero .actions .btn{width:100%!important;margin:0!important;font-size:11px!important;padding:9px 8px!important}
 .tn-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}.tn-card{padding:14px!important;min-height:110px!important;border-radius:16px!important}.tn-card .ico{width:34px!important;height:34px!important;font-size:15px!important}.tn-card .v{font-size:20px!important}.tn-card .k{font-size:9px!important}.tn-card .s{font-size:9px!important}
 .tn-section-title{margin:20px 2px 9px!important;align-items:flex-start!important}.tn-section-title h3{font-size:16px!important}.tn-section-title small{font-size:10px!important;text-align:right;max-width:45%}
 .tn-quick{grid-template-columns:1fr 1fr!important;gap:8px!important}.tn-quick a{padding:12px!important;border-radius:14px!important;font-size:11px!important}.tn-quick i{width:32px!important;height:32px!important;font-size:13px!important}
 .box{border-radius:16px!important}.box-header{padding:14px!important}.box-body{padding:12px!important}.box-title{font-size:14px!important}
 .btn{padding:8px 12px!important;font-size:12px!important}
 .table{min-width:680px!important;font-size:11px!important}.table>thead>tr>th,.table>tbody>tr>td{padding:10px!important}
 .main-footer{display:none!important}
 .t2e-mobile-dock{position:fixed;left:10px;right:10px;bottom:10px;height:60px;z-index:1050;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(215,225,237,.95);border-radius:19px;box-shadow:0 14px 36px rgba(7,32,75,.18);overflow:hidden}
 .t2e-mobile-dock a{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#71839b;font-size:9px;font-weight:800;text-decoration:none}.t2e-mobile-dock a i{font-size:16px}.t2e-mobile-dock a.active,.t2e-mobile-dock a:hover{color:var(--t2e-blue);background:#f3f7fe}
 .t2e-login-page{padding:0;min-height:100vh;align-items:stretch}.t2e-login-shell{display:block;border-radius:0;min-height:100vh;border:0;box-shadow:none;background:linear-gradient(180deg,#06152e 0,#0a2f64 31%,#f3f7fb 31%,#f3f7fb 100%)}.t2e-login-brand{display:none}.t2e-login-form-wrap{padding:30px 18px 24px;background:transparent;align-items:flex-start}.t2e-login-form{max-width:none;margin-top:16px;background:#fff;border-radius:24px;padding:22px 18px;box-shadow:0 18px 45px rgba(7,32,75,.18)}.t2e-login-form .brand-mobile{display:block;text-align:center;margin:-74px auto 22px}.t2e-login-form .brand-mobile img{width:95px;height:95px;object-fit:cover;border-radius:24px;border:4px solid #fff;box-shadow:0 14px 30px rgba(0,0,0,.18)}.t2e-login-form h2{text-align:center;font-size:26px}.t2e-login-form .sub{text-align:center;font-size:12px;margin-bottom:20px}.t2e-login-help{font-size:11px}
}

@media(max-width:420px){
 .tn-grid{grid-template-columns:1fr 1fr!important}.tn-quick{grid-template-columns:1fr 1fr!important}
 .tn-card .v{font-size:18px!important}.content-header>h1{font-size:19px!important}
}


/* v0.3.4 mobile dashboard and table polish */
.tn-kicker{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#f0cb79!important;font-size:11px!important;font-weight:850!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.tn-kicker:before{content:""!important;width:28px!important;height:2px!important;background:var(--t2e-gold)!important;border-radius:3px!important}
.tn-hero-mobile{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.tn-hero-main{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0!important}
.tn-hero-title{display:flex!important;align-items:center!important;gap:16px!important;min-width:0!important}
.tn-hero-title>div{min-width:0!important}
.tn-hero-mini{display:grid!important;grid-template-columns:repeat(3,minmax(110px,1fr))!important;gap:10px!important;position:relative!important;z-index:2!important}
.tn-hero-mini div{padding:12px 14px!important;border-radius:16px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.12)!important;backdrop-filter:blur(6px)!important}
.tn-hero-mini b{display:block!important;color:#fff!important;font-size:18px!important;line-height:1.1!important}
.tn-hero-mini span{display:block!important;color:#d6e4f2!important;font-size:11px!important;margin-top:4px!important}
.tn-mobile-table td .btn{white-space:nowrap!important}

@media(max-width:767px){
 .content-header{display:none!important}
 .content{padding:10px 10px 90px!important}
 .tn-hero-mobile{padding:16px!important;border-radius:18px!important;display:block!important}
 .tn-hero-title{align-items:flex-start!important}
 .tn-kicker{font-size:10px!important}
 .tn-hero h2{font-size:18px!important;margin:6px 0 4px!important}
 .tn-hero p{font-size:12px!important;line-height:1.5!important;margin:0!important}
 .tn-hero .actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:14px!important}
 .tn-hero .actions .btn{font-size:11px!important;padding:10px 8px!important;min-height:42px!important}
 .tn-hero-mini{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
 .tn-hero-mini div{padding:10px 9px!important;border-radius:14px!important}
 .tn-hero-mini b{font-size:16px!important}
 .tn-hero-mini span{font-size:10px!important}
 .tn-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}
 .tn-card{padding:13px!important;min-height:102px!important}
 .tn-card .v{font-size:18px!important;margin-top:8px!important}
 .tn-card .s{font-size:9px!important;line-height:1.35!important}
 .tn-quick{grid-template-columns:1fr 1fr!important;gap:8px!important}
 .tn-quick a{align-items:center!important;min-height:64px!important}
 .tn-mobile-table{min-width:0!important;width:100%!important}
 .tn-mobile-table thead{display:none!important}
 .tn-mobile-table,.tn-mobile-table tbody,.tn-mobile-table tr,.tn-mobile-table td{display:block!important;width:100%!important}
 .tn-mobile-table tr{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:16px!important;box-shadow:var(--t2e-shadow-soft)!important;padding:10px 12px!important;margin-bottom:10px!important}
 .tn-mobile-table td{border:0!important;padding:7px 0!important;min-height:24px!important}
 .tn-mobile-table td:before{content:attr(data-label)!important;display:block!important;font-size:10px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#708096!important;margin-bottom:2px!important}
 .tn-mobile-table td:last-child{padding-top:10px!important}
 .tn-mobile-table td:last-child .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .table-responsive{overflow-x:visible!important}
 .tn-mobile-table-wide td[data-label="Message"]{padding-right:0!important}
}


/* v0.3.5 - force native-like mobile layout on handset user agents, even in browser desktop mode */
html.t2e-handset, html.t2e-handset body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
body.t2e-handset{padding-bottom:78px!important;background:var(--t2e-bg)!important}
body.t2e-handset .main-header{height:58px!important;left:0!important;right:0!important}
body.t2e-handset .main-header .logo{width:58px!important;height:58px!important;line-height:58px!important;padding:9px!important;background:linear-gradient(145deg,var(--t2e-navy),#0b2c5e)!important}
body.t2e-handset .main-header .logo img{height:40px!important;width:40px!important;margin:0!important}
body.t2e-handset .main-header .logo .logo-lg,body.t2e-handset .main-header .logo .logo-mini{display:none!important}
body.t2e-handset .main-header .navbar{margin-left:58px!important;min-height:58px!important;width:calc(100% - 58px)!important}
body.t2e-handset .main-header .navbar .sidebar-toggle{padding:19px 16px!important}
body.t2e-handset .main-header .navbar .nav>li>a{padding-top:17px!important;padding-bottom:17px!important}
body.t2e-handset .main-header .navbar .nav>li>a .hidden-xs{display:none!important}
body.t2e-handset .main-sidebar{top:58px!important;padding-top:0!important;transform:translate(-230px,0)!important;-webkit-transform:translate(-230px,0)!important}
body.t2e-handset.sidebar-open .main-sidebar{transform:translate(0,0)!important;-webkit-transform:translate(0,0)!important}
body.t2e-handset .content-wrapper{padding-top:58px!important;margin-left:0!important;width:100%!important;min-height:100vh!important}
body.t2e-handset .content-header{display:none!important}
body.t2e-handset .content{padding:10px 10px 92px!important;width:100%!important;max-width:100%!important}
body.t2e-handset .tn-hero-mobile{padding:16px!important;border-radius:18px!important;display:block!important}
body.t2e-handset .tn-hero-title{display:flex!important;align-items:flex-start!important;gap:12px!important}
body.t2e-handset .tn-hero img{height:58px!important;width:58px!important;border-radius:16px!important;flex:0 0 58px!important}
body.t2e-handset .tn-kicker{font-size:9px!important;letter-spacing:.11em!important}
body.t2e-handset .tn-hero h2{font-size:18px!important;line-height:1.18!important;margin:5px 0 4px!important}
body.t2e-handset .tn-hero p{font-size:11px!important;line-height:1.45!important;margin:0!important}
body.t2e-handset .tn-hero-mini{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:12px!important}
body.t2e-handset .tn-hero-mini div{padding:9px 8px!important;border-radius:13px!important;min-width:0!important}
body.t2e-handset .tn-hero-mini b{font-size:16px!important}
body.t2e-handset .tn-hero-mini span{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.t2e-handset .tn-hero .actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:13px!important}
body.t2e-handset .tn-hero .actions .btn{width:100%!important;margin:0!important;min-height:42px!important;padding:9px 6px!important;font-size:10px!important}
body.t2e-handset .tn-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important;margin-bottom:14px!important}
body.t2e-handset .tn-card{padding:12px!important;min-height:104px!important;border-radius:16px!important}
body.t2e-handset .tn-card .ico{width:32px!important;height:32px!important;font-size:14px!important}
body.t2e-handset .tn-card .k{font-size:8px!important}
body.t2e-handset .tn-card .v{font-size:18px!important;margin:8px 0 2px!important}
body.t2e-handset .tn-card .s{font-size:8.5px!important;line-height:1.35!important}
body.t2e-handset .tn-section-title{margin:18px 2px 8px!important;align-items:flex-start!important}
body.t2e-handset .tn-section-title h3{font-size:15px!important}
body.t2e-handset .tn-section-title small{font-size:9px!important;text-align:right!important;max-width:45%!important}
body.t2e-handset .tn-quick{grid-template-columns:1fr 1fr!important;gap:8px!important}
body.t2e-handset .tn-quick a{padding:11px!important;border-radius:14px!important;font-size:10px!important;min-height:60px!important}
body.t2e-handset .tn-quick i{width:31px!important;height:31px!important;font-size:12px!important;flex:0 0 31px!important}
body.t2e-handset .box{border-radius:16px!important;box-shadow:var(--t2e-shadow-soft)!important}
body.t2e-handset .box-body{padding:10px!important;overflow-x:visible!important}
body.t2e-handset .tn-mobile-table{min-width:0!important;width:100%!important;background:transparent!important}
body.t2e-handset .tn-mobile-table thead{display:none!important}
body.t2e-handset .tn-mobile-table,body.t2e-handset .tn-mobile-table tbody,body.t2e-handset .tn-mobile-table tr,body.t2e-handset .tn-mobile-table td{display:block!important;width:100%!important}
body.t2e-handset .tn-mobile-table tr{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:15px!important;box-shadow:0 7px 20px rgba(9,31,67,.05)!important;padding:10px 12px!important;margin:0 0 9px!important}
body.t2e-handset .tn-mobile-table td{border:0!important;padding:6px 0!important;font-size:12px!important;min-width:0!important}
body.t2e-handset .tn-mobile-table td:before{content:attr(data-label)!important;display:block!important;font-size:8.5px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#7c8ca1!important;margin-bottom:2px!important}
body.t2e-handset .tn-mobile-table td:last-child{padding-top:9px!important}
body.t2e-handset .tn-mobile-table td .btn{font-size:11px!important;padding:8px 12px!important}
body.t2e-handset .table-responsive{overflow-x:visible!important}
body.t2e-handset .main-footer{display:none!important}
body.t2e-handset .t2e-mobile-dock{position:fixed!important;left:9px!important;right:9px!important;bottom:9px!important;height:61px!important;z-index:5000!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;align-items:center!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px)!important;border:1px solid rgba(215,225,237,.96)!important;border-radius:19px!important;box-shadow:0 14px 36px rgba(7,32,75,.22)!important;overflow:hidden!important}
body.t2e-handset .t2e-mobile-dock a{height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;color:#71839b!important;font-size:8.5px!important;font-weight:800!important;text-decoration:none!important}
body.t2e-handset .t2e-mobile-dock a i{font-size:16px!important}
body.t2e-handset .t2e-mobile-dock a.active,body.t2e-handset .t2e-mobile-dock a:hover{color:var(--t2e-blue)!important;background:#f3f7fe!important}


/* v0.3.7 - viewport-driven mobile app polish */
@media(max-width:767px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body{font-size:14px!important}
  .content-wrapper{width:100%!important;max-width:100%!important}
  .content{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important}
  .t2e-mobile-dock{display:grid!important}
  .main-sidebar{transform:translate(-230px,0)!important;-webkit-transform:translate(-230px,0)!important}
  .sidebar-open .main-sidebar{transform:translate(0,0)!important;-webkit-transform:translate(0,0)!important}

  /* Investor dashboard becomes a native-like stacked screen */
  .t2e-investor-dashboard .tn-hero{border-radius:20px!important}
  .t2e-investor-dashboard .box{border-radius:18px!important}
  .t2e-investor-dashboard .row>[class*="col-"]{width:100%!important;float:none!important}
  .t2e-investor-dashboard .form-horizontal .control-label{text-align:left!important;padding-top:0!important;margin-bottom:6px!important}
  .t2e-investor-dashboard .form-group{margin-left:0!important;margin-right:0!important}
  .t2e-investor-dashboard .form-control{width:100%!important;min-height:48px!important;border-radius:13px!important}
  .t2e-investor-dashboard .btn{min-height:42px!important}

  /* Transaction history: turn desktop table into readable cards */
  .t2e-mobile-card-table{min-width:0!important;width:100%!important;background:transparent!important}
  .t2e-mobile-card-table thead{display:none!important}
  .t2e-mobile-card-table,.t2e-mobile-card-table tbody,.t2e-mobile-card-table tr,.t2e-mobile-card-table td{display:block!important;width:100%!important}
  .t2e-mobile-card-table tr{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(9,31,67,.055)!important;padding:10px 12px!important;margin:0 0 10px!important}
  .t2e-mobile-card-table td{border:0!important;padding:7px 0!important;font-size:12px!important;min-width:0!important;white-space:normal!important}
  .t2e-mobile-card-table td:before{content:attr(data-label)!important;display:block!important;font-size:8.5px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#7b8b9f!important;margin-bottom:2px!important}
  .dataTables_wrapper .row{margin-left:0!important;margin-right:0!important}
  .dataTables_wrapper .col-sm-6,.dataTables_wrapper .col-sm-5,.dataTables_wrapper .col-sm-7{width:100%!important;float:none!important}
  .dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{text-align:left!important;margin-bottom:10px!important}
  .dataTables_wrapper .dataTables_paginate{text-align:center!important}
  .dataTables_wrapper .pagination{display:inline-flex!important;flex-wrap:wrap!important}
  .dataTables_wrapper .dataTables_info{text-align:center!important;padding:8px 0!important}

  /* Charts should not make the screen feel like a desktop report */
  .chart,.chart-responsive,canvas{max-width:100%!important}
  .box-body canvas{max-height:260px!important}

  /* Investment / withdrawal forms */
  .form-horizontal .form-group{margin-left:0!important;margin-right:0!important}
  .form-horizontal .control-label{width:100%!important;float:none!important;text-align:left!important;padding-top:0!important;margin-bottom:6px!important}
  .form-horizontal [class*="col-sm-"],.form-horizontal [class*="col-md-"]{width:100%!important;float:none!important}
  .form-control{min-height:48px!important;border-radius:13px!important}
  input[type="file"].form-control{height:auto!important;padding:10px!important}
  .modal-dialog{width:auto!important;margin:18px 12px!important}
  .modal-content{border-radius:20px!important;overflow:hidden!important}
  .modal-header,.modal-body,.modal-footer{padding:16px!important}
  .modal-footer{display:flex!important;justify-content:flex-end!important;gap:8px!important}
  .modal-footer .btn{margin:0!important}

  /* Reduce empty desktop spacing on inner pages */
  .content-header{padding:16px 12px 6px!important}
  .content-header>h1{font-size:21px!important}
  .box{margin-bottom:14px!important}
  .box-body{padding:14px!important}
}


/* v0.3.8 - dynamic DataTables/card fallback */
body.t2e-handset .t2e-mobile-card-table{min-width:0!important;width:100%!important;background:transparent!important}
body.t2e-handset .t2e-mobile-card-table thead{display:none!important}
body.t2e-handset .t2e-mobile-card-table,
body.t2e-handset .t2e-mobile-card-table tbody,
body.t2e-handset .t2e-mobile-card-table tr,
body.t2e-handset .t2e-mobile-card-table td{display:block!important;width:100%!important}
body.t2e-handset .t2e-mobile-card-table tr{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(9,31,67,.055)!important;padding:10px 12px!important;margin:0 0 10px!important}
body.t2e-handset .t2e-mobile-card-table td{border:0!important;padding:7px 0!important;font-size:12px!important;min-width:0!important;white-space:normal!important}
body.t2e-handset .t2e-mobile-card-table td:before{content:attr(data-label)!important;display:block!important;font-size:8.5px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.055em!important;color:#7b8b9f!important;margin-bottom:2px!important}
body.t2e-handset .dataTables_wrapper .dataTables_length,
body.t2e-handset .dataTables_wrapper .dataTables_filter{float:none!important;width:100%!important;text-align:left!important;margin:0 0 10px!important}
body.t2e-handset .dataTables_wrapper .dataTables_filter input{width:calc(100% - 58px)!important;max-width:none!important}
body.t2e-handset .dataTables_wrapper .dataTables_paginate{float:none!important;text-align:center!important;margin-top:10px!important}
body.t2e-handset .dataTables_wrapper .dataTables_info{float:none!important;text-align:center!important}
body.t2e-handset .box-header .pull-right{float:none!important;margin-top:10px!important}
body.t2e-handset .box-header .pull-right .btn{width:100%!important}
body.t2e-handset .t2e-mobile-dock-fallback{display:grid!important}


/* v0.3.9 - compact premium mobile cards */
body.t2e-handset:not(.sidebar-open) .main-sidebar{display:none!important}
body.t2e-handset.sidebar-open .main-sidebar{display:block!important}
body.t2e-handset .content-wrapper{border-left:0!important}
body.t2e-handset .t2e-image-fallback{object-fit:cover!important;background:#08162f!important}

/* Keep bottom dock above Android gesture area. */
body.t2e-handset .t2e-mobile-dock{
  bottom:max(8px,env(safe-area-inset-bottom))!important;
  left:8px!important;
  right:8px!important;
}
/* Keep report actions and the final record above the fixed mobile dock. */
body.t2e-handset .content-wrapper{padding-bottom:110px!important}

/* Admin Investors — compact two-column information card. */
body.t2e-handset.t2e-page-investors .box{overflow:visible!important}
body.t2e-handset.t2e-page-investors .box-header{padding:13px!important}
body.t2e-handset.t2e-page-investors .box-header .box-title{font-size:15px!important}
body.t2e-handset.t2e-page-investors .box-header .pull-right{width:100%!important;margin-top:9px!important}
body.t2e-handset.t2e-page-investors .box-header .btn{width:100%!important;min-height:42px!important}
body.t2e-handset.t2e-page-investors .dataTables_wrapper .row:first-child{
  display:grid!important;grid-template-columns:110px 1fr!important;gap:10px!important;align-items:center!important
}
body.t2e-handset.t2e-page-investors .dataTables_wrapper .row:first-child>[class*="col-"]{
  width:auto!important;float:none!important;padding:0!important
}
body.t2e-handset.t2e-page-investors .dataTables_filter{
  display:flex!important;align-items:center!important;gap:7px!important;margin:0!important
}
body.t2e-handset.t2e-page-investors .dataTables_filter label{width:100%!important;margin:0!important}
body.t2e-handset.t2e-page-investors .dataTables_filter input{
  width:100%!important;max-width:none!important;margin-left:4px!important
}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table tr{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px 14px!important;
  padding:14px!important;
  min-height:0!important;
  margin-bottom:10px!important;
}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td{
  display:block!important;
  width:auto!important;
  padding:0!important;
  min-height:0!important;
  font-size:12px!important;
  overflow-wrap:anywhere!important;
}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:before{font-size:8px!important;margin-bottom:3px!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(1){display:none!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(2){grid-column:1/2!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(3){
  grid-column:1/-1!important;
  order:-1!important;
  min-height:54px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid #edf1f6!important;
}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(3):before{display:none!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(3) img{
  width:50px!important;height:50px!important;border-radius:14px!important;object-fit:cover!important;
  margin:0 10px 0 0!important;vertical-align:middle!important;border:1px solid #dce5ef!important;
}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(4){grid-column:2/3!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(5){grid-column:1/-1!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(6){grid-column:1/-1!important;background:#f7f9fc!important;border-radius:10px!important;padding:8px!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(7),
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(8){font-size:11px!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(9){align-self:end!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(10){align-self:end!important;text-align:right!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(10):before{text-align:right!important}
body.t2e-handset.t2e-page-investors .t2e-mobile-card-table td:nth-child(10) .btn{
  width:42px!important;height:42px!important;padding:0!important;display:inline-grid!important;place-items:center!important;border-radius:12px!important;
}

/* Investor Transaction History — compact financial row cards. */
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table tr{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px 14px!important;
  padding:13px 14px!important;
  min-height:0!important;
}
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td{
  display:block!important;width:auto!important;padding:0!important;min-height:0!important;font-size:12px!important
}
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:nth-child(1){
  grid-column:1/-1!important;padding-bottom:8px!important;border-bottom:1px solid #edf1f6!important;font-size:11px!important;color:#61748c!important
}
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:nth-child(2),
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:nth-child(3){
  font-size:14px!important;font-weight:800!important
}
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:nth-child(4),
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:nth-child(5){font-size:11px!important}
body.t2e-handset.t2e-page-transactions .t2e-mobile-card-table td:before{font-size:8px!important}
body.t2e-handset.t2e-page-transactions .dataTables_length{margin:0 0 8px!important}
body.t2e-handset.t2e-page-transactions .box-body canvas{max-height:210px!important}
body.t2e-handset.t2e-page-transactions .box{margin-bottom:12px!important}

/* Investor dashboard — remove desktop residue and tighten whitespace. */
body.t2e-handset.t2e-page-investor-dashboard .content{padding-top:8px!important}
body.t2e-handset.t2e-page-investor-dashboard .tn-hero{margin-top:0!important}
body.t2e-handset.t2e-page-investor-dashboard .tn-grid{margin-top:9px!important}
body.t2e-handset.t2e-page-investor-dashboard .box{margin-bottom:12px!important}
body.t2e-handset.t2e-page-investor-dashboard .main-sidebar{box-shadow:none!important}


/* v0.4.1 recovery - safe mobile profile/report/table polish */
.t2e-mobile-investor-profile{display:none}

body.t2e-handset.t2e-page-investor-history .t2e-mobile-investor-profile{
  display:block!important;background:#fff!important;border:1px solid var(--t2e-border)!important;
  border-radius:20px!important;padding:15px!important;margin-bottom:12px!important;box-shadow:var(--t2e-shadow-soft)!important
}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history>div.row:first-child{display:none!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-head{display:flex!important;align-items:center!important;gap:12px!important;padding-bottom:12px!important;border-bottom:1px solid #edf1f6!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-head img{width:64px!important;height:64px!important;object-fit:cover!important;border-radius:17px!important;background:#08162f!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-head small{color:#9a782a!important;font-size:8px!important;font-weight:850!important;letter-spacing:.08em!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-head h2{font-size:18px!important;margin:3px 0!important;color:var(--t2e-navy)!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-head p{margin:0!important;color:#708096!important;font-size:11px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px 14px!important;padding:13px 0!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid>div{min-width:0!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid .wide{grid-column:1/-1!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid span{display:block!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#8090a4!important;margin-bottom:2px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid b{display:block!important;font-size:11px!important;color:#17273e!important;font-weight:700!important;overflow-wrap:anywhere!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-actions .btn{min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history{padding:10px!important}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history>.row:nth-child(2)>[class*="col-md-"]{width:100%!important;float:none!important;padding:0!important}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history .box-header{padding:10px 0!important}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history .box-header .pull-right{float:right!important;width:auto!important;margin:0!important}
body.t2e-handset.t2e-page-investor-history .t2e-original-investor-history .box-header .btn{font-size:10px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table tr{min-height:0!important;padding:12px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table td{min-height:0!important;padding:5px 0!important}

/* Compact SIP cards without stretching. */
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table tr{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px 14px!important;
  min-height:0!important;padding:13px!important
}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table td{display:block!important;width:auto!important;min-height:0!important;padding:0!important;font-size:11px!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table td:nth-child(1){display:none!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table td:nth-child(2){grid-column:1/-1!important;font-size:13px!important;font-weight:800!important;padding-bottom:7px!important;border-bottom:1px solid #edf1f6!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table td:last-child{grid-column:1/-1!important}

/* Generic DataTables search label — prevent clipped "rch:" text. */
body.t2e-handset .dataTables_filter label{font-size:0!important;color:transparent!important;display:flex!important;align-items:center!important;gap:7px!important;width:100%!important}
body.t2e-handset .dataTables_filter label:before{content:"Search";font-size:9px!important;color:#61748c!important;font-weight:700!important}
body.t2e-handset .dataTables_filter input{margin-left:0!important;min-width:0!important;flex:1!important}

/* Withdrawal list remains compact. */
body.t2e-handset.t2e-page-withdrawals .t2e-mobile-card-table tr{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px 13px!important;min-height:0!important;padding:13px!important
}
body.t2e-handset.t2e-page-withdrawals .t2e-mobile-card-table td{display:block!important;width:auto!important;min-height:0!important;padding:0!important;font-size:11px!important}

/* Hide preview-only visual banners on the public preview as well where possible. */
.tn-preview-banner,.tn-readonly-note{display:none!important}


/* v0.4.2 final cleanup */
.t2e-wa-msg{white-space:pre-wrap!important;word-break:break-word!important;line-height:1.45!important}

body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table tr{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 12px!important;
  min-height:0!important;padding:12px!important
}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table td{
  display:block!important;width:auto!important;min-height:0!important;padding:0!important;font-size:10.5px!important;overflow-wrap:anywhere!important
}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table td:first-child{
  grid-column:1/-1!important;padding-bottom:6px!important;border-bottom:1px solid #edf1f6!important
}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table td:before{font-size:7.5px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mobile-card-table td img{width:40px!important;height:40px!important;object-fit:cover!important;border-radius:9px!important}

/* WhatsApp queue: compact readable mobile cards. */
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table-wide tr{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 12px!important;padding:12px!important
}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table-wide td{display:block!important;width:auto!important;padding:0!important;min-height:0!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table-wide td:nth-child(1){display:none!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table-wide td:nth-child(2){grid-column:1/-1!important;font-size:11px!important;padding-bottom:8px!important;border-bottom:1px solid #edf1f6!important}
body.t2e-handset.t2e-page-admin-dashboard .tn-mobile-table-wide td:nth-child(5){grid-column:1/-1!important}

/* Slightly denser profile card. */
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid{gap:8px 12px!important}
body.t2e-handset.t2e-page-investor-history .t2e-mip-grid b{font-size:10.5px!important}

/* v0.5.11 - corrected clean mobile header and overlay sidebar */
@media(max-width:767px){
  .main-header{background:#fff!important;border-bottom:1px solid #e3e9f2!important;box-shadow:0 5px 18px rgba(7,32,75,.08)!important}
  .main-header .logo{background:linear-gradient(145deg,#071a3a,#0d2f63)!important;box-shadow:none!important}
  .main-header .navbar{position:relative!important;background:#fff!important;box-shadow:none!important}
  .main-header .navbar:after{content:"TARGET2EARN";position:absolute;left:54px;top:0;height:58px;display:flex;align-items:center;color:#102544;font-size:13px;font-weight:850;letter-spacing:.04em;pointer-events:none}
  .main-header .navbar .sidebar-toggle{color:#102544!important;background:transparent!important;width:52px!important;text-align:center!important;padding:19px 14px!important}
  .main-header .navbar .sidebar-toggle:hover,.main-header .navbar .sidebar-toggle:focus{background:#f1f5fa!important;color:#1557d6!important}
  .main-header .navbar .nav>li>a{color:#102544!important;background:transparent!important}
}

body.t2e-handset .main-header{background:#fff!important;border-bottom:1px solid #e3e9f2!important;box-shadow:0 5px 18px rgba(7,32,75,.08)!important}
body.t2e-handset .main-header .navbar{background:#fff!important;position:relative!important;box-shadow:none!important}
body.t2e-handset .main-header .navbar:after{content:"TARGET2EARN";position:absolute;left:54px;top:0;height:58px;display:flex;align-items:center;color:#102544;font-size:13px;font-weight:850;letter-spacing:.04em;pointer-events:none}
body.t2e-handset .main-header .navbar .sidebar-toggle{color:#102544!important;background:transparent!important;width:52px!important;text-align:center!important;padding:19px 14px!important}
body.t2e-handset .content{padding-bottom:110px!important}

.t2e-sidebar-backdrop{display:none;border:0;padding:0;margin:0;background:transparent}
body.t2e-handset .main-sidebar{position:fixed!important;top:58px!important;left:0!important;bottom:0!important;width:min(286px,84vw)!important;z-index:5100!important;overflow-y:auto!important;overflow-x:hidden!important;box-shadow:14px 0 38px rgba(3,18,42,.30)!important}
body.t2e-handset.sidebar-open .main-sidebar{display:block!important;transform:translate3d(0,0,0)!important;-webkit-transform:translate3d(0,0,0)!important}
body.t2e-handset:not(.sidebar-open) .main-sidebar{display:block!important;transform:translate3d(-105%,0,0)!important;-webkit-transform:translate3d(-105%,0,0)!important;box-shadow:none!important}
body.t2e-handset .content-wrapper,body.t2e-handset .main-footer{margin-left:0!important;transform:none!important;-webkit-transform:none!important;transition:none!important}
body.t2e-handset.sidebar-open .content-wrapper{transform:none!important;-webkit-transform:none!important;margin-left:0!important}

/* v0.5.12 - fixed header content clearance */
body.t2e-handset .content-wrapper{margin-top:58px!important;padding-top:0!important}
@media(max-width:767px){
  .content-wrapper{margin-top:58px!important;padding-top:0!important}
}
body.t2e-handset.sidebar-open .t2e-sidebar-backdrop{display:block!important;position:fixed!important;inset:58px 0 0 0!important;z-index:5050!important;background:rgba(4,16,36,.48)!important;backdrop-filter:blur(2px)!important}
body.t2e-handset.sidebar-open .t2e-mobile-dock{display:none!important}
body.t2e-handset.sidebar-open{overflow:hidden!important}

body.t2e-handset .t2e-investor-history .t2e-mobile-investor-profile{
  display:block!important;background:#fff!important;border:1px solid var(--t2e-border)!important;
  border-radius:20px!important;padding:15px!important;margin-bottom:12px!important;box-shadow:var(--t2e-shadow-soft)!important
}
body.t2e-handset .t2e-investor-history .t2e-original-investor-history>div.row:first-child{display:none!important}
body.t2e-handset .t2e-investor-history .t2e-mip-head{display:flex!important;align-items:center!important;gap:12px!important;padding-bottom:12px!important;border-bottom:1px solid #edf1f6!important}
body.t2e-handset .t2e-investor-history .t2e-profile-avatar{position:relative!important;width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:17px!important;overflow:hidden!important;background:linear-gradient(145deg,#071a3a,#1557d6)!important;box-shadow:0 8px 20px rgba(7,32,75,.18)!important}
body.t2e-handset .t2e-investor-history .t2e-profile-avatar-fallback{position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:25px!important;font-weight:850!important}
body.t2e-handset .t2e-investor-history .t2e-profile-avatar img{position:absolute!important;inset:0!important;width:64px!important;height:64px!important;object-fit:cover!important;border-radius:17px!important;background:#08162f!important}
body.t2e-handset .t2e-investor-history .t2e-mip-head small{color:#9a782a!important;font-size:8px!important;font-weight:850!important;letter-spacing:.08em!important}
body.t2e-handset .t2e-investor-history .t2e-mip-head h2{font-size:18px!important;margin:3px 0!important;color:var(--t2e-navy)!important}
body.t2e-handset .t2e-investor-history .t2e-mip-head p{margin:0!important;color:#708096!important;font-size:11px!important}
body.t2e-handset .t2e-investor-history .t2e-mip-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px 12px!important;padding:13px 0!important}
body.t2e-handset .t2e-investor-history .t2e-mip-grid>div{min-width:0!important}
body.t2e-handset .t2e-investor-history .t2e-mip-grid .wide{grid-column:1/-1!important}
body.t2e-handset .t2e-investor-history .t2e-mip-grid span{display:block!important;font-size:8px!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#8090a4!important;margin-bottom:2px!important}
body.t2e-handset .t2e-investor-history .t2e-mip-grid b{display:block!important;font-size:11px!important;color:#17273e!important;font-weight:700!important;overflow-wrap:anywhere!important}
body.t2e-handset .t2e-investor-history .t2e-mip-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
body.t2e-handset .t2e-investor-history .t2e-mip-actions .btn{min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important}
body.t2e-handset .t2e-investor-history .t2e-original-investor-history{padding:10px!important;margin-bottom:18px!important}


/* v0.4.4 - mandatory investor DOB + birthday profile */
html.t2e-dob-locked,body.t2e-dob-locked{overflow:hidden!important}
.t2e-dob-gate{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(5,16,38,.74)!important;backdrop-filter:blur(10px)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important}
.t2e-dob-card{width:min(440px,100%)!important;background:#fff!important;border-radius:24px!important;padding:28px 24px 22px!important;box-shadow:0 30px 80px rgba(0,0,0,.34)!important;text-align:left!important;position:relative!important}
.t2e-dob-logo{display:flex!important;justify-content:center!important;margin-top:-66px!important;margin-bottom:12px!important}
.t2e-dob-logo img{width:82px!important;height:82px!important;border-radius:22px!important;border:5px solid #fff!important;box-shadow:0 12px 30px rgba(6,30,68,.24)!important;object-fit:cover!important}
.t2e-dob-kicker{text-align:center!important;color:#b58a2a!important;font-size:9px!important;letter-spacing:.13em!important;font-weight:850!important}
.t2e-dob-card h2{text-align:center!important;color:#08162f!important;font-size:23px!important;margin:6px 0 6px!important}
.t2e-dob-card p{text-align:center!important;color:#66778e!important;font-size:12px!important;line-height:1.55!important;margin:0 0 20px!important}
.t2e-dob-card label{display:block!important;color:#263750!important;font-size:11px!important;font-weight:800!important;margin-bottom:6px!important}
.t2e-dob-card label b{color:#c7372f!important}
.t2e-dob-card input{display:block!important;width:100%!important;height:52px!important;border:1px solid #dce5ef!important;border-radius:13px!important;padding:0 13px!important;font-size:15px!important;outline:none!important;background:#fbfdff!important}
.t2e-dob-card input:focus{border-color:#2f80ed!important;box-shadow:0 0 0 3px rgba(47,128,237,.10)!important}
.t2e-dob-card button{display:block!important;width:100%!important;height:52px!important;margin-top:13px!important;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#1557d6,#2f80ed)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;box-shadow:0 10px 22px rgba(21,87,214,.20)!important}
.t2e-dob-card button:disabled{opacity:.65!important}
.t2e-dob-card small{display:block!important;text-align:center!important;color:#8492a5!important;font-size:9px!important;margin-top:12px!important}
.t2e-dob-error{min-height:17px!important;color:#b3261e!important;font-size:10px!important;margin-top:5px!important}
.t2e-birthday-profile-card{background:#fff!important;border:1px solid var(--t2e-border)!important;border-radius:16px!important;padding:12px 14px!important;margin:10px 0 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;box-shadow:var(--t2e-shadow-soft)!important}
.t2e-birthday-profile-card span{display:block!important;color:#7b8b9f!important;font-size:8px!important;font-weight:850!important;letter-spacing:.06em!important}
.t2e-birthday-profile-card b{display:block!important;color:#102544!important;font-size:14px!important;margin:2px 0!important}
.t2e-birthday-profile-card small{display:block!important;color:#8b98a8!important;font-size:9px!important}
.t2e-birthday-profile-card button{border:0!important;background:#edf5ff!important;color:#1662c7!important;border-radius:10px!important;padding:9px 11px!important;font-size:10px!important;font-weight:750!important}
.t2e-dob-service-warning{position:fixed!important;z-index:99999!important;left:12px!important;right:12px!important;bottom:86px!important;background:#31220a!important;color:#fff!important;padding:11px 13px!important;border-radius:12px!important;text-align:center!important;font-size:11px!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important}
@media(max-width:767px){.t2e-dob-card{padding:26px 18px 20px!important}.t2e-dob-card h2{font-size:21px!important}}


/* v0.4.6 - Admin direct invest / withdraw */
.t2e-admin-money-actions{background:linear-gradient(135deg,#071a3c,#0b4f86)!important;color:#fff!important;border-radius:18px!important;padding:15px!important;margin:0 0 13px!important;box-shadow:0 12px 30px rgba(7,32,75,.16)!important}
.t2e-ama-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important}
.t2e-ama-head small{font-size:8px!important;letter-spacing:.12em!important;color:#f0c85e!important;font-weight:850!important}
.t2e-ama-head h3{font-size:17px!important;margin:3px 0!important;color:#fff!important}
.t2e-ama-head p{font-size:10px!important;color:#dce9f8!important;margin:0!important}
.t2e-ama-head>i{font-size:24px!important;color:#f0c85e!important}
.t2e-ama-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:13px!important}
.t2e-ama-buttons .btn{min-height:43px!important;border:0!important;border-radius:11px!important;font-size:11px!important;font-weight:800!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
.t2e-admin-invest{background:linear-gradient(135deg,#20a46a,#2cc780)!important;color:#fff!important}
.t2e-admin-withdraw{background:linear-gradient(135deg,#d9a72e,#f2c453)!important;color:#14223a!important}
.t2e-ama-note{margin-top:10px!important;font-size:8.5px!important;color:#c9d9ec!important;line-height:1.45!important}

.t2e-admin-action-modal{display:none;position:fixed;inset:0;z-index:2147482000}
.t2e-admin-action-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important}
.t2e-admin-action-backdrop{position:absolute;inset:0;background:rgba(4,14,32,.72);backdrop-filter:blur(9px)}
.t2e-admin-action-card{position:relative;z-index:2;width:min(440px,100%);background:#fff;border-radius:22px;padding:24px 20px 20px;box-shadow:0 30px 80px rgba(0,0,0,.33)}
.t2e-admin-action-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:25px;color:#65758a}
.t2e-admin-action-icon{width:54px;height:54px;border-radius:16px;background:#fff5da;color:#b77f07;display:grid;place-items:center;font-size:24px;margin-bottom:10px}
.t2e-admin-action-kicker{font-size:8px;letter-spacing:.12em;color:#a77914;font-weight:850}
.t2e-admin-action-card h3{font-size:20px;color:#0b1f42;margin:5px 0 4px}
.t2e-admin-action-sub{font-size:10px;color:#738196;margin:0 0 16px}
.t2e-admin-action-card>label:not(.t2e-confirm-check){display:block;font-size:10px;font-weight:800;color:#314157;margin:11px 0 5px}
.t2e-money-input{height:48px;border:1px solid #dce5ef;border-radius:12px;display:flex;align-items:center;background:#fbfdff;overflow:hidden}
.t2e-money-input span{width:42px;text-align:center;font-weight:900;color:#174e91}
.t2e-money-input input{border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;flex:1;height:100%;padding:0 12px 0 0;font-size:14px}
.t2e-admin-action-card textarea{width:100%;border:1px solid #dce5ef;border-radius:12px;padding:10px 12px;resize:vertical;outline:none;font-size:12px}
.t2e-confirm-check{display:flex!important;align-items:center!important;gap:8px!important;font-size:10px!important;font-weight:700!important;color:#42546c!important;margin:12px 0!important}
.t2e-confirm-check input{margin:0!important}
.t2e-admin-preview-note{background:#eef6ff;border:1px solid #d5e7fb;color:#265b91;padding:9px 10px;border-radius:10px;font-size:9px;line-height:1.4;margin-bottom:8px}
.t2e-admin-action-error{min-height:17px;color:#b3261e;font-size:10px;margin:4px 0}
.t2e-admin-action-submit{width:100%;height:48px;border:0;border-radius:12px;background:linear-gradient(135deg,#d99d1e,#f2c453);color:#12233f;font-weight:850;font-size:12px}
.t2e-admin-action-submit:disabled{opacity:.6}

@media(max-width:767px){
 .t2e-admin-money-actions{padding:13px!important;border-radius:17px!important}
 .t2e-ama-head h3{font-size:15px!important}
 .t2e-ama-buttons{grid-template-columns:1fr 1fr!important}
 .t2e-admin-action-card{padding:22px 17px 18px}
}

@media(max-width:767px){

/* v0.5.13: one-row mobile shell, including when handset detection is unavailable. */
body .main-header{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;height:58px!important;min-height:58px!important;padding:0!important;top:0!important;left:0!important;right:0!important}
body .main-header:before,body .main-header:after{display:none!important}
body .main-header .logo{display:block!important;float:none!important;flex:0 0 58px!important;width:58px!important;height:58px!important;margin:0!important;box-sizing:border-box!important}
body .main-header .navbar{float:none!important;clear:none!important;flex:1 1 0!important;min-width:0!important;width:auto!important;height:58px!important;min-height:58px!important;margin:0!important;top:0!important;left:auto!important;right:auto!important;padding:0!important;box-sizing:border-box!important}
body .content-wrapper{margin-top:0!important;padding-top:70px!important;margin-left:0!important;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;transform:none!important}
body .content{padding-bottom:16px!important}
body .t2e-mobile-dock{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-rows:60px!important;height:60px!important;box-sizing:border-box!important;padding:0!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
body .t2e-mobile-dock a{min-width:0!important;height:60px!important;box-sizing:border-box!important;padding:4px 1px!important;line-height:1.2!important;font-size:9px!important;white-space:nowrap!important}
body .t2e-apk-manager-link{display:none!important}

}

/* v0.5.13: one-row mobile shell, including when handset detection is unavailable. */
body.t2e-handset .main-header{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;height:58px!important;min-height:58px!important;padding:0!important;top:0!important;left:0!important;right:0!important}
body.t2e-handset .main-header:before,body.t2e-handset .main-header:after{display:none!important}
body.t2e-handset .main-header .logo{display:block!important;float:none!important;flex:0 0 58px!important;width:58px!important;height:58px!important;margin:0!important;box-sizing:border-box!important}
body.t2e-handset .main-header .navbar{float:none!important;clear:none!important;flex:1 1 0!important;min-width:0!important;width:auto!important;height:58px!important;min-height:58px!important;margin:0!important;top:0!important;left:auto!important;right:auto!important;padding:0!important;box-sizing:border-box!important}
body.t2e-handset .content-wrapper{margin-top:0!important;padding-top:70px!important;margin-left:0!important;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;transform:none!important}
body.t2e-handset .content{padding-bottom:16px!important}
body.t2e-handset .t2e-mobile-dock{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-rows:60px!important;height:60px!important;box-sizing:border-box!important;padding:0!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important}
body.t2e-handset .t2e-mobile-dock a{min-width:0!important;height:60px!important;box-sizing:border-box!important;padding:4px 1px!important;line-height:1.2!important;font-size:9px!important;white-space:nowrap!important}
body.t2e-handset .t2e-apk-manager-link{display:none!important}
