
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#0a8f67;--green2:#0aae79;--dark:#075c45;--mint:#e8f8f2;--ink:#18352d;--muted:#789189;--line:#deebe6;--side:260px}
*{box-sizing:border-box}body{margin:0;font-family:Manrope,sans-serif;color:var(--ink);background:#f4f8f6}button,input{font:inherit}
#loginView{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 10% 20%,#c4eadc,transparent 30%),radial-gradient(circle at 90% 85%,#bde2d4,transparent 28%),#e9f3ef}
.login-window{width:min(1020px,100%);min-height:620px;display:grid;grid-template-columns:46% 54%;overflow:hidden;border-radius:32px;background:#fff;box-shadow:0 35px 90px #174e3d24}.login-art{position:relative;overflow:hidden;padding:45px;color:#fff;display:flex;flex-direction:column;background:linear-gradient(145deg,#075b45,#08855f 58%,#0ca477)}.login-art:before{content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff25;border-radius:50%;right:-320px;top:-70px;box-shadow:0 0 0 65px #ffffff08,0 0 0 130px #ffffff05}.brand{position:relative;z-index:1;display:flex;align-items:center;gap:11px}.brand-logo{width:51px;height:51px;padding:4px;border-radius:15px;background:#fff;box-shadow:0 10px 25px #054b3938}.brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:11px}.brand b{font-size:22px;letter-spacing:1.4px}.brand small{display:block;color:#b9ead8;font-size:7px;letter-spacing:1.2px}.art-copy{position:relative;z-index:1;margin:auto 0}.art-copy .tag{display:inline-block;padding:7px 12px;border:1px solid #ffffff28;border-radius:30px;background:#ffffff12;font-size:9px;font-weight:700}.art-copy h1{font-size:44px;line-height:1.08;letter-spacing:-1.6px;font-weight:800;margin:20px 0 14px}.art-copy p{color:#c8eddf;font-size:12px;line-height:1.8;max-width:350px}.trust{position:relative;z-index:1;color:#c6eadc;font-size:9px}.login-form-side{padding:34px 65px;display:flex;flex-direction:column}.connection{text-align:right;color:#81968f;font-size:9px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20c987;box-shadow:0 0 0 4px #20c9871c;margin-right:7px}.login-box{width:100%;max-width:390px;margin:auto}.hello{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:var(--mint);color:var(--green);font-size:22px;margin-bottom:16px}.login-box h2{font-size:32px;font-weight:800;letter-spacing:-1px}.sub{font-size:12px;color:var(--muted)}.form-label{font-size:10px;font-weight:800}.input-box{height:53px;display:flex;align-items:center;border:1px solid var(--line);border-radius:15px;padding:0 14px;background:#fff}.input-box:focus-within{border-color:#34b58b;box-shadow:0 0 0 4px #1ba87914}.input-box i{color:#8ba198}.input-box input{width:100%;height:100%;border:0;outline:0;padding:0 11px;font-size:12px;background:transparent}.eye{border:0;background:none;color:#849990}.main-btn{height:54px;border:0;border-radius:15px;color:#fff;background:linear-gradient(105deg,#087b59,#0aa877);font-size:12px;font-weight:800;box-shadow:0 14px 27px #09855f35}.main-btn:hover{color:#fff;transform:translateY(-1px)}
#dashboardView{display:none;min-height:100vh}.sidebar{position:fixed;z-index:1040;inset:0 auto 0 0;width:var(--side);padding:24px 17px;background:linear-gradient(180deg,#075f47,#064b3a);color:#fff;transition:.25s;display:flex;flex-direction:column}.sidebar.collapsed{width:82px}.sidebar .brand{padding:0 7px 27px}.sidebar .brand-logo{width:44px;height:44px;flex:none}.sidebar.collapsed .brand-text,.sidebar.collapsed .menu-label,.sidebar.collapsed .side-profile div,.sidebar.collapsed .nav-side span{display:none}.menu-label{padding:0 12px;margin:7px 0;color:#89c8b3;font-size:8px;letter-spacing:1.4px}.nav-side{display:flex;align-items:center;gap:12px;width:100%;height:47px;padding:0 13px;border:0;border-radius:13px;background:transparent;color:#abd4c6;font-size:11px;font-weight:700;text-decoration:none;margin-bottom:5px}.nav-side i{font-size:18px;width:21px}.nav-side:hover,.nav-side.active{color:#fff;background:#ffffff16}.side-profile{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 9px;border-top:1px solid #ffffff18}.avatar{width:39px;height:39px;display:grid;place-items:center;flex:none;border-radius:13px;background:linear-gradient(145deg,#dff8ee,#fff);color:var(--green);font-weight:800}.side-profile b{display:block;font-size:10px}.side-profile small{font-size:8px;color:#9bcab9}.main-content{margin-left:var(--side);min-height:100vh;transition:.25s}.main-content.expanded{margin-left:82px}.topbar{height:78px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8efec;position:sticky;top:0;z-index:1020}.toggle-side{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--dark)}.top-profile{display:flex;align-items:center;gap:10px}.top-profile .avatar{box-shadow:0 7px 18px #164e3d16}.top-profile b{display:block;font-size:10px}.top-profile small{display:block;font-size:8px;color:var(--muted)}.content{padding:27px 30px 95px;max-width:1450px;margin:auto}.welcome h1{font-size:24px;font-weight:800;letter-spacing:-.6px}.welcome p{font-size:10px;color:var(--muted)}
.wallet-card{position:relative;overflow:hidden;height:100%;min-height:190px;padding:24px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#075b45,#0aa979);box-shadow:0 18px 35px #087a5926}.wallet-card:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff25;border-radius:50%;right:-115px;top:-95px;box-shadow:0 0 0 38px #ffffff08}.wallet-card small{color:#bfe9da;font-size:9px}.wallet-card h2{font-size:31px;font-weight:800;margin:7px 0 18px}.wallet-meta{display:flex;gap:28px;position:relative;z-index:1}.wallet-meta b{display:block;font-size:11px}.id-card,.invite-card,.panel{height:100%;padding:20px;border:1px solid #e3ece8;border-radius:20px;background:#fff;box-shadow:0 9px 30px #1a4d3c0a}.card-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:var(--mint);color:var(--green);font-size:18px}.tiny-label{font-size:8px;font-weight:800;letter-spacing:1px;color:#91a39d}.unique-id{font-size:22px;font-weight:800;letter-spacing:3px;margin:9px 0}.invite-link{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:11px;background:#f3f8f6;font-size:9px;color:#6f877e;margin-top:12px}.invite-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-btn{width:34px;height:34px;display:grid;place-items:center;flex:none;border:0;border-radius:10px;background:var(--green);color:#fff}.section-title{font-size:14px;font-weight:800;margin:29px 0 13px}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.quick-item{position:relative;padding:17px 13px;border:1px solid #e3ece8;border-radius:18px;background:#fff;text-align:left;transition:.2s}.quick-item:hover{transform:translateY(-3px);box-shadow:0 14px 30px #174e3d12}.quick-item .qicon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:var(--mint);color:var(--green);font-size:18px;margin-bottom:13px}.quick-item b{display:block;font-size:10px}.quick-item small{font-size:8px;color:var(--muted)}.status-pill{position:absolute;right:10px;top:10px;padding:3px 6px;border-radius:20px;background:#e4f7ee;color:#16855f;font-size:7px;font-weight:800}.status-pill.inactive{background:#fff1dc;color:#c67a0c}.team-card{display:flex;align-items:center;gap:14px}.team-orb{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#e8f8f2;color:var(--green);font-size:21px}.team-card h3{font-size:12px;font-weight:800;margin:0}.team-card p{font-size:8px;color:var(--muted);margin:2px 0 0}.team-stats{margin-left:auto;text-align:right}.team-stats b{display:block;font-size:15px}.active-text{color:#0a9b6d}.inactive-text{color:#d68518}.portfolio-item{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf2ef}.portfolio-item:last-child{border:0}.portfolio-item .picon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#eff8f5;color:var(--green)}.portfolio-item b{display:block;font-size:10px}.portfolio-item small{font-size:8px;color:var(--muted)}.portfolio-item strong{margin-left:auto;font-size:11px}.transaction{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf2ef}.transaction:last-child{border:0}.tx-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#e9f8f2;color:#168960}.tx-icon.out{background:#fff1e9;color:#cf7041}.transaction b{display:block;font-size:9px}.transaction small{font-size:8px;color:var(--muted)}.tx-amount{margin-left:auto;font-size:10px;font-weight:800}.positive{color:#10875f}.negative{color:#c76c40}
.bottom-nav{display:none}.toast-msg{position:fixed;z-index:2000;right:22px;bottom:22px;padding:11px 15px;border-radius:12px;background:#163d31;color:#fff;font-size:9px;box-shadow:0 12px 30px #0003;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s}.toast-msg.show{opacity:1;transform:none}
@media(max-width:1100px){.quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){#loginView{padding:0;background:#fbfdfc}.login-window{display:block;min-height:100vh;border-radius:0}.login-art{display:none}.login-form-side{min-height:100vh;padding:24px 20px;background:linear-gradient(180deg,#e3f6ef 0 220px,#fbfdfc 220px)}.connection{text-align:left}.login-box{margin:70px auto 0;padding:25px 20px;border-radius:26px;background:#fff;box-shadow:0 18px 45px #174e3d14}.sidebar{transform:translateX(-100%);width:260px}.sidebar.open{transform:none}.sidebar.collapsed{width:260px}.sidebar.collapsed .brand-text,.sidebar.collapsed .menu-label,.sidebar.collapsed .side-profile div,.sidebar.collapsed .nav-side span{display:block}.main-content,.main-content.expanded{margin-left:0}.topbar{height:66px;padding:0 16px}.content{padding:20px 14px 95px}.top-profile b,.top-profile small{display:none}.quick-grid{grid-template-columns:repeat(2,1fr)}.wallet-card{min-height:170px}.bottom-nav{position:fixed;z-index:1030;display:flex;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));height:65px;border:1px solid #dce9e4;border-radius:21px;background:#ffffffed;backdrop-filter:blur(16px);box-shadow:0 10px 30px #174e3d1c;justify-content:space-around;align-items:center}.bottom-nav button{border:0;background:none;color:#94a8a0;font-size:7px;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:4px}.bottom-nav i{font-size:17px}.bottom-nav .active{color:var(--green)}.toast-msg{bottom:86px;right:14px}.overlay{display:none;position:fixed;z-index:1035;inset:0;background:#122d255c}.overlay.show{display:block}}

/* Readability update: minimum 14px UI text */
body{font-size:14px}
.brand-logo{width:58px;height:58px;padding:5px}
.brand b{font-size:24px}
small,.sub,.connection,.trust,.tag,.form-label,.form-check-label,.menu-label,.nav-side,.side-profile b,.side-profile small,.top-profile b,.top-profile small,.welcome p,.wallet-card small,.tiny-label,.invite-link,.id-card>small,.invite-card>small,.quick-item b,.quick-item small,.status-pill,.team-card h3,.team-card p,.team-stats small,.portfolio-item b,.portfolio-item small,.portfolio-item strong,.transaction b,.transaction small,.tx-amount,.bottom-nav button,.toast-msg,.legal{font-size:14px!important;line-height:1.45}
.input-box input,.main-btn{font-size:14px}
.nav-side{height:52px}
.menu-label{letter-spacing:.08em;margin-top:12px}
.quick-item{min-height:145px}
.team-card{min-height:100px}
.portfolio-item,.transaction{padding:16px 0}
.invite-link{padding:11px 12px}
@media(max-width:767px){.brand-logo{width:52px;height:52px}.access-box{margin-top:48px}.bottom-nav{height:72px}.content{padding-bottom:108px}}

/* Larger dashboard typography */
body{font-size:16px}
.section-title{font-size:20px;letter-spacing:-.35px;margin-top:34px}
.welcome h1{font-size:28px}.welcome p{font-size:15px!important}
.tiny-label,.connection,.trust,.tag,.menu-label{font-size:13px!important}
.input-box input,.main-btn,.form-label,.form-check-label{font-size:15px!important}
.nav-side,.side-profile b,.top-profile b{font-size:15px!important}
.side-profile small,.top-profile small{font-size:13px!important}
.wallet-card small,.id-card>small,.invite-card>small{font-size:13px!important}
.invite-link{font-size:15px!important}
.quick-item b{font-size:16px!important}.quick-item small{font-size:14px!important}.status-pill{font-size:11px!important}
.team-card h3{font-size:17px!important}.team-card p,.team-stats small{font-size:13px!important}.team-stats b{font-size:18px}
.portfolio-item b,.transaction b{font-size:15px!important}.portfolio-item small,.transaction small{font-size:13px!important}.portfolio-item strong,.tx-amount{font-size:15px!important}
.bottom-nav button{font-size:11px!important}.bottom-nav i{font-size:20px}
.signup,.legal{font-size:13px!important}
@media(max-width:767px){.quick-item{min-height:165px;padding:20px}.quick-item .qicon{width:48px;height:48px;font-size:21px}.panel{padding:22px}.invite-card,.id-card{padding:24px}.bottom-nav{height:76px}}

/* Dashboard typography standard */
#dashboardView,#dashboardView *{font-size:14px!important}
#dashboardView .bi{font-size:18px!important}
#dashboardView .wallet-card h2{font-size:14px!important}
#dashboardView .unique-id{font-size:14px!important}

/* Requested component font sizes */
#dashboardView .portfolio-item b{display:block;font-size:14px!important}
#dashboardView .bottom-nav button{border:0;background:none;color:#94a8a0;font-size:12px!important}
#dashboardView .transaction b{display:block;font-size:13px!important}

/* Final global minimum text size */
#loginView *,#dashboardView *{font-size:14px!important}
#dashboardView .bottom-nav button,
#dashboardView .transaction b,
#dashboardView .portfolio-item b,
#dashboardView .quick-item small,
#dashboardView .status-pill,
#dashboardView .team-card p,
#dashboardView .team-stats small,
#dashboardView .portfolio-item small,
#dashboardView .transaction small,
#dashboardView .side-profile small,
#dashboardView .top-profile small{font-size:14px!important}
#loginView .login-box h2{font-size:32px!important}
#loginView .art-copy h1{font-size:44px!important}
#dashboardView .welcome h1{font-size:24px!important}
#loginView .bi,#dashboardView .bi{font-size:18px!important}

/* Separate stacked dashboard sections */
.section-title{display:block;clear:both;position:relative;margin-bottom:16px!important}
@media(max-width:991.98px){
  .row.g-3>.col-lg-6+.col-lg-6{margin-top:32px}
  .row.g-3>.col-lg-6+.col-lg-6>.section-title{margin-top:0!important;padding-top:10px}
  .panel{overflow:hidden}
}
@media(max-width:767px){
  .row.g-3>.col-lg-6+.col-lg-6{margin-top:40px}
  .section-title{margin-bottom:18px!important}
}
/* Natural-height portfolio and transaction cards */
.panel{height:auto!important}
.team-card{height:100%!important}
.portfolio-item,.transaction{min-height:92px}
.row.g-3>.col-lg-6>.panel{margin-bottom:0}
@media(max-width:991.98px){
  .row.g-3>.col-lg-6+.col-lg-6{margin-top:30px}
  .row.g-3>.col-lg-6+.col-lg-6>.section-title{padding-top:0}
}
@media(max-width:767px){
  .row.g-3>.col-lg-6+.col-lg-6{margin-top:32px}
}
/* Team and binary tree pages */
.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.page-toolbar h1{font-size:24px!important;font-weight:800;margin:0}.page-toolbar p{color:var(--muted);margin:4px 0 0}.search-box{width:min(310px,100%);height:44px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--line);border-radius:13px;background:#fff}.search-box input{width:100%;border:0;outline:0;background:none}.filter-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.filter-pills button{padding:8px 13px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#6f877e}.filter-pills button.active{background:var(--green);border-color:var(--green);color:#fff}.member-list{display:grid;gap:12px}.member-row{display:grid;grid-template-columns:minmax(180px,1.5fr) 1fr 1fr 1fr auto;align-items:center;gap:15px;padding:15px 18px;border:1px solid #e3ece8;border-radius:17px;background:#fff}.member-person{display:flex;align-items:center;gap:11px}.member-person .avatar{background:var(--mint)}.member-person b,.member-cell b{display:block}.member-person small,.member-cell small{display:block;color:var(--muted)}.member-status{padding:5px 9px;border-radius:20px;background:#e4f7ee;color:#16855f;font-weight:800}.member-status.inactive{background:#fff1dc;color:#c67a0c}.tree-panel{position:relative;overflow:auto;padding:28px 18px 36px;border:1px solid #e3ece8;border-radius:22px;background:#fff;box-shadow:0 9px 30px #1a4d3c0a}.tree-canvas{min-width:760px;text-align:center}.tree-level{display:flex;justify-content:center;gap:120px;position:relative;margin-top:42px}.tree-level.level-3{gap:28px}.tree-node{position:relative;width:150px;padding:12px 8px;border:1px solid #dcebe5;border-radius:17px;background:#fff;box-shadow:0 8px 22px #174e3d10}.tree-node.root{margin:auto;border-color:#38b58d;background:#f4fcf8}.tree-node:before{content:"";position:absolute;left:50%;top:-43px;width:1px;height:42px;background:#bcd9cf}.tree-node.root:before{display:none}.tree-level:before{content:"";position:absolute;top:-43px;left:20%;right:20%;height:1px;background:#bcd9cf}.tree-level.level-3:before{left:10%;right:10%}.tree-avatar{width:43px;height:43px;display:grid;place-items:center;margin:-32px auto 8px;border-radius:14px;background:linear-gradient(145deg,#dff8ee,#fff);border:3px solid #fff;color:var(--green);font-weight:800;box-shadow:0 7px 18px #164e3d18}.tree-node b{display:block}.tree-node small{display:block;color:var(--muted)}.tree-node .member-status{display:inline-block;margin-top:6px}.tree-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.summary-box{padding:15px;border:1px solid #e3ece8;border-radius:16px;background:#fff}.summary-box i{color:var(--green);font-size:20px!important}.summary-box b{display:block;margin-top:7px}.summary-box small{color:var(--muted)}.tree-actions{display:flex;gap:8px}.tree-actions button{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--dark)}
@media(max-width:767px){.page-toolbar{align-items:flex-start;flex-direction:column}.search-box{width:100%}.member-row{grid-template-columns:1fr auto}.member-cell{display:none}.tree-summary{grid-template-columns:1fr 1fr}.tree-panel{padding-top:40px}}
/* Consistent heading scale */
#dashboardView .page-toolbar h1,#dashboardView .section-title,#dashboardView .member-person b,#dashboardView .member-cell b,#dashboardView .tree-node b,#dashboardView .summary-box b{font-size:14px!important}
#dashboardView .page-toolbar p,#dashboardView .member-person small,#dashboardView .member-cell small,#dashboardView .tree-node small,#dashboardView .summary-box small{font-size:12px!important}
.tree-node{cursor:pointer;transition:.2s}.tree-node:hover{border-color:#28aa80;transform:translateY(-2px);box-shadow:0 12px 28px #174e3d18}.tree-node.selected{border-color:#1aa276;background:#f2fcf7}.empty-team{padding:35px;color:var(--muted);font-size:12px!important}.viewing-note{display:inline-flex;align-items:center;gap:6px;margin-bottom:35px;padding:7px 11px;border-radius:20px;background:#e8f8f2;color:var(--green);font-size:12px!important;font-weight:700}
/* Add member page */
.add-member-wrap{max-width:820px}.form-section{padding:22px;border:1px solid #e3ece8;border-radius:20px;background:#fff;box-shadow:0 9px 30px #1a4d3c0a}.form-section-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.form-section-title i{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--mint);color:var(--green);font-size:18px!important}.form-section-title b{display:block;font-size:14px!important}.form-section-title small{display:block;color:var(--muted);font-size:12px!important}.member-form .form-label{font-size:14px!important}.member-form .input-box{height:52px}.member-form .input-box input{font-size:14px!important}.sponsor-card{display:flex;align-items:center;gap:11px;padding:13px;border-radius:15px;background:#eff9f5;border:1px solid #d9eee6}.sponsor-card b{display:block;font-size:14px!important}.sponsor-card small{display:block;color:var(--muted);font-size:12px!important}.position-select{height:72px}.form-help{font-size:12px!important;color:var(--muted)}@media(max-width:767px){.form-section{padding:18px 15px}.add-member-wrap{max-width:none}}
/* Attractive binary position cards */
#dashboardView .member-form .position-select{position:relative!important;width:100%!important;height:82px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:12px 14px!important;border:1px solid #dcebe5!important;border-radius:16px!important;background:#fff!important;color:#698179!important;text-align:left!important;box-shadow:0 7px 20px #174e3d0a!important;transition:.2s ease!important;overflow:hidden}
#dashboardView .member-form .position-select:hover{transform:translateY(-2px)!important;border-color:#66c5a6!important;box-shadow:0 12px 26px #174e3d14!important}
#dashboardView .member-form .position-select>i{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;flex:0 0 46px!important;border-radius:14px!important;background:#e9f8f2!important;color:#07976b!important;font-size:22px!important}
#dashboardView .member-form .position-select>span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;line-height:1.2!important}
#dashboardView .member-form .position-select strong{display:block!important;color:#25493d!important;font-size:14px!important;font-weight:800!important}
#dashboardView .member-form .position-select>span:not(strong){font-size:12px!important}
#dashboardView .member-form .position-select.active{border:2px solid #0aa274!important;background:linear-gradient(135deg,#f4fcf8,#e9f8f2)!important;box-shadow:0 0 0 4px #0a9c7110!important}
#dashboardView .member-form .position-select.active:after{content:"\2713";position:absolute;right:10px;top:9px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#0a9c71;color:#fff;font-size:12px;font-weight:800}
@media(max-width:420px){#dashboardView .member-form .position-select{height:74px!important;padding:9px!important;gap:8px!important}#dashboardView .member-form .position-select>i{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:18px!important}}
/* Portfolio transaction links and page */
.portfolio-link{cursor:pointer;border-radius:12px;padding-left:8px;padding-right:8px;transition:.2s}.portfolio-link:hover{background:#f3faf7;transform:translateX(3px)}.portfolio-link:after{content:"\203A";margin-left:8px;color:#8ba198;font-size:22px!important}.transaction-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#075b45,#0aa979);box-shadow:0 16px 32px #087a5922;margin-bottom:18px}.transaction-hero .hero-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#ffffff1a;font-size:22px!important}.transaction-hero h2{font-size:14px!important;margin:0}.transaction-hero p{font-size:12px!important;color:#c8eddf;margin:4px 0 0}.transaction-hero strong{font-size:22px!important}.history-list{display:grid;gap:10px}.history-row{display:grid;grid-template-columns:48px 1.4fr 1fr 1fr auto;align-items:center;gap:13px;padding:15px 17px;border:1px solid #e3ece8;border-radius:16px;background:#fff}.history-row .tx-icon{width:43px;height:43px}.history-row b{display:block;font-size:14px!important}.history-row small{display:block;font-size:12px!important;color:var(--muted)}.history-amount{text-align:right;font-size:14px!important;font-weight:800;color:#10875f}.history-status{display:inline-flex;padding:5px 8px;border-radius:20px;background:#e4f7ee;color:#16855f;font-size:12px!important;font-weight:800}@media(max-width:767px){.transaction-hero{align-items:flex-start}.transaction-hero strong{font-size:18px!important}.history-row{grid-template-columns:43px 1fr auto}.history-cell{display:none}}
.history-row{grid-template-columns:48px 1.4fr 1fr 1fr auto auto}@media(max-width:767px){.history-row{grid-template-columns:43px 1fr auto}.history-status{display:none}}
/* Colorful mobile bottom navigation */
.bottom-nav>a i,.bottom-nav>button i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;transition:.2s;box-shadow:0 5px 12px #163d3110}
.bottom-nav>*:nth-child(1) i{color:#07976b!important;background:#e3f7ef}
.bottom-nav>*:nth-child(2) i{color:#2475d0!important;background:#e8f2ff}
.bottom-nav>*:nth-child(3) i{color:#8156cf!important;background:#f0eaff}
.bottom-nav>*:nth-child(4) i{color:#dd674c!important;background:#fff0ec}
.bottom-nav>a.active i,.bottom-nav>button.active i{color:#fff!important;background:linear-gradient(145deg,#087a59,#0aa979);box-shadow:0 7px 16px #09855f35;transform:translateY(-2px)}
.bottom-nav>a:hover i,.bottom-nav>button:hover i{transform:translateY(-2px)}
/* Premium package purchase design */
.package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}.package-card{position:relative;overflow:hidden;padding:25px;border:1px solid #dfeae6;border-radius:23px;background:#fff;box-shadow:0 16px 38px #174e3d0d;transition:.25s}.package-card:hover{transform:translateY(-4px);box-shadow:0 22px 45px #174e3d18}.package-card.featured{border-color:#8dd6bd;background:linear-gradient(145deg,#fff,#f2fbf7)}.package-card:after{content:"";position:absolute;width:170px;height:170px;right:-95px;top:-95px;border-radius:50%;background:#0a9a7010}.package-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:20px;background:#e9f8f2;color:#07885f;font-size:12px!important;font-weight:800}.package-card.featured .package-badge{background:#0a9168;color:#fff}.package-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#e8f8f2;color:#07976b;font-size:24px!important}.package-name{font-size:16px!important;font-weight:800;margin:18px 0 3px}.package-price{font-size:30px!important;font-weight:800;letter-spacing:-1px;color:#103a30}.package-price small{font-size:12px!important;font-weight:600;color:#81958e}.package-features{display:grid;gap:10px;margin:20px 0;padding:0;list-style:none}.package-features li{display:flex;align-items:center;gap:9px;color:#647b73;font-size:13px!important}.package-features i{color:#0a9a70}.package-select{height:50px;border:0;border-radius:14px;background:linear-gradient(105deg,#087b59,#0aa877);color:#fff;font-size:14px!important;font-weight:800;box-shadow:0 12px 24px #09855f2c}.package-select:hover{color:#fff;transform:translateY(-1px)}.history-empty{padding:34px 15px;text-align:center}.history-empty i{width:54px;height:54px;display:grid;place-items:center;margin:auto;border-radius:17px;background:#e9f8f2;color:#07976b;font-size:23px!important}.purchase-status{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:12px!important;font-weight:800}.purchase-status.pending{background:#fff3dc;color:#bd7613}.purchase-status.approved{background:#e5f8ef;color:#14855f}.purchase-status.rejected{background:#ffebe7;color:#c65b44}.payment-modal .modal-content{border:0;border-radius:22px;overflow:hidden}.payment-modal .modal-header{padding:20px 22px;background:#eff9f5;border:0}.upload-zone{padding:22px;border:2px dashed #cfe4dc;border-radius:15px;background:#f8fcfa;text-align:center}@media(max-width:767px){.package-grid{grid-template-columns:1fr}.package-card{padding:22px}.package-price{font-size:27px!important}}

.company-payment-box{display:flex;align-items:center;gap:16px;padding:16px;margin-bottom:18px;border:1px solid #cfe8df;border-radius:16px;background:#f4fbf8}.company-payment-box img,.qr-empty{width:118px;height:118px;flex:0 0 118px;border-radius:13px;background:#fff;border:1px solid #dcebe6;object-fit:contain;padding:7px}.qr-empty{display:grid;place-items:center;color:#0a9168}.qr-empty i{font-size:42px!important}.company-payment-box b,.company-payment-box small{display:block}.company-payment-box small{margin-top:5px;color:#6f857d}.admin-qr-preview{width:150px;height:150px;object-fit:contain;border:1px solid #dce5e2;border-radius:14px;padding:8px;background:#fff}
@media(max-width:480px){.company-payment-box{align-items:flex-start}.company-payment-box img,.qr-empty{width:94px;height:94px;flex-basis:94px}}
/* Three-level compact binary tree */
.tree-legend{display:flex;gap:15px;flex-wrap:wrap;margin:-7px 0 14px;color:#6f857e;font-size:12px!important}.tree-legend span{display:flex;align-items:center;gap:6px}.tree-legend i{width:8px;height:8px;border-radius:50%}.tree-legend i.active{background:#0b9c70}.tree-legend i.pending{background:#e1a02b}.tree-legend i.blocked{background:#d96756}.binary-tree-panel{overflow:auto;padding:30px 12px 38px;border:1px solid #dfebe6;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fcfa);box-shadow:0 12px 34px #174e3d0c}.binary-tree{min-width:760px;width:max-content;min-height:480px;margin:auto}.binary-tree ul{position:relative;display:flex;justify-content:center;margin:0;padding:42px 0 0;list-style:none}.binary-tree>ul{padding-top:0}.binary-tree li{position:relative;min-width:185px;padding:42px 8px 0;text-align:center}.binary-tree>ul>li{padding-top:0}.binary-tree li:before,.binary-tree li:after{content:"";position:absolute;top:20px;width:50%;height:22px;border-top:1.5px solid #b8d9ce}.binary-tree li:before{right:50%}.binary-tree li:after{left:50%;border-left:1.5px solid #b8d9ce}.binary-tree li:only-child:before,.binary-tree li:only-child:after,.binary-tree>ul>li:before,.binary-tree>ul>li:after{display:none}.binary-tree li:first-child:before,.binary-tree li:last-child:after{border:0}.binary-tree li:last-child:before{border-right:1.5px solid #b8d9ce;border-radius:0 8px 0 0}.binary-tree li:first-child:after{border-radius:8px 0 0}.binary-tree ul ul:before{content:"";position:absolute;top:20px;left:50%;height:22px;border-left:1.5px solid #b8d9ce}.binary-node{position:relative;z-index:2;display:block;width:132px;min-height:121px;margin:auto;padding:11px 7px 9px;border:1px solid #dbe9e4;border-radius:16px;background:#fff;color:#173e33;text-decoration:none;box-shadow:0 8px 20px #174e3d0d;transition:.2s}.binary-node:hover{color:#173e33;border-color:#42b68f;transform:translateY(-3px);box-shadow:0 13px 27px #174e3d18}.binary-avatar{width:34px;height:34px;display:grid;place-items:center;margin:0 auto 6px;border-radius:11px;background:#e5f8f1;color:#07976b}.binary-node.pending .binary-avatar{background:#fff5df;color:#c98518}.binary-node.blocked .binary-avatar{background:#ffebe7;color:#ca5e4c}.binary-node b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important}.binary-node small{display:block;color:#7d928a;font-size:10px!important}.binary-meta{display:flex;justify-content:center;gap:4px;margin-top:7px}.binary-meta em{padding:3px 5px;border-radius:10px;font-size:8px!important;font-style:normal;font-weight:800}.leg{background:#edf3f1;color:#71847d}.leg.LEFT{background:#e8f2ff;color:#3977bd}.leg.RIGHT{background:#f2eaff;color:#8157ba}.node-status{display:flex;align-items:center;gap:3px;background:#e8f8f2;color:#087e5b}.pending .node-status{background:#fff3dc;color:#b77515}.blocked .node-status{background:#ffebe7;color:#bd5948}.node-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.binary-node.empty{opacity:.72;border-style:dashed;background:#fbfdfc}.binary-node.empty .binary-avatar{background:#f0f4f2;color:#9aada6}.binary-node.empty b{color:#81928c}@media(max-width:767px){.binary-tree-panel{padding:24px 5px 30px}.binary-tree{transform-origin:top left}.binary-tree li{min-width:170px}.binary-node{width:122px}}
.profile-hero{display:flex;align-items:center;gap:15px;padding:20px;border-radius:20px;color:#fff;background:linear-gradient(135deg,#075b45,#0aa979);box-shadow:0 14px 30px #087a5925}.profile-hero .avatar{width:54px;height:54px;background:#fff;color:#087b59}.profile-hero h2{font-size:18px!important;margin:0}.profile-hero p{font-size:14px!important;color:#cef0e3;margin:3px 0 0}.form-section .form-control{min-height:50px;border-color:#dce9e4;border-radius:13px;font-size:14px!important}.form-section .form-control:focus{border-color:#37ad85;box-shadow:0 0 0 4px #1ba87912}
.login-box .input-box>i{width:20px;flex:0 0 20px;text-align:center;font-size:16px!important;color:#829b92}.login-box .eye{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;padding:0;border-radius:10px}.login-box .eye:hover{background:#eaf7f2;color:#087f5b}.login-box .eye i{font-size:17px!important}.login-box .hello i{font-size:22px!important}
.entertainment-section{padding:12px;border:1px solid #deebe6;border-radius:20px;background:#fff;box-shadow:0 10px 28px #174e3d0b}.entertainment-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.entertainment-card{display:flex;min-width:0;min-height:128px;padding:12px 7px!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;border-radius:16px!important;box-shadow:none!important;background:#f7fbf9!important}.entertainment-card .picon{width:40px;height:40px;flex:0 0 40px;font-size:18px}.entertainment-card .flex-grow-1{flex:0 0 auto!important;min-width:0}.entertainment-card b{font-size:14px;line-height:1.2;white-space:nowrap}.entertainment-card small{display:block;font-size:12px!important;line-height:1.2;white-space:nowrap}.entertainment-card strong{font-size:14px;line-height:1.2;white-space:nowrap}.entertainment-open{min-height:42px;font-size:14px;font-weight:800;border-radius:12px}@media(max-width:420px){.entertainment-section{padding:9px}.entertainment-row{gap:6px}.entertainment-card{min-height:116px;padding:9px 3px!important}.entertainment-card .picon{width:34px;height:34px;flex-basis:34px;font-size:15px}.entertainment-card b,.entertainment-card strong{font-size:12px}.entertainment-card small{font-size:10px!important}}
.my-services-launch{width:100%;display:flex;align-items:center;gap:14px;padding:17px 18px;margin:0 0 24px;border:1px solid #dceae5;border-radius:20px;background:linear-gradient(135deg,#fff,#f3fbf8);color:#153d32;box-shadow:0 10px 28px #174e3d0b}.my-services-launch:hover{border-color:#92cfba;transform:translateY(-1px)}.my-services-launch b,.my-services-launch small{display:block}.my-services-launch small{margin-top:3px;color:#789087}.service-launch-icons{display:flex}.service-launch-icons i{width:40px;height:40px;display:grid;place-items:center;margin-right:-7px;border:3px solid #fff;border-radius:13px;font-size:16px}.service-modal{border:0;border-radius:24px;box-shadow:0 24px 70px #123d3028}.service-category-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.service-category-btn{display:flex;min-width:0;padding:12px 5px;flex-direction:column;align-items:center;gap:6px;border:1px solid #deebe6;border-radius:14px;background:#f8fbfa;color:#647b73;font-weight:700}.service-category-btn i{font-size:18px}.service-category-btn span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-category-btn.active{border-color:#70c3a6;background:#eaf8f3;color:#087b59}.service-category-panel{display:none}.service-category-panel.active{display:block}.service-link-list{display:grid;gap:9px}.service-link-item{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e3ece8;border-radius:14px;color:#183d32;text-decoration:none}.service-link-item:hover{border-color:#8dccb5;background:#f3fbf8;color:#087b59}.service-link-item>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px}.service-link-item b,.service-link-item small,.service-empty b,.service-empty small{display:block}.service-link-item small,.service-empty small{color:#84968f}.service-empty{padding:28px;text-align:center;color:#81938c}.service-empty>i{display:block;margin-bottom:10px;font-size:28px;color:#9db0a9}@media(max-width:420px){.my-services-launch{padding:14px 12px}.service-launch-icons i{width:35px;height:35px}.service-category-btn{font-size:12px}}
.service-subcategory-tabs{display:flex;gap:7px;margin-bottom:14px;overflow-x:auto;padding-bottom:3px}.service-subcategory-btn{padding:8px 12px;border:1px solid #deebe6;border-radius:20px;background:#fff;color:#71877f;font-size:12px;font-weight:700;white-space:nowrap}.service-subcategory-btn.active{border-color:#79c8ad;background:#eaf8f3;color:#087b59}.service-subcategory-panel{display:none}.service-subcategory-panel.active{display:block}
