.wrap{max-width:760px;margin:0 auto;padding:12px}
.card{background:var(--card);padding:12px;border-radius:10px;border:1px solid var(--grid)}
.list .row{display:flex;align-items:center;gap:10px;padding:8px;border-bottom:1px solid var(--grid)}
.row .ssid{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .sig{width:60px;text-align:right;color:var(--muted)}
.row .btn{padding:6px 10px;border:1px solid var(--grid);border-radius:8px;background:#0f131a}
.help{color:var(--muted);font-size:12px}
.row.connected {
  font-weight: bold;
  color: var(--accent);
}
.row.connected .btn {
  background: #1a2a1a;
  color: #6f8f6f;
  border-color: #3a4a3a;
  cursor: default;
}
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--bg);
  margin: auto;
  padding: 20px;
  border: 1px solid var(--line);
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}