/* ═══════════════════════════════════════════════
   Shubhshri MLM – app.css
   Mobile-first · Font Awesome 6 icons
   ═══════════════════════════════════════════════ */

/* ── Reset ── */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',system-ui,sans-serif;background:#f0f4ff;min-height:100vh;display:flex;justify-content:center}
a{text-decoration:none;color:inherit}
input,select,textarea,button{font-family:inherit;font-size:14px}
textarea{resize:vertical}

/* ── Page wrapper ── */
/* Every page sits inside .page-wrap which fills the viewport */
.page-wrap{
  width:100%;
  max-width:430px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:#f0f4ff;
  position:relative;
}

/* Scrollable content area — sits between header and fixed nav */
.page-content{
  flex:1;
  overflow-y:auto;
  padding-bottom:80px; /* always clear the fixed bottom nav */
}

/* ── Fixed bottom nav ── */
.bottom-nav{
  position:fixed;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:430px;
  background:#fff;
  border-top:1px solid #e8eaf6;
  display:flex;
  padding:8px 0 env(safe-area-inset-bottom, 10px);
  box-shadow:0 -3px 16px rgba(0,0,0,.09);
  z-index:1000;
}
.nav-item{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  cursor:pointer;
  padding:4px 0;
  color:#9e9e9e;
  transition:color .2s;
}
.nav-item i{font-size:18px}
.nav-item .lbl{font-size:10px;font-weight:500}
.nav-item.active{color:#1a5fb4}
.nav-item.active .lbl{font-weight:700}

/* ── Auth pages — full viewport, no card/margin ── */
.auth-body{padding:0;align-items:stretch}
.auth-body .page-wrap{
  border-radius:0;
  box-shadow:none;
  min-height:100vh;
  max-height:none;
  overflow-y:auto;
  max-width:100%;
}

.hero{background:linear-gradient(160deg,#0d2b6b,#1a5fb4);padding:60px 28px 44px;text-align:center;position:relative;flex-shrink:0}
.hero::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:28px;background:#fff;border-radius:28px 28px 0 0}
.logo-circle{width:68px;height:68px;background:rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:28px;border:2px solid rgba(255,255,255,.3);color:#fff}
.company{font-size:19px;font-weight:800;color:#fff;letter-spacing:.5px}
.tagline{font-size:12px;color:rgba(255,255,255,.7);margin-top:3px;text-transform:uppercase;letter-spacing:1px}
.location{font-size:11px;color:rgba(255,255,255,.55);margin-top:3px;display:flex;align-items:center;justify-content:center;gap:4px}
.form-area{flex:1;padding:32px 24px 32px;background:#fff}
.welcome{font-size:21px;font-weight:700;color:#0d2b6b;margin-bottom:4px}
.sub{font-size:13px;color:#888;margin-bottom:22px}

/* ── Form fields ── */
.field{margin-bottom:14px}
.field label{display:block;font-size:12px;font-weight:600;color:#555;margin-bottom:6px;text-transform:uppercase;letter-spacing:.4px}
.field input,.field select,.field textarea{
  width:100%;padding:12px 14px;
  border:1.5px solid #e0e0e0;border-radius:12px;
  color:#222;background:#f8f9ff;outline:none;transition:border .2s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#1a5fb4;background:#fff}
.input-wrap{position:relative}
.input-wrap i.field-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:14px;color:#9e9e9e}
.input-wrap input{padding-left:40px}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.forgot{text-align:right;margin-top:-6px;margin-bottom:18px}
.forgot a{font-size:12px;color:#1a5fb4;font-weight:600}
.divider{display:flex;align-items:center;gap:10px;margin:18px 0}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:#eee}
.divider span{font-size:12px;color:#bbb}
.register-link,.login-link{text-align:center;font-size:13px;color:#666;margin-top:14px}
.register-link a,.login-link a{color:#1a5fb4;font-weight:700}
.footer-note{text-align:center;font-size:11px;color:#bbb;margin-top:20px}
.back-link{text-align:center;margin-top:14px;font-size:13px}
.back-link a{color:#1a5fb4;font-weight:600}

/* ── Buttons ── */
.btn-primary{
  width:100%;padding:14px;
  background:linear-gradient(135deg,#0d2b6b,#1a5fb4);
  color:#fff;border:none;border-radius:13px;
  font-size:15px;font-weight:700;cursor:pointer;
  box-shadow:0 6px 18px rgba(26,95,180,.35);
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-primary:hover{opacity:.92}
.btn-logout{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:13px;background:#fff;color:#d32f2f;
  border:1.5px solid #d32f2f;border-radius:13px;
  font-size:14px;font-weight:600;margin:12px 0 16px;cursor:pointer;
  width:100%;
}

/* ── Alerts ── */
.alert{padding:10px 14px;border-radius:10px;font-size:13px;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.alert-success{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}
.alert-danger{background:#fce4ec;color:#c62828;border:1px solid #ef9a9a}
.alert-info{background:#e3f2fd;color:#1565c0;border:1px solid #90caf9}

/* ── Inner page header bar ── */
.header-bar{background:linear-gradient(135deg,#0d2b6b,#1a5fb4);padding:44px 20px 20px;flex-shrink:0}
.header-bar h1{font-size:19px;font-weight:800;color:#fff}
.header-bar p{font-size:12px;color:rgba(255,255,255,.65);margin-top:3px}
.back-btn{color:rgba(255,255,255,.8);font-size:13px;display:inline-flex;align-items:center;gap:6px;margin-bottom:10px}
.back-btn-abs{position:absolute;top:44px;left:20px;color:rgba(255,255,255,.8);font-size:13px;display:inline-flex;align-items:center;gap:5px;z-index:2}

/* ── Dashboard header ── */
.dash-header{background:linear-gradient(135deg,#0d2b6b,#1a5fb4);padding:44px 20px 72px;position:relative;flex-shrink:0}
.header-top{display:flex;justify-content:space-between;align-items:flex-start}
.greeting{color:rgba(255,255,255,.8);font-size:13px}
.user-name{color:#fff;font-size:19px;font-weight:800;margin-top:2px}
.member-id{color:rgba(255,255,255,.65);font-size:12px;margin-top:2px}
.header-actions{display:flex;gap:10px;align-items:center}
.notif-btn{font-size:20px;position:relative;color:#fff;width:38px;height:38px;background:rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center}
.notif-btn .dot{position:absolute;top:4px;right:4px;width:9px;height:9px;background:#ff5252;border-radius:50%;border:2px solid #1a5fb4}
.avatar-btn{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);border:2px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff}

/* Floating stat cards */
.stats-float{position:absolute;bottom:-44px;left:16px;right:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;z-index:10}
.stat-card{background:#fff;border-radius:14px;padding:13px 8px;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.stat-card .val{font-size:21px;font-weight:800;color:#0d2b6b}
.stat-card .lbl{font-size:10px;color:#888;margin-top:3px}
.stat-card.green .val{color:#2e7d32}
.stat-card.orange .val{color:#e65100}

/* Dashboard body — needs extra top padding for floating cards */
.dash-body{padding:58px 16px 16px}

/* ── Stats strip (inner pages) ── */
.stats-strip{display:flex;background:#fff;padding:12px 16px;border-bottom:1px solid #eee;flex-shrink:0}
.strip-stat{flex:1;text-align:center}
.strip-stat:not(:last-child){border-right:1px solid #eee}
.strip-stat .val{font-size:18px;font-weight:800;color:#0d2b6b}
.strip-stat .lbl{font-size:10px;color:#888;margin-top:2px}

/* ── Referral card ── */
.ref-card{background:linear-gradient(135deg,#1a5fb4,#42a5f5);border-radius:18px;padding:18px;margin-bottom:14px}
.ref-card-title{font-size:13px;font-weight:700;color:rgba(255,255,255,.85);margin-bottom:10px;display:flex;align-items:center;gap:6px}
.ref-link-box{background:rgba(255,255,255,.15);border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:8px}
.ref-link-text{font-size:11px;color:#fff;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.copy-btn{background:#fff;color:#1a5fb4;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer;flex-shrink:0;display:flex;align-items:center;gap:4px}
.share-row{display:flex;gap:8px;margin-top:10px}
.share-btn{flex:1;padding:8px 4px;border:none;border-radius:10px;font-size:11px;font-weight:600;cursor:pointer;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff}
.share-btn i{font-size:16px}
.share-btn.wa{background:#25D366}
.share-btn.tg{background:#0088cc}
.share-btn.fb{background:#1877F2}
.share-btn.copy2{background:#fff;color:#1a5fb4;border:1.5px solid #1a5fb4}
.share-btn.native{background:#673ab7}
.share-btn.email{background:#d32f2f}

/* ── Quick actions ── */
.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}
.action-btn{background:#fff;border-radius:14px;padding:14px 6px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.07);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px}
.action-btn i{font-size:22px;color:#1a5fb4}
.action-btn .lbl{font-size:10px;color:#555;font-weight:600}

/* ── Section header ── */
.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.section-header h3{font-size:14px;font-weight:700;color:#0d2b6b}
.section-header a{font-size:12px;color:#1a5fb4;font-weight:600}

/* ── Activity card ── */
.activity-card{background:#fff;border-radius:14px;padding:14px;margin-bottom:14px;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.activity-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f5f5f5}
.activity-item:last-child{border-bottom:none;padding-bottom:0}
.act-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#1a5fb4,#42a5f5);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.act-info .name{font-size:13px;font-weight:600;color:#222}
.act-info .detail{font-size:11px;color:#888;margin-top:1px}
.act-time{margin-left:auto;font-size:10px;color:#bbb;text-align:right}

/* ── Sponsor card ── */
.sponsor-card{background:#fff;border-radius:14px;padding:14px;box-shadow:0 2px 8px rgba(0,0,0,.07);display:flex;align-items:center;gap:12px}
.sponsor-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#0d2b6b,#1a5fb4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;flex-shrink:0}
.sponsor-info .lbl{font-size:11px;color:#888}
.sponsor-info .name{font-size:14px;font-weight:700;color:#0d2b6b;margin-top:2px}
.sponsor-info .id{font-size:12px;color:#1a5fb4;margin-top:2px}

/* ── Profile page ── */
.profile-header{
  background:linear-gradient(135deg,#0d2b6b,#1a5fb4);
  padding:44px 20px 28px;
  text-align:center;
  position:relative;
  flex-shrink:0;
}
.avatar-wrap{position:relative;display:inline-block;margin-bottom:10px}
.avatar-big{
  width:76px;height:76px;border-radius:50%;
  background:rgba(255,255,255,.2);border:3px solid rgba(255,255,255,.5);
  display:flex;align-items:center;justify-content:center;
  font-size:26px;font-weight:800;color:#fff;margin:0 auto;
}
.avatar-big-img{width:76px;height:76px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.5)}
.cam-btn{
  position:absolute;bottom:0;right:0;
  background:#fff;border-radius:50%;width:26px;height:26px;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;box-shadow:0 2px 8px rgba(0,0,0,.2);cursor:pointer;
  color:#1a5fb4;
}
.profile-name{font-size:19px;font-weight:800;color:#fff}
.profile-id{font-size:13px;color:rgba(255,255,255,.75);margin-top:3px}
.status-pill{
  display:inline-block;margin-top:8px;
  background:rgba(255,255,255,.2);color:#fff;
  border-radius:20px;padding:4px 14px;font-size:12px;font-weight:600;
  border:1px solid rgba(255,255,255,.3);
}

/* Profile cards area — no negative margin, just normal flow */
.cards-area{padding:16px}

.info-card{background:#fff;border-radius:18px;padding:18px;margin-bottom:14px;box-shadow:0 3px 14px rgba(0,0,0,.07)}
.card-title{
  font-size:12px;font-weight:700;color:#888;
  text-transform:uppercase;letter-spacing:.5px;
  margin-bottom:14px;display:flex;align-items:center;gap:8px;
}
.card-title i{color:#1a5fb4;font-size:14px}
.info-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #f5f5f5}
.info-row:last-child{border-bottom:none;padding-bottom:0}
.info-row .lbl{font-size:12px;color:#888;flex-shrink:0}
.info-row .val{font-size:13px;font-weight:600;color:#222;text-align:right;word-break:break-word;max-width:65%}
.info-row .val.blue{color:#1a5fb4}
.info-row .val.green{color:#2e7d32}

/* Net stats on profile */
.net-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.net-stat{background:#fff;border-radius:14px;padding:13px 8px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.net-stat .val{font-size:20px;font-weight:800;color:#0d2b6b}
.net-stat .lbl{font-size:10px;color:#888;margin-top:3px}

/* ── Members list ── */
.search-wrap{padding:12px 16px;background:#fff;border-bottom:1px solid #eee;flex-shrink:0}
.search-box{display:flex;align-items:center;background:#f0f4ff;border-radius:10px;padding:9px 12px;gap:8px}
.search-box i{color:#9e9e9e;font-size:14px}
.search-box input{flex:1;border:none;background:transparent;outline:none}
.filter-row{display:flex;gap:8px;padding:10px 16px;overflow-x:auto;background:#fff;border-bottom:1px solid #eee;flex-shrink:0}
.filter-row::-webkit-scrollbar{display:none}
.chip{padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap;border:none;cursor:pointer;background:#f0f4ff;color:#555}
.chip.active{background:#0d2b6b;color:#fff}
.level-tabs{display:flex;gap:6px;padding:8px 16px;overflow-x:auto;flex-shrink:0}
.level-tabs::-webkit-scrollbar{display:none}
.level-tab{padding:5px 12px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;border:1.5px solid #c5cae9;background:#fff;color:#555;cursor:pointer}
.level-tab.active{background:#1a5fb4;color:#fff;border-color:#1a5fb4}
.list{padding:10px 16px}
.member-card{background:#fff;border-radius:14px;padding:13px;margin-bottom:9px;box-shadow:0 2px 7px rgba(0,0,0,.06);display:flex;align-items:center;gap:11px}
.m-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#1a5fb4,#42a5f5);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}
.m-info{flex:1;min-width:0}
.m-info .name{font-size:13px;font-weight:700;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-info .id{font-size:11px;color:#1a5fb4;margin-top:2px;font-weight:600}
.m-info .meta{font-size:11px;color:#888;margin-top:2px}
.m-right{text-align:right;flex-shrink:0}
.m-status{font-size:10px;font-weight:700;padding:3px 8px;border-radius:20px}
.m-status.active{background:#e8f5e9;color:#2e7d32}
.m-status.inactive{background:#fce4ec;color:#c62828}
.m-date{font-size:10px;color:#bbb;margin-top:4px}

/* ── Notifications ── */
.header-row{display:flex;justify-content:space-between;align-items:flex-start}
.unread-count{font-size:12px;color:rgba(255,255,255,.65);margin-top:3px}
.mark-all-btn{font-size:12px;color:rgba(255,255,255,.85);font-weight:600;background:rgba(255,255,255,.15);padding:6px 12px;border-radius:20px;border:none;cursor:pointer;white-space:nowrap}
.day-label{font-size:11px;font-weight:700;color:#888;text-transform:uppercase;letter-spacing:.5px;margin:14px 0 7px}
.notif-item{background:#fff;border-radius:14px;padding:13px;margin-bottom:7px;display:flex;gap:11px;box-shadow:0 2px 7px rgba(0,0,0,.06);position:relative;overflow:hidden}
.notif-item.unread::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:#1a5fb4;border-radius:4px 0 0 4px}
.notif-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.notif-icon.join{background:#e8f5e9;color:#2e7d32}
.notif-icon.welcome{background:#f3e5f5;color:#7b1fa2}
.notif-icon.system{background:#fff8e1;color:#f57f17}
.notif-body{flex:1;min-width:0}
.notif-title{font-size:13px;font-weight:700;color:#222}
.notif-desc{font-size:12px;color:#666;margin-top:3px;line-height:1.5}
.notif-time{font-size:10px;color:#bbb;margin-top:4px;display:flex;align-items:center;gap:4px}
.unread-dot{width:8px;height:8px;border-radius:50%;background:#1a5fb4;flex-shrink:0;margin-top:4px}

/* ── Referral hero ── */
.ref-hero{background:linear-gradient(135deg,#1a5fb4,#42a5f5);border-radius:22px;padding:22px 18px;margin-bottom:14px;text-align:center}
.ref-hero-label{font-size:12px;color:rgba(255,255,255,.75);font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:7px}
.ref-hero-id{font-size:26px;font-weight:900;color:#fff;letter-spacing:2px;margin-bottom:4px}
.ref-hero-sub{font-size:12px;color:rgba(255,255,255,.7);margin-bottom:16px}
.share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.stat-box{background:#fff;border-radius:14px;padding:13px 8px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.stat-box .val{font-size:20px;font-weight:800;color:#0d2b6b}
.stat-box .lbl{font-size:10px;color:#888;margin-top:3px}
.panel{background:#fff;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 2px 8px rgba(0,0,0,.07)}
.panel h3{font-size:14px;font-weight:700;color:#0d2b6b;margin-bottom:12px}
.ref-item{display:flex;align-items:center;gap:11px;padding:9px 0;border-bottom:1px solid #f5f5f5}
.ref-item:last-child{border-bottom:none}
.ref-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#1a5fb4,#42a5f5);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;flex-shrink:0}
.ref-info .name{font-size:13px;font-weight:600;color:#222}
.ref-info .date{font-size:11px;color:#888;margin-top:2px}
.ref-badge{margin-left:auto;font-size:10px;font-weight:700;padding:3px 8px;border-radius:20px;flex-shrink:0}
.ref-badge.active{background:#e8f5e9;color:#2e7d32}
.ref-badge.inactive{background:#fce4ec;color:#c62828}

/* ── Register form ── */
.form-section{padding:14px 20px 0}
.section-title{font-size:12px;font-weight:700;color:#0d2b6b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.section-title::after{content:'';flex:1;height:1px;background:#e8eaf6}
.ref-banner{margin:14px 20px;background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:11px;border:1.5px solid #a5d6a7}
.ref-label{font-size:11px;color:#388e3c;font-weight:600;text-transform:uppercase}
.ref-name{font-size:14px;font-weight:700;color:#1b5e20}
.ref-id{font-size:12px;color:#388e3c}
.declaration-box{margin:14px 20px;background:#fff8e1;border-radius:12px;padding:13px;border:1.5px solid #ffe082}
.declaration-box p{font-size:12px;color:#5d4037;line-height:1.6}
.checkbox-row{display:flex;align-items:flex-start;gap:9px;margin-top:9px}
.checkbox-row input{margin-top:2px;width:16px;height:16px;accent-color:#1a5fb4;flex-shrink:0}
.checkbox-row label{font-size:12px;color:#333;font-weight:500}
.form-footer{padding:14px 20px 28px}

/* ── OTP ── */
.otp-row{display:flex;gap:8px;justify-content:center;margin-bottom:20px}
.otp-box{width:48px;height:54px;border:2px solid #1a5fb4;border-radius:12px;text-align:center;font-size:20px;font-weight:800;color:#0d2b6b;background:#f0f4ff;outline:none}

/* ── Password strength ── */
.strength-bar{height:4px;background:#e0e0e0;border-radius:2px;margin-top:7px;overflow:hidden}
.strength-fill{height:100%;border-radius:2px;transition:width .3s,background .3s}
.strength-label{font-size:11px;color:#888;margin-top:4px}

/* ── Tree ── */
.tree-container{flex:1;overflow:auto;padding:16px}
.tree-loading{text-align:center;color:#888;padding:40px;font-size:14px}
.tree-node-wrap{display:flex;flex-direction:column;align-items:center}
.tree-node-box{border-radius:12px;padding:10px 12px;text-align:center;min-width:90px;cursor:pointer;border:2px solid #1a5fb4;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.tree-node-box.root{background:linear-gradient(135deg,#0d2b6b,#1a5fb4);border-color:#0d2b6b}
.tree-node-box.root .tree-node-name,.tree-node-box.root .tree-node-code,.tree-node-box.root .tree-node-date{color:#fff}
.tree-node-box.inactive{background:#f5f5f5;border-color:#e0e0e0;opacity:.65}
.tree-node-avatar{width:28px;height:28px;border-radius:50%;background:#e8f0fe;color:#1a5fb4;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:10px;margin:0 auto 5px}
.tree-node-box.root .tree-node-avatar{background:rgba(255,255,255,.2);color:#fff}
.tree-node-name{font-size:11px;font-weight:700;color:#222}
.tree-node-code{font-size:9px;color:#888;margin-top:1px}
.tree-node-date{font-size:9px;color:#bbb;margin-top:1px}
.tree-line-v{width:2px;height:18px;background:#c5cae9;margin:0 auto}
.tree-children-row{display:flex;align-items:flex-start;position:relative}
.tree-children-row::before{content:'';position:absolute;top:0;left:10%;width:80%;height:2px;background:#c5cae9}
.tree-child-col{display:flex;flex-direction:column;align-items:center;padding:0 8px}

/* ── Misc ── */
.empty-state{text-align:center;color:#888;padding:28px 16px;font-size:13px}
.resend{text-align:center;font-size:13px;color:#888;margin-bottom:20px}
.resend a{color:#1a5fb4;font-weight:600}
