:root{
  --bg:#f4faf6;
  --card:#ffffff;
  --text:#0f1a14;
  --muted:#4a6156;
  --line:rgba(15,26,20,.10);
  --shadow:0 12px 35px rgba(15,26,20,.10);
  --emerald:#38b24a;
  --emerald2:#0f6b2b;
  --accent:linear-gradient(135deg,var(--emerald),#7df08f);
  --radius:20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg, #f8fcf9 0%, var(--bg) 60%, #eff7f1 100%);
}

a{color:inherit}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px 44px;
}

.shell{
  width:min(480px, 100%);
  position:relative;
}

.bg-tiles{
  display:none;
}

.card{
  position:relative;
  background: var(--card);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow:hidden;
}

.header{
  padding:26px 22px 14px;
  text-align:center;
}

.logo{
  display:block;
  width:min(240px, 72%);
  height:auto;
  margin: 2px auto 14px;
  object-fit:contain;
}

h1{
  margin:0;
  font-size: 26px;
  letter-spacing: .2px;
  line-height:1.15;
}

.role{
  margin:8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.role b{
  color: #274236;
  font-weight: 700;
}

.role .hl{ color: #0f6b2b; font-weight: 800; }

.bio{
  margin:14px auto 0;
  max-width: 38ch;
  font-size: 14px;
  color: rgba(15,26,20,.72);
  line-height:1.45;
}

.pills{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:16px;
  flex-wrap:wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(15,26,20,.12);
  background: rgba(255,255,255,.85);
  font-size: 12px;
  color: rgba(15,26,20,.86);
  text-decoration:none;
}

.pill:hover{ background: rgba(255,255,255,.95); }

.pill svg{ width:14px; height:14px; opacity:.78; }

.actions{
  display:flex;
  gap:10px;
  justify-content:center;
  padding: 12px 18px 18px;
}

.btn{
  appearance:none;
  border:1px solid rgba(15,26,20,.14);
  background: #ffffff;
  color: rgba(15,26,20,.88);
  padding: 10px 14px;
  border-radius: 999px;
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  font-weight: 650;
  letter-spacing: .2px;
  cursor:pointer;
  text-decoration:none;
  flex: 1 1 0;
  min-height: 44px;
  user-select:none;
}

.btn svg{ width:18px; height:18px; }

.btn.primary{
  border: none;
  background: var(--emerald);
  color:#ffffff;
  box-shadow: 0 16px 45px rgba(56,178,74,.18);
}

.btn:hover{ filter: brightness(.98); }
.btn:active{ filter: brightness(.96); }

.btn.primary:hover{ filter: brightness(.96); }

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(15,26,20,.12), transparent);
}

.list{
  padding: 14px 16px 18px;
}

.item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 14px;
  border-radius: 16px;
  border:1px solid rgba(15,26,20,.10);
  background: #ffffff;
  box-shadow: none;
  text-decoration:none;
  margin: 10px 0;
}

.item:hover{ background: rgba(255,255,255,.98); border-color: rgba(15,26,20,.14); }

.item .left{
  display:flex;
  gap:12px;
  align-items:flex-start;
  min-width: 0;
}

.icon{
  width:40px;
  height:40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(56,178,74,.10);
  border:1px solid rgba(56,178,74,.16);
}

.icon svg{ width:20px; height:20px; color:#0f6b2b; }

.item .title{
  font-weight: 750;
  letter-spacing: .2px;
  margin: 1px 0 2px;
  color: rgba(15,26,20,.92);
}

.item .sub{
  margin:0;
  font-size: 13px;
  color: rgba(15,26,20,.66);
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chev{
  opacity:.45;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display:block;
}

.item > svg.chev{
  width: 22px;
  height: 22px;
}

.footer{
  padding: 8px 18px 18px;
  text-align:center;
  color: rgba(15,26,20,.56);
  font-size: 12px;
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(15,26,20,.14);
  color: rgba(15,26,20,.92);
  box-shadow: 0 18px 50px rgba(15,26,20,.20);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 360px){
  h1{ font-size: 23px; }
  .actions{ flex-direction:column; }
  .btn{ width:100%; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce){
  .btn:hover{ transform:none; }
  .toast{ transition:none; }
}
