#liFontResearchTool{
  font-family: system-ui, Arial;
  background: linear-gradient(135deg,#0b1220,#0f1a33);
  color:#e5e7eb;
  padding:20px;
  border-radius:16px;
  max-width:1200px;
  margin:auto;
}

.li-hero{
  text-align:center;
  margin-bottom:16px;
}

.li-hero h2{
  margin:0;
  color:#0a66c2;
  font-size:22px;
}

.li-hero p{
  opacity:.8;
  font-size:13px;
}

.li-layout{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px;
  margin-bottom:14px;
}

.li-panel{
  background:#0a1426;
  border:1px solid #22314d;
  padding:14px;
  border-radius:14px;
}

.li-panel h3{
  margin:0 0 8px;
  font-size:14px;
  color:#93c5fd;
}

.codebox{
  background:#0b1220;
  border:1px solid #22314d;
  padding:10px;
  border-radius:10px;
  font-family:monospace;
  font-size:12px;
  margin:10px 0;
}

.note{
  font-size:12px;
  opacity:.7;
}

input{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid #22314d;
  background:#0b1220;
  color:#fff;
  margin-top:8px;
}

.btnrow{
  display:flex;
  gap:8px;
  margin-top:8px;
}

button{
  flex:1;
  padding:10px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  background:#0a66c2;
  color:white;
  font-weight:600;
}

button.accent{
  background:#22c55e;
  color:#001018;
}

.preview{
  margin-top:10px;
  background:#0b1220;
  border:1px solid #22314d;
  padding:12px;
  border-radius:10px;
  min-height:40px;
}

.li-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:10px;
}

.tab{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #22314d;
  background:#0b1220;
  cursor:pointer;
}

.tab.active{
  background:#0a66c2;
  color:white;
}

.li-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:10px;
}

.card{
  background:linear-gradient(145deg,#0c172a,#0a1322);
  border:1px solid #22314d;
  border-radius:14px;
  padding:10px;
}

.meta{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  opacity:.7;
}

.text{
  margin-top:8px;
  padding:10px;
  background:#0b1220;
  border-radius:10px;
  min-height:42px;
}

.card button{
  margin-top:8px;
  width:100%;
}

.li-toast{
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:#111827;
  border:1px solid #22314d;
  padding:10px 14px;
  border-radius:10px;
  display:none;
}