:root{
  --green:#16a34a;
  --green-dark:#15803d;
  --soft-green:#ecfdf5;
  --dark:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --bg:#f8fafc;
  --card:#ffffff;
  --orange:#f97316;
  --blue:#2563eb;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--dark);
}

a{
  text-decoration:none;
}

.app-shell{
  max-width:480px;
  margin:0 auto;
  min-height:100vh;
  background:#f8fafc;
  padding-bottom:88px;
}

.app-topbar{
  position:sticky;
  top:0;
  z-index:999;
  background:#ffffff;
  border-bottom:1px solid var(--border);
  padding:12px 14px;
}

.app-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand-box{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-logo{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg,#16a34a,#22c55e);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:900;
  font-size:20px;
}

.brand-title{
  margin:0;
  font-size:17px;
  font-weight:850;
  line-height:1.1;
}

.brand-sub{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.header-btn{
  border:1px solid var(--border);
  background:#fff;
  color:var(--dark);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:700;
}

.page-pad{
  padding:14px;
}

.hero-card{
  border-radius:24px;
  padding:18px;
  background:linear-gradient(135deg,#dcfce7,#ffffff);
  border:1px solid #bbf7d0;
  box-shadow:0 12px 30px rgba(22,163,74,.08);
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
  color:var(--green-dark);
  font-size:12px;
  font-weight:800;
  margin-bottom:10px;
}

.hero-title{
  margin:0;
  font-size:25px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.4px;
}

.hero-text{
  color:#475569;
  font-size:14px;
  margin:8px 0 0;
}

.search-panel{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:12px;
}

.form-label{
  font-size:13px;
  font-weight:750;
  color:#334155;
}

.form-control,
.form-select{
  border-radius:14px;
  border:1px solid var(--border);
  padding:11px 12px;
  font-size:14px;
}

.form-control:focus,
.form-select:focus{
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
  border-color:#22c55e;
}

.btn-bio{
  width:100%;
  border:0;
  border-radius:16px;
  padding:12px 14px;
  background:var(--green);
  color:#fff;
  font-weight:850;
  font-size:15px;
}

.btn-bio:hover{
  background:var(--green-dark);
  color:#fff;
}

.btn-light-bio{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border-radius:999px;
  padding:9px 13px;
  background:#fff;
  color:var(--green-dark);
  border:1px solid #bbf7d0;
  font-weight:800;
  font-size:13px;
}

.section-head{
  margin:18px 0 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.section-title{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.section-link{
  color:var(--green-dark);
  font-size:13px;
  font-weight:800;
}

.soft-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:14px;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.bio-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px;
  margin-bottom:12px;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.bio-top{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.avatar{
  width:52px;
  height:52px;
  border-radius:18px;
  background:#dcfce7;
  color:var(--green-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:19px;
  flex:0 0 auto;
}

.bio-name{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.bio-role{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
  font-weight:650;
}

.bio-meta{
  margin-top:8px;
  display:grid;
  gap:5px;
  color:#475569;
  font-size:13px;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:6px 9px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-size:12px;
  font-weight:750;
}

.chip-green{
  background:#dcfce7;
  color:#166534;
}

.chip-orange{
  background:#ffedd5;
  color:#9a3412;
}

.card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:12px;
}

.btn-outline-bio{
  border:1px solid var(--border);
  background:#fff;
  color:var(--dark);
  border-radius:14px;
  padding:10px;
  font-size:13px;
  font-weight:850;
  text-align:center;
}

.btn-whatsapp{
  background:#16a34a;
  color:#fff;
  border-radius:14px;
  padding:10px;
  font-size:13px;
  font-weight:850;
  text-align:center;
}

.location-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.location-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:12px;
}

.location-name{
  margin:0;
  font-size:14px;
  font-weight:850;
}

.location-count{
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
}

.dash-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.stat-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:13px;
}

.stat-num{
  font-size:22px;
  font-weight:950;
  margin:0;
}

.stat-label{
  color:var(--muted);
  font-size:12px;
  margin:2px 0 0;
}

.progress-soft{
  height:10px;
  background:#e2e8f0;
  border-radius:999px;
  overflow:hidden;
}

.progress-fill{
  height:100%;
  background:linear-gradient(90deg,#16a34a,#22c55e);
  border-radius:999px;
}

.detail-cover{
  background:linear-gradient(135deg,#16a34a,#22c55e);
  min-height:120px;
  border-radius:0 0 28px 28px;
  padding:18px 14px 36px;
  color:#fff;
}

.detail-profile{
  margin:-28px 14px 0;
  position:relative;
}

.big-avatar{
  width:74px;
  height:74px;
  border-radius:24px;
  background:#fff;
  color:var(--green-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  font-size:26px;
  border:4px solid #fff;
  box-shadow:0 10px 25px rgba(15,23,42,.15);
}

.info-list{
  display:grid;
  gap:10px;
}

.info-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:11px 0;
  border-bottom:1px solid #f1f5f9;
}

.info-row:last-child{
  border-bottom:0;
}

.info-label{
  color:var(--muted);
  font-size:13px;
  font-weight:750;
}

.info-value{
  text-align:right;
  font-size:13px;
  font-weight:800;
  color:#1e293b;
}

.empty-mini{
  border:1px dashed #cbd5e1;
  background:#fff;
  border-radius:18px;
  padding:18px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
}

.bottom-nav{
  position:fixed;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  width:calc(100% - 22px);
  max-width:460px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  box-shadow:0 14px 40px rgba(15,23,42,.16);
  z-index:1000;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:8px;
}

.bottom-nav a{
  color:#64748b;
  text-align:center;
  font-size:11px;
  font-weight:800;
  padding:7px 4px;
  border-radius:16px;
}

.bottom-nav a span{
  display:block;
  font-size:19px;
  line-height:1;
  margin-bottom:3px;
}

.bottom-nav a.active{
  color:var(--green-dark);
  background:#dcfce7;
}

.wa-sticky{
  position:fixed;
  left:50%;
  bottom:88px;
  transform:translateX(-50%);
  width:calc(100% - 28px);
  max-width:452px;
  z-index:999;
}

@media(min-width:768px){
  body{
    background:#e2e8f0;
  }

  .app-shell{
    box-shadow:0 0 0 1px rgba(15,23,42,.08);
  }
}